]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
* configure: Regenerate.
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 CLOCALE_INTERNAL_H
704 CLOCALE_CC
705 CTIME_CC
706 CTIME_H
707 CNUMERIC_CC
708 CMONEY_CC
709 CMESSAGES_CC
710 CCTYPE_CC
711 CCOLLATE_CC
712 CCODECVT_CC
713 CMESSAGES_H
714 CLOCALE_H
715 USE_NLS
716 glibcxx_localedir
717 glibcxx_POFILES
718 glibcxx_MOFILES
719 check_msgfmt
720 BASIC_FILE_CC
721 BASIC_FILE_H
722 CSTDIO_H
723 SECTION_FLAGS
724 WERROR
725 thread_header
726 glibcxx_PCHFLAGS
727 GLIBCXX_BUILD_PCH_FALSE
728 GLIBCXX_BUILD_PCH_TRUE
729 GLIBCXX_HOSTED_FALSE
730 GLIBCXX_HOSTED_TRUE
731 glibcxx_compiler_shared_flag
732 glibcxx_compiler_pic_flag
733 glibcxx_lt_pic_flag
734 enable_static
735 enable_shared
736 lt_host_flags
737 CXXCPP
738 OTOOL64
739 OTOOL
740 LIPO
741 NMEDIT
742 DSYMUTIL
743 OBJDUMP
744 NM
745 ac_ct_DUMPBIN
746 DUMPBIN
747 LD
748 FGREP
749 SED
750 LIBTOOL
751 EGREP
752 GREP
753 CPP
754 MAINT
755 MAINTAINER_MODE_FALSE
756 MAINTAINER_MODE_TRUE
757 RANLIB
758 AR
759 AS
760 LN_S
761 toplevel_srcdir
762 toplevel_builddir
763 glibcxx_srcdir
764 glibcxx_builddir
765 ac_ct_CXX
766 CXXFLAGS
767 CXX
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
774 CC
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
780 AWK
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_os
799 target_vendor
800 target_cpu
801 target
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 multi_basedir
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 localstatedir
831 sharedstatedir
832 sysconfdir
833 datadir
834 datarootdir
835 libexecdir
836 sbindir
837 bindir
838 program_transform_name
839 prefix
840 exec_prefix
841 PACKAGE_URL
842 PACKAGE_BUGREPORT
843 PACKAGE_STRING
844 PACKAGE_VERSION
845 PACKAGE_TARNAME
846 PACKAGE_NAME
847 PATH_SEPARATOR
848 SHELL'
849 ac_subst_files=''
850 ac_user_opts='
851 enable_option_checking
852 enable_multilib
853 with_target_subdir
854 with_cross_host
855 with_newlib
856 enable_maintainer_mode
857 enable_shared
858 enable_static
859 with_pic
860 enable_fast_install
861 with_gnu_ld
862 enable_libtool_lock
863 enable_hosted_libstdcxx
864 enable_libstdcxx_verbose
865 enable_libstdcxx_pch
866 enable_cstdio
867 enable_clocale
868 enable_nls
869 enable_libstdcxx_allocator
870 enable_cheaders
871 enable_long_long
872 enable_wchar_t
873 enable_c99
874 enable_concept_checks
875 enable_libstdcxx_debug_flags
876 enable_libstdcxx_debug
877 enable_cxx_flags
878 enable_fully_dynamic_string
879 enable_extern_template
880 with_python_dir
881 enable_werror
882 enable_vtable_verify
883 enable_libstdcxx_time
884 enable_tls
885 enable_rpath
886 with_libiconv_prefix
887 with_system_libunwind
888 enable_linux_futex
889 enable_symvers
890 enable_libstdcxx_visibility
891 enable_libstdcxx_dual_abi
892 with_default_libstdcxx_abi
893 enable_libstdcxx_threads
894 enable_libstdcxx_filesystem_ts
895 with_gxx_include_dir
896 enable_version_specific_runtime_libs
897 '
898 ac_precious_vars='build_alias
899 host_alias
900 target_alias
901 CC
902 CFLAGS
903 LDFLAGS
904 LIBS
905 CPPFLAGS
906 CXX
907 CXXFLAGS
908 CCC
909 CPP
910 CXXCPP
911 CXXFILT'
912
913
914 # Initialize some variables set by options.
915 ac_init_help=
916 ac_init_version=false
917 ac_unrecognized_opts=
918 ac_unrecognized_sep=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
921 cache_file=/dev/null
922 exec_prefix=NONE
923 no_create=
924 no_recursion=
925 prefix=NONE
926 program_prefix=NONE
927 program_suffix=NONE
928 program_transform_name=s,x,x,
929 silent=
930 site=
931 srcdir=
932 verbose=
933 x_includes=NONE
934 x_libraries=NONE
935
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
954 htmldir='${docdir}'
955 dvidir='${docdir}'
956 pdfdir='${docdir}'
957 psdir='${docdir}'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
961
962 ac_prev=
963 ac_dashdash=
964 for ac_option
965 do
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
969 ac_prev=
970 continue
971 fi
972
973 case $ac_option in
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 *) ac_optarg=yes ;;
976 esac
977
978 # Accept the important Cygnus configure options, so we can diagnose typos.
979
980 case $ac_dashdash$ac_option in
981 --)
982 ac_dashdash=yes ;;
983
984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 ac_prev=bindir ;;
986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
987 bindir=$ac_optarg ;;
988
989 -build | --build | --buil | --bui | --bu)
990 ac_prev=build_alias ;;
991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
992 build_alias=$ac_optarg ;;
993
994 -cache-file | --cache-file | --cache-fil | --cache-fi \
995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996 ac_prev=cache_file ;;
997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999 cache_file=$ac_optarg ;;
1000
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1003
1004 -datadir | --datadir | --datadi | --datad)
1005 ac_prev=datadir ;;
1006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1007 datadir=$ac_optarg ;;
1008
1009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010 | --dataroo | --dataro | --datar)
1011 ac_prev=datarootdir ;;
1012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014 datarootdir=$ac_optarg ;;
1015
1016 -disable-* | --disable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=no ;;
1031
1032 -docdir | --docdir | --docdi | --doc | --do)
1033 ac_prev=docdir ;;
1034 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1035 docdir=$ac_optarg ;;
1036
1037 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 ac_prev=dvidir ;;
1039 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1040 dvidir=$ac_optarg ;;
1041
1042 -enable-* | --enable-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1050 *"
1051 "enable_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval enable_$ac_useropt=\$ac_optarg ;;
1057
1058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060 | --exec | --exe | --ex)
1061 ac_prev=exec_prefix ;;
1062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064 | --exec=* | --exe=* | --ex=*)
1065 exec_prefix=$ac_optarg ;;
1066
1067 -gas | --gas | --ga | --g)
1068 # Obsolete; use --with-gas.
1069 with_gas=yes ;;
1070
1071 -help | --help | --hel | --he | -h)
1072 ac_init_help=long ;;
1073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074 ac_init_help=recursive ;;
1075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076 ac_init_help=short ;;
1077
1078 -host | --host | --hos | --ho)
1079 ac_prev=host_alias ;;
1080 -host=* | --host=* | --hos=* | --ho=*)
1081 host_alias=$ac_optarg ;;
1082
1083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1084 ac_prev=htmldir ;;
1085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1086 | --ht=*)
1087 htmldir=$ac_optarg ;;
1088
1089 -includedir | --includedir | --includedi | --included | --include \
1090 | --includ | --inclu | --incl | --inc)
1091 ac_prev=includedir ;;
1092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093 | --includ=* | --inclu=* | --incl=* | --inc=*)
1094 includedir=$ac_optarg ;;
1095
1096 -infodir | --infodir | --infodi | --infod | --info | --inf)
1097 ac_prev=infodir ;;
1098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099 infodir=$ac_optarg ;;
1100
1101 -libdir | --libdir | --libdi | --libd)
1102 ac_prev=libdir ;;
1103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1104 libdir=$ac_optarg ;;
1105
1106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107 | --libexe | --libex | --libe)
1108 ac_prev=libexecdir ;;
1109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110 | --libexe=* | --libex=* | --libe=*)
1111 libexecdir=$ac_optarg ;;
1112
1113 -localedir | --localedir | --localedi | --localed | --locale)
1114 ac_prev=localedir ;;
1115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116 localedir=$ac_optarg ;;
1117
1118 -localstatedir | --localstatedir | --localstatedi | --localstated \
1119 | --localstate | --localstat | --localsta | --localst | --locals)
1120 ac_prev=localstatedir ;;
1121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123 localstatedir=$ac_optarg ;;
1124
1125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1126 ac_prev=mandir ;;
1127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128 mandir=$ac_optarg ;;
1129
1130 -nfp | --nfp | --nf)
1131 # Obsolete; use --without-fp.
1132 with_fp=no ;;
1133
1134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135 | --no-cr | --no-c | -n)
1136 no_create=yes ;;
1137
1138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 no_recursion=yes ;;
1141
1142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144 | --oldin | --oldi | --old | --ol | --o)
1145 ac_prev=oldincludedir ;;
1146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149 oldincludedir=$ac_optarg ;;
1150
1151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1152 ac_prev=prefix ;;
1153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154 prefix=$ac_optarg ;;
1155
1156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1157 | --program-pre | --program-pr | --program-p)
1158 ac_prev=program_prefix ;;
1159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161 program_prefix=$ac_optarg ;;
1162
1163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1164 | --program-suf | --program-su | --program-s)
1165 ac_prev=program_suffix ;;
1166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168 program_suffix=$ac_optarg ;;
1169
1170 -program-transform-name | --program-transform-name \
1171 | --program-transform-nam | --program-transform-na \
1172 | --program-transform-n | --program-transform- \
1173 | --program-transform | --program-transfor \
1174 | --program-transfo | --program-transf \
1175 | --program-trans | --program-tran \
1176 | --progr-tra | --program-tr | --program-t)
1177 ac_prev=program_transform_name ;;
1178 -program-transform-name=* | --program-transform-name=* \
1179 | --program-transform-nam=* | --program-transform-na=* \
1180 | --program-transform-n=* | --program-transform-=* \
1181 | --program-transform=* | --program-transfor=* \
1182 | --program-transfo=* | --program-transf=* \
1183 | --program-trans=* | --program-tran=* \
1184 | --progr-tra=* | --program-tr=* | --program-t=*)
1185 program_transform_name=$ac_optarg ;;
1186
1187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1188 ac_prev=pdfdir ;;
1189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190 pdfdir=$ac_optarg ;;
1191
1192 -psdir | --psdir | --psdi | --psd | --ps)
1193 ac_prev=psdir ;;
1194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 psdir=$ac_optarg ;;
1196
1197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198 | -silent | --silent | --silen | --sile | --sil)
1199 silent=yes ;;
1200
1201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202 ac_prev=sbindir ;;
1203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204 | --sbi=* | --sb=*)
1205 sbindir=$ac_optarg ;;
1206
1207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209 | --sharedst | --shareds | --shared | --share | --shar \
1210 | --sha | --sh)
1211 ac_prev=sharedstatedir ;;
1212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215 | --sha=* | --sh=*)
1216 sharedstatedir=$ac_optarg ;;
1217
1218 -site | --site | --sit)
1219 ac_prev=site ;;
1220 -site=* | --site=* | --sit=*)
1221 site=$ac_optarg ;;
1222
1223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224 ac_prev=srcdir ;;
1225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226 srcdir=$ac_optarg ;;
1227
1228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229 | --syscon | --sysco | --sysc | --sys | --sy)
1230 ac_prev=sysconfdir ;;
1231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233 sysconfdir=$ac_optarg ;;
1234
1235 -target | --target | --targe | --targ | --tar | --ta | --t)
1236 ac_prev=target_alias ;;
1237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238 target_alias=$ac_optarg ;;
1239
1240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 verbose=yes ;;
1242
1243 -version | --version | --versio | --versi | --vers | -V)
1244 ac_init_version=: ;;
1245
1246 -with-* | --with-*)
1247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1254 *"
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=\$ac_optarg ;;
1261
1262 -without-* | --without-*)
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1270 *"
1271 "with_$ac_useropt"
1272 "*) ;;
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1275 esac
1276 eval with_$ac_useropt=no ;;
1277
1278 --x)
1279 # Obsolete; use --with-x.
1280 with_x=yes ;;
1281
1282 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283 | --x-incl | --x-inc | --x-in | --x-i)
1284 ac_prev=x_includes ;;
1285 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287 x_includes=$ac_optarg ;;
1288
1289 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1290 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291 ac_prev=x_libraries ;;
1292 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294 x_libraries=$ac_optarg ;;
1295
1296 -*) as_fn_error "unrecognized option: \`$ac_option'
1297 Try \`$0 --help' for more information."
1298 ;;
1299
1300 *=*)
1301 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302 # Reject names that are not valid shell variable names.
1303 case $ac_envvar in #(
1304 '' | [0-9]* | *[!_$as_cr_alnum]* )
1305 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1306 esac
1307 eval $ac_envvar=\$ac_optarg
1308 export $ac_envvar ;;
1309
1310 *)
1311 # FIXME: should be removed in autoconf 3.0.
1312 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1316 ;;
1317
1318 esac
1319 done
1320
1321 if test -n "$ac_prev"; then
1322 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323 as_fn_error "missing argument to $ac_option"
1324 fi
1325
1326 if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in
1328 no) ;;
1329 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 esac
1332 fi
1333
1334 # Check all directory arguments for consistency.
1335 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336 datadir sysconfdir sharedstatedir localstatedir includedir \
1337 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338 libdir localedir mandir
1339 do
1340 eval ac_val=\$$ac_var
1341 # Remove trailing slashes.
1342 case $ac_val in
1343 */ )
1344 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345 eval $ac_var=\$ac_val;;
1346 esac
1347 # Be sure to have absolute directory names.
1348 case $ac_val in
1349 [\\/$]* | ?:[\\/]* ) continue;;
1350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1353 done
1354
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1358 build=$build_alias
1359 host=$host_alias
1360 target=$target_alias
1361
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x; then
1364 if test "x$build_alias" = x; then
1365 cross_compiling=maybe
1366 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1369 cross_compiling=yes
1370 fi
1371 fi
1372
1373 ac_tool_prefix=
1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1375
1376 test "$silent" = yes && exec 6>/dev/null
1377
1378
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error "working directory cannot be determined"
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error "pwd does not report name of working directory"
1385
1386
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$as_myself" ||
1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$as_myself" : 'X\(//\)[^/]' \| \
1394 X"$as_myself" : 'X\(//\)$' \| \
1395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396 $as_echo X"$as_myself" |
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 s//\1/
1399 q
1400 }
1401 /^X\(\/\/\)[^/].*/{
1402 s//\1/
1403 q
1404 }
1405 /^X\(\/\/\)$/{
1406 s//\1/
1407 q
1408 }
1409 /^X\(\/\).*/{
1410 s//\1/
1411 q
1412 }
1413 s/.*/./; q'`
1414 srcdir=$ac_confdir
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 srcdir=..
1417 fi
1418 else
1419 ac_srcdir_defaulted=no
1420 fi
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1424 fi
1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 ac_abs_confdir=`(
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1428 pwd)`
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1431 srcdir=.
1432 fi
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1436 case $srcdir in
1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 esac
1439 for ac_var in $ac_precious_vars; do
1440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_${ac_var}_value=\$${ac_var}
1442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444 done
1445
1446 #
1447 # Report the --help message.
1448 #
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1452 cat <<_ACEOF
1453 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1454
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1456
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1459
1460 Defaults for the options are specified in brackets.
1461
1462 Configuration:
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1472
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477 [PREFIX]
1478
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1483
1484 For better control, use the options below.
1485
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1506 _ACEOF
1507
1508 cat <<\_ACEOF
1509
1510 Program names:
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1514
1515 System types:
1516 --build=BUILD configure for building on BUILD [guessed]
1517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1518 --target=TARGET configure for building compilers for TARGET [HOST]
1519 _ACEOF
1520 fi
1521
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of package-unused version-unused:";;
1525 esac
1526 cat <<\_ACEOF
1527
1528 Optional Features:
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-multilib build many library versions (default)
1533 --enable-maintainer-mode enable make rules and dependencies not useful
1534 (and sometimes confusing) to the casual installer
1535 --enable-shared[=PKGS] build shared libraries [default=yes]
1536 --enable-static[=PKGS] build static libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-libtool-lock avoid locking (might break parallel builds)
1540 --disable-hosted-libstdcxx
1541 only build freestanding C++ runtime support
1542 --disable-libstdcxx-verbose
1543 disable termination messages to standard error
1544 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1545 [default=$is_hosted]
1546 --enable-cstdio[=PACKAGE]
1547 use target-specific I/O package [default=stdio]
1548 --enable-clocale[=MODEL]
1549 use MODEL for target locale package [default=auto]
1550 --enable-nls use Native Language Support (default)
1551 --enable-libstdcxx-allocator[=KIND]
1552 use KIND for target std::allocator base
1553 [default=auto]
1554 --enable-cheaders[=KIND]
1555 construct "C" headers for g++ [default=$c_model]
1556 --enable-long-long enable template specializations for 'long long'
1557 [default=yes]
1558 --enable-wchar_t enable template specializations for 'wchar_t'
1559 [default=yes]
1560 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1561 --enable-concept-checks use Boost-derived template checks [default=no]
1562 --enable-libstdcxx-debug-flags=FLAGS
1563 pass compiler FLAGS when building debug library
1564 [default="-gdwarf-4 -g3 -O0"]
1565 --enable-libstdcxx-debug
1566 build extra debug library [default=no]
1567 --enable-cxx-flags=FLAGS
1568 pass compiler FLAGS when building library [default=]
1569 --enable-fully-dynamic-string
1570 do not put empty strings in per-process static
1571 memory [default=no]
1572 --enable-extern-template
1573 enable extern template [default=yes]
1574 --enable-werror turns on -Werror [default=yes]
1575 --enable-vtable-verify enable vtable verify [default=no]
1576 --enable-libstdcxx-time[=KIND]
1577 use KIND for check type [default=auto]
1578 --enable-tls Use thread-local storage [default=yes]
1579 --disable-rpath do not hardcode runtime library paths
1580 --enable-linux-futex use the Linux futex system call [default=default]
1581 --enable-symvers[=STYLE]
1582 enables symbol versioning of the shared library
1583 [default=yes]
1584 --enable-libstdcxx-visibility
1585 enables visibility safe usage [default=yes]
1586 --enable-libstdcxx-dual-abi
1587 support two versions of std::string [default=yes]
1588 --enable-libstdcxx-threads
1589 enable C++11 threads support [default=auto]
1590 --enable-libstdcxx-filesystem-ts
1591 turns on ISO/IEC TS 18822 support [default=auto]
1592 --enable-version-specific-runtime-libs
1593 Specify that runtime libraries should be installed
1594 in a compiler-specific directory
1595
1596 Optional Packages:
1597 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1598 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1599 --with-target-subdir=SUBDIR
1600 configuring in a subdirectory
1601 --with-cross-host=HOST configuring with a cross compiler
1602 --with-newlib assume newlib as a system C library
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1604 both]
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-python-dir the location to install Python modules. This path is
1607 relative starting from the prefix.
1608 --with-gnu-ld assume the C compiler uses GNU ld default=no
1609 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1610 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1611 --with-system-libunwind use installed libunwind
1612 --with-default-libstdcxx-abi
1613 set the std::string ABI to use by default
1614 --with-gxx-include-dir=DIR
1615 installation directory for include files
1616
1617 Some influential environment variables:
1618 CC C compiler command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1621 nonstandard directory <lib dir>
1622 LIBS libraries to pass to the linker, e.g. -l<library>
1623 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1624 you have headers in a nonstandard directory <include dir>
1625 CXX C++ compiler command
1626 CXXFLAGS C++ compiler flags
1627 CPP C preprocessor
1628 CXXCPP C++ preprocessor
1629 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1630 `c++filt', `gc++filt' on PATH.
1631
1632 Use these variables to override the choices made by `configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1634
1635 Report bugs to the package provider.
1636 _ACEOF
1637 ac_status=$?
1638 fi
1639
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 continue
1646 ac_builddir=.
1647
1648 case "$ac_dir" in
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 *)
1651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 esac ;;
1658 esac
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1663
1664 case $srcdir in
1665 .) # We are building in place.
1666 ac_srcdir=.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1673 *) # Relative name.
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 esac
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1688 else
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 fi || ac_status=$?
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1692 done
1693 fi
1694
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1697 cat <<\_ACEOF
1698 package-unused configure version-unused
1699 generated by GNU Autoconf 2.64
1700
1701 Copyright (C) 2009 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1704 _ACEOF
1705 exit
1706 fi
1707
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1711
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1716 {
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1732 fi
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=1
1744 fi
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1747
1748 } # ac_fn_c_try_compile
1749
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1754 {
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1770 fi
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781 ac_retval=1
1782 fi
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1785
1786 } # ac_fn_cxx_try_compile
1787
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_cpp ()
1792 {
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1807 fi
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } >/dev/null && {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 }; then :
1813 ac_retval=0
1814 else
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1817
1818 ac_retval=1
1819 fi
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 return $ac_retval
1822
1823 } # ac_fn_c_try_cpp
1824
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1829 {
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1840 ac_status=$?
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1845 fi
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest$ac_exeext
1853 }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1858
1859 ac_retval=1
1860 fi
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 return $ac_retval
1868
1869 } # ac_fn_c_try_link
1870
1871 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists and can be compiled using the include files in
1874 # INCLUDES, setting the cache variable VAR accordingly.
1875 ac_fn_c_check_header_compile ()
1876 {
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 $4
1886 #include <$2>
1887 _ACEOF
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 eval "$3=yes"
1890 else
1891 eval "$3=no"
1892 fi
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 fi
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899
1900 } # ac_fn_c_check_header_compile
1901
1902 # ac_fn_c_try_run LINENO
1903 # ----------------------
1904 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1905 # that executables *can* be run.
1906 ac_fn_c_try_run ()
1907 {
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 if { { ac_try="$ac_link"
1910 case "(($ac_try" in
1911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1913 esac
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1917 ac_status=$?
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1923 esac
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1927 ac_status=$?
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1930 ac_retval=0
1931 else
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1935
1936 ac_retval=$ac_status
1937 fi
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 return $ac_retval
1941
1942 } # ac_fn_c_try_run
1943
1944 # ac_fn_c_check_func LINENO FUNC VAR
1945 # ----------------------------------
1946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1947 ac_fn_c_check_func ()
1948 {
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 $as_echo_n "(cached) " >&6
1954 else
1955 if test x$gcc_no_link = xyes; then
1956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1957 fi
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1960 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1962 #define $2 innocuous_$2
1963
1964 /* System header to define __stub macros and hopefully few prototypes,
1965 which can conflict with char $2 (); below.
1966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1967 <limits.h> exists even on freestanding compilers. */
1968
1969 #ifdef __STDC__
1970 # include <limits.h>
1971 #else
1972 # include <assert.h>
1973 #endif
1974
1975 #undef $2
1976
1977 /* Override any GCC internal prototype to avoid an error.
1978 Use char because int might match the return type of a GCC
1979 builtin and then its argument prototype would still apply. */
1980 #ifdef __cplusplus
1981 extern "C"
1982 #endif
1983 char $2 ();
1984 /* The GNU C library defines this for functions which it implements
1985 to always fail with ENOSYS. Some functions are actually named
1986 something starting with __ and the normal name is an alias. */
1987 #if defined __stub_$2 || defined __stub___$2
1988 choke me
1989 #endif
1990
1991 int
1992 main ()
1993 {
1994 return $2 ();
1995 ;
1996 return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_c_try_link "$LINENO"; then :
2000 eval "$3=yes"
2001 else
2002 eval "$3=no"
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext \
2005 conftest$ac_exeext conftest.$ac_ext
2006 fi
2007 eval ac_res=\$$3
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011
2012 } # ac_fn_c_check_func
2013
2014 # ac_fn_cxx_try_cpp LINENO
2015 # ------------------------
2016 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_cpp ()
2018 {
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 if { { ac_try="$ac_cpp conftest.$ac_ext"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2033 fi
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } >/dev/null && {
2036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 }; then :
2039 ac_retval=0
2040 else
2041 $as_echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2043
2044 ac_retval=1
2045 fi
2046 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047 return $ac_retval
2048
2049 } # ac_fn_cxx_try_cpp
2050
2051 # ac_fn_cxx_try_link LINENO
2052 # -------------------------
2053 # Try to link conftest.$ac_ext, and return whether this succeeded.
2054 ac_fn_cxx_try_link ()
2055 {
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 rm -f conftest.$ac_objext conftest$ac_exeext
2058 if { { ac_try="$ac_link"
2059 case "(($ac_try" in
2060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 *) ac_try_echo=$ac_try;;
2062 esac
2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064 $as_echo "$ac_try_echo"; } >&5
2065 (eval "$ac_link") 2>conftest.err
2066 ac_status=$?
2067 if test -s conftest.err; then
2068 grep -v '^ *+' conftest.err >conftest.er1
2069 cat conftest.er1 >&5
2070 mv -f conftest.er1 conftest.err
2071 fi
2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2073 test $ac_status = 0; } && {
2074 test -z "$ac_cxx_werror_flag" ||
2075 test ! -s conftest.err
2076 } && test -s conftest$ac_exeext && {
2077 test "$cross_compiling" = yes ||
2078 $as_test_x conftest$ac_exeext
2079 }; then :
2080 ac_retval=0
2081 else
2082 $as_echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2084
2085 ac_retval=1
2086 fi
2087 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2088 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2089 # interfere with the next link command; also delete a directory that is
2090 # left behind by Apple's compiler. We do this before executing the actions.
2091 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2093 return $ac_retval
2094
2095 } # ac_fn_cxx_try_link
2096
2097 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2098 # -------------------------------------------------------
2099 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2100 # the include files in INCLUDES and setting the cache variable VAR
2101 # accordingly.
2102 ac_fn_c_check_header_mongrel ()
2103 {
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 $as_echo_n "(cached) " >&6
2110 fi
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 else
2115 # Is the header compilable?
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2117 $as_echo_n "checking $2 usability... " >&6; }
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2120 $4
2121 #include <$2>
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_header_compiler=yes
2125 else
2126 ac_header_compiler=no
2127 fi
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2130 $as_echo "$ac_header_compiler" >&6; }
2131
2132 # Is the header present?
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2134 $as_echo_n "checking $2 presence... " >&6; }
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 #include <$2>
2138 _ACEOF
2139 if ac_fn_c_try_cpp "$LINENO"; then :
2140 ac_header_preproc=yes
2141 else
2142 ac_header_preproc=no
2143 fi
2144 rm -f conftest.err conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2146 $as_echo "$ac_header_preproc" >&6; }
2147
2148 # So? What about this header?
2149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2150 yes:no: )
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2152 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2154 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2155 ;;
2156 no:yes:* )
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2158 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2160 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2162 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2164 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 ;;
2168 esac
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 eval "$3=\$ac_header_compiler"
2175 fi
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 fi
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181
2182 } # ac_fn_c_check_header_mongrel
2183
2184 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2185 # ---------------------------------------------------------
2186 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2187 # the include files in INCLUDES and setting the cache variable VAR
2188 # accordingly.
2189 ac_fn_cxx_check_header_mongrel ()
2190 {
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194 $as_echo_n "checking for $2... " >&6; }
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2197 fi
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 else
2202 # Is the header compilable?
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2204 $as_echo_n "checking $2 usability... " >&6; }
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2207 $4
2208 #include <$2>
2209 _ACEOF
2210 if ac_fn_cxx_try_compile "$LINENO"; then :
2211 ac_header_compiler=yes
2212 else
2213 ac_header_compiler=no
2214 fi
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2217 $as_echo "$ac_header_compiler" >&6; }
2218
2219 # Is the header present?
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2221 $as_echo_n "checking $2 presence... " >&6; }
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_cxx_try_cpp "$LINENO"; then :
2227 ac_header_preproc=yes
2228 else
2229 ac_header_preproc=no
2230 fi
2231 rm -f conftest.err conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2233 $as_echo "$ac_header_preproc" >&6; }
2234
2235 # So? What about this header?
2236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2237 yes:no: )
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2239 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 ;;
2243 no:yes:* )
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2245 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2247 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2249 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2251 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 ;;
2255 esac
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259 $as_echo_n "(cached) " >&6
2260 else
2261 eval "$3=\$ac_header_compiler"
2262 fi
2263 eval ac_res=\$$3
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2266 fi
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2268
2269 } # ac_fn_cxx_check_header_mongrel
2270
2271 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2272 # --------------------------------------------
2273 # Tries to find the compile-time value of EXPR in a program that includes
2274 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2275 # computed
2276 ac_fn_c_compute_int ()
2277 {
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 if test "$cross_compiling" = yes; then
2280 # Depending upon the size, compute the lo and hi bounds.
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2283 $4
2284 int
2285 main ()
2286 {
2287 static int test_array [1 - 2 * !(($2) >= 0)];
2288 test_array [0] = 0
2289
2290 ;
2291 return 0;
2292 }
2293 _ACEOF
2294 if ac_fn_c_try_compile "$LINENO"; then :
2295 ac_lo=0 ac_mid=0
2296 while :; do
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h. */
2299 $4
2300 int
2301 main ()
2302 {
2303 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304 test_array [0] = 0
2305
2306 ;
2307 return 0;
2308 }
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311 ac_hi=$ac_mid; break
2312 else
2313 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2314 if test $ac_lo -le $ac_mid; then
2315 ac_lo= ac_hi=
2316 break
2317 fi
2318 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2319 fi
2320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 done
2322 else
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2325 $4
2326 int
2327 main ()
2328 {
2329 static int test_array [1 - 2 * !(($2) < 0)];
2330 test_array [0] = 0
2331
2332 ;
2333 return 0;
2334 }
2335 _ACEOF
2336 if ac_fn_c_try_compile "$LINENO"; then :
2337 ac_hi=-1 ac_mid=-1
2338 while :; do
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2341 $4
2342 int
2343 main ()
2344 {
2345 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2346 test_array [0] = 0
2347
2348 ;
2349 return 0;
2350 }
2351 _ACEOF
2352 if ac_fn_c_try_compile "$LINENO"; then :
2353 ac_lo=$ac_mid; break
2354 else
2355 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2356 if test $ac_mid -le $ac_hi; then
2357 ac_lo= ac_hi=
2358 break
2359 fi
2360 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2361 fi
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 done
2364 else
2365 ac_lo= ac_hi=
2366 fi
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2368 fi
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 # Binary search between lo and hi bounds.
2371 while test "x$ac_lo" != "x$ac_hi"; do
2372 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2375 $4
2376 int
2377 main ()
2378 {
2379 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2380 test_array [0] = 0
2381
2382 ;
2383 return 0;
2384 }
2385 _ACEOF
2386 if ac_fn_c_try_compile "$LINENO"; then :
2387 ac_hi=$ac_mid
2388 else
2389 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2390 fi
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 case $ac_lo in #((
2394 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2395 '') ac_retval=1 ;;
2396 esac
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2400 $4
2401 static long int longval () { return $2; }
2402 static unsigned long int ulongval () { return $2; }
2403 #include <stdio.h>
2404 #include <stdlib.h>
2405 int
2406 main ()
2407 {
2408
2409 FILE *f = fopen ("conftest.val", "w");
2410 if (! f)
2411 return 1;
2412 if (($2) < 0)
2413 {
2414 long int i = longval ();
2415 if (i != ($2))
2416 return 1;
2417 fprintf (f, "%ld", i);
2418 }
2419 else
2420 {
2421 unsigned long int i = ulongval ();
2422 if (i != ($2))
2423 return 1;
2424 fprintf (f, "%lu", i);
2425 }
2426 /* Do not output a trailing newline, as this causes \r\n confusion
2427 on some platforms. */
2428 return ferror (f) || fclose (f) != 0;
2429
2430 ;
2431 return 0;
2432 }
2433 _ACEOF
2434 if ac_fn_c_try_run "$LINENO"; then :
2435 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2436 else
2437 ac_retval=1
2438 fi
2439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2440 conftest.$ac_objext conftest.beam conftest.$ac_ext
2441 rm -f conftest.val
2442
2443 fi
2444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2445 return $ac_retval
2446
2447 } # ac_fn_c_compute_int
2448
2449 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2450 # -------------------------------------------
2451 # Tests whether TYPE exists after having included INCLUDES, setting cache
2452 # variable VAR accordingly.
2453 ac_fn_c_check_type ()
2454 {
2455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2459 $as_echo_n "(cached) " >&6
2460 else
2461 eval "$3=no"
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2464 $4
2465 int
2466 main ()
2467 {
2468 if (sizeof ($2))
2469 return 0;
2470 ;
2471 return 0;
2472 }
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2477 $4
2478 int
2479 main ()
2480 {
2481 if (sizeof (($2)))
2482 return 0;
2483 ;
2484 return 0;
2485 }
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488
2489 else
2490 eval "$3=yes"
2491 fi
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 fi
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 fi
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500
2501 } # ac_fn_c_check_type
2502
2503 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2504 # ---------------------------------------------
2505 # Tests whether TYPE exists after having included INCLUDES, setting cache
2506 # variable VAR accordingly.
2507 ac_fn_cxx_check_type ()
2508 {
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 eval "$3=no"
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2518 $4
2519 int
2520 main ()
2521 {
2522 if (sizeof ($2))
2523 return 0;
2524 ;
2525 return 0;
2526 }
2527 _ACEOF
2528 if ac_fn_cxx_try_compile "$LINENO"; then :
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2531 $4
2532 int
2533 main ()
2534 {
2535 if (sizeof (($2)))
2536 return 0;
2537 ;
2538 return 0;
2539 }
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542
2543 else
2544 eval "$3=yes"
2545 fi
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 fi
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2549 fi
2550 eval ac_res=\$$3
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2552 $as_echo "$ac_res" >&6; }
2553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2554
2555 } # ac_fn_cxx_check_type
2556 cat >config.log <<_ACEOF
2557 This file contains any messages produced by compilers while
2558 running configure, to aid debugging if configure makes a mistake.
2559
2560 It was created by package-unused $as_me version-unused, which was
2561 generated by GNU Autoconf 2.64. Invocation command line was
2562
2563 $ $0 $@
2564
2565 _ACEOF
2566 exec 5>>config.log
2567 {
2568 cat <<_ASUNAME
2569 ## --------- ##
2570 ## Platform. ##
2571 ## --------- ##
2572
2573 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2574 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2575 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2576 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2577 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2578
2579 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2580 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2581
2582 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2583 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2584 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2585 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2586 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2587 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2588 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2589
2590 _ASUNAME
2591
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2594 do
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 $as_echo "PATH: $as_dir"
2598 done
2599 IFS=$as_save_IFS
2600
2601 } >&5
2602
2603 cat >&5 <<_ACEOF
2604
2605
2606 ## ----------- ##
2607 ## Core tests. ##
2608 ## ----------- ##
2609
2610 _ACEOF
2611
2612
2613 # Keep a trace of the command line.
2614 # Strip out --no-create and --no-recursion so they do not pile up.
2615 # Strip out --silent because we don't want to record it for future runs.
2616 # Also quote any args containing shell meta-characters.
2617 # Make two passes to allow for proper duplicate-argument suppression.
2618 ac_configure_args=
2619 ac_configure_args0=
2620 ac_configure_args1=
2621 ac_must_keep_next=false
2622 for ac_pass in 1 2
2623 do
2624 for ac_arg
2625 do
2626 case $ac_arg in
2627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2629 | -silent | --silent | --silen | --sile | --sil)
2630 continue ;;
2631 *\'*)
2632 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 esac
2634 case $ac_pass in
2635 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2636 2)
2637 as_fn_append ac_configure_args1 " '$ac_arg'"
2638 if test $ac_must_keep_next = true; then
2639 ac_must_keep_next=false # Got value, back to normal.
2640 else
2641 case $ac_arg in
2642 *=* | --config-cache | -C | -disable-* | --disable-* \
2643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2645 | -with-* | --with-* | -without-* | --without-* | --x)
2646 case "$ac_configure_args0 " in
2647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2648 esac
2649 ;;
2650 -* ) ac_must_keep_next=true ;;
2651 esac
2652 fi
2653 as_fn_append ac_configure_args " '$ac_arg'"
2654 ;;
2655 esac
2656 done
2657 done
2658 { ac_configure_args0=; unset ac_configure_args0;}
2659 { ac_configure_args1=; unset ac_configure_args1;}
2660
2661 # When interrupted or exit'd, cleanup temporary files, and complete
2662 # config.log. We remove comments because anyway the quotes in there
2663 # would cause problems or look ugly.
2664 # WARNING: Use '\'' to represent an apostrophe within the trap.
2665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2666 trap 'exit_status=$?
2667 # Save into config.log some information that might help in debugging.
2668 {
2669 echo
2670
2671 cat <<\_ASBOX
2672 ## ---------------- ##
2673 ## Cache variables. ##
2674 ## ---------------- ##
2675 _ASBOX
2676 echo
2677 # The following way of writing the cache mishandles newlines in values,
2678 (
2679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2680 eval ac_val=\$$ac_var
2681 case $ac_val in #(
2682 *${as_nl}*)
2683 case $ac_var in #(
2684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2686 esac
2687 case $ac_var in #(
2688 _ | IFS | as_nl) ;; #(
2689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2690 *) { eval $ac_var=; unset $ac_var;} ;;
2691 esac ;;
2692 esac
2693 done
2694 (set) 2>&1 |
2695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2696 *${as_nl}ac_space=\ *)
2697 sed -n \
2698 "s/'\''/'\''\\\\'\'''\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2700 ;; #(
2701 *)
2702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2703 ;;
2704 esac |
2705 sort
2706 )
2707 echo
2708
2709 cat <<\_ASBOX
2710 ## ----------------- ##
2711 ## Output variables. ##
2712 ## ----------------- ##
2713 _ASBOX
2714 echo
2715 for ac_var in $ac_subst_vars
2716 do
2717 eval ac_val=\$$ac_var
2718 case $ac_val in
2719 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2720 esac
2721 $as_echo "$ac_var='\''$ac_val'\''"
2722 done | sort
2723 echo
2724
2725 if test -n "$ac_subst_files"; then
2726 cat <<\_ASBOX
2727 ## ------------------- ##
2728 ## File substitutions. ##
2729 ## ------------------- ##
2730 _ASBOX
2731 echo
2732 for ac_var in $ac_subst_files
2733 do
2734 eval ac_val=\$$ac_var
2735 case $ac_val in
2736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2737 esac
2738 $as_echo "$ac_var='\''$ac_val'\''"
2739 done | sort
2740 echo
2741 fi
2742
2743 if test -s confdefs.h; then
2744 cat <<\_ASBOX
2745 ## ----------- ##
2746 ## confdefs.h. ##
2747 ## ----------- ##
2748 _ASBOX
2749 echo
2750 cat confdefs.h
2751 echo
2752 fi
2753 test "$ac_signal" != 0 &&
2754 $as_echo "$as_me: caught signal $ac_signal"
2755 $as_echo "$as_me: exit $exit_status"
2756 } >&5
2757 rm -f core *.core core.conftest.* &&
2758 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2759 exit $exit_status
2760 ' 0
2761 for ac_signal in 1 2 13 15; do
2762 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2763 done
2764 ac_signal=0
2765
2766 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2767 rm -f -r conftest* confdefs.h
2768
2769 $as_echo "/* confdefs.h */" > confdefs.h
2770
2771 # Predefined preprocessor variables.
2772
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_NAME "$PACKAGE_NAME"
2775 _ACEOF
2776
2777 cat >>confdefs.h <<_ACEOF
2778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2779 _ACEOF
2780
2781 cat >>confdefs.h <<_ACEOF
2782 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2783 _ACEOF
2784
2785 cat >>confdefs.h <<_ACEOF
2786 #define PACKAGE_STRING "$PACKAGE_STRING"
2787 _ACEOF
2788
2789 cat >>confdefs.h <<_ACEOF
2790 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2791 _ACEOF
2792
2793 cat >>confdefs.h <<_ACEOF
2794 #define PACKAGE_URL "$PACKAGE_URL"
2795 _ACEOF
2796
2797
2798 # Let the site file select an alternate cache file if it wants to.
2799 # Prefer an explicitly selected file to automatically selected ones.
2800 ac_site_file1=NONE
2801 ac_site_file2=NONE
2802 if test -n "$CONFIG_SITE"; then
2803 ac_site_file1=$CONFIG_SITE
2804 elif test "x$prefix" != xNONE; then
2805 ac_site_file1=$prefix/share/config.site
2806 ac_site_file2=$prefix/etc/config.site
2807 else
2808 ac_site_file1=$ac_default_prefix/share/config.site
2809 ac_site_file2=$ac_default_prefix/etc/config.site
2810 fi
2811 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2812 do
2813 test "x$ac_site_file" = xNONE && continue
2814 if test -r "$ac_site_file"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2816 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2817 sed 's/^/| /' "$ac_site_file" >&5
2818 . "$ac_site_file"
2819 fi
2820 done
2821
2822 if test -r "$cache_file"; then
2823 # Some versions of bash will fail to source /dev/null (special
2824 # files actually), so we avoid doing that.
2825 if test -f "$cache_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2827 $as_echo "$as_me: loading cache $cache_file" >&6;}
2828 case $cache_file in
2829 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2830 *) . "./$cache_file";;
2831 esac
2832 fi
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2835 $as_echo "$as_me: creating cache $cache_file" >&6;}
2836 >$cache_file
2837 fi
2838
2839 # Check that the precious variables saved in the cache have kept the same
2840 # value.
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844 eval ac_new_set=\$ac_env_${ac_var}_set
2845 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846 eval ac_new_val=\$ac_env_${ac_var}_value
2847 case $ac_old_set,$ac_new_set in
2848 set,)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851 ac_cache_corrupted=: ;;
2852 ,set)
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855 ac_cache_corrupted=: ;;
2856 ,);;
2857 *)
2858 if test "x$ac_old_val" != "x$ac_new_val"; then
2859 # differences in whitespace do not lead to failure.
2860 ac_old_val_w=`echo x $ac_old_val`
2861 ac_new_val_w=`echo x $ac_new_val`
2862 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865 ac_cache_corrupted=:
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869 eval $ac_var=\$ac_old_val
2870 fi
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2872 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2875 fi;;
2876 esac
2877 # Pass precious variables to config.status.
2878 if test "$ac_new_set" = set; then
2879 case $ac_new_val in
2880 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 *) ac_arg=$ac_var=$ac_new_val ;;
2882 esac
2883 case " $ac_configure_args " in
2884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2885 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2886 esac
2887 fi
2888 done
2889 if $ac_cache_corrupted; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2895 fi
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2899
2900 ac_ext=c
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2905
2906
2907
2908
2909
2910
2911 ac_config_headers="$ac_config_headers config.h"
2912
2913
2914 # This works around the fact that libtool configuration may change LD
2915 # for this particular configuration, but some shells, instead of
2916 # keeping the changes in LD private, export them just because LD is
2917 # exported. Only used at the end of this file.
2918 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2919
2920 # Find the rest of the source tree framework.
2921 # Default to --enable-multilib
2922 # Check whether --enable-multilib was given.
2923 if test "${enable_multilib+set}" = set; then :
2924 enableval=$enable_multilib; case "$enableval" in
2925 yes) multilib=yes ;;
2926 no) multilib=no ;;
2927 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2928 esac
2929 else
2930 multilib=yes
2931 fi
2932
2933
2934 # We may get other options which we leave undocumented:
2935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2936 # See config-ml.in if you want the gory details.
2937
2938 if test "$srcdir" = "."; then
2939 if test "$with_target_subdir" != "."; then
2940 multi_basedir="$srcdir/$with_multisrctop../.."
2941 else
2942 multi_basedir="$srcdir/$with_multisrctop.."
2943 fi
2944 else
2945 multi_basedir="$srcdir/.."
2946 fi
2947
2948
2949 # Even if the default multilib is not a cross compilation,
2950 # it may be that some of the other multilibs are.
2951 if test $cross_compiling = no && test $multilib = yes \
2952 && test "x${with_multisubdir}" != x ; then
2953 cross_compiling=maybe
2954 fi
2955
2956 ac_config_commands="$ac_config_commands default-1"
2957
2958
2959 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2960 #
2961 # You will slowly go insane if you do not grok the following fact: when
2962 # building v3 as part of the compiler, the top-level /target/ becomes the
2963 # library's /host/. configure then causes --target to default to --host,
2964 # exactly like any other package using autoconf. Therefore, 'target' and
2965 # 'host' will always be the same. This makes sense both for native and
2966 # cross compilers, just think about it for a little while. :-)
2967 #
2968 # Also, if v3 is being configured as part of a cross compiler, the top-level
2969 # configure script will pass the "real" host as $with_cross_host.
2970 #
2971 # Do not delete or change the following two lines. For why, see
2972 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2973 ac_aux_dir=
2974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2975 for ac_t in install-sh install.sh shtool; do
2976 if test -f "$ac_dir/$ac_t"; then
2977 ac_aux_dir=$ac_dir
2978 ac_install_sh="$ac_aux_dir/$ac_t -c"
2979 break 2
2980 fi
2981 done
2982 done
2983 if test -z "$ac_aux_dir"; then
2984 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2985 fi
2986
2987 # These three variables are undocumented and unsupported,
2988 # and are intended to be withdrawn in a future Autoconf release.
2989 # They can cause serious problems if a builder's source tree is in a directory
2990 # whose full name contains unusual characters.
2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2993 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2994
2995
2996 # Make sure we can run config.sub.
2997 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2998 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2999
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3001 $as_echo_n "checking build system type... " >&6; }
3002 if test "${ac_cv_build+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 ac_build_alias=$build_alias
3006 test "x$ac_build_alias" = x &&
3007 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3008 test "x$ac_build_alias" = x &&
3009 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3010 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3011 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3012
3013 fi
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3015 $as_echo "$ac_cv_build" >&6; }
3016 case $ac_cv_build in
3017 *-*-*) ;;
3018 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3019 esac
3020 build=$ac_cv_build
3021 ac_save_IFS=$IFS; IFS='-'
3022 set x $ac_cv_build
3023 shift
3024 build_cpu=$1
3025 build_vendor=$2
3026 shift; shift
3027 # Remember, the first character of IFS is used to create $*,
3028 # except with old shells:
3029 build_os=$*
3030 IFS=$ac_save_IFS
3031 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3032
3033
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3035 $as_echo_n "checking host system type... " >&6; }
3036 if test "${ac_cv_host+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test "x$host_alias" = x; then
3040 ac_cv_host=$ac_cv_build
3041 else
3042 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3043 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3044 fi
3045
3046 fi
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3048 $as_echo "$ac_cv_host" >&6; }
3049 case $ac_cv_host in
3050 *-*-*) ;;
3051 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3052 esac
3053 host=$ac_cv_host
3054 ac_save_IFS=$IFS; IFS='-'
3055 set x $ac_cv_host
3056 shift
3057 host_cpu=$1
3058 host_vendor=$2
3059 shift; shift
3060 # Remember, the first character of IFS is used to create $*,
3061 # except with old shells:
3062 host_os=$*
3063 IFS=$ac_save_IFS
3064 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3065
3066
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3068 $as_echo_n "checking target system type... " >&6; }
3069 if test "${ac_cv_target+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test "x$target_alias" = x; then
3073 ac_cv_target=$ac_cv_host
3074 else
3075 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3077 fi
3078
3079 fi
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3081 $as_echo "$ac_cv_target" >&6; }
3082 case $ac_cv_target in
3083 *-*-*) ;;
3084 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3085 esac
3086 target=$ac_cv_target
3087 ac_save_IFS=$IFS; IFS='-'
3088 set x $ac_cv_target
3089 shift
3090 target_cpu=$1
3091 target_vendor=$2
3092 shift; shift
3093 # Remember, the first character of IFS is used to create $*,
3094 # except with old shells:
3095 target_os=$*
3096 IFS=$ac_save_IFS
3097 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3098
3099
3100 # The aliases save the names the user supplied, while $host etc.
3101 # will get canonicalized.
3102 test -n "$target_alias" &&
3103 test "$program_prefix$program_suffix$program_transform_name" = \
3104 NONENONEs,x,x, &&
3105 program_prefix=${target_alias}-
3106
3107 target_alias=${target_alias-$host_alias}
3108
3109 # Handy for debugging:
3110 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3111
3112 if test "$build" != "$host"; then
3113 # We are being configured with some form of cross compiler.
3114 GLIBCXX_IS_NATIVE=false
3115 case "$host","$target" in
3116 # Darwin crosses can use the host system's libraries and headers,
3117 # because of the fat library support. Of course, it must be the
3118 # same version of Darwin on both sides. Allow the user to
3119 # just say --target=foo-darwin without a version number to mean
3120 # "the version on this system".
3121 *-*-darwin*,*-*-darwin*)
3122 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3123 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3124 if test $hostos = $targetos -o $targetos = darwin ; then
3125 GLIBCXX_IS_NATIVE=true
3126 fi
3127 ;;
3128
3129 *)
3130
3131 ;;
3132 esac
3133 else
3134 GLIBCXX_IS_NATIVE=true
3135 fi
3136
3137 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3138 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3139 # 1.x: minimum required version
3140 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3141 # of other PACKAGE_* variables will, however, and there's nothing
3142 # we can do about that; they come from AC_INIT).
3143 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3144 # file in the top srcdir, etc, etc), so stop complaining.
3145 # no-dependencies: turns off auto dependency generation (just for now)
3146 # no-dist: we don't want 'dist' and related rules.
3147 # -Wall: turns on all automake warnings...
3148 # -Wno-portability: ...except this one, since GNU make is now required.
3149 am__api_version='1.11'
3150
3151 # Find a good install program. We prefer a C program (faster),
3152 # so one script is as good as another. But avoid the broken or
3153 # incompatible versions:
3154 # SysV /etc/install, /usr/sbin/install
3155 # SunOS /usr/etc/install
3156 # IRIX /sbin/install
3157 # AIX /bin/install
3158 # AmigaOS /C/install, which installs bootblocks on floppy discs
3159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3162 # OS/2's system install, which has a completely different semantic
3163 # ./install, which can be erroneously created by make from ./install.sh.
3164 # Reject install programs that cannot install multiple files.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3167 if test -z "$INSTALL"; then
3168 if test "${ac_cv_path_install+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 # Account for people who put trailing slashes in PATH elements.
3177 case $as_dir/ in #((
3178 ./ | .// | /[cC]/* | \
3179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3180 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3181 /usr/ucb/* ) ;;
3182 *)
3183 # OSF1 and SCO ODT 3.0 have their own names for install.
3184 # Don't use installbsd from OSF since it installs stuff as root
3185 # by default.
3186 for ac_prog in ginstall scoinst install; do
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3189 if test $ac_prog = install &&
3190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3191 # AIX install. It has an incompatible calling convention.
3192 :
3193 elif test $ac_prog = install &&
3194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3195 # program-specific install script used by HP pwplus--don't use.
3196 :
3197 else
3198 rm -rf conftest.one conftest.two conftest.dir
3199 echo one > conftest.one
3200 echo two > conftest.two
3201 mkdir conftest.dir
3202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3203 test -s conftest.one && test -s conftest.two &&
3204 test -s conftest.dir/conftest.one &&
3205 test -s conftest.dir/conftest.two
3206 then
3207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3208 break 3
3209 fi
3210 fi
3211 fi
3212 done
3213 done
3214 ;;
3215 esac
3216
3217 done
3218 IFS=$as_save_IFS
3219
3220 rm -rf conftest.one conftest.two conftest.dir
3221
3222 fi
3223 if test "${ac_cv_path_install+set}" = set; then
3224 INSTALL=$ac_cv_path_install
3225 else
3226 # As a last resort, use the slow shell script. Don't cache a
3227 # value for INSTALL within a source directory, because that will
3228 # break other packages using the cache if that directory is
3229 # removed, or if the value is a relative name.
3230 INSTALL=$ac_install_sh
3231 fi
3232 fi
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3234 $as_echo "$INSTALL" >&6; }
3235
3236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3237 # It thinks the first close brace ends the variable substitution.
3238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3239
3240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3241
3242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3243
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3245 $as_echo_n "checking whether build environment is sane... " >&6; }
3246 # Just in case
3247 sleep 1
3248 echo timestamp > conftest.file
3249 # Reject unsafe characters in $srcdir or the absolute working directory
3250 # name. Accept space and tab only in the latter.
3251 am_lf='
3252 '
3253 case `pwd` in
3254 *[\\\"\#\$\&\'\`$am_lf]*)
3255 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3256 esac
3257 case $srcdir in
3258 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3259 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3260 esac
3261
3262 # Do `set' in a subshell so we don't clobber the current shell's
3263 # arguments. Must try -L first in case configure is actually a
3264 # symlink; some systems play weird games with the mod time of symlinks
3265 # (eg FreeBSD returns the mod time of the symlink's containing
3266 # directory).
3267 if (
3268 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3269 if test "$*" = "X"; then
3270 # -L didn't work.
3271 set X `ls -t "$srcdir/configure" conftest.file`
3272 fi
3273 rm -f conftest.file
3274 if test "$*" != "X $srcdir/configure conftest.file" \
3275 && test "$*" != "X conftest.file $srcdir/configure"; then
3276
3277 # If neither matched, then we have a broken ls. This can happen
3278 # if, for instance, CONFIG_SHELL is bash and it inherits a
3279 # broken ls alias from the environment. This has actually
3280 # happened. Such a system could not be considered "sane".
3281 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3282 alias in your environment" "$LINENO" 5
3283 fi
3284
3285 test "$2" = conftest.file
3286 )
3287 then
3288 # Ok.
3289 :
3290 else
3291 as_fn_error "newly created file is older than distributed files!
3292 Check your system clock" "$LINENO" 5
3293 fi
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3296 test "$program_prefix" != NONE &&
3297 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3298 # Use a double $ so make ignores it.
3299 test "$program_suffix" != NONE &&
3300 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3301 # Double any \ or $.
3302 # By default was `s,x,x', remove it if useless.
3303 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3304 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3305
3306 # expand $ac_aux_dir to an absolute path
3307 am_aux_dir=`cd $ac_aux_dir && pwd`
3308
3309 if test x"${MISSING+set}" != xset; then
3310 case $am_aux_dir in
3311 *\ * | *\ *)
3312 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3313 *)
3314 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3315 esac
3316 fi
3317 # Use eval to expand $SHELL
3318 if eval "$MISSING --run true"; then
3319 am_missing_run="$MISSING --run "
3320 else
3321 am_missing_run=
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3323 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3324 fi
3325
3326 if test x"${install_sh}" != xset; then
3327 case $am_aux_dir in
3328 *\ * | *\ *)
3329 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3330 *)
3331 install_sh="\${SHELL} $am_aux_dir/install-sh"
3332 esac
3333 fi
3334
3335 # Installed binaries are usually stripped using `strip' when the user
3336 # run `make install-strip'. However `strip' might not be the right
3337 # tool to use in cross-compilation environments, therefore Automake
3338 # will honor the `STRIP' environment variable to overrule this program.
3339 if test "$cross_compiling" != no; then
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}strip; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_STRIP+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 if test -n "$STRIP"; then
3349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3353 do
3354 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 break 2
3361 fi
3362 done
3363 done
3364 IFS=$as_save_IFS
3365
3366 fi
3367 fi
3368 STRIP=$ac_cv_prog_STRIP
3369 if test -n "$STRIP"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3371 $as_echo "$STRIP" >&6; }
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3375 fi
3376
3377
3378 fi
3379 if test -z "$ac_cv_prog_STRIP"; then
3380 ac_ct_STRIP=$STRIP
3381 # Extract the first word of "strip", so it can be a program name with args.
3382 set dummy strip; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3387 else
3388 if test -n "$ac_ct_STRIP"; then
3389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3393 do
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_ac_ct_STRIP="strip"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3401 fi
3402 done
3403 done
3404 IFS=$as_save_IFS
3405
3406 fi
3407 fi
3408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3409 if test -n "$ac_ct_STRIP"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3411 $as_echo "$ac_ct_STRIP" >&6; }
3412 else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3415 fi
3416
3417 if test "x$ac_ct_STRIP" = x; then
3418 STRIP=":"
3419 else
3420 case $cross_compiling:$ac_tool_warned in
3421 yes:)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426 STRIP=$ac_ct_STRIP
3427 fi
3428 else
3429 STRIP="$ac_cv_prog_STRIP"
3430 fi
3431
3432 fi
3433 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3434
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3436 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3437 if test -z "$MKDIR_P"; then
3438 if test "${ac_cv_path_mkdir+set}" = set; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3443 do
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_prog in mkdir gmkdir; do
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3449 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3450 'mkdir (GNU coreutils) '* | \
3451 'mkdir (coreutils) '* | \
3452 'mkdir (fileutils) '4.1*)
3453 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3454 break 3;;
3455 esac
3456 done
3457 done
3458 done
3459 IFS=$as_save_IFS
3460
3461 fi
3462
3463 if test "${ac_cv_path_mkdir+set}" = set; then
3464 MKDIR_P="$ac_cv_path_mkdir -p"
3465 else
3466 # As a last resort, use the slow shell script. Don't cache a
3467 # value for MKDIR_P within a source directory, because that will
3468 # break other packages using the cache if that directory is
3469 # removed, or if the value is a relative name.
3470 test -d ./--version && rmdir ./--version
3471 MKDIR_P="$ac_install_sh -d"
3472 fi
3473 fi
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3475 $as_echo "$MKDIR_P" >&6; }
3476
3477 mkdir_p="$MKDIR_P"
3478 case $mkdir_p in
3479 [\\/$]* | ?:[\\/]*) ;;
3480 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3481 esac
3482
3483 for ac_prog in gawk mawk nawk awk
3484 do
3485 # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_AWK+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 if test -n "$AWK"; then
3493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3497 do
3498 IFS=$as_save_IFS
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_AWK="$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 break 2
3505 fi
3506 done
3507 done
3508 IFS=$as_save_IFS
3509
3510 fi
3511 fi
3512 AWK=$ac_cv_prog_AWK
3513 if test -n "$AWK"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3515 $as_echo "$AWK" >&6; }
3516 else
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3519 fi
3520
3521
3522 test -n "$AWK" && break
3523 done
3524
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 set x ${MAKE-make}
3528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 cat >conftest.make <<\_ACEOF
3533 SHELL = /bin/sh
3534 all:
3535 @echo '@@@%%%=$(MAKE)=@@@%%%'
3536 _ACEOF
3537 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 *@@@%%%=?*=@@@%%%*)
3540 eval ac_cv_prog_make_${ac_make}_set=yes;;
3541 *)
3542 eval ac_cv_prog_make_${ac_make}_set=no;;
3543 esac
3544 rm -f conftest.make
3545 fi
3546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3549 SET_MAKE=
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE="MAKE=${MAKE-make}"
3554 fi
3555
3556 rm -rf .tst 2>/dev/null
3557 mkdir .tst 2>/dev/null
3558 if test -d .tst; then
3559 am__leading_dot=.
3560 else
3561 am__leading_dot=_
3562 fi
3563 rmdir .tst 2>/dev/null
3564
3565 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3566 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3567 # is not polluted with repeated "-I."
3568 am__isrc=' -I$(srcdir)'
3569 # test to see if srcdir already configured
3570 if test -f $srcdir/config.status; then
3571 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3572 fi
3573 fi
3574
3575 # test whether we have cygpath
3576 if test -z "$CYGPATH_W"; then
3577 if (cygpath --version) >/dev/null 2>/dev/null; then
3578 CYGPATH_W='cygpath -w'
3579 else
3580 CYGPATH_W=echo
3581 fi
3582 fi
3583
3584
3585 # Define the identity of the package.
3586 PACKAGE='libstdc++'
3587 VERSION='version-unused'
3588
3589
3590 # Some tools Automake needs.
3591
3592 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3593
3594
3595 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3596
3597
3598 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3599
3600
3601 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3602
3603
3604 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3605
3606 # We need awk for the "check" target. The system "awk" is bad on
3607 # some platforms.
3608 # Always define AMTAR for backward compatibility. Yes, it's still used
3609 # in the wild :-( We should find a proper way to deprecate it ...
3610 AMTAR='$${TAR-tar}'
3611
3612 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3613
3614
3615
3616
3617
3618
3619
3620
3621 # -fno-builtin must be present here so that a non-conflicting form of
3622 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3623
3624 save_CXXFLAGS="$CXXFLAGS"
3625 CXXFLAGS="$CXXFLAGS -fno-builtin"
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3644 do
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3652 fi
3653 done
3654 done
3655 IFS=$as_save_IFS
3656
3657 fi
3658 fi
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 fi
3667
3668
3669 fi
3670 if test -z "$ac_cv_prog_CC"; then
3671 ac_ct_CC=$CC
3672 # Extract the first word of "gcc", so it can be a program name with args.
3673 set dummy gcc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3684 do
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_CC="gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3692 fi
3693 done
3694 done
3695 IFS=$as_save_IFS
3696
3697 fi
3698 fi
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3706 fi
3707
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3718 fi
3719 else
3720 CC="$ac_cv_prog_CC"
3721 fi
3722
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}cc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_CC+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3737 do
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="${ac_tool_prefix}cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3745 fi
3746 done
3747 done
3748 IFS=$as_save_IFS
3749
3750 fi
3751 fi
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3759 fi
3760
3761
3762 fi
3763 fi
3764 if test -z "$CC"; then
3765 # Extract the first word of "cc", so it can be a program name with args.
3766 set dummy cc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if test "${ac_cv_prog_CC+set}" = set; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 ac_prog_rejected=no
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3778 do
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3784 ac_prog_rejected=yes
3785 continue
3786 fi
3787 ac_cv_prog_CC="cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3790 fi
3791 done
3792 done
3793 IFS=$as_save_IFS
3794
3795 if test $ac_prog_rejected = yes; then
3796 # We found a bogon in the path, so make sure we never use it.
3797 set dummy $ac_cv_prog_CC
3798 shift
3799 if test $# != 0; then
3800 # We chose a different compiler from the bogus one.
3801 # However, it has the same basename, so the bogon will be chosen
3802 # first if we set CC to just the basename; use the full file name.
3803 shift
3804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3805 fi
3806 fi
3807 fi
3808 fi
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3816 fi
3817
3818
3819 fi
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 for ac_prog in cl.exe
3823 do
3824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_CC+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3836 do
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3844 fi
3845 done
3846 done
3847 IFS=$as_save_IFS
3848
3849 fi
3850 fi
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3858 fi
3859
3860
3861 test -n "$CC" && break
3862 done
3863 fi
3864 if test -z "$CC"; then
3865 ac_ct_CC=$CC
3866 for ac_prog in cl.exe
3867 do
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3880 do
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_ac_ct_CC="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3888 fi
3889 done
3890 done
3891 IFS=$as_save_IFS
3892
3893 fi
3894 fi
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3902 fi
3903
3904
3905 test -n "$ac_ct_CC" && break
3906 done
3907
3908 if test "x$ac_ct_CC" = x; then
3909 CC=""
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 CC=$ac_ct_CC
3918 fi
3919 fi
3920
3921 fi
3922
3923
3924 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error "no acceptable C compiler found in \$PATH
3927 See \`config.log' for more details." "$LINENO" 5; }
3928
3929 # Provide some information about the compiler.
3930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 set X $ac_compile
3932 ac_compiler=$2
3933 for ac_option in --version -v -V -qversion; do
3934 { { ac_try="$ac_compiler $ac_option >&5"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3942 ac_status=$?
3943 if test -s conftest.err; then
3944 sed '10a\
3945 ... rest of stderr output deleted ...
3946 10q' conftest.err >conftest.er1
3947 cat conftest.er1 >&5
3948 rm -f conftest.er1 conftest.err
3949 fi
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }
3952 done
3953
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3956
3957 int
3958 main ()
3959 {
3960
3961 ;
3962 return 0;
3963 }
3964 _ACEOF
3965 # FIXME: Cleanup?
3966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3967 (eval $ac_link) 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 gcc_no_link=no
3972 else
3973 gcc_no_link=yes
3974 fi
3975 if test x$gcc_no_link = xyes; then
3976 # Setting cross_compile will disable run tests; it will
3977 # also disable AC_CHECK_FILE but that's generally
3978 # correct if we can't link.
3979 cross_compiling=yes
3980 EXEEXT=
3981 else
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3984
3985 int
3986 main ()
3987 {
3988
3989 ;
3990 return 0;
3991 }
3992 _ACEOF
3993 ac_clean_files_save=$ac_clean_files
3994 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3995 # Try to create an executable without -o first, disregard a.out.
3996 # It will help us diagnose broken compilers, and finding out an intuition
3997 # of exeext.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4001
4002 # The possible output files:
4003 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4004
4005 ac_rmfiles=
4006 for ac_file in $ac_files
4007 do
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4011 esac
4012 done
4013 rm -f $ac_rmfiles
4014
4015 if { { ac_try="$ac_link_default"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_link_default") 2>&5
4023 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; then :
4026 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4027 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4028 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4029 # so that the user can short-circuit this test for compilers unknown to
4030 # Autoconf.
4031 for ac_file in $ac_files ''
4032 do
4033 test -f "$ac_file" || continue
4034 case $ac_file in
4035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4036 ;;
4037 [ab].out )
4038 # We found the default executable, but exeext='' is most
4039 # certainly right.
4040 break;;
4041 *.* )
4042 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4043 then :; else
4044 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4045 fi
4046 # We set ac_cv_exeext here because the later test for it is not
4047 # safe: cross compilers may not add the suffix if given an `-o'
4048 # argument, so we may need to know it at that point already.
4049 # Even if this section looks crufty: it has the advantage of
4050 # actually working.
4051 break;;
4052 * )
4053 break;;
4054 esac
4055 done
4056 test "$ac_cv_exeext" = no && ac_cv_exeext=
4057
4058 else
4059 ac_file=''
4060 fi
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4062 $as_echo "$ac_file" >&6; }
4063 if test -z "$ac_file"; then :
4064 $as_echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4066
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { as_fn_set_status 77
4070 as_fn_error "C compiler cannot create executables
4071 See \`config.log' for more details." "$LINENO" 5; }; }
4072 fi
4073 ac_exeext=$ac_cv_exeext
4074
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4078 $as_echo_n "checking whether the C compiler works... " >&6; }
4079 # If not cross compiling, check that we can run a simple program.
4080 if test "$cross_compiling" != yes; then
4081 if { ac_try='./$ac_file'
4082 { { case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_try") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; }; then
4092 cross_compiling=no
4093 else
4094 if test "$cross_compiling" = maybe; then
4095 cross_compiling=yes
4096 else
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details." "$LINENO" 5; }
4102 fi
4103 fi
4104 fi
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4107
4108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4109 ac_clean_files=$ac_clean_files_save
4110 # Check that the compiler produces executables we can run. If not, either
4111 # the compiler is broken, or we cross compile.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4113 $as_echo_n "checking whether we are cross compiling... " >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4116
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4118 $as_echo_n "checking for suffix of executables... " >&6; }
4119 if { { ac_try="$ac_link"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_link") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4132 # work properly (i.e., refer to `conftest.exe'), while it won't with
4133 # `rm'.
4134 for ac_file in conftest.exe conftest conftest.*; do
4135 test -f "$ac_file" || continue
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4139 break;;
4140 * ) break;;
4141 esac
4142 done
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error "cannot compute suffix of executables: cannot compile and link
4147 See \`config.log' for more details." "$LINENO" 5; }
4148 fi
4149 rm -f conftest$ac_cv_exeext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4151 $as_echo "$ac_cv_exeext" >&6; }
4152
4153 rm -f conftest.$ac_ext
4154 EXEEXT=$ac_cv_exeext
4155 ac_exeext=$EXEEXT
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if test "${ac_cv_objext+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164
4165 int
4166 main ()
4167 {
4168
4169 ;
4170 return 0;
4171 }
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4196
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details." "$LINENO" 5; }
4201 fi
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215
4216 int
4217 main ()
4218 {
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4222
4223 ;
4224 return 0;
4225 }
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4231 fi
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4234
4235 fi
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4242 fi
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if test "${ac_cv_prog_cc_g+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256
4257 int
4258 main ()
4259 {
4260
4261 ;
4262 return 0;
4263 }
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271
4272 int
4273 main ()
4274 {
4275
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4281
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287
4288 int
4289 main ()
4290 {
4291
4292 ;
4293 return 0;
4294 }
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4298 fi
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 fi
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 fi
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4305 fi
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4315 fi
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4321 fi
4322 fi
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 #include <sys/types.h>
4335 #include <sys/stat.h>
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4340 char **p;
4341 int i;
4342 {
4343 return p[i];
4344 }
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4346 {
4347 char *s;
4348 va_list v;
4349 va_start (v,p);
4350 s = g (p, va_arg (v,int));
4351 va_end (v);
4352 return s;
4353 }
4354
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4363
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4366 #define FOO(x) 'x'
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4368
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4373 int argc;
4374 char **argv;
4375 int
4376 main ()
4377 {
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4379 ;
4380 return 0;
4381 }
4382 _ACEOF
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4385 do
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4389 fi
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4392 done
4393 rm -f conftest.$ac_ext
4394 CC=$ac_save_CC
4395
4396 fi
4397 # AC_CACHE_VAL
4398 case "x$ac_cv_prog_cc_c89" in
4399 x)
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4402 xno)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4405 *)
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4409 esac
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4411
4412 fi
4413
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419
4420 ac_ext=cpp
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4427 CXX=$CCC
4428 else
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4431 do
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_prog_CXX+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4444 do
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4452 fi
4453 done
4454 done
4455 IFS=$as_save_IFS
4456
4457 fi
4458 fi
4459 CXX=$ac_cv_prog_CXX
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4466 fi
4467
4468
4469 test -n "$CXX" && break
4470 done
4471 fi
4472 if test -z "$CXX"; then
4473 ac_ct_CXX=$CXX
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4475 do
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4488 do
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4496 fi
4497 done
4498 done
4499 IFS=$as_save_IFS
4500
4501 fi
4502 fi
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4510 fi
4511
4512
4513 test -n "$ac_ct_CXX" && break
4514 done
4515
4516 if test "x$ac_ct_CXX" = x; then
4517 CXX="g++"
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CXX=$ac_ct_CXX
4526 fi
4527 fi
4528
4529 fi
4530 fi
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4551 fi
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4555
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563
4564 int
4565 main ()
4566 {
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4570
4571 ;
4572 return 0;
4573 }
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4579 fi
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4582
4583 fi
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GXX=yes
4588 else
4589 GXX=
4590 fi
4591 ac_test_CXXFLAGS=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag=yes
4600 ac_cv_prog_cxx_g=no
4601 CXXFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4604
4605 int
4606 main ()
4607 {
4608
4609 ;
4610 return 0;
4611 }
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_cv_prog_cxx_g=yes
4615 else
4616 CXXFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619
4620 int
4621 main ()
4622 {
4623
4624 ;
4625 return 0;
4626 }
4627 _ACEOF
4628 if ac_fn_cxx_try_compile "$LINENO"; then :
4629
4630 else
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635
4636 int
4637 main ()
4638 {
4639
4640 ;
4641 return 0;
4642 }
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4646 fi
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 fi
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4653 fi
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4660 CXXFLAGS="-g -O2"
4661 else
4662 CXXFLAGS="-g"
4663 fi
4664 else
4665 if test "$GXX" = yes; then
4666 CXXFLAGS="-O2"
4667 else
4668 CXXFLAGS=
4669 fi
4670 fi
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676
4677 CXXFLAGS="$save_CXXFLAGS"
4678
4679 # Runs configure.host, and assorted other critical bits. Sets
4680 # up critical shell variables.
4681
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4689 # On Suns, sometimes $CPP names a directory.
4690 if test -n "$CPP" && test -d "$CPP"; then
4691 CPP=
4692 fi
4693 if test -z "$CPP"; then
4694 if test "${ac_cv_prog_CPP+set}" = set; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 # Double quotes because CPP needs to be expanded
4698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4699 do
4700 ac_preproc_ok=false
4701 for ac_c_preproc_warn_flag in '' yes
4702 do
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #ifdef __STDC__
4712 # include <limits.h>
4713 #else
4714 # include <assert.h>
4715 #endif
4716 Syntax error
4717 _ACEOF
4718 if ac_fn_c_try_cpp "$LINENO"; then :
4719
4720 else
4721 # Broken: fails on valid input.
4722 continue
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 # OK, works on sane cases. Now check whether nonexistent headers
4727 # can be detected and how.
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <ac_nonexistent.h>
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4733 # Broken: success on invalid input.
4734 continue
4735 else
4736 # Passes both tests.
4737 ac_preproc_ok=:
4738 break
4739 fi
4740 rm -f conftest.err conftest.$ac_ext
4741
4742 done
4743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4744 rm -f conftest.err conftest.$ac_ext
4745 if $ac_preproc_ok; then :
4746 break
4747 fi
4748
4749 done
4750 ac_cv_prog_CPP=$CPP
4751
4752 fi
4753 CPP=$ac_cv_prog_CPP
4754 else
4755 ac_cv_prog_CPP=$CPP
4756 fi
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4758 $as_echo "$CPP" >&6; }
4759 ac_preproc_ok=false
4760 for ac_c_preproc_warn_flag in '' yes
4761 do
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #ifdef __STDC__
4771 # include <limits.h>
4772 #else
4773 # include <assert.h>
4774 #endif
4775 Syntax error
4776 _ACEOF
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4778
4779 else
4780 # Broken: fails on valid input.
4781 continue
4782 fi
4783 rm -f conftest.err conftest.$ac_ext
4784
4785 # OK, works on sane cases. Now check whether nonexistent headers
4786 # can be detected and how.
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <ac_nonexistent.h>
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4792 # Broken: success on invalid input.
4793 continue
4794 else
4795 # Passes both tests.
4796 ac_preproc_ok=:
4797 break
4798 fi
4799 rm -f conftest.err conftest.$ac_ext
4800
4801 done
4802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4803 rm -f conftest.err conftest.$ac_ext
4804 if $ac_preproc_ok; then :
4805
4806 else
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4810 See \`config.log' for more details." "$LINENO" 5; }
4811 fi
4812
4813 ac_ext=c
4814 ac_cpp='$CPP $CPPFLAGS'
4815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4818
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4821 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4822 if test "${ac_cv_path_GREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -z "$GREP"; then
4826 ac_path_GREP_found=false
4827 # Loop through the user's path and test for each of PROGNAME-LIST
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4830 do
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_prog in grep ggrep; do
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4836 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4837 # Check for GNU ac_path_GREP and select it if it is found.
4838 # Check for GNU $ac_path_GREP
4839 case `"$ac_path_GREP" --version 2>&1` in
4840 *GNU*)
4841 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4842 *)
4843 ac_count=0
4844 $as_echo_n 0123456789 >"conftest.in"
4845 while :
4846 do
4847 cat "conftest.in" "conftest.in" >"conftest.tmp"
4848 mv "conftest.tmp" "conftest.in"
4849 cp "conftest.in" "conftest.nl"
4850 $as_echo 'GREP' >> "conftest.nl"
4851 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4853 as_fn_arith $ac_count + 1 && ac_count=$as_val
4854 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4855 # Best one so far, save it but keep looking for a better one
4856 ac_cv_path_GREP="$ac_path_GREP"
4857 ac_path_GREP_max=$ac_count
4858 fi
4859 # 10*(2^10) chars as input seems more than enough
4860 test $ac_count -gt 10 && break
4861 done
4862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4863 esac
4864
4865 $ac_path_GREP_found && break 3
4866 done
4867 done
4868 done
4869 IFS=$as_save_IFS
4870 if test -z "$ac_cv_path_GREP"; then
4871 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4872 fi
4873 else
4874 ac_cv_path_GREP=$GREP
4875 fi
4876
4877 fi
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4879 $as_echo "$ac_cv_path_GREP" >&6; }
4880 GREP="$ac_cv_path_GREP"
4881
4882
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4884 $as_echo_n "checking for egrep... " >&6; }
4885 if test "${ac_cv_path_EGREP+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4889 then ac_cv_path_EGREP="$GREP -E"
4890 else
4891 if test -z "$EGREP"; then
4892 ac_path_EGREP_found=false
4893 # Loop through the user's path and test for each of PROGNAME-LIST
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4896 do
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_prog in egrep; do
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4903 # Check for GNU ac_path_EGREP and select it if it is found.
4904 # Check for GNU $ac_path_EGREP
4905 case `"$ac_path_EGREP" --version 2>&1` in
4906 *GNU*)
4907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4908 *)
4909 ac_count=0
4910 $as_echo_n 0123456789 >"conftest.in"
4911 while :
4912 do
4913 cat "conftest.in" "conftest.in" >"conftest.tmp"
4914 mv "conftest.tmp" "conftest.in"
4915 cp "conftest.in" "conftest.nl"
4916 $as_echo 'EGREP' >> "conftest.nl"
4917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4919 as_fn_arith $ac_count + 1 && ac_count=$as_val
4920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4921 # Best one so far, save it but keep looking for a better one
4922 ac_cv_path_EGREP="$ac_path_EGREP"
4923 ac_path_EGREP_max=$ac_count
4924 fi
4925 # 10*(2^10) chars as input seems more than enough
4926 test $ac_count -gt 10 && break
4927 done
4928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4929 esac
4930
4931 $ac_path_EGREP_found && break 3
4932 done
4933 done
4934 done
4935 IFS=$as_save_IFS
4936 if test -z "$ac_cv_path_EGREP"; then
4937 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4938 fi
4939 else
4940 ac_cv_path_EGREP=$EGREP
4941 fi
4942
4943 fi
4944 fi
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4946 $as_echo "$ac_cv_path_EGREP" >&6; }
4947 EGREP="$ac_cv_path_EGREP"
4948
4949
4950
4951 # Keep these sync'd with the list in Makefile.am. The first provides an
4952 # expandable list at autoconf time; the second provides an expandable list
4953 # (i.e., shell variable) at configure time.
4954
4955 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4956
4957 # These need to be absolute paths, yet at the same time need to
4958 # canonicalize only relative paths, because then amd will not unmount
4959 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4960 glibcxx_builddir=`${PWDCMD-pwd}`
4961 case $srcdir in
4962 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4963 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4964 esac
4965 toplevel_builddir=${glibcxx_builddir}/..
4966 toplevel_srcdir=${glibcxx_srcdir}/..
4967
4968
4969
4970
4971
4972 # We use these options to decide which functions to include. They are
4973 # set from the top level.
4974
4975 # Check whether --with-target-subdir was given.
4976 if test "${with_target_subdir+set}" = set; then :
4977 withval=$with_target_subdir;
4978 fi
4979
4980
4981
4982 # Check whether --with-cross-host was given.
4983 if test "${with_cross_host+set}" = set; then :
4984 withval=$with_cross_host;
4985 fi
4986
4987
4988
4989 # Check whether --with-newlib was given.
4990 if test "${with_newlib+set}" = set; then :
4991 withval=$with_newlib;
4992 fi
4993
4994
4995 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4996 # available). Uncomment the next line to force a particular method.
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5006 fi
5007
5008 #LN_S='cp -p'
5009
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}as; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AS+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AS"; then
5019 ac_cv_prog_AS="$AS" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5023 do
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AS="${ac_tool_prefix}as"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5031 fi
5032 done
5033 done
5034 IFS=$as_save_IFS
5035
5036 fi
5037 fi
5038 AS=$ac_cv_prog_AS
5039 if test -n "$AS"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5041 $as_echo "$AS" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 fi
5046
5047
5048 fi
5049 if test -z "$ac_cv_prog_AS"; then
5050 ac_ct_AS=$AS
5051 # Extract the first word of "as", so it can be a program name with args.
5052 set dummy as; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AS"; then
5059 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5063 do
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_AS="as"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5071 fi
5072 done
5073 done
5074 IFS=$as_save_IFS
5075
5076 fi
5077 fi
5078 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5079 if test -n "$ac_ct_AS"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5081 $as_echo "$ac_ct_AS" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5085 fi
5086
5087 if test "x$ac_ct_AS" = x; then
5088 AS=""
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 AS=$ac_ct_AS
5097 fi
5098 else
5099 AS="$ac_cv_prog_AS"
5100 fi
5101
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ar; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_AR+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$AR"; then
5111 ac_cv_prog_AR="$AR" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5115 do
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_AR="${ac_tool_prefix}ar"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5123 fi
5124 done
5125 done
5126 IFS=$as_save_IFS
5127
5128 fi
5129 fi
5130 AR=$ac_cv_prog_AR
5131 if test -n "$AR"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5133 $as_echo "$AR" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 fi
5138
5139
5140 fi
5141 if test -z "$ac_cv_prog_AR"; then
5142 ac_ct_AR=$AR
5143 # Extract the first word of "ar", so it can be a program name with args.
5144 set dummy ar; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_AR"; then
5151 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5155 do
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AR="ar"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5163 fi
5164 done
5165 done
5166 IFS=$as_save_IFS
5167
5168 fi
5169 fi
5170 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5171 if test -n "$ac_ct_AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5173 $as_echo "$ac_ct_AR" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 fi
5178
5179 if test "x$ac_ct_AR" = x; then
5180 AR=""
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 AR=$ac_ct_AR
5189 fi
5190 else
5191 AR="$ac_cv_prog_AR"
5192 fi
5193
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$RANLIB"; then
5203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5207 do
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5215 fi
5216 done
5217 done
5218 IFS=$as_save_IFS
5219
5220 fi
5221 fi
5222 RANLIB=$ac_cv_prog_RANLIB
5223 if test -n "$RANLIB"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5225 $as_echo "$RANLIB" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5229 fi
5230
5231
5232 fi
5233 if test -z "$ac_cv_prog_RANLIB"; then
5234 ac_ct_RANLIB=$RANLIB
5235 # Extract the first word of "ranlib", so it can be a program name with args.
5236 set dummy ranlib; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$ac_ct_RANLIB"; then
5243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5247 do
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252 ac_cv_prog_ac_ct_RANLIB="ranlib"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5255 fi
5256 done
5257 done
5258 IFS=$as_save_IFS
5259
5260 fi
5261 fi
5262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5263 if test -n "$ac_ct_RANLIB"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5265 $as_echo "$ac_ct_RANLIB" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5269 fi
5270
5271 if test "x$ac_ct_RANLIB" = x; then
5272 RANLIB="ranlib-not-found-in-path-error"
5273 else
5274 case $cross_compiling:$ac_tool_warned in
5275 yes:)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5278 ac_tool_warned=yes ;;
5279 esac
5280 RANLIB=$ac_ct_RANLIB
5281 fi
5282 else
5283 RANLIB="$ac_cv_prog_RANLIB"
5284 fi
5285
5286
5287
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5289 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5290 # Check whether --enable-maintainer-mode was given.
5291 if test "${enable_maintainer_mode+set}" = set; then :
5292 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5293 else
5294 USE_MAINTAINER_MODE=no
5295 fi
5296
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5298 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5299 if test $USE_MAINTAINER_MODE = yes; then
5300 MAINTAINER_MODE_TRUE=
5301 MAINTAINER_MODE_FALSE='#'
5302 else
5303 MAINTAINER_MODE_TRUE='#'
5304 MAINTAINER_MODE_FALSE=
5305 fi
5306
5307 MAINT=$MAINTAINER_MODE_TRUE
5308
5309
5310
5311 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5312 # which are themselves conditionally expanded.
5313 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5314 ## other macros from doing the same. This should be automated.) -pme
5315
5316 # Check for C library flavor since GNU/Linux platforms use different
5317 # configuration directories depending on the C library in use.
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5320
5321 #include <stdio.h>
5322 #if __UCLIBC__
5323 _using_uclibc
5324 #endif
5325
5326 _ACEOF
5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5328 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5329 uclibc=yes
5330 else
5331 uclibc=no
5332 fi
5333 rm -f conftest*
5334
5335
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5338
5339 #include <stdio.h>
5340 #if __BIONIC__
5341 _using_bionic
5342 #endif
5343
5344 _ACEOF
5345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5346 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5347 bionic=yes
5348 else
5349 bionic=no
5350 fi
5351 rm -f conftest*
5352
5353
5354 # Find platform-specific directories containing configuration info.
5355 # Also possibly modify flags used elsewhere, as needed by the platform.
5356
5357 . $glibcxx_srcdir/configure.host
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5359 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5361 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5362
5363
5364
5365 # Libtool setup.
5366 if test "x${with_newlib}" != "xyes"; then
5367 enable_dlopen=yes
5368
5369
5370
5371 fi
5372 case `pwd` in
5373 *\ * | *\ *)
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5375 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5376 esac
5377
5378
5379
5380 macro_version='2.2.7a'
5381 macro_revision='1.3134'
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395 ltmain="$ac_aux_dir/ltmain.sh"
5396
5397 # Backslashify metacharacters that are still active within
5398 # double-quoted strings.
5399 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5400
5401 # Same as above, but do not quote variable references.
5402 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5403
5404 # Sed substitution to delay expansion of an escaped shell variable in a
5405 # double_quote_subst'ed string.
5406 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5407
5408 # Sed substitution to delay expansion of an escaped single quote.
5409 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5410
5411 # Sed substitution to avoid accidental globbing in evaled expressions
5412 no_glob_subst='s/\*/\\\*/g'
5413
5414 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5416 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5417
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5419 $as_echo_n "checking how to print strings... " >&6; }
5420 # Test print first, because it will be a builtin if present.
5421 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5422 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5423 ECHO='print -r --'
5424 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='printf %s\n'
5426 else
5427 # Use this function as a fallback that always works.
5428 func_fallback_echo ()
5429 {
5430 eval 'cat <<_LTECHO_EOF
5431 $1
5432 _LTECHO_EOF'
5433 }
5434 ECHO='func_fallback_echo'
5435 fi
5436
5437 # func_echo_all arg...
5438 # Invoke $ECHO with all args, space-separated.
5439 func_echo_all ()
5440 {
5441 $ECHO ""
5442 }
5443
5444 case "$ECHO" in
5445 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5446 $as_echo "printf" >&6; } ;;
5447 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5448 $as_echo "print -r" >&6; } ;;
5449 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5450 $as_echo "cat" >&6; } ;;
5451 esac
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5468 if test "${ac_cv_path_SED+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5472 for ac_i in 1 2 3 4 5 6 7; do
5473 ac_script="$ac_script$as_nl$ac_script"
5474 done
5475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5476 { ac_script=; unset ac_script;}
5477 if test -z "$SED"; then
5478 ac_path_SED_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5482 do
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in sed gsed; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5488 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5489 # Check for GNU ac_path_SED and select it if it is found.
5490 # Check for GNU $ac_path_SED
5491 case `"$ac_path_SED" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5494 *)
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5498 do
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo '' >> "conftest.nl"
5503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_SED_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_SED="$ac_path_SED"
5509 ac_path_SED_max=$ac_count
5510 fi
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5516
5517 $ac_path_SED_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_SED"; then
5523 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5524 fi
5525 else
5526 ac_cv_path_SED=$SED
5527 fi
5528
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5531 $as_echo "$ac_cv_path_SED" >&6; }
5532 SED="$ac_cv_path_SED"
5533 rm -f conftest.sed
5534
5535 test -z "$SED" && SED=sed
5536 Xsed="$SED -e 1s/^X//"
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5549 $as_echo_n "checking for fgrep... " >&6; }
5550 if test "${ac_cv_path_FGREP+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5554 then ac_cv_path_FGREP="$GREP -F"
5555 else
5556 if test -z "$FGREP"; then
5557 ac_path_FGREP_found=false
5558 # Loop through the user's path and test for each of PROGNAME-LIST
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5561 do
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_prog in fgrep; do
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5567 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5568 # Check for GNU ac_path_FGREP and select it if it is found.
5569 # Check for GNU $ac_path_FGREP
5570 case `"$ac_path_FGREP" --version 2>&1` in
5571 *GNU*)
5572 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5573 *)
5574 ac_count=0
5575 $as_echo_n 0123456789 >"conftest.in"
5576 while :
5577 do
5578 cat "conftest.in" "conftest.in" >"conftest.tmp"
5579 mv "conftest.tmp" "conftest.in"
5580 cp "conftest.in" "conftest.nl"
5581 $as_echo 'FGREP' >> "conftest.nl"
5582 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5584 as_fn_arith $ac_count + 1 && ac_count=$as_val
5585 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5586 # Best one so far, save it but keep looking for a better one
5587 ac_cv_path_FGREP="$ac_path_FGREP"
5588 ac_path_FGREP_max=$ac_count
5589 fi
5590 # 10*(2^10) chars as input seems more than enough
5591 test $ac_count -gt 10 && break
5592 done
5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5594 esac
5595
5596 $ac_path_FGREP_found && break 3
5597 done
5598 done
5599 done
5600 IFS=$as_save_IFS
5601 if test -z "$ac_cv_path_FGREP"; then
5602 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5603 fi
5604 else
5605 ac_cv_path_FGREP=$FGREP
5606 fi
5607
5608 fi
5609 fi
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5611 $as_echo "$ac_cv_path_FGREP" >&6; }
5612 FGREP="$ac_cv_path_FGREP"
5613
5614
5615 test -z "$GREP" && GREP=grep
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635 # Check whether --with-gnu-ld was given.
5636 if test "${with_gnu_ld+set}" = set; then :
5637 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5638 else
5639 with_gnu_ld=no
5640 fi
5641
5642 ac_prog=ld
5643 if test "$GCC" = yes; then
5644 # Check if gcc -print-prog-name=ld gives a path.
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5646 $as_echo_n "checking for ld used by $CC... " >&6; }
5647 case $host in
5648 *-*-mingw*)
5649 # gcc leaves a trailing carriage return which upsets mingw
5650 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5651 *)
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5653 esac
5654 case $ac_prog in
5655 # Accept absolute paths.
5656 [\\/]* | ?:[\\/]*)
5657 re_direlt='/[^/][^/]*/\.\./'
5658 # Canonicalize the pathname of ld
5659 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5660 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5661 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5662 done
5663 test -z "$LD" && LD="$ac_prog"
5664 ;;
5665 "")
5666 # If it fails, then pretend we aren't using GCC.
5667 ac_prog=ld
5668 ;;
5669 *)
5670 # If it is relative, then search for the first ld in PATH.
5671 with_gnu_ld=unknown
5672 ;;
5673 esac
5674 elif test "$with_gnu_ld" = yes; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5676 $as_echo_n "checking for GNU ld... " >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5679 $as_echo_n "checking for non-GNU ld... " >&6; }
5680 fi
5681 if test "${lt_cv_path_LD+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -z "$LD"; then
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5690 lt_cv_path_LD="$ac_dir/$ac_prog"
5691 # Check to see if the program is GNU ld. I'd rather use --version,
5692 # but apparently some variants of GNU ld only accept -v.
5693 # Break only if it was the GNU/non-GNU ld that we prefer.
5694 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5695 *GNU* | *'with BFD'*)
5696 test "$with_gnu_ld" != no && break
5697 ;;
5698 *)
5699 test "$with_gnu_ld" != yes && break
5700 ;;
5701 esac
5702 fi
5703 done
5704 IFS="$lt_save_ifs"
5705 else
5706 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5707 fi
5708 fi
5709
5710 LD="$lt_cv_path_LD"
5711 if test -n "$LD"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5713 $as_echo "$LD" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5717 fi
5718 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5720 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5721 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5725 case `$LD -v 2>&1 </dev/null` in
5726 *GNU* | *'with BFD'*)
5727 lt_cv_prog_gnu_ld=yes
5728 ;;
5729 *)
5730 lt_cv_prog_gnu_ld=no
5731 ;;
5732 esac
5733 fi
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5735 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5736 with_gnu_ld=$lt_cv_prog_gnu_ld
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5747 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5748 if test "${lt_cv_path_NM+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$NM"; then
5752 # Let the user override the test.
5753 lt_cv_path_NM="$NM"
5754 else
5755 lt_nm_to_check="${ac_tool_prefix}nm"
5756 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5757 lt_nm_to_check="$lt_nm_to_check nm"
5758 fi
5759 for lt_tmp_nm in $lt_nm_to_check; do
5760 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5761 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5762 IFS="$lt_save_ifs"
5763 test -z "$ac_dir" && ac_dir=.
5764 tmp_nm="$ac_dir/$lt_tmp_nm"
5765 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5766 # Check to see if the nm accepts a BSD-compat flag.
5767 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5768 # nm: unknown option "B" ignored
5769 # Tru64's nm complains that /dev/null is an invalid object file
5770 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5771 */dev/null* | *'Invalid file or object type'*)
5772 lt_cv_path_NM="$tmp_nm -B"
5773 break
5774 ;;
5775 *)
5776 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5777 */dev/null*)
5778 lt_cv_path_NM="$tmp_nm -p"
5779 break
5780 ;;
5781 *)
5782 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5783 continue # so that we can try to find one that supports BSD flags
5784 ;;
5785 esac
5786 ;;
5787 esac
5788 fi
5789 done
5790 IFS="$lt_save_ifs"
5791 done
5792 : ${lt_cv_path_NM=no}
5793 fi
5794 fi
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5796 $as_echo "$lt_cv_path_NM" >&6; }
5797 if test "$lt_cv_path_NM" != "no"; then
5798 NM="$lt_cv_path_NM"
5799 else
5800 # Didn't find any BSD compatible name lister, look for dumpbin.
5801 if test -n "$DUMPBIN"; then :
5802 # Let the user override the test.
5803 else
5804 if test -n "$ac_tool_prefix"; then
5805 for ac_prog in dumpbin "link -dump"
5806 do
5807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$DUMPBIN"; then
5815 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5819 do
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5827 fi
5828 done
5829 done
5830 IFS=$as_save_IFS
5831
5832 fi
5833 fi
5834 DUMPBIN=$ac_cv_prog_DUMPBIN
5835 if test -n "$DUMPBIN"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5837 $as_echo "$DUMPBIN" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5841 fi
5842
5843
5844 test -n "$DUMPBIN" && break
5845 done
5846 fi
5847 if test -z "$DUMPBIN"; then
5848 ac_ct_DUMPBIN=$DUMPBIN
5849 for ac_prog in dumpbin "link -dump"
5850 do
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5863 do
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5871 fi
5872 done
5873 done
5874 IFS=$as_save_IFS
5875
5876 fi
5877 fi
5878 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5879 if test -n "$ac_ct_DUMPBIN"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5881 $as_echo "$ac_ct_DUMPBIN" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5885 fi
5886
5887
5888 test -n "$ac_ct_DUMPBIN" && break
5889 done
5890
5891 if test "x$ac_ct_DUMPBIN" = x; then
5892 DUMPBIN=":"
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 DUMPBIN=$ac_ct_DUMPBIN
5901 fi
5902 fi
5903
5904 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5905 *COFF*)
5906 DUMPBIN="$DUMPBIN -symbols"
5907 ;;
5908 *)
5909 DUMPBIN=:
5910 ;;
5911 esac
5912 fi
5913
5914 if test "$DUMPBIN" != ":"; then
5915 NM="$DUMPBIN"
5916 fi
5917 fi
5918 test -z "$NM" && NM=nm
5919
5920
5921
5922
5923
5924
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 lt_cv_nm_interface="BSD nm"
5931 echo "int some_variable = 0;" > conftest.$ac_ext
5932 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5933 (eval "$ac_compile" 2>conftest.err)
5934 cat conftest.err >&5
5935 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5939 cat conftest.out >&5
5940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941 lt_cv_nm_interface="MS dumpbin"
5942 fi
5943 rm -f conftest*
5944 fi
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5947
5948 # find the maximum length of command line arguments
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5950 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5951 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 i=0
5955 teststring="ABCD"
5956
5957 case $build_os in
5958 msdosdjgpp*)
5959 # On DJGPP, this test can blow up pretty badly due to problems in libc
5960 # (any single argument exceeding 2000 bytes causes a buffer overrun
5961 # during glob expansion). Even if it were fixed, the result of this
5962 # check would be larger than it should be.
5963 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5964 ;;
5965
5966 gnu*)
5967 # Under GNU Hurd, this test is not required because there is
5968 # no limit to the length of command line arguments.
5969 # Libtool will interpret -1 as no limit whatsoever
5970 lt_cv_sys_max_cmd_len=-1;
5971 ;;
5972
5973 cygwin* | mingw* | cegcc*)
5974 # On Win9x/ME, this test blows up -- it succeeds, but takes
5975 # about 5 minutes as the teststring grows exponentially.
5976 # Worse, since 9x/ME are not pre-emptively multitasking,
5977 # you end up with a "frozen" computer, even though with patience
5978 # the test eventually succeeds (with a max line length of 256k).
5979 # Instead, let's just punt: use the minimum linelength reported by
5980 # all of the supported platforms: 8192 (on NT/2K/XP).
5981 lt_cv_sys_max_cmd_len=8192;
5982 ;;
5983
5984 mint*)
5985 # On MiNT this can take a long time and run out of memory.
5986 lt_cv_sys_max_cmd_len=8192;
5987 ;;
5988
5989 amigaos*)
5990 # On AmigaOS with pdksh, this test takes hours, literally.
5991 # So we just punt and use a minimum line length of 8192.
5992 lt_cv_sys_max_cmd_len=8192;
5993 ;;
5994
5995 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5996 # This has been around since 386BSD, at least. Likely further.
5997 if test -x /sbin/sysctl; then
5998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5999 elif test -x /usr/sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6001 else
6002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6003 fi
6004 # And add a safety zone
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6007 ;;
6008
6009 interix*)
6010 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6011 lt_cv_sys_max_cmd_len=196608
6012 ;;
6013
6014 osf*)
6015 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6016 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6017 # nice to cause kernel panics so lets avoid the loop below.
6018 # First set a reasonable default.
6019 lt_cv_sys_max_cmd_len=16384
6020 #
6021 if test -x /sbin/sysconfig; then
6022 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6023 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6024 esac
6025 fi
6026 ;;
6027 sco3.2v5*)
6028 lt_cv_sys_max_cmd_len=102400
6029 ;;
6030 sysv5* | sco5v6* | sysv4.2uw2*)
6031 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6032 if test -n "$kargmax"; then
6033 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6034 else
6035 lt_cv_sys_max_cmd_len=32768
6036 fi
6037 ;;
6038 *)
6039 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6040 if test -n "$lt_cv_sys_max_cmd_len"; then
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 else
6044 # Make teststring a little bigger before we do anything with it.
6045 # a 1K string should be a reasonable start.
6046 for i in 1 2 3 4 5 6 7 8 ; do
6047 teststring=$teststring$teststring
6048 done
6049 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6050 # If test is not a shell built-in, we'll probably end up computing a
6051 # maximum length that is only half of the actual maximum length, but
6052 # we can't tell.
6053 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6054 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6055 test $i != 17 # 1/2 MB should be enough
6056 do
6057 i=`expr $i + 1`
6058 teststring=$teststring$teststring
6059 done
6060 # Only check the string length outside the loop.
6061 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6062 teststring=
6063 # Add a significant safety factor because C++ compilers can tack on
6064 # massive amounts of additional arguments before passing them to the
6065 # linker. It appears as though 1/2 is a usable value.
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6067 fi
6068 ;;
6069 esac
6070
6071 fi
6072
6073 if test -n $lt_cv_sys_max_cmd_len ; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6075 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6078 $as_echo "none" >&6; }
6079 fi
6080 max_cmd_len=$lt_cv_sys_max_cmd_len
6081
6082
6083
6084
6085
6086
6087 : ${CP="cp -f"}
6088 : ${MV="mv -f"}
6089 : ${RM="rm -f"}
6090
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6092 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6093 # Try some XSI features
6094 xsi_shell=no
6095 ( _lt_dummy="a/b/c"
6096 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6097 = c,a/b,, \
6098 && eval 'test $(( 1 + 1 )) -eq 2 \
6099 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6100 && xsi_shell=yes
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6102 $as_echo "$xsi_shell" >&6; }
6103
6104
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6106 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6107 lt_shell_append=no
6108 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6109 >/dev/null 2>&1 \
6110 && lt_shell_append=yes
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6112 $as_echo "$lt_shell_append" >&6; }
6113
6114
6115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6116 lt_unset=unset
6117 else
6118 lt_unset=false
6119 fi
6120
6121
6122
6123
6124
6125 # test EBCDIC or ASCII
6126 case `echo X|tr X '\101'` in
6127 A) # ASCII based system
6128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6129 lt_SP2NL='tr \040 \012'
6130 lt_NL2SP='tr \015\012 \040\040'
6131 ;;
6132 *) # EBCDIC based system
6133 lt_SP2NL='tr \100 \n'
6134 lt_NL2SP='tr \r\n \100\100'
6135 ;;
6136 esac
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6147 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6148 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 lt_cv_ld_reload_flag='-r'
6152 fi
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6154 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6155 reload_flag=$lt_cv_ld_reload_flag
6156 case $reload_flag in
6157 "" | " "*) ;;
6158 *) reload_flag=" $reload_flag" ;;
6159 esac
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6161 case $host_os in
6162 darwin*)
6163 if test "$GCC" = yes; then
6164 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6165 else
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6167 fi
6168 ;;
6169 esac
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$OBJDUMP"; then
6188 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6192 do
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6200 fi
6201 done
6202 done
6203 IFS=$as_save_IFS
6204
6205 fi
6206 fi
6207 OBJDUMP=$ac_cv_prog_OBJDUMP
6208 if test -n "$OBJDUMP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6210 $as_echo "$OBJDUMP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6214 fi
6215
6216
6217 fi
6218 if test -z "$ac_cv_prog_OBJDUMP"; then
6219 ac_ct_OBJDUMP=$OBJDUMP
6220 # Extract the first word of "objdump", so it can be a program name with args.
6221 set dummy objdump; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_OBJDUMP"; then
6228 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6232 do
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6240 fi
6241 done
6242 done
6243 IFS=$as_save_IFS
6244
6245 fi
6246 fi
6247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6248 if test -n "$ac_ct_OBJDUMP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6250 $as_echo "$ac_ct_OBJDUMP" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6254 fi
6255
6256 if test "x$ac_ct_OBJDUMP" = x; then
6257 OBJDUMP="false"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 OBJDUMP=$ac_ct_OBJDUMP
6266 fi
6267 else
6268 OBJDUMP="$ac_cv_prog_OBJDUMP"
6269 fi
6270
6271 test -z "$OBJDUMP" && OBJDUMP=objdump
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6282 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6283 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 lt_cv_file_magic_cmd='$MAGIC_CMD'
6287 lt_cv_file_magic_test_file=
6288 lt_cv_deplibs_check_method='unknown'
6289 # Need to set the preceding variable on all platforms that support
6290 # interlibrary dependencies.
6291 # 'none' -- dependencies not supported.
6292 # `unknown' -- same as none, but documents that we really don't know.
6293 # 'pass_all' -- all dependencies passed with no checks.
6294 # 'test_compile' -- check by making test program.
6295 # 'file_magic [[regex]]' -- check by looking for files in library path
6296 # which responds to the $file_magic_cmd with a given extended regex.
6297 # If you have `file' or equivalent on your system and you're not sure
6298 # whether `pass_all' will *always* work, you probably want this one.
6299
6300 case $host_os in
6301 aix[4-9]*)
6302 lt_cv_deplibs_check_method=pass_all
6303 ;;
6304
6305 beos*)
6306 lt_cv_deplibs_check_method=pass_all
6307 ;;
6308
6309 bsdi[45]*)
6310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6311 lt_cv_file_magic_cmd='/usr/bin/file -L'
6312 lt_cv_file_magic_test_file=/shlib/libc.so
6313 ;;
6314
6315 cygwin*)
6316 # func_win32_libid is a shell function defined in ltmain.sh
6317 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6318 lt_cv_file_magic_cmd='func_win32_libid'
6319 ;;
6320
6321 mingw* | pw32*)
6322 # Base MSYS/MinGW do not provide the 'file' command needed by
6323 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6324 # unless we find 'file', for example because we are cross-compiling.
6325 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6326 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6327 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6328 lt_cv_file_magic_cmd='func_win32_libid'
6329 else
6330 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6331 lt_cv_file_magic_cmd='$OBJDUMP -f'
6332 fi
6333 ;;
6334
6335 cegcc*)
6336 # use the weaker test based on 'objdump'. See mingw*.
6337 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6338 lt_cv_file_magic_cmd='$OBJDUMP -f'
6339 ;;
6340
6341 darwin* | rhapsody*)
6342 lt_cv_deplibs_check_method=pass_all
6343 ;;
6344
6345 freebsd* | dragonfly*)
6346 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6347 case $host_cpu in
6348 i*86 )
6349 # Not sure whether the presence of OpenBSD here was a mistake.
6350 # Let's accept both of them until this is cleared up.
6351 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6352 lt_cv_file_magic_cmd=/usr/bin/file
6353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6354 ;;
6355 esac
6356 else
6357 lt_cv_deplibs_check_method=pass_all
6358 fi
6359 ;;
6360
6361 gnu*)
6362 lt_cv_deplibs_check_method=pass_all
6363 ;;
6364
6365 haiku*)
6366 lt_cv_deplibs_check_method=pass_all
6367 ;;
6368
6369 hpux10.20* | hpux11*)
6370 lt_cv_file_magic_cmd=/usr/bin/file
6371 case $host_cpu in
6372 ia64*)
6373 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6374 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6375 ;;
6376 hppa*64*)
6377 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]'
6378 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6379 ;;
6380 *)
6381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6382 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6383 ;;
6384 esac
6385 ;;
6386
6387 interix[3-9]*)
6388 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6390 ;;
6391
6392 irix5* | irix6* | nonstopux*)
6393 case $LD in
6394 *-32|*"-32 ") libmagic=32-bit;;
6395 *-n32|*"-n32 ") libmagic=N32;;
6396 *-64|*"-64 ") libmagic=64-bit;;
6397 *) libmagic=never-match;;
6398 esac
6399 lt_cv_deplibs_check_method=pass_all
6400 ;;
6401
6402 # This must be Linux ELF.
6403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6404 lt_cv_deplibs_check_method=pass_all
6405 ;;
6406
6407 netbsd*)
6408 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6410 else
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6412 fi
6413 ;;
6414
6415 newos6*)
6416 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6417 lt_cv_file_magic_cmd=/usr/bin/file
6418 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6419 ;;
6420
6421 *nto* | *qnx*)
6422 lt_cv_deplibs_check_method=pass_all
6423 ;;
6424
6425 openbsd*)
6426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6428 else
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6430 fi
6431 ;;
6432
6433 osf3* | osf4* | osf5*)
6434 lt_cv_deplibs_check_method=pass_all
6435 ;;
6436
6437 rdos*)
6438 lt_cv_deplibs_check_method=pass_all
6439 ;;
6440
6441 solaris*)
6442 lt_cv_deplibs_check_method=pass_all
6443 ;;
6444
6445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6446 lt_cv_deplibs_check_method=pass_all
6447 ;;
6448
6449 sysv4 | sysv4.3*)
6450 case $host_vendor in
6451 motorola)
6452 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]'
6453 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6454 ;;
6455 ncr)
6456 lt_cv_deplibs_check_method=pass_all
6457 ;;
6458 sequent)
6459 lt_cv_file_magic_cmd='/bin/file'
6460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6461 ;;
6462 sni)
6463 lt_cv_file_magic_cmd='/bin/file'
6464 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6465 lt_cv_file_magic_test_file=/lib/libc.so
6466 ;;
6467 siemens)
6468 lt_cv_deplibs_check_method=pass_all
6469 ;;
6470 pc)
6471 lt_cv_deplibs_check_method=pass_all
6472 ;;
6473 esac
6474 ;;
6475
6476 tpf*)
6477 lt_cv_deplibs_check_method=pass_all
6478 ;;
6479 esac
6480
6481 fi
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6483 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6484 file_magic_cmd=$lt_cv_file_magic_cmd
6485 deplibs_check_method=$lt_cv_deplibs_check_method
6486 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6501 set dummy ${ac_tool_prefix}ar; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if test "${ac_cv_prog_AR+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$AR"; then
6508 ac_cv_prog_AR="$AR" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6512 do
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_AR="${ac_tool_prefix}ar"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6520 fi
6521 done
6522 done
6523 IFS=$as_save_IFS
6524
6525 fi
6526 fi
6527 AR=$ac_cv_prog_AR
6528 if test -n "$AR"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6530 $as_echo "$AR" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6534 fi
6535
6536
6537 fi
6538 if test -z "$ac_cv_prog_AR"; then
6539 ac_ct_AR=$AR
6540 # Extract the first word of "ar", so it can be a program name with args.
6541 set dummy ar; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$ac_ct_AR"; then
6548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6552 do
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_AR="ar"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6560 fi
6561 done
6562 done
6563 IFS=$as_save_IFS
6564
6565 fi
6566 fi
6567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6568 if test -n "$ac_ct_AR"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6570 $as_echo "$ac_ct_AR" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6574 fi
6575
6576 if test "x$ac_ct_AR" = x; then
6577 AR="false"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580 yes:)
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned=yes ;;
6584 esac
6585 AR=$ac_ct_AR
6586 fi
6587 else
6588 AR="$ac_cv_prog_AR"
6589 fi
6590
6591 test -z "$AR" && AR=ar
6592 test -z "$AR_FLAGS" && AR_FLAGS=cru
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}strip; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_STRIP+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$STRIP"; then
6613 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6617 do
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6625 fi
6626 done
6627 done
6628 IFS=$as_save_IFS
6629
6630 fi
6631 fi
6632 STRIP=$ac_cv_prog_STRIP
6633 if test -n "$STRIP"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6635 $as_echo "$STRIP" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6639 fi
6640
6641
6642 fi
6643 if test -z "$ac_cv_prog_STRIP"; then
6644 ac_ct_STRIP=$STRIP
6645 # Extract the first word of "strip", so it can be a program name with args.
6646 set dummy strip; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$ac_ct_STRIP"; then
6653 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6657 do
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_STRIP="strip"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6665 fi
6666 done
6667 done
6668 IFS=$as_save_IFS
6669
6670 fi
6671 fi
6672 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6673 if test -n "$ac_ct_STRIP"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6675 $as_echo "$ac_ct_STRIP" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6679 fi
6680
6681 if test "x$ac_ct_STRIP" = x; then
6682 STRIP=":"
6683 else
6684 case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690 STRIP=$ac_ct_STRIP
6691 fi
6692 else
6693 STRIP="$ac_cv_prog_STRIP"
6694 fi
6695
6696 test -z "$STRIP" && STRIP=:
6697
6698
6699
6700
6701
6702
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$RANLIB"; then
6712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6716 do
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6724 fi
6725 done
6726 done
6727 IFS=$as_save_IFS
6728
6729 fi
6730 fi
6731 RANLIB=$ac_cv_prog_RANLIB
6732 if test -n "$RANLIB"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6734 $as_echo "$RANLIB" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6738 fi
6739
6740
6741 fi
6742 if test -z "$ac_cv_prog_RANLIB"; then
6743 ac_ct_RANLIB=$RANLIB
6744 # Extract the first word of "ranlib", so it can be a program name with args.
6745 set dummy ranlib; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 if test -n "$ac_ct_RANLIB"; then
6752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6756 do
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_ac_ct_RANLIB="ranlib"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6764 fi
6765 done
6766 done
6767 IFS=$as_save_IFS
6768
6769 fi
6770 fi
6771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6772 if test -n "$ac_ct_RANLIB"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6774 $as_echo "$ac_ct_RANLIB" >&6; }
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6778 fi
6779
6780 if test "x$ac_ct_RANLIB" = x; then
6781 RANLIB=":"
6782 else
6783 case $cross_compiling:$ac_tool_warned in
6784 yes:)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6787 ac_tool_warned=yes ;;
6788 esac
6789 RANLIB=$ac_ct_RANLIB
6790 fi
6791 else
6792 RANLIB="$ac_cv_prog_RANLIB"
6793 fi
6794
6795 test -z "$RANLIB" && RANLIB=:
6796
6797
6798
6799
6800
6801
6802 # Determine commands to create old-style static archives.
6803 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6804 old_postinstall_cmds='chmod 644 $oldlib'
6805 old_postuninstall_cmds=
6806
6807 if test -n "$RANLIB"; then
6808 case $host_os in
6809 openbsd*)
6810 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6811 ;;
6812 *)
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6814 ;;
6815 esac
6816 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6817 fi
6818
6819 case $host_os in
6820 darwin*)
6821 lock_old_archive_extraction=yes ;;
6822 *)
6823 lock_old_archive_extraction=no ;;
6824 esac
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864 # If no C compiler was specified, use CC.
6865 LTCC=${LTCC-"$CC"}
6866
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6869
6870 # Allow CC to be a program name with arguments.
6871 compiler=$CC
6872
6873
6874 # Check for command to grab the raw symbol name followed by C symbol from nm.
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6876 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6877 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880
6881 # These are sane defaults that work on at least a few old systems.
6882 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6883
6884 # Character class describing NM global symbol codes.
6885 symcode='[BCDEGRST]'
6886
6887 # Regexp to match symbols that can be accessed directly from C.
6888 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6889
6890 # Define system-specific variables.
6891 case $host_os in
6892 aix*)
6893 symcode='[BCDT]'
6894 ;;
6895 cygwin* | mingw* | pw32* | cegcc*)
6896 symcode='[ABCDGISTW]'
6897 ;;
6898 hpux*)
6899 if test "$host_cpu" = ia64; then
6900 symcode='[ABCDEGRST]'
6901 fi
6902 ;;
6903 irix* | nonstopux*)
6904 symcode='[BCDEGRST]'
6905 ;;
6906 osf*)
6907 symcode='[BCDEGQRST]'
6908 ;;
6909 solaris*)
6910 symcode='[BDRT]'
6911 ;;
6912 sco3.2v5*)
6913 symcode='[DT]'
6914 ;;
6915 sysv4.2uw2*)
6916 symcode='[DT]'
6917 ;;
6918 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6919 symcode='[ABDT]'
6920 ;;
6921 sysv4)
6922 symcode='[DFNSTU]'
6923 ;;
6924 esac
6925
6926 # If we're using GNU nm, then use its standard symbol codes.
6927 case `$NM -V 2>&1` in
6928 *GNU* | *'with BFD'*)
6929 symcode='[ABCDGIRSTW]' ;;
6930 esac
6931
6932 # Transform an extracted symbol line into a proper C declaration.
6933 # Some systems (esp. on ia64) link data and code symbols differently,
6934 # so use this general approach.
6935 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6936
6937 # Transform an extracted symbol line into symbol name and symbol address
6938 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6939 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'"
6940
6941 # Handle CRLF in mingw tool chain
6942 opt_cr=
6943 case $build_os in
6944 mingw*)
6945 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6946 ;;
6947 esac
6948
6949 # Try without a prefix underscore, then with it.
6950 for ac_symprfx in "" "_"; do
6951
6952 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6953 symxfrm="\\1 $ac_symprfx\\2 \\2"
6954
6955 # Write the raw and C identifiers.
6956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6957 # Fake it for dumpbin and say T for any non-static function
6958 # and D for any global variable.
6959 # Also find C++ and __fastcall symbols from MSVC++,
6960 # which start with @ or ?.
6961 lt_cv_sys_global_symbol_pipe="$AWK '"\
6962 " {last_section=section; section=\$ 3};"\
6963 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6964 " \$ 0!~/External *\|/{next};"\
6965 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6966 " {if(hide[section]) next};"\
6967 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6968 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6969 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6970 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6971 " ' prfx=^$ac_symprfx"
6972 else
6973 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6974 fi
6975
6976 # Check to see that the pipe works correctly.
6977 pipe_works=no
6978
6979 rm -f conftest*
6980 cat > conftest.$ac_ext <<_LT_EOF
6981 #ifdef __cplusplus
6982 extern "C" {
6983 #endif
6984 char nm_test_var;
6985 void nm_test_func(void);
6986 void nm_test_func(void){}
6987 #ifdef __cplusplus
6988 }
6989 #endif
6990 int main(){nm_test_var='a';nm_test_func();return(0);}
6991 _LT_EOF
6992
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6994 (eval $ac_compile) 2>&5
6995 ac_status=$?
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; }; then
6998 # Now try to grab the symbols.
6999 nlist=conftest.nm
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7001 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s "$nlist"; then
7005 # Try sorting and uniquifying the output.
7006 if sort "$nlist" | uniq > "$nlist"T; then
7007 mv -f "$nlist"T "$nlist"
7008 else
7009 rm -f "$nlist"T
7010 fi
7011
7012 # Make sure that we snagged all the symbols we need.
7013 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7014 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7015 cat <<_LT_EOF > conftest.$ac_ext
7016 #ifdef __cplusplus
7017 extern "C" {
7018 #endif
7019
7020 _LT_EOF
7021 # Now generate the symbol file.
7022 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7023
7024 cat <<_LT_EOF >> conftest.$ac_ext
7025
7026 /* The mapping between symbol names and symbols. */
7027 const struct {
7028 const char *name;
7029 void *address;
7030 }
7031 lt__PROGRAM__LTX_preloaded_symbols[] =
7032 {
7033 { "@PROGRAM@", (void *) 0 },
7034 _LT_EOF
7035 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7036 cat <<\_LT_EOF >> conftest.$ac_ext
7037 {0, (void *) 0}
7038 };
7039
7040 /* This works around a problem in FreeBSD linker */
7041 #ifdef FREEBSD_WORKAROUND
7042 static const void *lt_preloaded_setup() {
7043 return lt__PROGRAM__LTX_preloaded_symbols;
7044 }
7045 #endif
7046
7047 #ifdef __cplusplus
7048 }
7049 #endif
7050 _LT_EOF
7051 # Now try linking the two files.
7052 mv conftest.$ac_objext conftstm.$ac_objext
7053 lt_save_LIBS="$LIBS"
7054 lt_save_CFLAGS="$CFLAGS"
7055 LIBS="conftstm.$ac_objext"
7056 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7058 (eval $ac_link) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7062 pipe_works=yes
7063 fi
7064 LIBS="$lt_save_LIBS"
7065 CFLAGS="$lt_save_CFLAGS"
7066 else
7067 echo "cannot find nm_test_func in $nlist" >&5
7068 fi
7069 else
7070 echo "cannot find nm_test_var in $nlist" >&5
7071 fi
7072 else
7073 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7074 fi
7075 else
7076 echo "$progname: failed program was:" >&5
7077 cat conftest.$ac_ext >&5
7078 fi
7079 rm -rf conftest* conftst*
7080
7081 # Do not use the global_symbol_pipe unless it works.
7082 if test "$pipe_works" = yes; then
7083 break
7084 else
7085 lt_cv_sys_global_symbol_pipe=
7086 fi
7087 done
7088
7089 fi
7090
7091 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7092 lt_cv_sys_global_symbol_to_cdecl=
7093 fi
7094 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7096 $as_echo "failed" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7099 $as_echo "ok" >&6; }
7100 fi
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123 # Check whether --enable-libtool-lock was given.
7124 if test "${enable_libtool_lock+set}" = set; then :
7125 enableval=$enable_libtool_lock;
7126 fi
7127
7128 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7129
7130 # Some flags need to be propagated to the compiler or linker for good
7131 # libtool support.
7132 case $host in
7133 ia64-*-hpux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.$ac_objext` in
7142 *ELF-32*)
7143 HPUX_IA64_MODE="32"
7144 ;;
7145 *ELF-64*)
7146 HPUX_IA64_MODE="64"
7147 ;;
7148 esac
7149 fi
7150 rm -rf conftest*
7151 ;;
7152 *-*-irix6*)
7153 # Find out which ABI we are using.
7154 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7156 (eval $ac_compile) 2>&5
7157 ac_status=$?
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7159 test $ac_status = 0; }; then
7160 if test "$lt_cv_prog_gnu_ld" = yes; then
7161 case `/usr/bin/file conftest.$ac_objext` in
7162 *32-bit*)
7163 LD="${LD-ld} -melf32bsmip"
7164 ;;
7165 *N32*)
7166 LD="${LD-ld} -melf32bmipn32"
7167 ;;
7168 *64-bit*)
7169 LD="${LD-ld} -melf64bmip"
7170 ;;
7171 esac
7172 else
7173 case `/usr/bin/file conftest.$ac_objext` in
7174 *32-bit*)
7175 LD="${LD-ld} -32"
7176 ;;
7177 *N32*)
7178 LD="${LD-ld} -n32"
7179 ;;
7180 *64-bit*)
7181 LD="${LD-ld} -64"
7182 ;;
7183 esac
7184 fi
7185 fi
7186 rm -rf conftest*
7187 ;;
7188
7189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7195 ac_status=$?
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.o` in
7199 *32-bit*)
7200 case $host in
7201 x86_64-*kfreebsd*-gnu)
7202 LD="${LD-ld} -m elf_i386_fbsd"
7203 ;;
7204 x86_64-*linux*)
7205 case `/usr/bin/file conftest.o` in
7206 *x86-64*)
7207 LD="${LD-ld} -m elf32_x86_64"
7208 ;;
7209 *)
7210 LD="${LD-ld} -m elf_i386"
7211 ;;
7212 esac
7213 ;;
7214 powerpc64le-*linux*)
7215 LD="${LD-ld} -m elf32lppclinux"
7216 ;;
7217 powerpc64-*linux*)
7218 LD="${LD-ld} -m elf32ppclinux"
7219 ;;
7220 s390x-*linux*)
7221 LD="${LD-ld} -m elf_s390"
7222 ;;
7223 sparc64-*linux*)
7224 LD="${LD-ld} -m elf32_sparc"
7225 ;;
7226 esac
7227 ;;
7228 *64-bit*)
7229 case $host in
7230 x86_64-*kfreebsd*-gnu)
7231 LD="${LD-ld} -m elf_x86_64_fbsd"
7232 ;;
7233 x86_64-*linux*)
7234 LD="${LD-ld} -m elf_x86_64"
7235 ;;
7236 powerpcle-*linux*)
7237 LD="${LD-ld} -m elf64lppc"
7238 ;;
7239 powerpc-*linux*)
7240 LD="${LD-ld} -m elf64ppc"
7241 ;;
7242 s390*-*linux*|s390*-*tpf*)
7243 LD="${LD-ld} -m elf64_s390"
7244 ;;
7245 sparc*-*linux*)
7246 LD="${LD-ld} -m elf64_sparc"
7247 ;;
7248 esac
7249 ;;
7250 esac
7251 fi
7252 rm -rf conftest*
7253 ;;
7254
7255 *-*-sco3.2v5*)
7256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7257 SAVE_CFLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS -belf"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7260 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7261 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 ac_ext=c
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7269
7270 if test x$gcc_no_link = xyes; then
7271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7272 fi
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7275
7276 int
7277 main ()
7278 {
7279
7280 ;
7281 return 0;
7282 }
7283 _ACEOF
7284 if ac_fn_c_try_link "$LINENO"; then :
7285 lt_cv_cc_needs_belf=yes
7286 else
7287 lt_cv_cc_needs_belf=no
7288 fi
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 ac_ext=c
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7296
7297 fi
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7299 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7300 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7301 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7302 CFLAGS="$SAVE_CFLAGS"
7303 fi
7304 ;;
7305 sparc*-*solaris*)
7306 # Find out which ABI we are using.
7307 echo 'int i;' > conftest.$ac_ext
7308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7309 (eval $ac_compile) 2>&5
7310 ac_status=$?
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7312 test $ac_status = 0; }; then
7313 case `/usr/bin/file conftest.o` in
7314 *64-bit*)
7315 case $lt_cv_prog_gnu_ld in
7316 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7317 *)
7318 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7319 LD="${LD-ld} -64"
7320 fi
7321 ;;
7322 esac
7323 ;;
7324 esac
7325 fi
7326 rm -rf conftest*
7327 ;;
7328 esac
7329
7330 need_locks="$enable_libtool_lock"
7331
7332
7333 case $host_os in
7334 rhapsody* | darwin*)
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$DSYMUTIL"; then
7344 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7348 do
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7356 fi
7357 done
7358 done
7359 IFS=$as_save_IFS
7360
7361 fi
7362 fi
7363 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7364 if test -n "$DSYMUTIL"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7366 $as_echo "$DSYMUTIL" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7370 fi
7371
7372
7373 fi
7374 if test -z "$ac_cv_prog_DSYMUTIL"; then
7375 ac_ct_DSYMUTIL=$DSYMUTIL
7376 # Extract the first word of "dsymutil", so it can be a program name with args.
7377 set dummy dsymutil; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$ac_ct_DSYMUTIL"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7388 do
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7396 fi
7397 done
7398 done
7399 IFS=$as_save_IFS
7400
7401 fi
7402 fi
7403 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7404 if test -n "$ac_ct_DSYMUTIL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7406 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7410 fi
7411
7412 if test "x$ac_ct_DSYMUTIL" = x; then
7413 DSYMUTIL=":"
7414 else
7415 case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421 DSYMUTIL=$ac_ct_DSYMUTIL
7422 fi
7423 else
7424 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7425 fi
7426
7427 if test -n "$ac_tool_prefix"; then
7428 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$NMEDIT"; then
7436 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7440 do
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7445 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7448 fi
7449 done
7450 done
7451 IFS=$as_save_IFS
7452
7453 fi
7454 fi
7455 NMEDIT=$ac_cv_prog_NMEDIT
7456 if test -n "$NMEDIT"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7458 $as_echo "$NMEDIT" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7462 fi
7463
7464
7465 fi
7466 if test -z "$ac_cv_prog_NMEDIT"; then
7467 ac_ct_NMEDIT=$NMEDIT
7468 # Extract the first word of "nmedit", so it can be a program name with args.
7469 set dummy nmedit; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$ac_ct_NMEDIT"; then
7476 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7480 do
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7488 fi
7489 done
7490 done
7491 IFS=$as_save_IFS
7492
7493 fi
7494 fi
7495 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7496 if test -n "$ac_ct_NMEDIT"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7498 $as_echo "$ac_ct_NMEDIT" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7502 fi
7503
7504 if test "x$ac_ct_NMEDIT" = x; then
7505 NMEDIT=":"
7506 else
7507 case $cross_compiling:$ac_tool_warned in
7508 yes:)
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7512 esac
7513 NMEDIT=$ac_ct_NMEDIT
7514 fi
7515 else
7516 NMEDIT="$ac_cv_prog_NMEDIT"
7517 fi
7518
7519 if test -n "$ac_tool_prefix"; then
7520 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7521 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_LIPO+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 if test -n "$LIPO"; then
7528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7529 else
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7532 do
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7540 fi
7541 done
7542 done
7543 IFS=$as_save_IFS
7544
7545 fi
7546 fi
7547 LIPO=$ac_cv_prog_LIPO
7548 if test -n "$LIPO"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7550 $as_echo "$LIPO" >&6; }
7551 else
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7554 fi
7555
7556
7557 fi
7558 if test -z "$ac_cv_prog_LIPO"; then
7559 ac_ct_LIPO=$LIPO
7560 # Extract the first word of "lipo", so it can be a program name with args.
7561 set dummy lipo; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$ac_ct_LIPO"; then
7568 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7572 do
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_ac_ct_LIPO="lipo"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7580 fi
7581 done
7582 done
7583 IFS=$as_save_IFS
7584
7585 fi
7586 fi
7587 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7588 if test -n "$ac_ct_LIPO"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7590 $as_echo "$ac_ct_LIPO" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7594 fi
7595
7596 if test "x$ac_ct_LIPO" = x; then
7597 LIPO=":"
7598 else
7599 case $cross_compiling:$ac_tool_warned in
7600 yes:)
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7603 ac_tool_warned=yes ;;
7604 esac
7605 LIPO=$ac_ct_LIPO
7606 fi
7607 else
7608 LIPO="$ac_cv_prog_LIPO"
7609 fi
7610
7611 if test -n "$ac_tool_prefix"; then
7612 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7613 set dummy ${ac_tool_prefix}otool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$OTOOL"; then
7620 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7624 do
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7632 fi
7633 done
7634 done
7635 IFS=$as_save_IFS
7636
7637 fi
7638 fi
7639 OTOOL=$ac_cv_prog_OTOOL
7640 if test -n "$OTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7642 $as_echo "$OTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7646 fi
7647
7648
7649 fi
7650 if test -z "$ac_cv_prog_OTOOL"; then
7651 ac_ct_OTOOL=$OTOOL
7652 # Extract the first word of "otool", so it can be a program name with args.
7653 set dummy otool; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$ac_ct_OTOOL"; then
7660 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7664 do
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_ac_ct_OTOOL="otool"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7672 fi
7673 done
7674 done
7675 IFS=$as_save_IFS
7676
7677 fi
7678 fi
7679 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7680 if test -n "$ac_ct_OTOOL"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7682 $as_echo "$ac_ct_OTOOL" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7686 fi
7687
7688 if test "x$ac_ct_OTOOL" = x; then
7689 OTOOL=":"
7690 else
7691 case $cross_compiling:$ac_tool_warned in
7692 yes:)
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695 ac_tool_warned=yes ;;
7696 esac
7697 OTOOL=$ac_ct_OTOOL
7698 fi
7699 else
7700 OTOOL="$ac_cv_prog_OTOOL"
7701 fi
7702
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 if test -n "$OTOOL64"; then
7712 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7713 else
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 for as_dir in $PATH
7716 do
7717 IFS=$as_save_IFS
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 break 2
7724 fi
7725 done
7726 done
7727 IFS=$as_save_IFS
7728
7729 fi
7730 fi
7731 OTOOL64=$ac_cv_prog_OTOOL64
7732 if test -n "$OTOOL64"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7734 $as_echo "$OTOOL64" >&6; }
7735 else
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7738 fi
7739
7740
7741 fi
7742 if test -z "$ac_cv_prog_OTOOL64"; then
7743 ac_ct_OTOOL64=$OTOOL64
7744 # Extract the first word of "otool64", so it can be a program name with args.
7745 set dummy otool64; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 if test -n "$ac_ct_OTOOL64"; then
7752 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7756 do
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_ac_ct_OTOOL64="otool64"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7764 fi
7765 done
7766 done
7767 IFS=$as_save_IFS
7768
7769 fi
7770 fi
7771 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7772 if test -n "$ac_ct_OTOOL64"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7774 $as_echo "$ac_ct_OTOOL64" >&6; }
7775 else
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7778 fi
7779
7780 if test "x$ac_ct_OTOOL64" = x; then
7781 OTOOL64=":"
7782 else
7783 case $cross_compiling:$ac_tool_warned in
7784 yes:)
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7787 ac_tool_warned=yes ;;
7788 esac
7789 OTOOL64=$ac_ct_OTOOL64
7790 fi
7791 else
7792 OTOOL64="$ac_cv_prog_OTOOL64"
7793 fi
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7822 $as_echo_n "checking for -single_module linker flag... " >&6; }
7823 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 lt_cv_apple_cc_single_mod=no
7827 if test -z "${LT_MULTI_MODULE}"; then
7828 # By default we will add the -single_module flag. You can override
7829 # by either setting the environment variable LT_MULTI_MODULE
7830 # non-empty at configure time, or by adding -multi_module to the
7831 # link flags.
7832 rm -rf libconftest.dylib*
7833 echo "int foo(void){return 1;}" > conftest.c
7834 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7835 -dynamiclib -Wl,-single_module conftest.c" >&5
7836 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7838 _lt_result=$?
7839 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7840 lt_cv_apple_cc_single_mod=yes
7841 else
7842 cat conftest.err >&5
7843 fi
7844 rm -rf libconftest.dylib*
7845 rm -f conftest.*
7846 fi
7847 fi
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7849 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7851 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7852 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 lt_cv_ld_exported_symbols_list=no
7856 save_LDFLAGS=$LDFLAGS
7857 echo "_main" > conftest.sym
7858 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7859 if test x$gcc_no_link = xyes; then
7860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7861 fi
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864
7865 int
7866 main ()
7867 {
7868
7869 ;
7870 return 0;
7871 }
7872 _ACEOF
7873 if ac_fn_c_try_link "$LINENO"; then :
7874 lt_cv_ld_exported_symbols_list=yes
7875 else
7876 lt_cv_ld_exported_symbols_list=no
7877 fi
7878 rm -f core conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7880 LDFLAGS="$save_LDFLAGS"
7881
7882 fi
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7884 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7886 $as_echo_n "checking for -force_load linker flag... " >&6; }
7887 if test "${lt_cv_ld_force_load+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 lt_cv_ld_force_load=no
7891 cat > conftest.c << _LT_EOF
7892 int forced_loaded() { return 2;}
7893 _LT_EOF
7894 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7895 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7896 echo "$AR cru libconftest.a conftest.o" >&5
7897 $AR cru libconftest.a conftest.o 2>&5
7898 cat > conftest.c << _LT_EOF
7899 int main() { return 0;}
7900 _LT_EOF
7901 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7902 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7903 _lt_result=$?
7904 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7905 lt_cv_ld_force_load=yes
7906 else
7907 cat conftest.err >&5
7908 fi
7909 rm -f conftest.err libconftest.a conftest conftest.c
7910 rm -rf conftest.dSYM
7911
7912 fi
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7915 case $host_os in
7916 rhapsody* | darwin1.[012])
7917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918 darwin1.*)
7919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920 darwin*) # darwin 5.x on
7921 # if running on 10.5 or later, the deployment target defaults
7922 # to the OS version, if on x86, and 10.4, the deployment
7923 # target defaults to 10.4. Don't you love it?
7924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927 10.[012][,.]*)
7928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929 10.*)
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7931 esac
7932 ;;
7933 esac
7934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935 _lt_dar_single_mod='$single_module'
7936 fi
7937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939 else
7940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7941 fi
7942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943 _lt_dsymutil='~$DSYMUTIL $lib || :'
7944 else
7945 _lt_dsymutil=
7946 fi
7947 ;;
7948 esac
7949
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7951 $as_echo_n "checking for ANSI C header files... " >&6; }
7952 if test "${ac_cv_header_stdc+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 #include <stdlib.h>
7958 #include <stdarg.h>
7959 #include <string.h>
7960 #include <float.h>
7961
7962 int
7963 main ()
7964 {
7965
7966 ;
7967 return 0;
7968 }
7969 _ACEOF
7970 if ac_fn_c_try_compile "$LINENO"; then :
7971 ac_cv_header_stdc=yes
7972 else
7973 ac_cv_header_stdc=no
7974 fi
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7976
7977 if test $ac_cv_header_stdc = yes; then
7978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 #include <string.h>
7982
7983 _ACEOF
7984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7985 $EGREP "memchr" >/dev/null 2>&1; then :
7986
7987 else
7988 ac_cv_header_stdc=no
7989 fi
7990 rm -f conftest*
7991
7992 fi
7993
7994 if test $ac_cv_header_stdc = yes; then
7995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <stdlib.h>
7999
8000 _ACEOF
8001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8002 $EGREP "free" >/dev/null 2>&1; then :
8003
8004 else
8005 ac_cv_header_stdc=no
8006 fi
8007 rm -f conftest*
8008
8009 fi
8010
8011 if test $ac_cv_header_stdc = yes; then
8012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8013 if test "$cross_compiling" = yes; then :
8014 :
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <ctype.h>
8019 #include <stdlib.h>
8020 #if ((' ' & 0x0FF) == 0x020)
8021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8023 #else
8024 # define ISLOWER(c) \
8025 (('a' <= (c) && (c) <= 'i') \
8026 || ('j' <= (c) && (c) <= 'r') \
8027 || ('s' <= (c) && (c) <= 'z'))
8028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8029 #endif
8030
8031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8032 int
8033 main ()
8034 {
8035 int i;
8036 for (i = 0; i < 256; i++)
8037 if (XOR (islower (i), ISLOWER (i))
8038 || toupper (i) != TOUPPER (i))
8039 return 2;
8040 return 0;
8041 }
8042 _ACEOF
8043 if ac_fn_c_try_run "$LINENO"; then :
8044
8045 else
8046 ac_cv_header_stdc=no
8047 fi
8048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8049 conftest.$ac_objext conftest.beam conftest.$ac_ext
8050 fi
8051
8052 fi
8053 fi
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8055 $as_echo "$ac_cv_header_stdc" >&6; }
8056 if test $ac_cv_header_stdc = yes; then
8057
8058 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8059
8060 fi
8061
8062 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8064 inttypes.h stdint.h unistd.h
8065 do :
8066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8068 "
8069 eval as_val=\$$as_ac_Header
8070 if test "x$as_val" = x""yes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 _ACEOF
8074
8075 fi
8076
8077 done
8078
8079
8080 for ac_header in dlfcn.h
8081 do :
8082 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8083 "
8084 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_DLFCN_H 1
8087 _ACEOF
8088
8089 fi
8090
8091 done
8092
8093
8094
8095
8096
8097
8098 # Set options
8099
8100
8101
8102
8103 enable_win32_dll=no
8104
8105
8106 # Check whether --enable-shared was given.
8107 if test "${enable_shared+set}" = set; then :
8108 enableval=$enable_shared; p=${PACKAGE-default}
8109 case $enableval in
8110 yes) enable_shared=yes ;;
8111 no) enable_shared=no ;;
8112 *)
8113 enable_shared=no
8114 # Look at the argument we got. We use all the common list separators.
8115 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8116 for pkg in $enableval; do
8117 IFS="$lt_save_ifs"
8118 if test "X$pkg" = "X$p"; then
8119 enable_shared=yes
8120 fi
8121 done
8122 IFS="$lt_save_ifs"
8123 ;;
8124 esac
8125 else
8126 enable_shared=yes
8127 fi
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # Check whether --enable-static was given.
8138 if test "${enable_static+set}" = set; then :
8139 enableval=$enable_static; p=${PACKAGE-default}
8140 case $enableval in
8141 yes) enable_static=yes ;;
8142 no) enable_static=no ;;
8143 *)
8144 enable_static=no
8145 # Look at the argument we got. We use all the common list separators.
8146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8147 for pkg in $enableval; do
8148 IFS="$lt_save_ifs"
8149 if test "X$pkg" = "X$p"; then
8150 enable_static=yes
8151 fi
8152 done
8153 IFS="$lt_save_ifs"
8154 ;;
8155 esac
8156 else
8157 enable_static=yes
8158 fi
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169 # Check whether --with-pic was given.
8170 if test "${with_pic+set}" = set; then :
8171 withval=$with_pic; pic_mode="$withval"
8172 else
8173 pic_mode=default
8174 fi
8175
8176
8177 test -z "$pic_mode" && pic_mode=default
8178
8179
8180
8181
8182
8183
8184
8185 # Check whether --enable-fast-install was given.
8186 if test "${enable_fast_install+set}" = set; then :
8187 enableval=$enable_fast_install; p=${PACKAGE-default}
8188 case $enableval in
8189 yes) enable_fast_install=yes ;;
8190 no) enable_fast_install=no ;;
8191 *)
8192 enable_fast_install=no
8193 # Look at the argument we got. We use all the common list separators.
8194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8195 for pkg in $enableval; do
8196 IFS="$lt_save_ifs"
8197 if test "X$pkg" = "X$p"; then
8198 enable_fast_install=yes
8199 fi
8200 done
8201 IFS="$lt_save_ifs"
8202 ;;
8203 esac
8204 else
8205 enable_fast_install=yes
8206 fi
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218 # This can be used to rebuild libtool when needed
8219 LIBTOOL_DEPS="$ltmain"
8220
8221 # Always use our own libtool.
8222 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249 test -z "$LN_S" && LN_S="ln -s"
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264 if test -n "${ZSH_VERSION+set}" ; then
8265 setopt NO_GLOB_SUBST
8266 fi
8267
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8269 $as_echo_n "checking for objdir... " >&6; }
8270 if test "${lt_cv_objdir+set}" = set; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 rm -f .libs 2>/dev/null
8274 mkdir .libs 2>/dev/null
8275 if test -d .libs; then
8276 lt_cv_objdir=.libs
8277 else
8278 # MS-DOS does not allow filenames that begin with a dot.
8279 lt_cv_objdir=_libs
8280 fi
8281 rmdir .libs 2>/dev/null
8282 fi
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8284 $as_echo "$lt_cv_objdir" >&6; }
8285 objdir=$lt_cv_objdir
8286
8287
8288
8289
8290
8291 cat >>confdefs.h <<_ACEOF
8292 #define LT_OBJDIR "$lt_cv_objdir/"
8293 _ACEOF
8294
8295
8296
8297
8298 case $host_os in
8299 aix3*)
8300 # AIX sometimes has problems with the GCC collect2 program. For some
8301 # reason, if we set the COLLECT_NAMES environment variable, the problems
8302 # vanish in a puff of smoke.
8303 if test "X${COLLECT_NAMES+set}" != Xset; then
8304 COLLECT_NAMES=
8305 export COLLECT_NAMES
8306 fi
8307 ;;
8308 esac
8309
8310 # Global variables:
8311 ofile=libtool
8312 can_build_shared=yes
8313
8314 # All known linkers require a `.a' archive for static linking (except MSVC,
8315 # which needs '.lib').
8316 libext=a
8317
8318 with_gnu_ld="$lt_cv_prog_gnu_ld"
8319
8320 old_CC="$CC"
8321 old_CFLAGS="$CFLAGS"
8322
8323 # Set sane defaults for various variables
8324 test -z "$CC" && CC=cc
8325 test -z "$LTCC" && LTCC=$CC
8326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8327 test -z "$LD" && LD=ld
8328 test -z "$ac_objext" && ac_objext=o
8329
8330 for cc_temp in $compiler""; do
8331 case $cc_temp in
8332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8334 \-*) ;;
8335 *) break;;
8336 esac
8337 done
8338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8339
8340
8341 # Only perform the check for file, if the check method requires it
8342 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8343 case $deplibs_check_method in
8344 file_magic*)
8345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8348 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 case $MAGIC_CMD in
8352 [\\/*] | ?:[\\/]*)
8353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 ;;
8355 *)
8356 lt_save_MAGIC_CMD="$MAGIC_CMD"
8357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8359 for ac_dir in $ac_dummy; do
8360 IFS="$lt_save_ifs"
8361 test -z "$ac_dir" && ac_dir=.
8362 if test -f $ac_dir/${ac_tool_prefix}file; then
8363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8364 if test -n "$file_magic_test_file"; then
8365 case $deplibs_check_method in
8366 "file_magic "*)
8367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8370 $EGREP "$file_magic_regex" > /dev/null; then
8371 :
8372 else
8373 cat <<_LT_EOF 1>&2
8374
8375 *** Warning: the command libtool uses to detect shared libraries,
8376 *** $file_magic_cmd, produces output that libtool cannot recognize.
8377 *** The result is that libtool may fail to recognize shared libraries
8378 *** as such. This will affect the creation of libtool libraries that
8379 *** depend on shared libraries, but programs linked with such libtool
8380 *** libraries will work regardless of this problem. Nevertheless, you
8381 *** may want to report the problem to your system manager and/or to
8382 *** bug-libtool@gnu.org
8383
8384 _LT_EOF
8385 fi ;;
8386 esac
8387 fi
8388 break
8389 fi
8390 done
8391 IFS="$lt_save_ifs"
8392 MAGIC_CMD="$lt_save_MAGIC_CMD"
8393 ;;
8394 esac
8395 fi
8396
8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8398 if test -n "$MAGIC_CMD"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8400 $as_echo "$MAGIC_CMD" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8404 fi
8405
8406
8407
8408
8409
8410 if test -z "$lt_cv_path_MAGIC_CMD"; then
8411 if test -n "$ac_tool_prefix"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8413 $as_echo_n "checking for file... " >&6; }
8414 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 case $MAGIC_CMD in
8418 [\\/*] | ?:[\\/]*)
8419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8420 ;;
8421 *)
8422 lt_save_MAGIC_CMD="$MAGIC_CMD"
8423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8425 for ac_dir in $ac_dummy; do
8426 IFS="$lt_save_ifs"
8427 test -z "$ac_dir" && ac_dir=.
8428 if test -f $ac_dir/file; then
8429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8430 if test -n "$file_magic_test_file"; then
8431 case $deplibs_check_method in
8432 "file_magic "*)
8433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8436 $EGREP "$file_magic_regex" > /dev/null; then
8437 :
8438 else
8439 cat <<_LT_EOF 1>&2
8440
8441 *** Warning: the command libtool uses to detect shared libraries,
8442 *** $file_magic_cmd, produces output that libtool cannot recognize.
8443 *** The result is that libtool may fail to recognize shared libraries
8444 *** as such. This will affect the creation of libtool libraries that
8445 *** depend on shared libraries, but programs linked with such libtool
8446 *** libraries will work regardless of this problem. Nevertheless, you
8447 *** may want to report the problem to your system manager and/or to
8448 *** bug-libtool@gnu.org
8449
8450 _LT_EOF
8451 fi ;;
8452 esac
8453 fi
8454 break
8455 fi
8456 done
8457 IFS="$lt_save_ifs"
8458 MAGIC_CMD="$lt_save_MAGIC_CMD"
8459 ;;
8460 esac
8461 fi
8462
8463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8464 if test -n "$MAGIC_CMD"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8466 $as_echo "$MAGIC_CMD" >&6; }
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8470 fi
8471
8472
8473 else
8474 MAGIC_CMD=:
8475 fi
8476 fi
8477
8478 fi
8479 ;;
8480 esac
8481
8482 # Use C for the default configuration in the libtool script
8483
8484 lt_save_CC="$CC"
8485 ac_ext=c
8486 ac_cpp='$CPP $CPPFLAGS'
8487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8490
8491
8492 # Source file extension for C test sources.
8493 ac_ext=c
8494
8495 # Object file extension for compiled C test sources.
8496 objext=o
8497 objext=$objext
8498
8499 # Code to be used in simple compile tests
8500 lt_simple_compile_test_code="int some_variable = 0;"
8501
8502 # Code to be used in simple link tests
8503 lt_simple_link_test_code='int main(){return(0);}'
8504
8505
8506
8507
8508
8509
8510
8511 # If no C compiler was specified, use CC.
8512 LTCC=${LTCC-"$CC"}
8513
8514 # If no C compiler flags were specified, use CFLAGS.
8515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8516
8517 # Allow CC to be a program name with arguments.
8518 compiler=$CC
8519
8520 # Save the default compiler, since it gets overwritten when the other
8521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8522 compiler_DEFAULT=$CC
8523
8524 # save warnings/boilerplate of simple test code
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8528 _lt_compiler_boilerplate=`cat conftest.err`
8529 $RM conftest*
8530
8531 ac_outfile=conftest.$ac_objext
8532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8534 _lt_linker_boilerplate=`cat conftest.err`
8535 $RM -r conftest*
8536
8537
8538 ## CAVEAT EMPTOR:
8539 ## There is no encapsulation within the following macros, do not change
8540 ## the running order or otherwise move them around unless you know exactly
8541 ## what you are doing...
8542 if test -n "$compiler"; then
8543
8544 lt_prog_compiler_no_builtin_flag=
8545
8546 if test "$GCC" = yes; then
8547 case $cc_basename in
8548 nvcc*)
8549 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8550 *)
8551 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8552 esac
8553
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8555 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8556 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 lt_cv_prog_compiler_rtti_exceptions=no
8560 ac_outfile=conftest.$ac_objext
8561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8562 lt_compiler_flag="-fno-rtti -fno-exceptions"
8563 # Insert the option either (1) after the last *FLAGS variable, or
8564 # (2) before a word containing "conftest.", or (3) at the end.
8565 # Note that $ac_compile itself does not contain backslashes and begins
8566 # with a dollar sign (not a hyphen), so the echo should work correctly.
8567 # The option is referenced via a variable to avoid confusing sed.
8568 lt_compile=`echo "$ac_compile" | $SED \
8569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571 -e 's:$: $lt_compiler_flag:'`
8572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8573 (eval "$lt_compile" 2>conftest.err)
8574 ac_status=$?
8575 cat conftest.err >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 if (exit $ac_status) && test -s "$ac_outfile"; then
8578 # The compiler can only warn and ignore the option if not recognized
8579 # So say no if there are warnings other than the usual output.
8580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8583 lt_cv_prog_compiler_rtti_exceptions=yes
8584 fi
8585 fi
8586 $RM conftest*
8587
8588 fi
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8591
8592 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8593 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8594 else
8595 :
8596 fi
8597
8598 fi
8599
8600
8601
8602
8603
8604
8605 lt_prog_compiler_wl=
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_static=
8608
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8611
8612 if test "$GCC" = yes; then
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_static='-static'
8615
8616 case $host_os in
8617 aix*)
8618 # All AIX code is PIC.
8619 if test "$host_cpu" = ia64; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static='-Bstatic'
8622 fi
8623 lt_prog_compiler_pic='-fPIC'
8624 ;;
8625
8626 amigaos*)
8627 case $host_cpu in
8628 powerpc)
8629 # see comment about AmigaOS4 .so support
8630 lt_prog_compiler_pic='-fPIC'
8631 ;;
8632 m68k)
8633 # FIXME: we need at least 68020 code to build shared libraries, but
8634 # adding the `-m68020' flag to GCC prevents building anything better,
8635 # like `-m68040'.
8636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8637 ;;
8638 esac
8639 ;;
8640
8641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8642 # PIC is the default for these OSes.
8643 ;;
8644
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8649 # (--disable-auto-import) libraries
8650 lt_prog_compiler_pic='-DDLL_EXPORT'
8651 ;;
8652
8653 darwin* | rhapsody*)
8654 # PIC is the default on this platform
8655 # Common symbols not allowed in MH_DYLIB files
8656 lt_prog_compiler_pic='-fno-common'
8657 ;;
8658
8659 haiku*)
8660 # PIC is the default for Haiku.
8661 # The "-static" flag exists, but is broken.
8662 lt_prog_compiler_static=
8663 ;;
8664
8665 hpux*)
8666 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8667 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8668 # sets the default TLS model and affects inlining.
8669 case $host_cpu in
8670 hppa*64*)
8671 # +Z the default
8672 ;;
8673 *)
8674 lt_prog_compiler_pic='-fPIC'
8675 ;;
8676 esac
8677 ;;
8678
8679 interix[3-9]*)
8680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8681 # Instead, we relocate shared libraries at runtime.
8682 ;;
8683
8684 msdosdjgpp*)
8685 # Just because we use GCC doesn't mean we suddenly get shared libraries
8686 # on systems that don't support them.
8687 lt_prog_compiler_can_build_shared=no
8688 enable_shared=no
8689 ;;
8690
8691 *nto* | *qnx*)
8692 # QNX uses GNU C++, but need to define -shared option too, otherwise
8693 # it will coredump.
8694 lt_prog_compiler_pic='-fPIC -shared'
8695 ;;
8696
8697 sysv4*MP*)
8698 if test -d /usr/nec; then
8699 lt_prog_compiler_pic=-Kconform_pic
8700 fi
8701 ;;
8702
8703 *)
8704 lt_prog_compiler_pic='-fPIC'
8705 ;;
8706 esac
8707
8708 case $cc_basename in
8709 nvcc*) # Cuda Compiler Driver 2.2
8710 lt_prog_compiler_wl='-Xlinker '
8711 lt_prog_compiler_pic='-Xcompiler -fPIC'
8712 ;;
8713 esac
8714 else
8715 # PORTME Check for flag to pass linker flags through the system compiler.
8716 case $host_os in
8717 aix*)
8718 lt_prog_compiler_wl='-Wl,'
8719 if test "$host_cpu" = ia64; then
8720 # AIX 5 now supports IA64 processor
8721 lt_prog_compiler_static='-Bstatic'
8722 else
8723 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8724 fi
8725 ;;
8726
8727 mingw* | cygwin* | pw32* | os2* | cegcc*)
8728 # This hack is so that the source file can tell whether it is being
8729 # built for inclusion in a dll (and should export symbols for example).
8730 lt_prog_compiler_pic='-DDLL_EXPORT'
8731 ;;
8732
8733 hpux9* | hpux10* | hpux11*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8736 # not for PA HP-UX.
8737 case $host_cpu in
8738 hppa*64*|ia64*)
8739 # +Z the default
8740 ;;
8741 *)
8742 lt_prog_compiler_pic='+Z'
8743 ;;
8744 esac
8745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8746 lt_prog_compiler_static='${wl}-a ${wl}archive'
8747 ;;
8748
8749 irix5* | irix6* | nonstopux*)
8750 lt_prog_compiler_wl='-Wl,'
8751 # PIC (with -KPIC) is the default.
8752 lt_prog_compiler_static='-non_shared'
8753 ;;
8754
8755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8756 case $cc_basename in
8757 # old Intel for x86_64 which still supported -KPIC.
8758 ecc*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-static'
8762 ;;
8763 # icc used to be incompatible with GCC.
8764 # ICC 10 doesn't accept -KPIC any more.
8765 icc* | ifort*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-fPIC'
8768 lt_prog_compiler_static='-static'
8769 ;;
8770 # Lahey Fortran 8.1.
8771 lf95*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='--shared'
8774 lt_prog_compiler_static='--static'
8775 ;;
8776 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8777 # Portland Group compilers (*not* the Pentium gcc compiler,
8778 # which looks to be a dead project)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fpic'
8781 lt_prog_compiler_static='-Bstatic'
8782 ;;
8783 ccc*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # All Alpha code is PIC.
8786 lt_prog_compiler_static='-non_shared'
8787 ;;
8788 xl* | bgxl* | bgf* | mpixl*)
8789 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-qpic'
8792 lt_prog_compiler_static='-qstaticlink'
8793 ;;
8794 *)
8795 case `$CC -V 2>&1 | sed 5q` in
8796 *Sun\ F* | *Sun*Fortran*)
8797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_wl=''
8801 ;;
8802 *Sun\ C*)
8803 # Sun C 5.9
8804 lt_prog_compiler_pic='-KPIC'
8805 lt_prog_compiler_static='-Bstatic'
8806 lt_prog_compiler_wl='-Wl,'
8807 ;;
8808 esac
8809 ;;
8810 esac
8811 ;;
8812
8813 newsos6)
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8816 ;;
8817
8818 *nto* | *qnx*)
8819 # QNX uses GNU C++, but need to define -shared option too, otherwise
8820 # it will coredump.
8821 lt_prog_compiler_pic='-fPIC -shared'
8822 ;;
8823
8824 osf3* | osf4* | osf5*)
8825 lt_prog_compiler_wl='-Wl,'
8826 # All OSF/1 code is PIC.
8827 lt_prog_compiler_static='-non_shared'
8828 ;;
8829
8830 rdos*)
8831 lt_prog_compiler_static='-non_shared'
8832 ;;
8833
8834 solaris*)
8835 lt_prog_compiler_pic='-KPIC'
8836 lt_prog_compiler_static='-Bstatic'
8837 case $cc_basename in
8838 f77* | f90* | f95*)
8839 lt_prog_compiler_wl='-Qoption ld ';;
8840 *)
8841 lt_prog_compiler_wl='-Wl,';;
8842 esac
8843 ;;
8844
8845 sunos4*)
8846 lt_prog_compiler_wl='-Qoption ld '
8847 lt_prog_compiler_pic='-PIC'
8848 lt_prog_compiler_static='-Bstatic'
8849 ;;
8850
8851 sysv4 | sysv4.2uw2* | sysv4.3*)
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='-KPIC'
8854 lt_prog_compiler_static='-Bstatic'
8855 ;;
8856
8857 sysv4*MP*)
8858 if test -d /usr/nec ;then
8859 lt_prog_compiler_pic='-Kconform_pic'
8860 lt_prog_compiler_static='-Bstatic'
8861 fi
8862 ;;
8863
8864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8868 ;;
8869
8870 unicos*)
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_can_build_shared=no
8873 ;;
8874
8875 uts4*)
8876 lt_prog_compiler_pic='-pic'
8877 lt_prog_compiler_static='-Bstatic'
8878 ;;
8879
8880 *)
8881 lt_prog_compiler_can_build_shared=no
8882 ;;
8883 esac
8884 fi
8885
8886 case $host_os in
8887 # For platforms which do not support PIC, -DPIC is meaningless:
8888 *djgpp*)
8889 lt_prog_compiler_pic=
8890 ;;
8891 *)
8892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8893 ;;
8894 esac
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8896 $as_echo "$lt_prog_compiler_pic" >&6; }
8897
8898
8899
8900
8901
8902
8903 #
8904 # Check to make sure the PIC flag actually works.
8905 #
8906 if test -n "$lt_prog_compiler_pic"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8908 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8909 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 lt_cv_prog_compiler_pic_works=no
8913 ac_outfile=conftest.$ac_objext
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 # The option is referenced via a variable to avoid confusing sed.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>conftest.err)
8927 ac_status=$?
8928 cat conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s "$ac_outfile"; then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings other than the usual output.
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_pic_works=yes
8937 fi
8938 fi
8939 $RM conftest*
8940
8941 fi
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8943 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8944
8945 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8946 case $lt_prog_compiler_pic in
8947 "" | " "*) ;;
8948 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8949 esac
8950 else
8951 lt_prog_compiler_pic=
8952 lt_prog_compiler_can_build_shared=no
8953 fi
8954
8955 fi
8956
8957
8958
8959
8960
8961
8962 #
8963 # Check to make sure the static flag actually works.
8964 #
8965 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8968 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 lt_cv_prog_compiler_static_works=no
8972 save_LDFLAGS="$LDFLAGS"
8973 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8974 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8975 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8976 # The linker can only warn and ignore the option if not recognized
8977 # So say no if there are warnings
8978 if test -s conftest.err; then
8979 # Append any errors to the config.log.
8980 cat conftest.err 1>&5
8981 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8983 if diff conftest.exp conftest.er2 >/dev/null; then
8984 lt_cv_prog_compiler_static_works=yes
8985 fi
8986 else
8987 lt_cv_prog_compiler_static_works=yes
8988 fi
8989 fi
8990 $RM -r conftest*
8991 LDFLAGS="$save_LDFLAGS"
8992
8993 fi
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8995 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8996
8997 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8998 :
8999 else
9000 lt_prog_compiler_static=
9001 fi
9002
9003
9004
9005
9006
9007
9008
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9020
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9043 fi
9044 fi
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9054
9055 fi
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9058
9059
9060
9061
9062
9063
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 lt_cv_prog_compiler_c_o=no
9070 $RM -r conftest 2>/dev/null
9071 mkdir conftest
9072 cd conftest
9073 mkdir out
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075
9076 lt_compiler_flag="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out/conftest.err)
9087 ac_status=$?
9088 cat out/conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9091 then
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9097 lt_cv_prog_compiler_c_o=yes
9098 fi
9099 fi
9100 chmod u+w . 2>&5
9101 $RM conftest*
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9105 $RM out/* && rmdir out
9106 cd ..
9107 $RM -r conftest
9108 $RM conftest*
9109
9110 fi
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9113
9114
9115
9116
9117 hard_links="nottested"
9118 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9119 # do not overwrite the value of need_locks provided by the user
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9121 $as_echo_n "checking if we can lock with hard links... " >&6; }
9122 hard_links=yes
9123 $RM conftest*
9124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125 touch conftest.a
9126 ln conftest.a conftest.b 2>&5 || hard_links=no
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9129 $as_echo "$hard_links" >&6; }
9130 if test "$hard_links" = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9133 need_locks=warn
9134 fi
9135 else
9136 need_locks=no
9137 fi
9138
9139
9140
9141
9142
9143
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9146
9147 runpath_var=
9148 allow_undefined_flag=
9149 always_export_symbols=no
9150 archive_cmds=
9151 archive_expsym_cmds=
9152 compiler_needs_object=no
9153 enable_shared_with_static_runtimes=no
9154 export_dynamic_flag_spec=
9155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9156 hardcode_automatic=no
9157 hardcode_direct=no
9158 hardcode_direct_absolute=no
9159 hardcode_libdir_flag_spec=
9160 hardcode_libdir_flag_spec_ld=
9161 hardcode_libdir_separator=
9162 hardcode_minus_L=no
9163 hardcode_shlibpath_var=unsupported
9164 inherit_rpath=no
9165 link_all_deplibs=unknown
9166 module_cmds=
9167 module_expsym_cmds=
9168 old_archive_from_new_cmds=
9169 old_archive_from_expsyms_cmds=
9170 thread_safe_flag_spec=
9171 whole_archive_flag_spec=
9172 # include_expsyms should be a list of space-separated symbols to be *always*
9173 # included in the symbol list
9174 include_expsyms=
9175 # exclude_expsyms can be an extended regexp of symbols to exclude
9176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9178 # as well as any symbol that contains `d'.
9179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9181 # platforms (ab)use it in PIC code, but their linkers get confused if
9182 # the symbol is explicitly referenced. Since portable code cannot
9183 # rely on this symbol name, it's probably fine to never include it in
9184 # preloaded symbol tables.
9185 # Exclude shared library initialization/finalization symbols.
9186 extract_expsyms_cmds=
9187
9188 case $host_os in
9189 cygwin* | mingw* | pw32* | cegcc*)
9190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9191 # When not using gcc, we currently assume that we are using
9192 # Microsoft Visual C++.
9193 if test "$GCC" != yes; then
9194 with_gnu_ld=no
9195 fi
9196 ;;
9197 interix*)
9198 # we just hope/assume this is gcc and not c89 (= MSVC++)
9199 with_gnu_ld=yes
9200 ;;
9201 openbsd*)
9202 with_gnu_ld=no
9203 ;;
9204 esac
9205
9206 ld_shlibs=yes
9207
9208 # On some targets, GNU ld is compatible enough with the native linker
9209 # that we're better off using the native interface for both.
9210 lt_use_gnu_ld_interface=no
9211 if test "$with_gnu_ld" = yes; then
9212 case $host_os in
9213 aix*)
9214 # The AIX port of GNU ld has always aspired to compatibility
9215 # with the native linker. However, as the warning in the GNU ld
9216 # block says, versions before 2.19.5* couldn't really create working
9217 # shared libraries, regardless of the interface used.
9218 case `$LD -v 2>&1` in
9219 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9220 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9221 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9222 *)
9223 lt_use_gnu_ld_interface=yes
9224 ;;
9225 esac
9226 ;;
9227 *)
9228 lt_use_gnu_ld_interface=yes
9229 ;;
9230 esac
9231 fi
9232
9233 if test "$lt_use_gnu_ld_interface" = yes; then
9234 # If archive_cmds runs LD, not CC, wlarc should be empty
9235 wlarc='${wl}'
9236
9237 # Set some defaults for GNU ld with shared library support. These
9238 # are reset later if shared libraries are not supported. Putting them
9239 # here allows them to be overridden if necessary.
9240 runpath_var=LD_RUN_PATH
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 export_dynamic_flag_spec='${wl}--export-dynamic'
9243 # ancient GNU ld didn't support --whole-archive et. al.
9244 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9245 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9246 else
9247 whole_archive_flag_spec=
9248 fi
9249 supports_anon_versioning=no
9250 case `$LD -v 2>&1` in
9251 *GNU\ gold*) supports_anon_versioning=yes ;;
9252 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9253 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9254 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9255 *\ 2.11.*) ;; # other 2.11 versions
9256 *) supports_anon_versioning=yes ;;
9257 esac
9258
9259 # See if GNU ld supports shared libraries.
9260 case $host_os in
9261 aix[3-9]*)
9262 # On AIX/PPC, the GNU linker is very broken
9263 if test "$host_cpu" != ia64; then
9264 ld_shlibs=no
9265 cat <<_LT_EOF 1>&2
9266
9267 *** Warning: the GNU linker, at least up to release 2.19, is reported
9268 *** to be unable to reliably create shared libraries on AIX.
9269 *** Therefore, libtool is disabling shared libraries support. If you
9270 *** really care for shared libraries, you may want to install binutils
9271 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9272 *** You will then need to restart the configuration process.
9273
9274 _LT_EOF
9275 fi
9276 ;;
9277
9278 amigaos*)
9279 case $host_cpu in
9280 powerpc)
9281 # see comment about AmigaOS4 .so support
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds=''
9284 ;;
9285 m68k)
9286 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)'
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 hardcode_minus_L=yes
9289 ;;
9290 esac
9291 ;;
9292
9293 beos*)
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 allow_undefined_flag=unsupported
9296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9297 # support --undefined. This deserves some investigation. FIXME
9298 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 else
9300 ld_shlibs=no
9301 fi
9302 ;;
9303
9304 cygwin* | mingw* | pw32* | cegcc*)
9305 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9306 # as there is no search path for DLLs.
9307 hardcode_libdir_flag_spec='-L$libdir'
9308 export_dynamic_flag_spec='${wl}--export-all-symbols'
9309 allow_undefined_flag=unsupported
9310 always_export_symbols=no
9311 enable_shared_with_static_runtimes=yes
9312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9313
9314 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9316 # If the export-symbols file already is a .def file (1st line
9317 # is EXPORTS), use it as is; otherwise, prepend...
9318 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9319 cp $export_symbols $output_objdir/$soname.def;
9320 else
9321 echo EXPORTS > $output_objdir/$soname.def;
9322 cat $export_symbols >> $output_objdir/$soname.def;
9323 fi~
9324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9325 else
9326 ld_shlibs=no
9327 fi
9328 ;;
9329
9330 haiku*)
9331 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332 link_all_deplibs=yes
9333 ;;
9334
9335 interix[3-9]*)
9336 hardcode_direct=no
9337 hardcode_shlibpath_var=no
9338 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9339 export_dynamic_flag_spec='${wl}-E'
9340 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9341 # Instead, shared libraries are loaded at an image base (0x10000000 by
9342 # default) and relocated if they conflict, which is a slow very memory
9343 # consuming and fragmenting process. To avoid this, we pick a random,
9344 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9345 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9347 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'
9348 ;;
9349
9350 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9351 tmp_diet=no
9352 if test "$host_os" = linux-dietlibc; then
9353 case $cc_basename in
9354 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9355 esac
9356 fi
9357 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9358 && test "$tmp_diet" = no
9359 then
9360 tmp_addflag=' $pic_flag'
9361 tmp_sharedflag='-shared'
9362 case $cc_basename,$host_cpu in
9363 pgcc*) # Portland Group C compiler
9364 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'
9365 tmp_addflag=' $pic_flag'
9366 ;;
9367 pgf77* | pgf90* | pgf95* | pgfortran*)
9368 # Portland Group f77 and f90 compilers
9369 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'
9370 tmp_addflag=' $pic_flag -Mnomain' ;;
9371 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9372 tmp_addflag=' -i_dynamic' ;;
9373 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9374 tmp_addflag=' -i_dynamic -nofor_main' ;;
9375 ifc* | ifort*) # Intel Fortran compiler
9376 tmp_addflag=' -nofor_main' ;;
9377 lf95*) # Lahey Fortran 8.1
9378 whole_archive_flag_spec=
9379 tmp_sharedflag='--shared' ;;
9380 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9381 tmp_sharedflag='-qmkshrobj'
9382 tmp_addflag= ;;
9383 nvcc*) # Cuda Compiler Driver 2.2
9384 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'
9385 compiler_needs_object=yes
9386 ;;
9387 esac
9388 case `$CC -V 2>&1 | sed 5q` in
9389 *Sun\ C*) # Sun C 5.9
9390 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'
9391 compiler_needs_object=yes
9392 tmp_sharedflag='-G' ;;
9393 *Sun\ F*) # Sun Fortran 8.3
9394 tmp_sharedflag='-G' ;;
9395 esac
9396 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397
9398 if test "x$supports_anon_versioning" = xyes; then
9399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9401 echo "local: *; };" >> $output_objdir/$libname.ver~
9402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9403 fi
9404
9405 case $cc_basename in
9406 xlf* | bgf* | bgxlf* | mpixlf*)
9407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9408 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9409 hardcode_libdir_flag_spec=
9410 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9411 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9417 fi
9418 ;;
9419 esac
9420 else
9421 ld_shlibs=no
9422 fi
9423 ;;
9424
9425 netbsd*)
9426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9427 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9428 wlarc=
9429 else
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9432 fi
9433 ;;
9434
9435 solaris*)
9436 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9437 ld_shlibs=no
9438 cat <<_LT_EOF 1>&2
9439
9440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9441 *** create shared libraries on Solaris systems. Therefore, libtool
9442 *** is disabling shared libraries support. We urge you to upgrade GNU
9443 *** binutils to release 2.9.1 or newer. Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9446
9447 _LT_EOF
9448 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451 else
9452 ld_shlibs=no
9453 fi
9454 ;;
9455
9456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9457 case `$LD -v 2>&1` in
9458 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9459 ld_shlibs=no
9460 cat <<_LT_EOF 1>&2
9461
9462 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9463 *** reliably create shared libraries on SCO systems. Therefore, libtool
9464 *** is disabling shared libraries support. We urge you to upgrade GNU
9465 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9466 *** your PATH or compiler configuration so that the native linker is
9467 *** used, and then restart.
9468
9469 _LT_EOF
9470 ;;
9471 *)
9472 # For security reasons, it is highly recommended that you always
9473 # use absolute paths for naming shared libraries, and exclude the
9474 # DT_RUNPATH tag from executables and libraries. But doing so
9475 # requires that you compile everything twice, which is a pain.
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9480 else
9481 ld_shlibs=no
9482 fi
9483 ;;
9484 esac
9485 ;;
9486
9487 sunos4*)
9488 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9489 wlarc=
9490 hardcode_direct=yes
9491 hardcode_shlibpath_var=no
9492 ;;
9493
9494 *)
9495 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 else
9499 ld_shlibs=no
9500 fi
9501 ;;
9502 esac
9503
9504 if test "$ld_shlibs" = no; then
9505 runpath_var=
9506 hardcode_libdir_flag_spec=
9507 export_dynamic_flag_spec=
9508 whole_archive_flag_spec=
9509 fi
9510 else
9511 # PORTME fill in a description of your system's linker (not GNU ld)
9512 case $host_os in
9513 aix3*)
9514 allow_undefined_flag=unsupported
9515 always_export_symbols=yes
9516 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'
9517 # Note: this linker hardcodes the directories in LIBPATH if there
9518 # are no directories specified by -L.
9519 hardcode_minus_L=yes
9520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9521 # Neither direct hardcoding nor static linking is supported with a
9522 # broken collect2.
9523 hardcode_direct=unsupported
9524 fi
9525 ;;
9526
9527 aix[4-9]*)
9528 if test "$host_cpu" = ia64; then
9529 # On IA64, the linker does run time linking by default, so we don't
9530 # have to do anything special.
9531 aix_use_runtimelinking=no
9532 exp_sym_flag='-Bexport'
9533 no_entry_flag=""
9534 else
9535 # If we're using GNU nm, then we don't want the "-C" option.
9536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9537 # Also, AIX nm treats weak defined symbols like other global
9538 # defined symbols, whereas GNU nm marks them as "W".
9539 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9540 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'
9541 else
9542 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9543 fi
9544 aix_use_runtimelinking=no
9545
9546 # Test if we are trying to use run time linking or normal
9547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9548 # need to do runtime linking.
9549 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9550 for ld_flag in $LDFLAGS; do
9551 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9552 aix_use_runtimelinking=yes
9553 break
9554 fi
9555 done
9556 ;;
9557 esac
9558
9559 exp_sym_flag='-bexport'
9560 no_entry_flag='-bnoentry'
9561 fi
9562
9563 # When large executables or shared objects are built, AIX ld can
9564 # have problems creating the table of contents. If linking a library
9565 # or program results in "error TOC overflow" add -mminimal-toc to
9566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9568
9569 archive_cmds=''
9570 hardcode_direct=yes
9571 hardcode_direct_absolute=yes
9572 hardcode_libdir_separator=':'
9573 link_all_deplibs=yes
9574 file_list_spec='${wl}-f,'
9575
9576 if test "$GCC" = yes; then
9577 case $host_os in aix4.[012]|aix4.[012].*)
9578 # We only want to do this on AIX 4.2 and lower, the check
9579 # below for broken collect2 doesn't work under 4.3+
9580 collect2name=`${CC} -print-prog-name=collect2`
9581 if test -f "$collect2name" &&
9582 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9583 then
9584 # We have reworked collect2
9585 :
9586 else
9587 # We have old collect2
9588 hardcode_direct=unsupported
9589 # It fails to find uninstalled libraries when the uninstalled
9590 # path is not listed in the libpath. Setting hardcode_minus_L
9591 # to unsupported forces relinking
9592 hardcode_minus_L=yes
9593 hardcode_libdir_flag_spec='-L$libdir'
9594 hardcode_libdir_separator=
9595 fi
9596 ;;
9597 esac
9598 shared_flag='-shared'
9599 if test "$aix_use_runtimelinking" = yes; then
9600 shared_flag="$shared_flag "'${wl}-G'
9601 fi
9602 else
9603 # not using gcc
9604 if test "$host_cpu" = ia64; then
9605 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9606 # chokes on -Wl,-G. The following line is correct:
9607 shared_flag='-G'
9608 else
9609 if test "$aix_use_runtimelinking" = yes; then
9610 shared_flag='${wl}-G'
9611 else
9612 shared_flag='${wl}-bM:SRE'
9613 fi
9614 fi
9615 fi
9616
9617 export_dynamic_flag_spec='${wl}-bexpall'
9618 # It seems that -bexpall does not export symbols beginning with
9619 # underscore (_), so it is better to generate a list of symbols to export.
9620 always_export_symbols=yes
9621 if test "$aix_use_runtimelinking" = yes; then
9622 # Warning - without using the other runtime loading flags (-brtl),
9623 # -berok will link without error, but may produce a broken library.
9624 allow_undefined_flag='-berok'
9625 # Determine the default libpath from the value encoded in an
9626 # empty executable.
9627 if test x$gcc_no_link = xyes; then
9628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9629 fi
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632
9633 int
9634 main ()
9635 {
9636
9637 ;
9638 return 0;
9639 }
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9642
9643 lt_aix_libpath_sed='
9644 /Import File Strings/,/^$/ {
9645 /^0/ {
9646 s/^0 *\(.*\)$/\1/
9647 p
9648 }
9649 }'
9650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 # Check for a 64-bit object if we didn't find anything.
9652 if test -z "$aix_libpath"; then
9653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 fi
9655 fi
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9659
9660 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9661 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"
9662 else
9663 if test "$host_cpu" = ia64; then
9664 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9665 allow_undefined_flag="-z nodefs"
9666 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"
9667 else
9668 # Determine the default libpath from the value encoded in an
9669 # empty executable.
9670 if test x$gcc_no_link = xyes; then
9671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9672 fi
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9675
9676 int
9677 main ()
9678 {
9679
9680 ;
9681 return 0;
9682 }
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9688 /^0/ {
9689 s/^0 *\(.*\)$/\1/
9690 p
9691 }
9692 }'
9693 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$aix_libpath"; then
9696 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 fi
9698 fi
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9702
9703 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9704 # Warning - without using the other run time loading flags,
9705 # -berok will link without error, but may produce a broken library.
9706 no_undefined_flag=' ${wl}-bernotok'
9707 allow_undefined_flag=' ${wl}-berok'
9708 if test "$with_gnu_ld" = yes; then
9709 # We only use this code for GNU lds that support --whole-archive.
9710 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9711 else
9712 # Exported symbols can be pulled into shared objects from archives
9713 whole_archive_flag_spec='$convenience'
9714 fi
9715 archive_cmds_need_lc=yes
9716 # This is similar to how AIX traditionally builds its shared libraries.
9717 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'
9718 fi
9719 fi
9720 ;;
9721
9722 amigaos*)
9723 case $host_cpu in
9724 powerpc)
9725 # see comment about AmigaOS4 .so support
9726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9727 archive_expsym_cmds=''
9728 ;;
9729 m68k)
9730 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)'
9731 hardcode_libdir_flag_spec='-L$libdir'
9732 hardcode_minus_L=yes
9733 ;;
9734 esac
9735 ;;
9736
9737 bsdi[45]*)
9738 export_dynamic_flag_spec=-rdynamic
9739 ;;
9740
9741 cygwin* | mingw* | pw32* | cegcc*)
9742 # When not using gcc, we currently assume that we are using
9743 # Microsoft Visual C++.
9744 # hardcode_libdir_flag_spec is actually meaningless, as there is
9745 # no search path for DLLs.
9746 hardcode_libdir_flag_spec=' '
9747 allow_undefined_flag=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9749 libext=lib
9750 # Tell ltmain to make .dll files, not .so files.
9751 shrext_cmds=".dll"
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 fix_srcfile_path='`cygpath -w "$srcfile"`'
9759 enable_shared_with_static_runtimes=yes
9760 ;;
9761
9762 darwin* | rhapsody*)
9763
9764
9765 archive_cmds_need_lc=no
9766 hardcode_direct=no
9767 hardcode_automatic=yes
9768 hardcode_shlibpath_var=unsupported
9769 if test "$lt_cv_ld_force_load" = "yes"; then
9770 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\"`'
9771 else
9772 whole_archive_flag_spec=''
9773 fi
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9779 esac
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 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}"
9785 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}"
9786
9787 else
9788 ld_shlibs=no
9789 fi
9790
9791 ;;
9792
9793 dgux*)
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9797 ;;
9798
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9802 # extra space).
9803 freebsd2.2*)
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9806 hardcode_direct=yes
9807 hardcode_shlibpath_var=no
9808 ;;
9809
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9811 freebsd2.*)
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_direct=yes
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9816 ;;
9817
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9822 hardcode_direct=yes
9823 hardcode_shlibpath_var=no
9824 ;;
9825
9826 hpux9*)
9827 if test "$GCC" = yes; then
9828 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'
9829 else
9830 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'
9831 fi
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9834 hardcode_direct=yes
9835
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9840 ;;
9841
9842 hpux10*)
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9847 fi
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_flag_spec_ld='+b $libdir'
9851 hardcode_libdir_separator=:
9852 hardcode_direct=yes
9853 hardcode_direct_absolute=yes
9854 export_dynamic_flag_spec='${wl}-E'
9855 # hardcode_minus_L: Not really in the search PATH,
9856 # but as the default location of the library.
9857 hardcode_minus_L=yes
9858 fi
9859 ;;
9860
9861 hpux11*)
9862 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863 case $host_cpu in
9864 hppa*64*)
9865 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9866 ;;
9867 ia64*)
9868 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9869 ;;
9870 *)
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9872 ;;
9873 esac
9874 else
9875 case $host_cpu in
9876 hppa*64*)
9877 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 ;;
9879 ia64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9881 ;;
9882 *)
9883
9884 # Older versions of the 11.00 compiler do not understand -b yet
9885 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9887 $as_echo_n "checking if $CC understands -b... " >&6; }
9888 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 lt_cv_prog_compiler__b=no
9892 save_LDFLAGS="$LDFLAGS"
9893 LDFLAGS="$LDFLAGS -b"
9894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9896 # The linker can only warn and ignore the option if not recognized
9897 # So say no if there are warnings
9898 if test -s conftest.err; then
9899 # Append any errors to the config.log.
9900 cat conftest.err 1>&5
9901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9903 if diff conftest.exp conftest.er2 >/dev/null; then
9904 lt_cv_prog_compiler__b=yes
9905 fi
9906 else
9907 lt_cv_prog_compiler__b=yes
9908 fi
9909 fi
9910 $RM -r conftest*
9911 LDFLAGS="$save_LDFLAGS"
9912
9913 fi
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9915 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9916
9917 if test x"$lt_cv_prog_compiler__b" = xyes; then
9918 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 else
9920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9921 fi
9922
9923 ;;
9924 esac
9925 fi
9926 if test "$with_gnu_ld" = no; then
9927 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929
9930 case $host_cpu in
9931 hppa*64*|ia64*)
9932 hardcode_direct=no
9933 hardcode_shlibpath_var=no
9934 ;;
9935 *)
9936 hardcode_direct=yes
9937 hardcode_direct_absolute=yes
9938 export_dynamic_flag_spec='${wl}-E'
9939
9940 # hardcode_minus_L: Not really in the search PATH,
9941 # but as the default location of the library.
9942 hardcode_minus_L=yes
9943 ;;
9944 esac
9945 fi
9946 ;;
9947
9948 irix5* | irix6* | nonstopux*)
9949 if test "$GCC" = yes; then
9950 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'
9951 # Try to use the -exported_symbol ld option, if it does not
9952 # work, assume that -exports_file does not work either and
9953 # implicitly export all symbols.
9954 save_LDFLAGS="$LDFLAGS"
9955 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9956 if test x$gcc_no_link = xyes; then
9957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9958 fi
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int foo(void) {}
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 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'
9965
9966 fi
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LDFLAGS="$save_LDFLAGS"
9970 else
9971 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'
9972 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'
9973 fi
9974 archive_cmds_need_lc='no'
9975 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9976 hardcode_libdir_separator=:
9977 inherit_rpath=yes
9978 link_all_deplibs=yes
9979 ;;
9980
9981 netbsd*)
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9984 else
9985 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9986 fi
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_direct=yes
9989 hardcode_shlibpath_var=no
9990 ;;
9991
9992 newsos6)
9993 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_direct=yes
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator=:
9997 hardcode_shlibpath_var=no
9998 ;;
9999
10000 *nto* | *qnx*)
10001 ;;
10002
10003 openbsd*)
10004 if test -f /usr/libexec/ld.so; then
10005 hardcode_direct=yes
10006 hardcode_shlibpath_var=no
10007 hardcode_direct_absolute=yes
10008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10011 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10012 export_dynamic_flag_spec='${wl}-E'
10013 else
10014 case $host_os in
10015 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-R$libdir'
10018 ;;
10019 *)
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10022 ;;
10023 esac
10024 fi
10025 else
10026 ld_shlibs=no
10027 fi
10028 ;;
10029
10030 os2*)
10031 hardcode_libdir_flag_spec='-L$libdir'
10032 hardcode_minus_L=yes
10033 allow_undefined_flag=unsupported
10034 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'
10035 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10036 ;;
10037
10038 osf3*)
10039 if test "$GCC" = yes; then
10040 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10041 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'
10042 else
10043 allow_undefined_flag=' -expect_unresolved \*'
10044 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'
10045 fi
10046 archive_cmds_need_lc='no'
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10049 ;;
10050
10051 osf4* | osf5*) # as osf3* with the addition of -msym flag
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 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'
10055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 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'
10059 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~
10060 $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'
10061
10062 # Both c and cxx compiler support -rpath directly
10063 hardcode_libdir_flag_spec='-rpath $libdir'
10064 fi
10065 archive_cmds_need_lc='no'
10066 hardcode_libdir_separator=:
10067 ;;
10068
10069 solaris*)
10070 no_undefined_flag=' -z defs'
10071 if test "$GCC" = yes; then
10072 wlarc='${wl}'
10073 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10075 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10076 else
10077 case `$CC -V 2>&1` in
10078 *"Compilers 5.0"*)
10079 wlarc=''
10080 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10083 ;;
10084 *)
10085 wlarc='${wl}'
10086 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 ;;
10090 esac
10091 fi
10092 hardcode_libdir_flag_spec='-R$libdir'
10093 hardcode_shlibpath_var=no
10094 case $host_os in
10095 solaris2.[0-5] | solaris2.[0-5].*) ;;
10096 *)
10097 # The compiler driver will combine and reorder linker options,
10098 # but understands `-z linker_flag'. GCC discards it without `$wl',
10099 # but is careful enough not to reorder.
10100 # Supported since Solaris 2.6 (maybe 2.5.1?)
10101 if test "$GCC" = yes; then
10102 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10103 else
10104 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10105 fi
10106 ;;
10107 esac
10108 link_all_deplibs=yes
10109 ;;
10110
10111 sunos4*)
10112 if test "x$host_vendor" = xsequent; then
10113 # Use $CC to link under sequent, because it throws in some extra .o
10114 # files that make .init and .fini sections work.
10115 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10118 fi
10119 hardcode_libdir_flag_spec='-L$libdir'
10120 hardcode_direct=yes
10121 hardcode_minus_L=yes
10122 hardcode_shlibpath_var=no
10123 ;;
10124
10125 sysv4)
10126 case $host_vendor in
10127 sni)
10128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10129 hardcode_direct=yes # is this really true???
10130 ;;
10131 siemens)
10132 ## LD is ld it makes a PLAMLIB
10133 ## CC just makes a GrossModule.
10134 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10135 reload_cmds='$CC -r -o $output$reload_objs'
10136 hardcode_direct=no
10137 ;;
10138 motorola)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10141 ;;
10142 esac
10143 runpath_var='LD_RUN_PATH'
10144 hardcode_shlibpath_var=no
10145 ;;
10146
10147 sysv4.3*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_shlibpath_var=no
10150 export_dynamic_flag_spec='-Bexport'
10151 ;;
10152
10153 sysv4*MP*)
10154 if test -d /usr/nec; then
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 runpath_var=LD_RUN_PATH
10158 hardcode_runpath_var=yes
10159 ld_shlibs=yes
10160 fi
10161 ;;
10162
10163 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10164 no_undefined_flag='${wl}-z,text'
10165 archive_cmds_need_lc=no
10166 hardcode_shlibpath_var=no
10167 runpath_var='LD_RUN_PATH'
10168
10169 if test "$GCC" = yes; then
10170 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172 else
10173 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 fi
10176 ;;
10177
10178 sysv5* | sco3.2v5* | sco5v6*)
10179 # Note: We can NOT use -z defs as we might desire, because we do not
10180 # link with -lc, and that would cause any symbols used from libc to
10181 # always be unresolved, which means just about no library would
10182 # ever link correctly. If we're not using GNU ld we use -z text
10183 # though, which does catch some bad symbols but isn't as heavy-handed
10184 # as -z defs.
10185 no_undefined_flag='${wl}-z,text'
10186 allow_undefined_flag='${wl}-z,nodefs'
10187 archive_cmds_need_lc=no
10188 hardcode_shlibpath_var=no
10189 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10190 hardcode_libdir_separator=':'
10191 link_all_deplibs=yes
10192 export_dynamic_flag_spec='${wl}-Bexport'
10193 runpath_var='LD_RUN_PATH'
10194
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 else
10199 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 fi
10202 ;;
10203
10204 uts4*)
10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_libdir_flag_spec='-L$libdir'
10207 hardcode_shlibpath_var=no
10208 ;;
10209
10210 *)
10211 ld_shlibs=no
10212 ;;
10213 esac
10214
10215 if test x$host_vendor = xsni; then
10216 case $host in
10217 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10218 export_dynamic_flag_spec='${wl}-Blargedynsym'
10219 ;;
10220 esac
10221 fi
10222 fi
10223
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10225 $as_echo "$ld_shlibs" >&6; }
10226 test "$ld_shlibs" = no && can_build_shared=no
10227
10228 with_gnu_ld=$with_gnu_ld
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244 #
10245 # Do we need to explicitly link libc?
10246 #
10247 case "x$archive_cmds_need_lc" in
10248 x|xyes)
10249 # Assume -lc should be added
10250 archive_cmds_need_lc=yes
10251
10252 if test "$enable_shared" = yes && test "$GCC" = yes; then
10253 case $archive_cmds in
10254 *'~'*)
10255 # FIXME: we may have to deal with multi-command sequences.
10256 ;;
10257 '$CC '*)
10258 # Test whether the compiler implicitly links with -lc since on some
10259 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10260 # to ld, don't add -lc before -lgcc.
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10262 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10263 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 $RM conftest*
10267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10268
10269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10270 (eval $ac_compile) 2>&5
10271 ac_status=$?
10272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273 test $ac_status = 0; } 2>conftest.err; then
10274 soname=conftest
10275 lib=conftest
10276 libobjs=conftest.$ac_objext
10277 deplibs=
10278 wl=$lt_prog_compiler_wl
10279 pic_flag=$lt_prog_compiler_pic
10280 compiler_flags=-v
10281 linker_flags=-v
10282 verstring=
10283 output_objdir=.
10284 libname=conftest
10285 lt_save_allow_undefined_flag=$allow_undefined_flag
10286 allow_undefined_flag=
10287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10288 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10289 ac_status=$?
10290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10291 test $ac_status = 0; }
10292 then
10293 lt_cv_archive_cmds_need_lc=no
10294 else
10295 lt_cv_archive_cmds_need_lc=yes
10296 fi
10297 allow_undefined_flag=$lt_save_allow_undefined_flag
10298 else
10299 cat conftest.err 1>&5
10300 fi
10301 $RM conftest*
10302
10303 fi
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10305 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10306 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10307 ;;
10308 esac
10309 fi
10310 ;;
10311 esac
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10471
10472 if test "$GCC" = yes; then
10473 case $host_os in
10474 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10475 *) lt_awk_arg="/^libraries:/" ;;
10476 esac
10477 case $host_os in
10478 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10479 *) lt_sed_strip_eq="s,=/,/,g" ;;
10480 esac
10481 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10482 case $lt_search_path_spec in
10483 *\;*)
10484 # if the path contains ";" then we assume it to be the separator
10485 # otherwise default to the standard path separator (i.e. ":") - it is
10486 # assumed that no part of a normal pathname contains ";" but that should
10487 # okay in the real world where ";" in dirpaths is itself problematic.
10488 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10489 ;;
10490 *)
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10492 ;;
10493 esac
10494 # Ok, now we have the path, separated by spaces, we can step through it
10495 # and add multilib dir if necessary.
10496 lt_tmp_lt_search_path_spec=
10497 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10498 for lt_sys_path in $lt_search_path_spec; do
10499 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10501 else
10502 test -d "$lt_sys_path" && \
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10504 fi
10505 done
10506 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10507 BEGIN {RS=" "; FS="/|\n";} {
10508 lt_foo="";
10509 lt_count=0;
10510 for (lt_i = NF; lt_i > 0; lt_i--) {
10511 if ($lt_i != "" && $lt_i != ".") {
10512 if ($lt_i == "..") {
10513 lt_count++;
10514 } else {
10515 if (lt_count == 0) {
10516 lt_foo="/" $lt_i lt_foo;
10517 } else {
10518 lt_count--;
10519 }
10520 }
10521 }
10522 }
10523 if (lt_foo != "") { lt_freq[lt_foo]++; }
10524 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10525 }'`
10526 # AWK program above erroneously prepends '/' to C:/dos/paths
10527 # for these hosts.
10528 case $host_os in
10529 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10530 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10531 esac
10532 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10533 else
10534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10535 fi
10536 library_names_spec=
10537 libname_spec='lib$name'
10538 soname_spec=
10539 shrext_cmds=".so"
10540 postinstall_cmds=
10541 postuninstall_cmds=
10542 finish_cmds=
10543 finish_eval=
10544 shlibpath_var=
10545 shlibpath_overrides_runpath=unknown
10546 version_type=none
10547 dynamic_linker="$host_os ld.so"
10548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10549 need_lib_prefix=unknown
10550 hardcode_into_libs=no
10551
10552 # when you set need_version to no, make sure it does not cause -set_version
10553 # flags to be left without arguments
10554 need_version=unknown
10555
10556 case $host_os in
10557 aix3*)
10558 version_type=linux
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10560 shlibpath_var=LIBPATH
10561
10562 # AIX 3 has no versioning support, so we append a major version to the name.
10563 soname_spec='${libname}${release}${shared_ext}$major'
10564 ;;
10565
10566 aix[4-9]*)
10567 version_type=linux
10568 need_lib_prefix=no
10569 need_version=no
10570 hardcode_into_libs=yes
10571 if test "$host_cpu" = ia64; then
10572 # AIX 5 supports IA64
10573 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 else
10576 # With GCC up to 2.95.x, collect2 would create an import file
10577 # for dependence libraries. The import file would start with
10578 # the line `#! .'. This would cause the generated library to
10579 # depend on `.', always an invalid library. This was fixed in
10580 # development snapshots of GCC prior to 3.0.
10581 case $host_os in
10582 aix4 | aix4.[01] | aix4.[01].*)
10583 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10584 echo ' yes '
10585 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10586 :
10587 else
10588 can_build_shared=no
10589 fi
10590 ;;
10591 esac
10592 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10593 # soname into executable. Probably we can add versioning support to
10594 # collect2, so additional links can be useful in future.
10595 if test "$aix_use_runtimelinking" = yes; then
10596 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10597 # instead of lib<name>.a to let people know that these are not
10598 # typical AIX shared libraries.
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 else
10601 # We preserve .a as extension for shared libraries through AIX4.2
10602 # and later when we are not doing run time linking.
10603 library_names_spec='${libname}${release}.a $libname.a'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 fi
10606 shlibpath_var=LIBPATH
10607 fi
10608 ;;
10609
10610 amigaos*)
10611 case $host_cpu in
10612 powerpc)
10613 # Since July 2007 AmigaOS4 officially supports .so libraries.
10614 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 ;;
10617 m68k)
10618 library_names_spec='$libname.ixlibrary $libname.a'
10619 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10620 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'
10621 ;;
10622 esac
10623 ;;
10624
10625 beos*)
10626 library_names_spec='${libname}${shared_ext}'
10627 dynamic_linker="$host_os ld.so"
10628 shlibpath_var=LIBRARY_PATH
10629 ;;
10630
10631 bsdi[45]*)
10632 version_type=linux
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10637 shlibpath_var=LD_LIBRARY_PATH
10638 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10639 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10640 # the default ld.so.conf also contains /usr/contrib/lib and
10641 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10642 # libtool to hard-code these into programs
10643 ;;
10644
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 version_type=windows
10647 shrext_cmds=".dll"
10648 need_version=no
10649 need_lib_prefix=no
10650
10651 case $GCC,$host_os in
10652 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10653 library_names_spec='$libname.dll.a'
10654 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10655 postinstall_cmds='base_file=`basename \${file}`~
10656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10657 dldir=$destdir/`dirname \$dlpath`~
10658 test -d \$dldir || mkdir -p \$dldir~
10659 $install_prog $dir/$dlname \$dldir/$dlname~
10660 chmod a+x \$dldir/$dlname~
10661 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10662 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10663 fi'
10664 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10665 dlpath=$dir/\$dldll~
10666 $RM \$dlpath'
10667 shlibpath_overrides_runpath=yes
10668
10669 case $host_os in
10670 cygwin*)
10671 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10672 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10673
10674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10675 ;;
10676 mingw* | cegcc*)
10677 # MinGW DLLs use traditional 'lib' prefix
10678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10679 ;;
10680 pw32*)
10681 # pw32 DLLs use 'pw' prefix rather than 'lib'
10682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 ;;
10684 esac
10685 ;;
10686
10687 *)
10688 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10689 ;;
10690 esac
10691 dynamic_linker='Win32 ld.exe'
10692 # FIXME: first we should search . and the directory the executable is in
10693 shlibpath_var=PATH
10694 ;;
10695
10696 darwin* | rhapsody*)
10697 dynamic_linker="$host_os dyld"
10698 version_type=darwin
10699 need_lib_prefix=no
10700 need_version=no
10701 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10702 soname_spec='${libname}${release}${major}$shared_ext'
10703 shlibpath_overrides_runpath=yes
10704 shlibpath_var=DYLD_LIBRARY_PATH
10705 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10706
10707 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10709 ;;
10710
10711 dgux*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 ;;
10719
10720 freebsd* | dragonfly*)
10721 # DragonFly does not have aout. When/if they implement a new
10722 # versioning mechanism, adjust this.
10723 if test -x /usr/bin/objformat; then
10724 objformat=`/usr/bin/objformat`
10725 else
10726 case $host_os in
10727 freebsd[23].*) objformat=aout ;;
10728 *) objformat=elf ;;
10729 esac
10730 fi
10731 version_type=freebsd-$objformat
10732 case $version_type in
10733 freebsd-elf*)
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 need_version=no
10736 need_lib_prefix=no
10737 ;;
10738 freebsd-*)
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10740 need_version=yes
10741 ;;
10742 esac
10743 shlibpath_var=LD_LIBRARY_PATH
10744 case $host_os in
10745 freebsd2.*)
10746 shlibpath_overrides_runpath=yes
10747 ;;
10748 freebsd3.[01]* | freebsdelf3.[01]*)
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10751 ;;
10752 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10753 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10756 ;;
10757 *) # from 4.6 on, and DragonFly
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10760 ;;
10761 esac
10762 ;;
10763
10764 gnu*)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 hardcode_into_libs=yes
10772 ;;
10773
10774 haiku*)
10775 version_type=linux
10776 need_lib_prefix=no
10777 need_version=no
10778 dynamic_linker="$host_os runtime_loader"
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LIBRARY_PATH
10782 shlibpath_overrides_runpath=yes
10783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10784 hardcode_into_libs=yes
10785 ;;
10786
10787 hpux9* | hpux10* | hpux11*)
10788 # Give a soname corresponding to the major version so that dld.sl refuses to
10789 # link against other versions.
10790 version_type=sunos
10791 need_lib_prefix=no
10792 need_version=no
10793 case $host_cpu in
10794 ia64*)
10795 shrext_cmds='.so'
10796 hardcode_into_libs=yes
10797 dynamic_linker="$host_os dld.so"
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 if test "X$HPUX_IA64_MODE" = X32; then
10803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10804 else
10805 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10806 fi
10807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10808 ;;
10809 hppa*64*)
10810 shrext_cmds='.sl'
10811 hardcode_into_libs=yes
10812 dynamic_linker="$host_os dld.sl"
10813 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816 soname_spec='${libname}${release}${shared_ext}$major'
10817 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10819 ;;
10820 *)
10821 shrext_cmds='.sl'
10822 dynamic_linker="$host_os dld.sl"
10823 shlibpath_var=SHLIB_PATH
10824 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10827 ;;
10828 esac
10829 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10830 postinstall_cmds='chmod 555 $lib'
10831 # or fails outright, so override atomically:
10832 install_override_mode=555
10833 ;;
10834
10835 interix[3-9]*)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10845 ;;
10846
10847 irix5* | irix6* | nonstopux*)
10848 case $host_os in
10849 nonstopux*) version_type=nonstopux ;;
10850 *)
10851 if test "$lt_cv_prog_gnu_ld" = yes; then
10852 version_type=linux
10853 else
10854 version_type=irix
10855 fi ;;
10856 esac
10857 need_lib_prefix=no
10858 need_version=no
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10861 case $host_os in
10862 irix5* | nonstopux*)
10863 libsuff= shlibsuff=
10864 ;;
10865 *)
10866 case $LD in # libtool.m4 will add one of these switches to LD
10867 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10868 libsuff= shlibsuff= libmagic=32-bit;;
10869 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10870 libsuff=32 shlibsuff=N32 libmagic=N32;;
10871 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10872 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10873 *) libsuff= shlibsuff= libmagic=never-match;;
10874 esac
10875 ;;
10876 esac
10877 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10878 shlibpath_overrides_runpath=no
10879 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10880 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10881 hardcode_into_libs=yes
10882 ;;
10883
10884 # No shared lib support for Linux oldld, aout, or coff.
10885 linux*oldld* | linux*aout* | linux*coff*)
10886 dynamic_linker=no
10887 ;;
10888
10889 # This must be Linux ELF.
10890 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10891 version_type=linux
10892 need_lib_prefix=no
10893 need_version=no
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10899
10900 # Some binutils ld are patched to set DT_RUNPATH
10901 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 lt_cv_shlibpath_overrides_runpath=no
10905 save_LDFLAGS=$LDFLAGS
10906 save_libdir=$libdir
10907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10909 if test x$gcc_no_link = xyes; then
10910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10911 fi
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10914
10915 int
10916 main ()
10917 {
10918
10919 ;
10920 return 0;
10921 }
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10925 lt_cv_shlibpath_overrides_runpath=yes
10926 fi
10927 fi
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LDFLAGS=$save_LDFLAGS
10931 libdir=$save_libdir
10932
10933 fi
10934
10935 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10936
10937 # This implies no fast_install, which is unacceptable.
10938 # Some rework will be needed to allow for fast_install
10939 # before this can be enabled.
10940 hardcode_into_libs=yes
10941
10942 # Append ld.so.conf contents to the search path
10943 if test -f /etc/ld.so.conf; then
10944 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' ' '`
10945 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10946 fi
10947
10948 # We used to test for /lib/ld.so.1 and disable shared libraries on
10949 # powerpc, because MkLinux only supported shared libraries with the
10950 # GNU dynamic linker. Since this was broken with cross compilers,
10951 # most powerpc-linux boxes support dynamic linking these days and
10952 # people can always --disable-shared, the test was removed, and we
10953 # assume the GNU/Linux dynamic linker is in use.
10954 dynamic_linker='GNU/Linux ld.so'
10955 ;;
10956
10957 netbsd*)
10958 version_type=sunos
10959 need_lib_prefix=no
10960 need_version=no
10961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10964 dynamic_linker='NetBSD (a.out) ld.so'
10965 else
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 dynamic_linker='NetBSD ld.elf_so'
10969 fi
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10973 ;;
10974
10975 newsos6)
10976 version_type=linux
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=yes
10980 ;;
10981
10982 *nto* | *qnx*)
10983 version_type=qnx
10984 need_lib_prefix=no
10985 need_version=no
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=no
10990 hardcode_into_libs=yes
10991 dynamic_linker='ldqnx.so'
10992 ;;
10993
10994 openbsd*)
10995 version_type=sunos
10996 sys_lib_dlsearch_path_spec="/usr/lib"
10997 need_lib_prefix=no
10998 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10999 case $host_os in
11000 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11001 *) need_version=no ;;
11002 esac
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11007 case $host_os in
11008 openbsd2.[89] | openbsd2.[89].*)
11009 shlibpath_overrides_runpath=no
11010 ;;
11011 *)
11012 shlibpath_overrides_runpath=yes
11013 ;;
11014 esac
11015 else
11016 shlibpath_overrides_runpath=yes
11017 fi
11018 ;;
11019
11020 os2*)
11021 libname_spec='$name'
11022 shrext_cmds=".dll"
11023 need_lib_prefix=no
11024 library_names_spec='$libname${shared_ext} $libname.a'
11025 dynamic_linker='OS/2 ld.exe'
11026 shlibpath_var=LIBPATH
11027 ;;
11028
11029 osf3* | osf4* | osf5*)
11030 version_type=osf
11031 need_lib_prefix=no
11032 need_version=no
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11038 ;;
11039
11040 rdos*)
11041 dynamic_linker=no
11042 ;;
11043
11044 solaris*)
11045 version_type=linux
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 # ldd complains unless libraries are executable
11054 postinstall_cmds='chmod +x $lib'
11055 ;;
11056
11057 sunos4*)
11058 version_type=sunos
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11060 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 if test "$with_gnu_ld" = yes; then
11064 need_lib_prefix=no
11065 fi
11066 need_version=yes
11067 ;;
11068
11069 sysv4 | sysv4.3*)
11070 version_type=linux
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 case $host_vendor in
11075 sni)
11076 shlibpath_overrides_runpath=no
11077 need_lib_prefix=no
11078 runpath_var=LD_RUN_PATH
11079 ;;
11080 siemens)
11081 need_lib_prefix=no
11082 ;;
11083 motorola)
11084 need_lib_prefix=no
11085 need_version=no
11086 shlibpath_overrides_runpath=no
11087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11088 ;;
11089 esac
11090 ;;
11091
11092 sysv4*MP*)
11093 if test -d /usr/nec ;then
11094 version_type=linux
11095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11096 soname_spec='$libname${shared_ext}.$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 fi
11099 ;;
11100
11101 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11102 version_type=freebsd-elf
11103 need_lib_prefix=no
11104 need_version=no
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=yes
11109 hardcode_into_libs=yes
11110 if test "$with_gnu_ld" = yes; then
11111 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11112 else
11113 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11114 case $host_os in
11115 sco3.2v5*)
11116 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11117 ;;
11118 esac
11119 fi
11120 sys_lib_dlsearch_path_spec='/usr/lib'
11121 ;;
11122
11123 tpf*)
11124 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11125 version_type=linux
11126 need_lib_prefix=no
11127 need_version=no
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11131 hardcode_into_libs=yes
11132 ;;
11133
11134 uts4*)
11135 version_type=linux
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137 soname_spec='${libname}${release}${shared_ext}$major'
11138 shlibpath_var=LD_LIBRARY_PATH
11139 ;;
11140
11141 *)
11142 dynamic_linker=no
11143 ;;
11144 esac
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11146 $as_echo "$dynamic_linker" >&6; }
11147 test "$dynamic_linker" = no && can_build_shared=no
11148
11149 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11150 if test "$GCC" = yes; then
11151 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11152 fi
11153
11154 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11155 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11156 fi
11157 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11158 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11159 fi
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11253 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11254 hardcode_action=
11255 if test -n "$hardcode_libdir_flag_spec" ||
11256 test -n "$runpath_var" ||
11257 test "X$hardcode_automatic" = "Xyes" ; then
11258
11259 # We can hardcode non-existent directories.
11260 if test "$hardcode_direct" != no &&
11261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11262 # have to relink, otherwise we might link with an installed library
11263 # when we should be linking with a yet-to-be-installed one
11264 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11265 test "$hardcode_minus_L" != no; then
11266 # Linking always hardcodes the temporary library directory.
11267 hardcode_action=relink
11268 else
11269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11270 hardcode_action=immediate
11271 fi
11272 else
11273 # We cannot hardcode anything, or else we can only hardcode existing
11274 # directories.
11275 hardcode_action=unsupported
11276 fi
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11278 $as_echo "$hardcode_action" >&6; }
11279
11280 if test "$hardcode_action" = relink ||
11281 test "$inherit_rpath" = yes; then
11282 # Fast installation is not supported
11283 enable_fast_install=no
11284 elif test "$shlibpath_overrides_runpath" = yes ||
11285 test "$enable_shared" = no; then
11286 # Fast installation is not necessary
11287 enable_fast_install=needless
11288 fi
11289
11290
11291
11292
11293
11294
11295 if test "x$enable_dlopen" != xyes; then
11296 enable_dlopen=unknown
11297 enable_dlopen_self=unknown
11298 enable_dlopen_self_static=unknown
11299 else
11300 lt_cv_dlopen=no
11301 lt_cv_dlopen_libs=
11302
11303 case $host_os in
11304 beos*)
11305 lt_cv_dlopen="load_add_on"
11306 lt_cv_dlopen_libs=
11307 lt_cv_dlopen_self=yes
11308 ;;
11309
11310 mingw* | pw32* | cegcc*)
11311 lt_cv_dlopen="LoadLibrary"
11312 lt_cv_dlopen_libs=
11313 ;;
11314
11315 cygwin*)
11316 lt_cv_dlopen="dlopen"
11317 lt_cv_dlopen_libs=
11318 ;;
11319
11320 darwin*)
11321 # if libdl is installed we need to link against it
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldl $LIBS"
11329 if test x$gcc_no_link = xyes; then
11330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11331 fi
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11342 int
11343 main ()
11344 {
11345 return dlopen ();
11346 ;
11347 return 0;
11348 }
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_dl_dlopen=yes
11352 else
11353 ac_cv_lib_dl_dlopen=no
11354 fi
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11358 fi
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11364
11365 lt_cv_dlopen="dyld"
11366 lt_cv_dlopen_libs=
11367 lt_cv_dlopen_self=yes
11368
11369 fi
11370
11371 ;;
11372
11373 *)
11374 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = x""yes; then :
11376 lt_cv_dlopen="shl_load"
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-ldld $LIBS"
11385 if test x$gcc_no_link = xyes; then
11386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11387 fi
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char shl_load ();
11398 int
11399 main ()
11400 {
11401 return shl_load ();
11402 ;
11403 return 0;
11404 }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_dld_shl_load=yes
11408 else
11409 ac_cv_lib_dld_shl_load=no
11410 fi
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11414 fi
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11416 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11417 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11418 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11419 else
11420 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11421 if test "x$ac_cv_func_dlopen" = x""yes; then :
11422 lt_cv_dlopen="dlopen"
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-ldl $LIBS"
11431 if test x$gcc_no_link = xyes; then
11432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11433 fi
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char dlopen ();
11444 int
11445 main ()
11446 {
11447 return dlopen ();
11448 ;
11449 return 0;
11450 }
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_dl_dlopen=yes
11454 else
11455 ac_cv_lib_dl_dlopen=no
11456 fi
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11460 fi
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11462 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11467 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lsvld $LIBS"
11473 if test x$gcc_no_link = xyes; then
11474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11475 fi
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char dlopen ();
11486 int
11487 main ()
11488 {
11489 return dlopen ();
11490 ;
11491 return 0;
11492 }
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_svld_dlopen=yes
11496 else
11497 ac_cv_lib_svld_dlopen=no
11498 fi
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11502 fi
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11504 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11505 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11509 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11510 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-ldld $LIBS"
11515 if test x$gcc_no_link = xyes; then
11516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11517 fi
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11520
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dld_link ();
11528 int
11529 main ()
11530 {
11531 return dld_link ();
11532 ;
11533 return 0;
11534 }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_dld_dld_link=yes
11538 else
11539 ac_cv_lib_dld_dld_link=no
11540 fi
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11544 fi
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11547 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11548 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11549 fi
11550
11551
11552 fi
11553
11554
11555 fi
11556
11557
11558 fi
11559
11560
11561 fi
11562
11563
11564 fi
11565
11566 ;;
11567 esac
11568
11569 if test "x$lt_cv_dlopen" != xno; then
11570 enable_dlopen=yes
11571 else
11572 enable_dlopen=no
11573 fi
11574
11575 case $lt_cv_dlopen in
11576 dlopen)
11577 save_CPPFLAGS="$CPPFLAGS"
11578 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11579
11580 save_LDFLAGS="$LDFLAGS"
11581 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11582
11583 save_LIBS="$LIBS"
11584 LIBS="$lt_cv_dlopen_libs $LIBS"
11585
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11599
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11603
11604 #include <stdio.h>
11605
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11615
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11637
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11643
11644 void fnord () { int i=42; }
11645 int main ()
11646 {
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11649
11650 if (self)
11651 {
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11654 {
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11657 }
11658 /* dlclose (self); */
11659 }
11660 else
11661 puts (dlerror ());
11662
11663 return status;
11664 }
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self=no
11681 fi
11682 fi
11683 rm -fr conftest*
11684
11685
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11688 $as_echo "$lt_cv_dlopen_self" >&6; }
11689
11690 if test "x$lt_cv_dlopen_self" = xyes; then
11691 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11693 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11694 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 if test "$cross_compiling" = yes; then :
11698 lt_cv_dlopen_self_static=cross
11699 else
11700 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11701 lt_status=$lt_dlunknown
11702 cat > conftest.$ac_ext <<_LT_EOF
11703 #line 11703 "configure"
11704 #include "confdefs.h"
11705
11706 #if HAVE_DLFCN_H
11707 #include <dlfcn.h>
11708 #endif
11709
11710 #include <stdio.h>
11711
11712 #ifdef RTLD_GLOBAL
11713 # define LT_DLGLOBAL RTLD_GLOBAL
11714 #else
11715 # ifdef DL_GLOBAL
11716 # define LT_DLGLOBAL DL_GLOBAL
11717 # else
11718 # define LT_DLGLOBAL 0
11719 # endif
11720 #endif
11721
11722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11723 find out it does not work in some platform. */
11724 #ifndef LT_DLLAZY_OR_NOW
11725 # ifdef RTLD_LAZY
11726 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11727 # else
11728 # ifdef DL_LAZY
11729 # define LT_DLLAZY_OR_NOW DL_LAZY
11730 # else
11731 # ifdef RTLD_NOW
11732 # define LT_DLLAZY_OR_NOW RTLD_NOW
11733 # else
11734 # ifdef DL_NOW
11735 # define LT_DLLAZY_OR_NOW DL_NOW
11736 # else
11737 # define LT_DLLAZY_OR_NOW 0
11738 # endif
11739 # endif
11740 # endif
11741 # endif
11742 #endif
11743
11744 /* When -fvisbility=hidden is used, assume the code has been annotated
11745 correspondingly for the symbols needed. */
11746 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11747 void fnord () __attribute__((visibility("default")));
11748 #endif
11749
11750 void fnord () { int i=42; }
11751 int main ()
11752 {
11753 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11754 int status = $lt_dlunknown;
11755
11756 if (self)
11757 {
11758 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11759 else
11760 {
11761 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11762 else puts (dlerror ());
11763 }
11764 /* dlclose (self); */
11765 }
11766 else
11767 puts (dlerror ());
11768
11769 return status;
11770 }
11771 _LT_EOF
11772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11773 (eval $ac_link) 2>&5
11774 ac_status=$?
11775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11776 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11777 (./conftest; exit; ) >&5 2>/dev/null
11778 lt_status=$?
11779 case x$lt_status in
11780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11783 esac
11784 else :
11785 # compilation failed
11786 lt_cv_dlopen_self_static=no
11787 fi
11788 fi
11789 rm -fr conftest*
11790
11791
11792 fi
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11794 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11795 fi
11796
11797 CPPFLAGS="$save_CPPFLAGS"
11798 LDFLAGS="$save_LDFLAGS"
11799 LIBS="$save_LIBS"
11800 ;;
11801 esac
11802
11803 case $lt_cv_dlopen_self in
11804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11805 *) enable_dlopen_self=unknown ;;
11806 esac
11807
11808 case $lt_cv_dlopen_self_static in
11809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11810 *) enable_dlopen_self_static=unknown ;;
11811 esac
11812 fi
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830 striplib=
11831 old_striplib=
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11836 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11838 $as_echo "yes" >&6; }
11839 else
11840 # FIXME - insert some real tests, host_os isn't really good enough
11841 case $host_os in
11842 darwin*)
11843 if test -n "$STRIP" ; then
11844 striplib="$STRIP -x"
11845 old_striplib="$STRIP -S"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11847 $as_echo "yes" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11851 fi
11852 ;;
11853 *)
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11856 ;;
11857 esac
11858 fi
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871 # Report which library types will actually be built
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11873 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11875 $as_echo "$can_build_shared" >&6; }
11876
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11878 $as_echo_n "checking whether to build shared libraries... " >&6; }
11879 test "$can_build_shared" = "no" && enable_shared=no
11880
11881 # On AIX, shared libraries and static libraries use the same namespace, and
11882 # are all built from PIC.
11883 case $host_os in
11884 aix3*)
11885 test "$enable_shared" = yes && enable_static=no
11886 if test -n "$RANLIB"; then
11887 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11888 postinstall_cmds='$RANLIB $lib'
11889 fi
11890 ;;
11891
11892 aix[4-9]*)
11893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11894 test "$enable_shared" = yes && enable_static=no
11895 fi
11896 ;;
11897 esac
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11899 $as_echo "$enable_shared" >&6; }
11900
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11902 $as_echo_n "checking whether to build static libraries... " >&6; }
11903 # Make sure either enable_shared or enable_static is yes.
11904 test "$enable_shared" = yes || enable_static=yes
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11906 $as_echo "$enable_static" >&6; }
11907
11908
11909
11910
11911 fi
11912 ac_ext=c
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11917
11918 CC="$lt_save_CC"
11919
11920 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11921 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11922 (test "X$CXX" != "Xg++"))) ; then
11923 ac_ext=cpp
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11929 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11930 if test -z "$CXXCPP"; then
11931 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 # Double quotes because CXXCPP needs to be expanded
11935 for CXXCPP in "$CXX -E" "/lib/cpp"
11936 do
11937 ac_preproc_ok=false
11938 for ac_cxx_preproc_warn_flag in '' yes
11939 do
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #ifdef __STDC__
11949 # include <limits.h>
11950 #else
11951 # include <assert.h>
11952 #endif
11953 Syntax error
11954 _ACEOF
11955 if ac_fn_cxx_try_cpp "$LINENO"; then :
11956
11957 else
11958 # Broken: fails on valid input.
11959 continue
11960 fi
11961 rm -f conftest.err conftest.$ac_ext
11962
11963 # OK, works on sane cases. Now check whether nonexistent headers
11964 # can be detected and how.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <ac_nonexistent.h>
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 # Broken: success on invalid input.
11971 continue
11972 else
11973 # Passes both tests.
11974 ac_preproc_ok=:
11975 break
11976 fi
11977 rm -f conftest.err conftest.$ac_ext
11978
11979 done
11980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11981 rm -f conftest.err conftest.$ac_ext
11982 if $ac_preproc_ok; then :
11983 break
11984 fi
11985
11986 done
11987 ac_cv_prog_CXXCPP=$CXXCPP
11988
11989 fi
11990 CXXCPP=$ac_cv_prog_CXXCPP
11991 else
11992 ac_cv_prog_CXXCPP=$CXXCPP
11993 fi
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11995 $as_echo "$CXXCPP" >&6; }
11996 ac_preproc_ok=false
11997 for ac_cxx_preproc_warn_flag in '' yes
11998 do
11999 # Use a header file that comes with gcc, so configuring glibc
12000 # with a fresh cross-compiler works.
12001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 # <limits.h> exists even on freestanding compilers.
12003 # On the NeXT, cc -E runs the code through the compiler's parser,
12004 # not just through cpp. "Syntax error" is here to catch this case.
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #ifdef __STDC__
12008 # include <limits.h>
12009 #else
12010 # include <assert.h>
12011 #endif
12012 Syntax error
12013 _ACEOF
12014 if ac_fn_cxx_try_cpp "$LINENO"; then :
12015
12016 else
12017 # Broken: fails on valid input.
12018 continue
12019 fi
12020 rm -f conftest.err conftest.$ac_ext
12021
12022 # OK, works on sane cases. Now check whether nonexistent headers
12023 # can be detected and how.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #include <ac_nonexistent.h>
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 # Broken: success on invalid input.
12030 continue
12031 else
12032 # Passes both tests.
12033 ac_preproc_ok=:
12034 break
12035 fi
12036 rm -f conftest.err conftest.$ac_ext
12037
12038 done
12039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12040 rm -f conftest.err conftest.$ac_ext
12041 if $ac_preproc_ok; then :
12042
12043 else
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12046 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12047 See \`config.log' for more details." "$LINENO" 5; }
12048 fi
12049
12050 ac_ext=c
12051 ac_cpp='$CPP $CPPFLAGS'
12052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12055
12056 else
12057 _lt_caught_CXX_error=yes
12058 fi
12059
12060 ac_ext=cpp
12061 ac_cpp='$CXXCPP $CPPFLAGS'
12062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12065
12066 archive_cmds_need_lc_CXX=no
12067 allow_undefined_flag_CXX=
12068 always_export_symbols_CXX=no
12069 archive_expsym_cmds_CXX=
12070 compiler_needs_object_CXX=no
12071 export_dynamic_flag_spec_CXX=
12072 hardcode_direct_CXX=no
12073 hardcode_direct_absolute_CXX=no
12074 hardcode_libdir_flag_spec_CXX=
12075 hardcode_libdir_flag_spec_ld_CXX=
12076 hardcode_libdir_separator_CXX=
12077 hardcode_minus_L_CXX=no
12078 hardcode_shlibpath_var_CXX=unsupported
12079 hardcode_automatic_CXX=no
12080 inherit_rpath_CXX=no
12081 module_cmds_CXX=
12082 module_expsym_cmds_CXX=
12083 link_all_deplibs_CXX=unknown
12084 old_archive_cmds_CXX=$old_archive_cmds
12085 reload_flag_CXX=$reload_flag
12086 reload_cmds_CXX=$reload_cmds
12087 no_undefined_flag_CXX=
12088 whole_archive_flag_spec_CXX=
12089 enable_shared_with_static_runtimes_CXX=no
12090
12091 # Source file extension for C++ test sources.
12092 ac_ext=cpp
12093
12094 # Object file extension for compiled C++ test sources.
12095 objext=o
12096 objext_CXX=$objext
12097
12098 # No sense in running all these tests if we already determined that
12099 # the CXX compiler isn't working. Some variables (like enable_shared)
12100 # are currently assumed to apply to all compilers on this platform,
12101 # and will be corrupted by setting them based on a non-working compiler.
12102 if test "$_lt_caught_CXX_error" != yes; then
12103 # Code to be used in simple compile tests
12104 lt_simple_compile_test_code="int some_variable = 0;"
12105
12106 # Code to be used in simple link tests
12107 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12108
12109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12110
12111
12112
12113
12114
12115
12116 # If no C compiler was specified, use CC.
12117 LTCC=${LTCC-"$CC"}
12118
12119 # If no C compiler flags were specified, use CFLAGS.
12120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12121
12122 # Allow CC to be a program name with arguments.
12123 compiler=$CC
12124
12125
12126 # save warnings/boilerplate of simple test code
12127 ac_outfile=conftest.$ac_objext
12128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12130 _lt_compiler_boilerplate=`cat conftest.err`
12131 $RM conftest*
12132
12133 ac_outfile=conftest.$ac_objext
12134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12136 _lt_linker_boilerplate=`cat conftest.err`
12137 $RM -r conftest*
12138
12139
12140 # Allow CC to be a program name with arguments.
12141 lt_save_CC=$CC
12142 lt_save_LD=$LD
12143 lt_save_GCC=$GCC
12144 GCC=$GXX
12145 lt_save_with_gnu_ld=$with_gnu_ld
12146 lt_save_path_LD=$lt_cv_path_LD
12147 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12148 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12149 else
12150 $as_unset lt_cv_prog_gnu_ld
12151 fi
12152 if test -n "${lt_cv_path_LDCXX+set}"; then
12153 lt_cv_path_LD=$lt_cv_path_LDCXX
12154 else
12155 $as_unset lt_cv_path_LD
12156 fi
12157 test -z "${LDCXX+set}" || LD=$LDCXX
12158 CC=${CXX-"c++"}
12159 compiler=$CC
12160 compiler_CXX=$CC
12161 for cc_temp in $compiler""; do
12162 case $cc_temp in
12163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12165 \-*) ;;
12166 *) break;;
12167 esac
12168 done
12169 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12170
12171
12172 if test -n "$compiler"; then
12173 # We don't want -fno-exception when compiling C++ code, so set the
12174 # no_builtin_flag separately
12175 if test "$GXX" = yes; then
12176 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12177 else
12178 lt_prog_compiler_no_builtin_flag_CXX=
12179 fi
12180
12181 if test "$GXX" = yes; then
12182 # Set up default GNU C++ configuration
12183
12184
12185
12186 # Check whether --with-gnu-ld was given.
12187 if test "${with_gnu_ld+set}" = set; then :
12188 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12189 else
12190 with_gnu_ld=no
12191 fi
12192
12193 ac_prog=ld
12194 if test "$GCC" = yes; then
12195 # Check if gcc -print-prog-name=ld gives a path.
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12197 $as_echo_n "checking for ld used by $CC... " >&6; }
12198 case $host in
12199 *-*-mingw*)
12200 # gcc leaves a trailing carriage return which upsets mingw
12201 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12202 *)
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12204 esac
12205 case $ac_prog in
12206 # Accept absolute paths.
12207 [\\/]* | ?:[\\/]*)
12208 re_direlt='/[^/][^/]*/\.\./'
12209 # Canonicalize the pathname of ld
12210 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12211 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12212 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12213 done
12214 test -z "$LD" && LD="$ac_prog"
12215 ;;
12216 "")
12217 # If it fails, then pretend we aren't using GCC.
12218 ac_prog=ld
12219 ;;
12220 *)
12221 # If it is relative, then search for the first ld in PATH.
12222 with_gnu_ld=unknown
12223 ;;
12224 esac
12225 elif test "$with_gnu_ld" = yes; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12227 $as_echo_n "checking for GNU ld... " >&6; }
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12230 $as_echo_n "checking for non-GNU ld... " >&6; }
12231 fi
12232 if test "${lt_cv_path_LD+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 if test -z "$LD"; then
12236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12237 for ac_dir in $PATH; do
12238 IFS="$lt_save_ifs"
12239 test -z "$ac_dir" && ac_dir=.
12240 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12241 lt_cv_path_LD="$ac_dir/$ac_prog"
12242 # Check to see if the program is GNU ld. I'd rather use --version,
12243 # but apparently some variants of GNU ld only accept -v.
12244 # Break only if it was the GNU/non-GNU ld that we prefer.
12245 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12246 *GNU* | *'with BFD'*)
12247 test "$with_gnu_ld" != no && break
12248 ;;
12249 *)
12250 test "$with_gnu_ld" != yes && break
12251 ;;
12252 esac
12253 fi
12254 done
12255 IFS="$lt_save_ifs"
12256 else
12257 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12258 fi
12259 fi
12260
12261 LD="$lt_cv_path_LD"
12262 if test -n "$LD"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12264 $as_echo "$LD" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12268 fi
12269 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12271 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12272 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12276 case `$LD -v 2>&1 </dev/null` in
12277 *GNU* | *'with BFD'*)
12278 lt_cv_prog_gnu_ld=yes
12279 ;;
12280 *)
12281 lt_cv_prog_gnu_ld=no
12282 ;;
12283 esac
12284 fi
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12286 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12287 with_gnu_ld=$lt_cv_prog_gnu_ld
12288
12289
12290
12291
12292
12293
12294
12295 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12296 # archiving commands below assume that GNU ld is being used.
12297 if test "$with_gnu_ld" = yes; then
12298 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12299 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'
12300
12301 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12303
12304 # If archive_cmds runs LD, not CC, wlarc should be empty
12305 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12306 # investigate it a little bit more. (MM)
12307 wlarc='${wl}'
12308
12309 # ancient GNU ld didn't support --whole-archive et. al.
12310 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12311 $GREP 'no-whole-archive' > /dev/null; then
12312 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12313 else
12314 whole_archive_flag_spec_CXX=
12315 fi
12316 else
12317 with_gnu_ld=no
12318 wlarc=
12319
12320 # A generic and very simple default shared library creation
12321 # command for GNU C++ for the case where it uses the native
12322 # linker, instead of GNU ld. If possible, this setting should
12323 # overridden to take advantage of the native linker features on
12324 # the platform it is being used on.
12325 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12326 fi
12327
12328 # Commands to make compiler produce verbose output that lists
12329 # what "hidden" libraries, object files and flags are used when
12330 # linking a shared library.
12331 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12332
12333 else
12334 GXX=no
12335 with_gnu_ld=no
12336 wlarc=
12337 fi
12338
12339 # PORTME: fill in a description of your system's C++ link characteristics
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12342 ld_shlibs_CXX=yes
12343 case $host_os in
12344 aix3*)
12345 # FIXME: insert proper C++ library support
12346 ld_shlibs_CXX=no
12347 ;;
12348 aix[4-9]*)
12349 if test "$host_cpu" = ia64; then
12350 # On IA64, the linker does run time linking by default, so we don't
12351 # have to do anything special.
12352 aix_use_runtimelinking=no
12353 exp_sym_flag='-Bexport'
12354 no_entry_flag=""
12355 else
12356 aix_use_runtimelinking=no
12357
12358 # Test if we are trying to use run time linking or normal
12359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12360 # need to do runtime linking.
12361 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12362 for ld_flag in $LDFLAGS; do
12363 case $ld_flag in
12364 *-brtl*)
12365 aix_use_runtimelinking=yes
12366 break
12367 ;;
12368 esac
12369 done
12370 ;;
12371 esac
12372
12373 exp_sym_flag='-bexport'
12374 no_entry_flag='-bnoentry'
12375 fi
12376
12377 # When large executables or shared objects are built, AIX ld can
12378 # have problems creating the table of contents. If linking a library
12379 # or program results in "error TOC overflow" add -mminimal-toc to
12380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12382
12383 archive_cmds_CXX=''
12384 hardcode_direct_CXX=yes
12385 hardcode_direct_absolute_CXX=yes
12386 hardcode_libdir_separator_CXX=':'
12387 link_all_deplibs_CXX=yes
12388 file_list_spec_CXX='${wl}-f,'
12389
12390 if test "$GXX" = yes; then
12391 case $host_os in aix4.[012]|aix4.[012].*)
12392 # We only want to do this on AIX 4.2 and lower, the check
12393 # below for broken collect2 doesn't work under 4.3+
12394 collect2name=`${CC} -print-prog-name=collect2`
12395 if test -f "$collect2name" &&
12396 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12397 then
12398 # We have reworked collect2
12399 :
12400 else
12401 # We have old collect2
12402 hardcode_direct_CXX=unsupported
12403 # It fails to find uninstalled libraries when the uninstalled
12404 # path is not listed in the libpath. Setting hardcode_minus_L
12405 # to unsupported forces relinking
12406 hardcode_minus_L_CXX=yes
12407 hardcode_libdir_flag_spec_CXX='-L$libdir'
12408 hardcode_libdir_separator_CXX=
12409 fi
12410 esac
12411 shared_flag='-shared'
12412 if test "$aix_use_runtimelinking" = yes; then
12413 shared_flag="$shared_flag "'${wl}-G'
12414 fi
12415 else
12416 # not using gcc
12417 if test "$host_cpu" = ia64; then
12418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12419 # chokes on -Wl,-G. The following line is correct:
12420 shared_flag='-G'
12421 else
12422 if test "$aix_use_runtimelinking" = yes; then
12423 shared_flag='${wl}-G'
12424 else
12425 shared_flag='${wl}-bM:SRE'
12426 fi
12427 fi
12428 fi
12429
12430 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12431 # It seems that -bexpall does not export symbols beginning with
12432 # underscore (_), so it is better to generate a list of symbols to
12433 # export.
12434 always_export_symbols_CXX=yes
12435 if test "$aix_use_runtimelinking" = yes; then
12436 # Warning - without using the other runtime loading flags (-brtl),
12437 # -berok will link without error, but may produce a broken library.
12438 allow_undefined_flag_CXX='-berok'
12439 # Determine the default libpath from the value encoded in an empty
12440 # executable.
12441 if test x$gcc_no_link = xyes; then
12442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12443 fi
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446
12447 int
12448 main ()
12449 {
12450
12451 ;
12452 return 0;
12453 }
12454 _ACEOF
12455 if ac_fn_cxx_try_link "$LINENO"; then :
12456
12457 lt_aix_libpath_sed='
12458 /Import File Strings/,/^$/ {
12459 /^0/ {
12460 s/^0 *\(.*\)$/\1/
12461 p
12462 }
12463 }'
12464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465 # Check for a 64-bit object if we didn't find anything.
12466 if test -z "$aix_libpath"; then
12467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12468 fi
12469 fi
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12473
12474 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12475
12476 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"
12477 else
12478 if test "$host_cpu" = ia64; then
12479 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12480 allow_undefined_flag_CXX="-z nodefs"
12481 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"
12482 else
12483 # Determine the default libpath from the value encoded in an
12484 # empty executable.
12485 if test x$gcc_no_link = xyes; then
12486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12487 fi
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12490
12491 int
12492 main ()
12493 {
12494
12495 ;
12496 return 0;
12497 }
12498 _ACEOF
12499 if ac_fn_cxx_try_link "$LINENO"; then :
12500
12501 lt_aix_libpath_sed='
12502 /Import File Strings/,/^$/ {
12503 /^0/ {
12504 s/^0 *\(.*\)$/\1/
12505 p
12506 }
12507 }'
12508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12509 # Check for a 64-bit object if we didn't find anything.
12510 if test -z "$aix_libpath"; then
12511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12512 fi
12513 fi
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12517
12518 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12519 # Warning - without using the other run time loading flags,
12520 # -berok will link without error, but may produce a broken library.
12521 no_undefined_flag_CXX=' ${wl}-bernotok'
12522 allow_undefined_flag_CXX=' ${wl}-berok'
12523 if test "$with_gnu_ld" = yes; then
12524 # We only use this code for GNU lds that support --whole-archive.
12525 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12526 else
12527 # Exported symbols can be pulled into shared objects from archives
12528 whole_archive_flag_spec_CXX='$convenience'
12529 fi
12530 archive_cmds_need_lc_CXX=yes
12531 # This is similar to how AIX traditionally builds its shared
12532 # libraries.
12533 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'
12534 fi
12535 fi
12536 ;;
12537
12538 beos*)
12539 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12540 allow_undefined_flag_CXX=unsupported
12541 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12542 # support --undefined. This deserves some investigation. FIXME
12543 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12544 else
12545 ld_shlibs_CXX=no
12546 fi
12547 ;;
12548
12549 chorus*)
12550 case $cc_basename in
12551 *)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12554 ;;
12555 esac
12556 ;;
12557
12558 cygwin* | mingw* | pw32* | cegcc*)
12559 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12560 # as there is no search path for DLLs.
12561 hardcode_libdir_flag_spec_CXX='-L$libdir'
12562 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12563 allow_undefined_flag_CXX=unsupported
12564 always_export_symbols_CXX=no
12565 enable_shared_with_static_runtimes_CXX=yes
12566
12567 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12568 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'
12569 # If the export-symbols file already is a .def file (1st line
12570 # is EXPORTS), use it as is; otherwise, prepend...
12571 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12572 cp $export_symbols $output_objdir/$soname.def;
12573 else
12574 echo EXPORTS > $output_objdir/$soname.def;
12575 cat $export_symbols >> $output_objdir/$soname.def;
12576 fi~
12577 $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'
12578 else
12579 ld_shlibs_CXX=no
12580 fi
12581 ;;
12582 darwin* | rhapsody*)
12583
12584
12585 archive_cmds_need_lc_CXX=no
12586 hardcode_direct_CXX=no
12587 hardcode_automatic_CXX=yes
12588 hardcode_shlibpath_var_CXX=unsupported
12589 if test "$lt_cv_ld_force_load" = "yes"; then
12590 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\"`'
12591 else
12592 whole_archive_flag_spec_CXX=''
12593 fi
12594 link_all_deplibs_CXX=yes
12595 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12596 case $cc_basename in
12597 ifort*) _lt_dar_can_shared=yes ;;
12598 *) _lt_dar_can_shared=$GCC ;;
12599 esac
12600 if test "$_lt_dar_can_shared" = "yes"; then
12601 output_verbose_link_cmd=func_echo_all
12602 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}"
12603 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12604 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}"
12605 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}"
12606 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12607 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}"
12608 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}"
12609 fi
12610
12611 else
12612 ld_shlibs_CXX=no
12613 fi
12614
12615 ;;
12616
12617 dgux*)
12618 case $cc_basename in
12619 ec++*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12622 ;;
12623 ghcx*)
12624 # Green Hills C++ Compiler
12625 # FIXME: insert proper C++ library support
12626 ld_shlibs_CXX=no
12627 ;;
12628 *)
12629 # FIXME: insert proper C++ library support
12630 ld_shlibs_CXX=no
12631 ;;
12632 esac
12633 ;;
12634
12635 freebsd2.*)
12636 # C++ shared libraries reported to be fairly broken before
12637 # switch to ELF
12638 ld_shlibs_CXX=no
12639 ;;
12640
12641 freebsd-elf*)
12642 archive_cmds_need_lc_CXX=no
12643 ;;
12644
12645 freebsd* | dragonfly*)
12646 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12647 # conventions
12648 ld_shlibs_CXX=yes
12649 ;;
12650
12651 gnu*)
12652 ;;
12653
12654 haiku*)
12655 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12656 link_all_deplibs_CXX=yes
12657 ;;
12658
12659 hpux9*)
12660 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12661 hardcode_libdir_separator_CXX=:
12662 export_dynamic_flag_spec_CXX='${wl}-E'
12663 hardcode_direct_CXX=yes
12664 hardcode_minus_L_CXX=yes # Not in the search PATH,
12665 # but as the default
12666 # location of the library.
12667
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12672 ;;
12673 aCC*)
12674 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'
12675 # Commands to make compiler produce verbose output that lists
12676 # what "hidden" libraries, object files and flags are used when
12677 # linking a shared library.
12678 #
12679 # There doesn't appear to be a way to prevent this compiler from
12680 # explicitly linking system object files so we need to strip them
12681 # from the output so that they don't get included in the library
12682 # dependencies.
12683 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"'
12684 ;;
12685 *)
12686 if test "$GXX" = yes; then
12687 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'
12688 else
12689 # FIXME: insert proper C++ library support
12690 ld_shlibs_CXX=no
12691 fi
12692 ;;
12693 esac
12694 ;;
12695
12696 hpux10*|hpux11*)
12697 if test $with_gnu_ld = no; then
12698 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12699 hardcode_libdir_separator_CXX=:
12700
12701 case $host_cpu in
12702 hppa*64*|ia64*)
12703 ;;
12704 *)
12705 export_dynamic_flag_spec_CXX='${wl}-E'
12706 ;;
12707 esac
12708 fi
12709 case $host_cpu in
12710 hppa*64*|ia64*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12713 ;;
12714 *)
12715 hardcode_direct_CXX=yes
12716 hardcode_direct_absolute_CXX=yes
12717 hardcode_minus_L_CXX=yes # Not in the search PATH,
12718 # but as the default
12719 # location of the library.
12720 ;;
12721 esac
12722
12723 case $cc_basename in
12724 CC*)
12725 # FIXME: insert proper C++ library support
12726 ld_shlibs_CXX=no
12727 ;;
12728 aCC*)
12729 case $host_cpu in
12730 hppa*64*)
12731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12732 ;;
12733 ia64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ;;
12736 *)
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12738 ;;
12739 esac
12740 # Commands to make compiler produce verbose output that lists
12741 # what "hidden" libraries, object files and flags are used when
12742 # linking a shared library.
12743 #
12744 # There doesn't appear to be a way to prevent this compiler from
12745 # explicitly linking system object files so we need to strip them
12746 # from the output so that they don't get included in the library
12747 # dependencies.
12748 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"'
12749 ;;
12750 *)
12751 if test "$GXX" = yes; then
12752 if test $with_gnu_ld = no; then
12753 case $host_cpu in
12754 hppa*64*)
12755 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 ;;
12757 ia64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ;;
12760 *)
12761 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'
12762 ;;
12763 esac
12764 fi
12765 else
12766 # FIXME: insert proper C++ library support
12767 ld_shlibs_CXX=no
12768 fi
12769 ;;
12770 esac
12771 ;;
12772
12773 interix[3-9]*)
12774 hardcode_direct_CXX=no
12775 hardcode_shlibpath_var_CXX=no
12776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12777 export_dynamic_flag_spec_CXX='${wl}-E'
12778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12779 # Instead, shared libraries are loaded at an image base (0x10000000 by
12780 # default) and relocated if they conflict, which is a slow very memory
12781 # consuming and fragmenting process. To avoid this, we pick a random,
12782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12784 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'
12785 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'
12786 ;;
12787 irix5* | irix6*)
12788 case $cc_basename in
12789 CC*)
12790 # SGI C++
12791 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'
12792
12793 # Archives containing C++ object files must be created using
12794 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12795 # necessary to make sure instantiated templates are included
12796 # in the archive.
12797 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12798 ;;
12799 *)
12800 if test "$GXX" = yes; then
12801 if test "$with_gnu_ld" = no; then
12802 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'
12803 else
12804 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'
12805 fi
12806 fi
12807 link_all_deplibs_CXX=yes
12808 ;;
12809 esac
12810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12811 hardcode_libdir_separator_CXX=:
12812 inherit_rpath_CXX=yes
12813 ;;
12814
12815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12816 case $cc_basename in
12817 KCC*)
12818 # Kuck and Associates, Inc. (KAI) C++ Compiler
12819
12820 # KCC will only create a shared library if the output file
12821 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12822 # to its proper name (with version) after linking.
12823 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'
12824 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'
12825 # Commands to make compiler produce verbose output that lists
12826 # what "hidden" libraries, object files and flags are used when
12827 # linking a shared library.
12828 #
12829 # There doesn't appear to be a way to prevent this compiler from
12830 # explicitly linking system object files so we need to strip them
12831 # from the output so that they don't get included in the library
12832 # dependencies.
12833 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"'
12834
12835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12836 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12837
12838 # Archives containing C++ object files must be created using
12839 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12840 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12841 ;;
12842 icpc* | ecpc* )
12843 # Intel C++
12844 with_gnu_ld=yes
12845 # version 8.0 and above of icpc choke on multiply defined symbols
12846 # if we add $predep_objects and $postdep_objects, however 7.1 and
12847 # earlier do not add the objects themselves.
12848 case `$CC -V 2>&1` in
12849 *"Version 7."*)
12850 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12851 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'
12852 ;;
12853 *) # Version 8.0 or newer
12854 tmp_idyn=
12855 case $host_cpu in
12856 ia64*) tmp_idyn=' -i_dynamic';;
12857 esac
12858 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 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'
12860 ;;
12861 esac
12862 archive_cmds_need_lc_CXX=no
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12866 ;;
12867 pgCC* | pgcpp*)
12868 # Portland Group C++ compiler
12869 case `$CC -V` in
12870 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12871 prelink_cmds_CXX='tpldir=Template.dir~
12872 rm -rf $tpldir~
12873 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12874 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12875 old_archive_cmds_CXX='tpldir=Template.dir~
12876 rm -rf $tpldir~
12877 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12878 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12879 $RANLIB $oldlib'
12880 archive_cmds_CXX='tpldir=Template.dir~
12881 rm -rf $tpldir~
12882 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12883 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884 archive_expsym_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12887 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12888 ;;
12889 *) # Version 6 and above use weak symbols
12890 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 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'
12892 ;;
12893 esac
12894
12895 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12896 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 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'
12898 ;;
12899 cxx*)
12900 # Compaq C++
12901 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 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'
12903
12904 runpath_var=LD_RUN_PATH
12905 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906 hardcode_libdir_separator_CXX=:
12907
12908 # Commands to make compiler produce verbose output that lists
12909 # what "hidden" libraries, object files and flags are used when
12910 # linking a shared library.
12911 #
12912 # There doesn't appear to be a way to prevent this compiler from
12913 # explicitly linking system object files so we need to strip them
12914 # from the output so that they don't get included in the library
12915 # dependencies.
12916 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'
12917 ;;
12918 xl* | mpixl* | bgxl*)
12919 # IBM XL 8.0 on PPC, with GNU ld
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12921 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12922 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 if test "x$supports_anon_versioning" = xyes; then
12924 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12926 echo "local: *; };" >> $output_objdir/$libname.ver~
12927 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12928 fi
12929 ;;
12930 *)
12931 case `$CC -V 2>&1 | sed 5q` in
12932 *Sun\ C*)
12933 # Sun C++ 5.9
12934 no_undefined_flag_CXX=' -zdefs'
12935 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12936 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'
12937 hardcode_libdir_flag_spec_CXX='-R$libdir'
12938 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'
12939 compiler_needs_object_CXX=yes
12940
12941 # Not sure whether something based on
12942 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12943 # would be better.
12944 output_verbose_link_cmd='func_echo_all'
12945
12946 # Archives containing C++ object files must be created using
12947 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12948 # necessary to make sure instantiated templates are included
12949 # in the archive.
12950 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12951 ;;
12952 esac
12953 ;;
12954 esac
12955 ;;
12956
12957 lynxos*)
12958 # FIXME: insert proper C++ library support
12959 ld_shlibs_CXX=no
12960 ;;
12961
12962 m88k*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12965 ;;
12966
12967 mvs*)
12968 case $cc_basename in
12969 cxx*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12972 ;;
12973 *)
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12976 ;;
12977 esac
12978 ;;
12979
12980 netbsd*)
12981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12982 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12983 wlarc=
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_direct_CXX=yes
12986 hardcode_shlibpath_var_CXX=no
12987 fi
12988 # Workaround some broken pre-1.5 toolchains
12989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12990 ;;
12991
12992 *nto* | *qnx*)
12993 ld_shlibs_CXX=yes
12994 ;;
12995
12996 openbsd2*)
12997 # C++ shared libraries are fairly broken
12998 ld_shlibs_CXX=no
12999 ;;
13000
13001 openbsd*)
13002 if test -f /usr/libexec/ld.so; then
13003 hardcode_direct_CXX=yes
13004 hardcode_shlibpath_var_CXX=no
13005 hardcode_direct_absolute_CXX=yes
13006 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13007 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13008 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13009 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13010 export_dynamic_flag_spec_CXX='${wl}-E'
13011 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13012 fi
13013 output_verbose_link_cmd=func_echo_all
13014 else
13015 ld_shlibs_CXX=no
13016 fi
13017 ;;
13018
13019 osf3* | osf4* | osf5*)
13020 case $cc_basename in
13021 KCC*)
13022 # Kuck and Associates, Inc. (KAI) C++ Compiler
13023
13024 # KCC will only create a shared library if the output file
13025 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13026 # to its proper name (with version) after linking.
13027 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'
13028
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13030 hardcode_libdir_separator_CXX=:
13031
13032 # Archives containing C++ object files must be created using
13033 # the KAI C++ compiler.
13034 case $host in
13035 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13036 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13037 esac
13038 ;;
13039 RCC*)
13040 # Rational C++ 2.4.1
13041 # FIXME: insert proper C++ library support
13042 ld_shlibs_CXX=no
13043 ;;
13044 cxx*)
13045 case $host in
13046 osf3*)
13047 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13048 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'
13049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13050 ;;
13051 *)
13052 allow_undefined_flag_CXX=' -expect_unresolved \*'
13053 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'
13054 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13055 echo "-hidden">> $lib.exp~
13056 $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~
13057 $RM $lib.exp'
13058 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13059 ;;
13060 esac
13061
13062 hardcode_libdir_separator_CXX=:
13063
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13067 #
13068 # There doesn't appear to be a way to prevent this compiler from
13069 # explicitly linking system object files so we need to strip them
13070 # from the output so that they don't get included in the library
13071 # dependencies.
13072 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"'
13073 ;;
13074 *)
13075 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13076 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 case $host in
13078 osf3*)
13079 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'
13080 ;;
13081 *)
13082 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'
13083 ;;
13084 esac
13085
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13087 hardcode_libdir_separator_CXX=:
13088
13089 # Commands to make compiler produce verbose output that lists
13090 # what "hidden" libraries, object files and flags are used when
13091 # linking a shared library.
13092 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093
13094 else
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13097 fi
13098 ;;
13099 esac
13100 ;;
13101
13102 psos*)
13103 # FIXME: insert proper C++ library support
13104 ld_shlibs_CXX=no
13105 ;;
13106
13107 sunos4*)
13108 case $cc_basename in
13109 CC*)
13110 # Sun C++ 4.x
13111 # FIXME: insert proper C++ library support
13112 ld_shlibs_CXX=no
13113 ;;
13114 lcc*)
13115 # Lucid
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13118 ;;
13119 *)
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13122 ;;
13123 esac
13124 ;;
13125
13126 solaris*)
13127 case $cc_basename in
13128 CC*)
13129 # Sun C++ 4.2, 5.x and Centerline C++
13130 archive_cmds_need_lc_CXX=yes
13131 no_undefined_flag_CXX=' -zdefs'
13132 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $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'
13135
13136 hardcode_libdir_flag_spec_CXX='-R$libdir'
13137 hardcode_shlibpath_var_CXX=no
13138 case $host_os in
13139 solaris2.[0-5] | solaris2.[0-5].*) ;;
13140 *)
13141 # The compiler driver will combine and reorder linker options,
13142 # but understands `-z linker_flag'.
13143 # Supported since Solaris 2.6 (maybe 2.5.1?)
13144 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13145 ;;
13146 esac
13147 link_all_deplibs_CXX=yes
13148
13149 output_verbose_link_cmd='func_echo_all'
13150
13151 # Archives containing C++ object files must be created using
13152 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13153 # necessary to make sure instantiated templates are included
13154 # in the archive.
13155 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13156 ;;
13157 gcx*)
13158 # Green Hills C++ Compiler
13159 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13160
13161 # The C++ compiler must be used to create the archive.
13162 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13163 ;;
13164 *)
13165 # GNU C++ compiler with Solaris linker
13166 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13167 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13168 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13169 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13171 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13172
13173 # Commands to make compiler produce verbose output that lists
13174 # what "hidden" libraries, object files and flags are used when
13175 # linking a shared library.
13176 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13177 else
13178 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13179 # platform.
13180 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13183
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13188 fi
13189
13190 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13191 case $host_os in
13192 solaris2.[0-5] | solaris2.[0-5].*) ;;
13193 *)
13194 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13195 ;;
13196 esac
13197 fi
13198 ;;
13199 esac
13200 ;;
13201
13202 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13203 no_undefined_flag_CXX='${wl}-z,text'
13204 archive_cmds_need_lc_CXX=no
13205 hardcode_shlibpath_var_CXX=no
13206 runpath_var='LD_RUN_PATH'
13207
13208 case $cc_basename in
13209 CC*)
13210 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13212 ;;
13213 *)
13214 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 ;;
13217 esac
13218 ;;
13219
13220 sysv5* | sco3.2v5* | sco5v6*)
13221 # Note: We can NOT use -z defs as we might desire, because we do not
13222 # link with -lc, and that would cause any symbols used from libc to
13223 # always be unresolved, which means just about no library would
13224 # ever link correctly. If we're not using GNU ld we use -z text
13225 # though, which does catch some bad symbols but isn't as heavy-handed
13226 # as -z defs.
13227 no_undefined_flag_CXX='${wl}-z,text'
13228 allow_undefined_flag_CXX='${wl}-z,nodefs'
13229 archive_cmds_need_lc_CXX=no
13230 hardcode_shlibpath_var_CXX=no
13231 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13232 hardcode_libdir_separator_CXX=':'
13233 link_all_deplibs_CXX=yes
13234 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13235 runpath_var='LD_RUN_PATH'
13236
13237 case $cc_basename in
13238 CC*)
13239 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13242 '"$old_archive_cmds_CXX"
13243 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13244 '"$reload_cmds_CXX"
13245 ;;
13246 *)
13247 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249 ;;
13250 esac
13251 ;;
13252
13253 tandem*)
13254 case $cc_basename in
13255 NCC*)
13256 # NonStop-UX NCC 3.20
13257 # FIXME: insert proper C++ library support
13258 ld_shlibs_CXX=no
13259 ;;
13260 *)
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13263 ;;
13264 esac
13265 ;;
13266
13267 vxworks*)
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13270 ;;
13271
13272 *)
13273 # FIXME: insert proper C++ library support
13274 ld_shlibs_CXX=no
13275 ;;
13276 esac
13277
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13279 $as_echo "$ld_shlibs_CXX" >&6; }
13280 test "$ld_shlibs_CXX" = no && can_build_shared=no
13281
13282 GCC_CXX="$GXX"
13283 LD_CXX="$LD"
13284
13285 ## CAVEAT EMPTOR:
13286 ## There is no encapsulation within the following macros, do not change
13287 ## the running order or otherwise move them around unless you know exactly
13288 ## what you are doing...
13289 # Dependencies to place before and after the object being linked:
13290 predep_objects_CXX=
13291 postdep_objects_CXX=
13292 predeps_CXX=
13293 postdeps_CXX=
13294 compiler_lib_search_path_CXX=
13295
13296 cat > conftest.$ac_ext <<_LT_EOF
13297 class Foo
13298 {
13299 public:
13300 Foo (void) { a = 0; }
13301 private:
13302 int a;
13303 };
13304 _LT_EOF
13305
13306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13307 (eval $ac_compile) 2>&5
13308 ac_status=$?
13309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13310 test $ac_status = 0; }; then
13311 # Parse the compiler output and extract the necessary
13312 # objects, libraries and library flags.
13313
13314 # Sentinel used to keep track of whether or not we are before
13315 # the conftest object file.
13316 pre_test_object_deps_done=no
13317
13318 for p in `eval "$output_verbose_link_cmd"`; do
13319 case $p in
13320
13321 -L* | -R* | -l*)
13322 # Some compilers place space between "-{L,R}" and the path.
13323 # Remove the space.
13324 if test $p = "-L" ||
13325 test $p = "-R"; then
13326 prev=$p
13327 continue
13328 else
13329 prev=
13330 fi
13331
13332 if test "$pre_test_object_deps_done" = no; then
13333 case $p in
13334 -L* | -R*)
13335 # Internal compiler library paths should come after those
13336 # provided the user. The postdeps already come after the
13337 # user supplied libs so there is no need to process them.
13338 if test -z "$compiler_lib_search_path_CXX"; then
13339 compiler_lib_search_path_CXX="${prev}${p}"
13340 else
13341 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13342 fi
13343 ;;
13344 # The "-l" case would never come before the object being
13345 # linked, so don't bother handling this case.
13346 esac
13347 else
13348 if test -z "$postdeps_CXX"; then
13349 postdeps_CXX="${prev}${p}"
13350 else
13351 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13352 fi
13353 fi
13354 ;;
13355
13356 *.$objext)
13357 # This assumes that the test object file only shows up
13358 # once in the compiler output.
13359 if test "$p" = "conftest.$objext"; then
13360 pre_test_object_deps_done=yes
13361 continue
13362 fi
13363
13364 if test "$pre_test_object_deps_done" = no; then
13365 if test -z "$predep_objects_CXX"; then
13366 predep_objects_CXX="$p"
13367 else
13368 predep_objects_CXX="$predep_objects_CXX $p"
13369 fi
13370 else
13371 if test -z "$postdep_objects_CXX"; then
13372 postdep_objects_CXX="$p"
13373 else
13374 postdep_objects_CXX="$postdep_objects_CXX $p"
13375 fi
13376 fi
13377 ;;
13378
13379 *) ;; # Ignore the rest.
13380
13381 esac
13382 done
13383
13384 # Clean up.
13385 rm -f a.out a.exe
13386 else
13387 echo "libtool.m4: error: problem compiling CXX test program"
13388 fi
13389
13390 $RM -f confest.$objext
13391
13392 # PORTME: override above test on systems where it is broken
13393 case $host_os in
13394 interix[3-9]*)
13395 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13396 # hack all around it, let's just trust "g++" to DTRT.
13397 predep_objects_CXX=
13398 postdep_objects_CXX=
13399 postdeps_CXX=
13400 ;;
13401
13402 linux*)
13403 case `$CC -V 2>&1 | sed 5q` in
13404 *Sun\ C*)
13405 # Sun C++ 5.9
13406
13407 # The more standards-conforming stlport4 library is
13408 # incompatible with the Cstd library. Avoid specifying
13409 # it if it's in CXXFLAGS. Ignore libCrun as
13410 # -library=stlport4 depends on it.
13411 case " $CXX $CXXFLAGS " in
13412 *" -library=stlport4 "*)
13413 solaris_use_stlport4=yes
13414 ;;
13415 esac
13416
13417 if test "$solaris_use_stlport4" != yes; then
13418 postdeps_CXX='-library=Cstd -library=Crun'
13419 fi
13420 ;;
13421 esac
13422 ;;
13423
13424 solaris*)
13425 case $cc_basename in
13426 CC*)
13427 # The more standards-conforming stlport4 library is
13428 # incompatible with the Cstd library. Avoid specifying
13429 # it if it's in CXXFLAGS. Ignore libCrun as
13430 # -library=stlport4 depends on it.
13431 case " $CXX $CXXFLAGS " in
13432 *" -library=stlport4 "*)
13433 solaris_use_stlport4=yes
13434 ;;
13435 esac
13436
13437 # Adding this requires a known-good setup of shared libraries for
13438 # Sun compiler versions before 5.6, else PIC objects from an old
13439 # archive will be linked into the output, leading to subtle bugs.
13440 if test "$solaris_use_stlport4" != yes; then
13441 postdeps_CXX='-library=Cstd -library=Crun'
13442 fi
13443 ;;
13444 esac
13445 ;;
13446 esac
13447
13448
13449 case " $postdeps_CXX " in
13450 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13451 esac
13452 compiler_lib_search_dirs_CXX=
13453 if test -n "${compiler_lib_search_path_CXX}"; then
13454 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13455 fi
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487 lt_prog_compiler_wl_CXX=
13488 lt_prog_compiler_pic_CXX=
13489 lt_prog_compiler_static_CXX=
13490
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13493
13494 # C++ specific cases for pic, static, wl, etc.
13495 if test "$GXX" = yes; then
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_static_CXX='-static'
13498
13499 case $host_os in
13500 aix*)
13501 # All AIX code is PIC.
13502 if test "$host_cpu" = ia64; then
13503 # AIX 5 now supports IA64 processor
13504 lt_prog_compiler_static_CXX='-Bstatic'
13505 fi
13506 lt_prog_compiler_pic_CXX='-fPIC'
13507 ;;
13508
13509 amigaos*)
13510 case $host_cpu in
13511 powerpc)
13512 # see comment about AmigaOS4 .so support
13513 lt_prog_compiler_pic_CXX='-fPIC'
13514 ;;
13515 m68k)
13516 # FIXME: we need at least 68020 code to build shared libraries, but
13517 # adding the `-m68020' flag to GCC prevents building anything better,
13518 # like `-m68040'.
13519 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13520 ;;
13521 esac
13522 ;;
13523
13524 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13525 # PIC is the default for these OSes.
13526 ;;
13527 mingw* | cygwin* | os2* | pw32* | cegcc*)
13528 # This hack is so that the source file can tell whether it is being
13529 # built for inclusion in a dll (and should export symbols for example).
13530 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13531 # (--disable-auto-import) libraries
13532 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13533 ;;
13534 darwin* | rhapsody*)
13535 # PIC is the default on this platform
13536 # Common symbols not allowed in MH_DYLIB files
13537 lt_prog_compiler_pic_CXX='-fno-common'
13538 ;;
13539 *djgpp*)
13540 # DJGPP does not support shared libraries at all
13541 lt_prog_compiler_pic_CXX=
13542 ;;
13543 haiku*)
13544 # PIC is the default for Haiku.
13545 # The "-static" flag exists, but is broken.
13546 lt_prog_compiler_static_CXX=
13547 ;;
13548 interix[3-9]*)
13549 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13550 # Instead, we relocate shared libraries at runtime.
13551 ;;
13552 sysv4*MP*)
13553 if test -d /usr/nec; then
13554 lt_prog_compiler_pic_CXX=-Kconform_pic
13555 fi
13556 ;;
13557 hpux*)
13558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13560 # sets the default TLS model and affects inlining.
13561 case $host_cpu in
13562 hppa*64*)
13563 ;;
13564 *)
13565 lt_prog_compiler_pic_CXX='-fPIC'
13566 ;;
13567 esac
13568 ;;
13569 *qnx* | *nto*)
13570 # QNX uses GNU C++, but need to define -shared option too, otherwise
13571 # it will coredump.
13572 lt_prog_compiler_pic_CXX='-fPIC -shared'
13573 ;;
13574 *)
13575 lt_prog_compiler_pic_CXX='-fPIC'
13576 ;;
13577 esac
13578 else
13579 case $host_os in
13580 aix[4-9]*)
13581 # All AIX code is PIC.
13582 if test "$host_cpu" = ia64; then
13583 # AIX 5 now supports IA64 processor
13584 lt_prog_compiler_static_CXX='-Bstatic'
13585 else
13586 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13587 fi
13588 ;;
13589 chorus*)
13590 case $cc_basename in
13591 cxch68*)
13592 # Green Hills C++ Compiler
13593 # _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"
13594 ;;
13595 esac
13596 ;;
13597 dgux*)
13598 case $cc_basename in
13599 ec++*)
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 ;;
13602 ghcx*)
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-pic'
13605 ;;
13606 *)
13607 ;;
13608 esac
13609 ;;
13610 freebsd* | dragonfly*)
13611 # FreeBSD uses GNU C++
13612 ;;
13613 hpux9* | hpux10* | hpux11*)
13614 case $cc_basename in
13615 CC*)
13616 lt_prog_compiler_wl_CXX='-Wl,'
13617 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13618 if test "$host_cpu" != ia64; then
13619 lt_prog_compiler_pic_CXX='+Z'
13620 fi
13621 ;;
13622 aCC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 case $host_cpu in
13626 hppa*64*|ia64*)
13627 # +Z the default
13628 ;;
13629 *)
13630 lt_prog_compiler_pic_CXX='+Z'
13631 ;;
13632 esac
13633 ;;
13634 *)
13635 ;;
13636 esac
13637 ;;
13638 interix*)
13639 # This is c89, which is MS Visual C++ (no shared libs)
13640 # Anyone wants to do a port?
13641 ;;
13642 irix5* | irix6* | nonstopux*)
13643 case $cc_basename in
13644 CC*)
13645 lt_prog_compiler_wl_CXX='-Wl,'
13646 lt_prog_compiler_static_CXX='-non_shared'
13647 # CC pic flag -KPIC is the default.
13648 ;;
13649 *)
13650 ;;
13651 esac
13652 ;;
13653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13654 case $cc_basename in
13655 KCC*)
13656 # KAI C++ Compiler
13657 lt_prog_compiler_wl_CXX='--backend -Wl,'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13659 ;;
13660 ecpc* )
13661 # old Intel C++ for x86_64 which still supported -KPIC.
13662 lt_prog_compiler_wl_CXX='-Wl,'
13663 lt_prog_compiler_pic_CXX='-KPIC'
13664 lt_prog_compiler_static_CXX='-static'
13665 ;;
13666 icpc* )
13667 # Intel C++, used to be incompatible with GCC.
13668 # ICC 10 doesn't accept -KPIC any more.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-fPIC'
13671 lt_prog_compiler_static_CXX='-static'
13672 ;;
13673 pgCC* | pgcpp*)
13674 # Portland Group C++ compiler
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-fpic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13678 ;;
13679 cxx*)
13680 # Compaq C++
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13685 ;;
13686 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13687 # IBM XL 8.0, 9.0 on PPC and BlueGene
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-qpic'
13690 lt_prog_compiler_static_CXX='-qstaticlink'
13691 ;;
13692 *)
13693 case `$CC -V 2>&1 | sed 5q` in
13694 *Sun\ C*)
13695 # Sun C++ 5.9
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13699 ;;
13700 esac
13701 ;;
13702 esac
13703 ;;
13704 lynxos*)
13705 ;;
13706 m88k*)
13707 ;;
13708 mvs*)
13709 case $cc_basename in
13710 cxx*)
13711 lt_prog_compiler_pic_CXX='-W c,exportall'
13712 ;;
13713 *)
13714 ;;
13715 esac
13716 ;;
13717 netbsd*)
13718 ;;
13719 *qnx* | *nto*)
13720 # QNX uses GNU C++, but need to define -shared option too, otherwise
13721 # it will coredump.
13722 lt_prog_compiler_pic_CXX='-fPIC -shared'
13723 ;;
13724 osf3* | osf4* | osf5*)
13725 case $cc_basename in
13726 KCC*)
13727 lt_prog_compiler_wl_CXX='--backend -Wl,'
13728 ;;
13729 RCC*)
13730 # Rational C++ 2.4.1
13731 lt_prog_compiler_pic_CXX='-pic'
13732 ;;
13733 cxx*)
13734 # Digital/Compaq C++
13735 lt_prog_compiler_wl_CXX='-Wl,'
13736 # Make sure the PIC flag is empty. It appears that all Alpha
13737 # Linux and Compaq Tru64 Unix objects are PIC.
13738 lt_prog_compiler_pic_CXX=
13739 lt_prog_compiler_static_CXX='-non_shared'
13740 ;;
13741 *)
13742 ;;
13743 esac
13744 ;;
13745 psos*)
13746 ;;
13747 solaris*)
13748 case $cc_basename in
13749 CC*)
13750 # Sun C++ 4.2, 5.x and Centerline C++
13751 lt_prog_compiler_pic_CXX='-KPIC'
13752 lt_prog_compiler_static_CXX='-Bstatic'
13753 lt_prog_compiler_wl_CXX='-Qoption ld '
13754 ;;
13755 gcx*)
13756 # Green Hills C++ Compiler
13757 lt_prog_compiler_pic_CXX='-PIC'
13758 ;;
13759 *)
13760 ;;
13761 esac
13762 ;;
13763 sunos4*)
13764 case $cc_basename in
13765 CC*)
13766 # Sun C++ 4.x
13767 lt_prog_compiler_pic_CXX='-pic'
13768 lt_prog_compiler_static_CXX='-Bstatic'
13769 ;;
13770 lcc*)
13771 # Lucid
13772 lt_prog_compiler_pic_CXX='-pic'
13773 ;;
13774 *)
13775 ;;
13776 esac
13777 ;;
13778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13779 case $cc_basename in
13780 CC*)
13781 lt_prog_compiler_wl_CXX='-Wl,'
13782 lt_prog_compiler_pic_CXX='-KPIC'
13783 lt_prog_compiler_static_CXX='-Bstatic'
13784 ;;
13785 esac
13786 ;;
13787 tandem*)
13788 case $cc_basename in
13789 NCC*)
13790 # NonStop-UX NCC 3.20
13791 lt_prog_compiler_pic_CXX='-KPIC'
13792 ;;
13793 *)
13794 ;;
13795 esac
13796 ;;
13797 vxworks*)
13798 ;;
13799 *)
13800 lt_prog_compiler_can_build_shared_CXX=no
13801 ;;
13802 esac
13803 fi
13804
13805 case $host_os in
13806 # For platforms which do not support PIC, -DPIC is meaningless:
13807 *djgpp*)
13808 lt_prog_compiler_pic_CXX=
13809 ;;
13810 *)
13811 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13812 ;;
13813 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13815 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13816
13817
13818
13819 #
13820 # Check to make sure the PIC flag actually works.
13821 #
13822 if test -n "$lt_prog_compiler_pic_CXX"; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13824 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13825 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 lt_cv_prog_compiler_pic_works_CXX=no
13829 ac_outfile=conftest.$ac_objext
13830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13831 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13832 # Insert the option either (1) after the last *FLAGS variable, or
13833 # (2) before a word containing "conftest.", or (3) at the end.
13834 # Note that $ac_compile itself does not contain backslashes and begins
13835 # with a dollar sign (not a hyphen), so the echo should work correctly.
13836 # The option is referenced via a variable to avoid confusing sed.
13837 lt_compile=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>conftest.err)
13843 ac_status=$?
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s "$ac_outfile"; then
13847 # The compiler can only warn and ignore the option if not recognized
13848 # So say no if there are warnings other than the usual output.
13849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13851 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13852 lt_cv_prog_compiler_pic_works_CXX=yes
13853 fi
13854 fi
13855 $RM conftest*
13856
13857 fi
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13860
13861 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13862 case $lt_prog_compiler_pic_CXX in
13863 "" | " "*) ;;
13864 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13865 esac
13866 else
13867 lt_prog_compiler_pic_CXX=
13868 lt_prog_compiler_can_build_shared_CXX=no
13869 fi
13870
13871 fi
13872
13873
13874
13875 #
13876 # Check to make sure the static flag actually works.
13877 #
13878 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13881 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 lt_cv_prog_compiler_static_works_CXX=no
13885 save_LDFLAGS="$LDFLAGS"
13886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13889 # The linker can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 if test -s conftest.err; then
13892 # Append any errors to the config.log.
13893 cat conftest.err 1>&5
13894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13896 if diff conftest.exp conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_static_works_CXX=yes
13898 fi
13899 else
13900 lt_cv_prog_compiler_static_works_CXX=yes
13901 fi
13902 fi
13903 $RM -r conftest*
13904 LDFLAGS="$save_LDFLAGS"
13905
13906 fi
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13908 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13909
13910 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13911 :
13912 else
13913 lt_prog_compiler_static_CXX=
13914 fi
13915
13916
13917
13918
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13921 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_c_o_CXX=no
13925 $RM -r conftest 2>/dev/null
13926 mkdir conftest
13927 cd conftest
13928 mkdir out
13929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13930
13931 lt_compiler_flag="-o out/conftest2.$ac_objext"
13932 # Insert the option either (1) after the last *FLAGS variable, or
13933 # (2) before a word containing "conftest.", or (3) at the end.
13934 # Note that $ac_compile itself does not contain backslashes and begins
13935 # with a dollar sign (not a hyphen), so the echo should work correctly.
13936 lt_compile=`echo "$ac_compile" | $SED \
13937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939 -e 's:$: $lt_compiler_flag:'`
13940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941 (eval "$lt_compile" 2>out/conftest.err)
13942 ac_status=$?
13943 cat out/conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946 then
13947 # The compiler can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952 lt_cv_prog_compiler_c_o_CXX=yes
13953 fi
13954 fi
13955 chmod u+w . 2>&5
13956 $RM conftest*
13957 # SGI C++ compiler will create directory out/ii_files/ for
13958 # template instantiation
13959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960 $RM out/* && rmdir out
13961 cd ..
13962 $RM -r conftest
13963 $RM conftest*
13964
13965 fi
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13967 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13968
13969
13970
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13973 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 lt_cv_prog_compiler_c_o_CXX=no
13977 $RM -r conftest 2>/dev/null
13978 mkdir conftest
13979 cd conftest
13980 mkdir out
13981 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13982
13983 lt_compiler_flag="-o out/conftest2.$ac_objext"
13984 # Insert the option either (1) after the last *FLAGS variable, or
13985 # (2) before a word containing "conftest.", or (3) at the end.
13986 # Note that $ac_compile itself does not contain backslashes and begins
13987 # with a dollar sign (not a hyphen), so the echo should work correctly.
13988 lt_compile=`echo "$ac_compile" | $SED \
13989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13991 -e 's:$: $lt_compiler_flag:'`
13992 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13993 (eval "$lt_compile" 2>out/conftest.err)
13994 ac_status=$?
13995 cat out/conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13998 then
13999 # The compiler can only warn and ignore the option if not recognized
14000 # So say no if there are warnings
14001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14002 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14003 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14004 lt_cv_prog_compiler_c_o_CXX=yes
14005 fi
14006 fi
14007 chmod u+w . 2>&5
14008 $RM conftest*
14009 # SGI C++ compiler will create directory out/ii_files/ for
14010 # template instantiation
14011 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14012 $RM out/* && rmdir out
14013 cd ..
14014 $RM -r conftest
14015 $RM conftest*
14016
14017 fi
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14019 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14020
14021
14022
14023
14024 hard_links="nottested"
14025 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14026 # do not overwrite the value of need_locks provided by the user
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14028 $as_echo_n "checking if we can lock with hard links... " >&6; }
14029 hard_links=yes
14030 $RM conftest*
14031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14032 touch conftest.a
14033 ln conftest.a conftest.b 2>&5 || hard_links=no
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14036 $as_echo "$hard_links" >&6; }
14037 if test "$hard_links" = no; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14039 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14040 need_locks=warn
14041 fi
14042 else
14043 need_locks=no
14044 fi
14045
14046
14047
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14050
14051 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14052 case $host_os in
14053 aix[4-9]*)
14054 # If we're using GNU nm, then we don't want the "-C" option.
14055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14056 # Also, AIX nm treats weak defined symbols like other global defined
14057 # symbols, whereas GNU nm marks them as "W".
14058 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14059 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'
14060 else
14061 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14062 fi
14063 ;;
14064 pw32*)
14065 export_symbols_cmds_CXX="$ltdll_cmds"
14066 ;;
14067 cygwin* | mingw* | cegcc*)
14068 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'
14069 ;;
14070 *)
14071 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14072 ;;
14073 esac
14074 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14075
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14077 $as_echo "$ld_shlibs_CXX" >&6; }
14078 test "$ld_shlibs_CXX" = no && can_build_shared=no
14079
14080 with_gnu_ld_CXX=$with_gnu_ld
14081
14082
14083
14084
14085
14086
14087 #
14088 # Do we need to explicitly link libc?
14089 #
14090 case "x$archive_cmds_need_lc_CXX" in
14091 x|xyes)
14092 # Assume -lc should be added
14093 archive_cmds_need_lc_CXX=yes
14094
14095 if test "$enable_shared" = yes && test "$GCC" = yes; then
14096 case $archive_cmds_CXX in
14097 *'~'*)
14098 # FIXME: we may have to deal with multi-command sequences.
14099 ;;
14100 '$CC '*)
14101 # Test whether the compiler implicitly links with -lc since on some
14102 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14103 # to ld, don't add -lc before -lgcc.
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14106 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 $RM conftest*
14110 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14111
14112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14113 (eval $ac_compile) 2>&5
14114 ac_status=$?
14115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14116 test $ac_status = 0; } 2>conftest.err; then
14117 soname=conftest
14118 lib=conftest
14119 libobjs=conftest.$ac_objext
14120 deplibs=
14121 wl=$lt_prog_compiler_wl_CXX
14122 pic_flag=$lt_prog_compiler_pic_CXX
14123 compiler_flags=-v
14124 linker_flags=-v
14125 verstring=
14126 output_objdir=.
14127 libname=conftest
14128 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14129 allow_undefined_flag_CXX=
14130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14131 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14132 ac_status=$?
14133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14134 test $ac_status = 0; }
14135 then
14136 lt_cv_archive_cmds_need_lc_CXX=no
14137 else
14138 lt_cv_archive_cmds_need_lc_CXX=yes
14139 fi
14140 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14141 else
14142 cat conftest.err 1>&5
14143 fi
14144 $RM conftest*
14145
14146 fi
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14148 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14149 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14150 ;;
14151 esac
14152 fi
14153 ;;
14154 esac
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14221
14222 library_names_spec=
14223 libname_spec='lib$name'
14224 soname_spec=
14225 shrext_cmds=".so"
14226 postinstall_cmds=
14227 postuninstall_cmds=
14228 finish_cmds=
14229 finish_eval=
14230 shlibpath_var=
14231 shlibpath_overrides_runpath=unknown
14232 version_type=none
14233 dynamic_linker="$host_os ld.so"
14234 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14235 need_lib_prefix=unknown
14236 hardcode_into_libs=no
14237
14238 # when you set need_version to no, make sure it does not cause -set_version
14239 # flags to be left without arguments
14240 need_version=unknown
14241
14242 case $host_os in
14243 aix3*)
14244 version_type=linux
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14246 shlibpath_var=LIBPATH
14247
14248 # AIX 3 has no versioning support, so we append a major version to the name.
14249 soname_spec='${libname}${release}${shared_ext}$major'
14250 ;;
14251
14252 aix[4-9]*)
14253 version_type=linux
14254 need_lib_prefix=no
14255 need_version=no
14256 hardcode_into_libs=yes
14257 if test "$host_cpu" = ia64; then
14258 # AIX 5 supports IA64
14259 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 else
14262 # With GCC up to 2.95.x, collect2 would create an import file
14263 # for dependence libraries. The import file would start with
14264 # the line `#! .'. This would cause the generated library to
14265 # depend on `.', always an invalid library. This was fixed in
14266 # development snapshots of GCC prior to 3.0.
14267 case $host_os in
14268 aix4 | aix4.[01] | aix4.[01].*)
14269 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14270 echo ' yes '
14271 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14272 :
14273 else
14274 can_build_shared=no
14275 fi
14276 ;;
14277 esac
14278 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14279 # soname into executable. Probably we can add versioning support to
14280 # collect2, so additional links can be useful in future.
14281 if test "$aix_use_runtimelinking" = yes; then
14282 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14283 # instead of lib<name>.a to let people know that these are not
14284 # typical AIX shared libraries.
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 else
14287 # We preserve .a as extension for shared libraries through AIX4.2
14288 # and later when we are not doing run time linking.
14289 library_names_spec='${libname}${release}.a $libname.a'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 fi
14292 shlibpath_var=LIBPATH
14293 fi
14294 ;;
14295
14296 amigaos*)
14297 case $host_cpu in
14298 powerpc)
14299 # Since July 2007 AmigaOS4 officially supports .so libraries.
14300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302 ;;
14303 m68k)
14304 library_names_spec='$libname.ixlibrary $libname.a'
14305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14306 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'
14307 ;;
14308 esac
14309 ;;
14310
14311 beos*)
14312 library_names_spec='${libname}${shared_ext}'
14313 dynamic_linker="$host_os ld.so"
14314 shlibpath_var=LIBRARY_PATH
14315 ;;
14316
14317 bsdi[45]*)
14318 version_type=linux
14319 need_version=no
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14325 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14326 # the default ld.so.conf also contains /usr/contrib/lib and
14327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14328 # libtool to hard-code these into programs
14329 ;;
14330
14331 cygwin* | mingw* | pw32* | cegcc*)
14332 version_type=windows
14333 shrext_cmds=".dll"
14334 need_version=no
14335 need_lib_prefix=no
14336
14337 case $GCC,$host_os in
14338 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14339 library_names_spec='$libname.dll.a'
14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14341 postinstall_cmds='base_file=`basename \${file}`~
14342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14343 dldir=$destdir/`dirname \$dlpath`~
14344 test -d \$dldir || mkdir -p \$dldir~
14345 $install_prog $dir/$dlname \$dldir/$dlname~
14346 chmod a+x \$dldir/$dlname~
14347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14349 fi'
14350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14351 dlpath=$dir/\$dldll~
14352 $RM \$dlpath'
14353 shlibpath_overrides_runpath=yes
14354
14355 case $host_os in
14356 cygwin*)
14357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14359
14360 ;;
14361 mingw* | cegcc*)
14362 # MinGW DLLs use traditional 'lib' prefix
14363 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14364 ;;
14365 pw32*)
14366 # pw32 DLLs use 'pw' prefix rather than 'lib'
14367 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 ;;
14369 esac
14370 ;;
14371
14372 *)
14373 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14374 ;;
14375 esac
14376 dynamic_linker='Win32 ld.exe'
14377 # FIXME: first we should search . and the directory the executable is in
14378 shlibpath_var=PATH
14379 ;;
14380
14381 darwin* | rhapsody*)
14382 dynamic_linker="$host_os dyld"
14383 version_type=darwin
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14387 soname_spec='${libname}${release}${major}$shared_ext'
14388 shlibpath_overrides_runpath=yes
14389 shlibpath_var=DYLD_LIBRARY_PATH
14390 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14391
14392 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14393 ;;
14394
14395 dgux*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 shlibpath_var=LD_LIBRARY_PATH
14402 ;;
14403
14404 freebsd* | dragonfly*)
14405 # DragonFly does not have aout. When/if they implement a new
14406 # versioning mechanism, adjust this.
14407 if test -x /usr/bin/objformat; then
14408 objformat=`/usr/bin/objformat`
14409 else
14410 case $host_os in
14411 freebsd[23].*) objformat=aout ;;
14412 *) objformat=elf ;;
14413 esac
14414 fi
14415 version_type=freebsd-$objformat
14416 case $version_type in
14417 freebsd-elf*)
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14419 need_version=no
14420 need_lib_prefix=no
14421 ;;
14422 freebsd-*)
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14424 need_version=yes
14425 ;;
14426 esac
14427 shlibpath_var=LD_LIBRARY_PATH
14428 case $host_os in
14429 freebsd2.*)
14430 shlibpath_overrides_runpath=yes
14431 ;;
14432 freebsd3.[01]* | freebsdelf3.[01]*)
14433 shlibpath_overrides_runpath=yes
14434 hardcode_into_libs=yes
14435 ;;
14436 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14437 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14438 shlibpath_overrides_runpath=no
14439 hardcode_into_libs=yes
14440 ;;
14441 *) # from 4.6 on, and DragonFly
14442 shlibpath_overrides_runpath=yes
14443 hardcode_into_libs=yes
14444 ;;
14445 esac
14446 ;;
14447
14448 gnu*)
14449 version_type=linux
14450 need_lib_prefix=no
14451 need_version=no
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 hardcode_into_libs=yes
14456 ;;
14457
14458 haiku*)
14459 version_type=linux
14460 need_lib_prefix=no
14461 need_version=no
14462 dynamic_linker="$host_os runtime_loader"
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LIBRARY_PATH
14466 shlibpath_overrides_runpath=yes
14467 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14468 hardcode_into_libs=yes
14469 ;;
14470
14471 hpux9* | hpux10* | hpux11*)
14472 # Give a soname corresponding to the major version so that dld.sl refuses to
14473 # link against other versions.
14474 version_type=sunos
14475 need_lib_prefix=no
14476 need_version=no
14477 case $host_cpu in
14478 ia64*)
14479 shrext_cmds='.so'
14480 hardcode_into_libs=yes
14481 dynamic_linker="$host_os dld.so"
14482 shlibpath_var=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 soname_spec='${libname}${release}${shared_ext}$major'
14486 if test "X$HPUX_IA64_MODE" = X32; then
14487 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14488 else
14489 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14490 fi
14491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14492 ;;
14493 hppa*64*)
14494 shrext_cmds='.sl'
14495 hardcode_into_libs=yes
14496 dynamic_linker="$host_os dld.sl"
14497 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14503 ;;
14504 *)
14505 shrext_cmds='.sl'
14506 dynamic_linker="$host_os dld.sl"
14507 shlibpath_var=SHLIB_PATH
14508 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14511 ;;
14512 esac
14513 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14514 postinstall_cmds='chmod 555 $lib'
14515 # or fails outright, so override atomically:
14516 install_override_mode=555
14517 ;;
14518
14519 interix[3-9]*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528 hardcode_into_libs=yes
14529 ;;
14530
14531 irix5* | irix6* | nonstopux*)
14532 case $host_os in
14533 nonstopux*) version_type=nonstopux ;;
14534 *)
14535 if test "$lt_cv_prog_gnu_ld" = yes; then
14536 version_type=linux
14537 else
14538 version_type=irix
14539 fi ;;
14540 esac
14541 need_lib_prefix=no
14542 need_version=no
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14545 case $host_os in
14546 irix5* | nonstopux*)
14547 libsuff= shlibsuff=
14548 ;;
14549 *)
14550 case $LD in # libtool.m4 will add one of these switches to LD
14551 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14552 libsuff= shlibsuff= libmagic=32-bit;;
14553 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14554 libsuff=32 shlibsuff=N32 libmagic=N32;;
14555 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14556 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14557 *) libsuff= shlibsuff= libmagic=never-match;;
14558 esac
14559 ;;
14560 esac
14561 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14564 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14565 hardcode_into_libs=yes
14566 ;;
14567
14568 # No shared lib support for Linux oldld, aout, or coff.
14569 linux*oldld* | linux*aout* | linux*coff*)
14570 dynamic_linker=no
14571 ;;
14572
14573 # This must be Linux ELF.
14574 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14575 version_type=linux
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14583
14584 # Some binutils ld are patched to set DT_RUNPATH
14585 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 lt_cv_shlibpath_overrides_runpath=no
14589 save_LDFLAGS=$LDFLAGS
14590 save_libdir=$libdir
14591 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14592 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14593 if test x$gcc_no_link = xyes; then
14594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14595 fi
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598
14599 int
14600 main ()
14601 {
14602
14603 ;
14604 return 0;
14605 }
14606 _ACEOF
14607 if ac_fn_cxx_try_link "$LINENO"; then :
14608 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14609 lt_cv_shlibpath_overrides_runpath=yes
14610 fi
14611 fi
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LDFLAGS=$save_LDFLAGS
14615 libdir=$save_libdir
14616
14617 fi
14618
14619 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14620
14621 # This implies no fast_install, which is unacceptable.
14622 # Some rework will be needed to allow for fast_install
14623 # before this can be enabled.
14624 hardcode_into_libs=yes
14625
14626 # Append ld.so.conf contents to the search path
14627 if test -f /etc/ld.so.conf; then
14628 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' ' '`
14629 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14630 fi
14631
14632 # We used to test for /lib/ld.so.1 and disable shared libraries on
14633 # powerpc, because MkLinux only supported shared libraries with the
14634 # GNU dynamic linker. Since this was broken with cross compilers,
14635 # most powerpc-linux boxes support dynamic linking these days and
14636 # people can always --disable-shared, the test was removed, and we
14637 # assume the GNU/Linux dynamic linker is in use.
14638 dynamic_linker='GNU/Linux ld.so'
14639 ;;
14640
14641 netbsd*)
14642 version_type=sunos
14643 need_lib_prefix=no
14644 need_version=no
14645 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14647 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14648 dynamic_linker='NetBSD (a.out) ld.so'
14649 else
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 dynamic_linker='NetBSD ld.elf_so'
14653 fi
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14657 ;;
14658
14659 newsos6)
14660 version_type=linux
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 shlibpath_overrides_runpath=yes
14664 ;;
14665
14666 *nto* | *qnx*)
14667 version_type=qnx
14668 need_lib_prefix=no
14669 need_version=no
14670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec='${libname}${release}${shared_ext}$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14673 shlibpath_overrides_runpath=no
14674 hardcode_into_libs=yes
14675 dynamic_linker='ldqnx.so'
14676 ;;
14677
14678 openbsd*)
14679 version_type=sunos
14680 sys_lib_dlsearch_path_spec="/usr/lib"
14681 need_lib_prefix=no
14682 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14683 case $host_os in
14684 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14685 *) need_version=no ;;
14686 esac
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14691 case $host_os in
14692 openbsd2.[89] | openbsd2.[89].*)
14693 shlibpath_overrides_runpath=no
14694 ;;
14695 *)
14696 shlibpath_overrides_runpath=yes
14697 ;;
14698 esac
14699 else
14700 shlibpath_overrides_runpath=yes
14701 fi
14702 ;;
14703
14704 os2*)
14705 libname_spec='$name'
14706 shrext_cmds=".dll"
14707 need_lib_prefix=no
14708 library_names_spec='$libname${shared_ext} $libname.a'
14709 dynamic_linker='OS/2 ld.exe'
14710 shlibpath_var=LIBPATH
14711 ;;
14712
14713 osf3* | osf4* | osf5*)
14714 version_type=osf
14715 need_lib_prefix=no
14716 need_version=no
14717 soname_spec='${libname}${release}${shared_ext}$major'
14718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 shlibpath_var=LD_LIBRARY_PATH
14720 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14721 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14722 ;;
14723
14724 rdos*)
14725 dynamic_linker=no
14726 ;;
14727
14728 solaris*)
14729 version_type=linux
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 # ldd complains unless libraries are executable
14738 postinstall_cmds='chmod +x $lib'
14739 ;;
14740
14741 sunos4*)
14742 version_type=sunos
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14744 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 if test "$with_gnu_ld" = yes; then
14748 need_lib_prefix=no
14749 fi
14750 need_version=yes
14751 ;;
14752
14753 sysv4 | sysv4.3*)
14754 version_type=linux
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14757 shlibpath_var=LD_LIBRARY_PATH
14758 case $host_vendor in
14759 sni)
14760 shlibpath_overrides_runpath=no
14761 need_lib_prefix=no
14762 runpath_var=LD_RUN_PATH
14763 ;;
14764 siemens)
14765 need_lib_prefix=no
14766 ;;
14767 motorola)
14768 need_lib_prefix=no
14769 need_version=no
14770 shlibpath_overrides_runpath=no
14771 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14772 ;;
14773 esac
14774 ;;
14775
14776 sysv4*MP*)
14777 if test -d /usr/nec ;then
14778 version_type=linux
14779 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14780 soname_spec='$libname${shared_ext}.$major'
14781 shlibpath_var=LD_LIBRARY_PATH
14782 fi
14783 ;;
14784
14785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14786 version_type=freebsd-elf
14787 need_lib_prefix=no
14788 need_version=no
14789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14790 soname_spec='${libname}${release}${shared_ext}$major'
14791 shlibpath_var=LD_LIBRARY_PATH
14792 shlibpath_overrides_runpath=yes
14793 hardcode_into_libs=yes
14794 if test "$with_gnu_ld" = yes; then
14795 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14796 else
14797 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14798 case $host_os in
14799 sco3.2v5*)
14800 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14801 ;;
14802 esac
14803 fi
14804 sys_lib_dlsearch_path_spec='/usr/lib'
14805 ;;
14806
14807 tpf*)
14808 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14809 version_type=linux
14810 need_lib_prefix=no
14811 need_version=no
14812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath=no
14815 hardcode_into_libs=yes
14816 ;;
14817
14818 uts4*)
14819 version_type=linux
14820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec='${libname}${release}${shared_ext}$major'
14822 shlibpath_var=LD_LIBRARY_PATH
14823 ;;
14824
14825 *)
14826 dynamic_linker=no
14827 ;;
14828 esac
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14830 $as_echo "$dynamic_linker" >&6; }
14831 test "$dynamic_linker" = no && can_build_shared=no
14832
14833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14834 if test "$GCC" = yes; then
14835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14836 fi
14837
14838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14839 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14840 fi
14841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14842 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14843 fi
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14883 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14884 hardcode_action_CXX=
14885 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14886 test -n "$runpath_var_CXX" ||
14887 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14888
14889 # We can hardcode non-existent directories.
14890 if test "$hardcode_direct_CXX" != no &&
14891 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14892 # have to relink, otherwise we might link with an installed library
14893 # when we should be linking with a yet-to-be-installed one
14894 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14895 test "$hardcode_minus_L_CXX" != no; then
14896 # Linking always hardcodes the temporary library directory.
14897 hardcode_action_CXX=relink
14898 else
14899 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14900 hardcode_action_CXX=immediate
14901 fi
14902 else
14903 # We cannot hardcode anything, or else we can only hardcode existing
14904 # directories.
14905 hardcode_action_CXX=unsupported
14906 fi
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14908 $as_echo "$hardcode_action_CXX" >&6; }
14909
14910 if test "$hardcode_action_CXX" = relink ||
14911 test "$inherit_rpath_CXX" = yes; then
14912 # Fast installation is not supported
14913 enable_fast_install=no
14914 elif test "$shlibpath_overrides_runpath" = yes ||
14915 test "$enable_shared" = no; then
14916 # Fast installation is not necessary
14917 enable_fast_install=needless
14918 fi
14919
14920
14921
14922
14923
14924
14925
14926 fi # test -n "$compiler"
14927
14928 CC=$lt_save_CC
14929 LDCXX=$LD
14930 LD=$lt_save_LD
14931 GCC=$lt_save_GCC
14932 with_gnu_ld=$lt_save_with_gnu_ld
14933 lt_cv_path_LDCXX=$lt_cv_path_LD
14934 lt_cv_path_LD=$lt_save_path_LD
14935 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14936 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14937 fi # test "$_lt_caught_CXX_error" != yes
14938
14939 ac_ext=c
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957 ac_config_commands="$ac_config_commands libtool"
14958
14959
14960
14961
14962 # Only expand once:
14963
14964
14965
14966
14967
14968 case $host in
14969 *-cygwin* | *-mingw*)
14970 # 'host' will be top-level target in the case of a target lib,
14971 # we must compare to with_cross_host to decide if this is a native
14972 # or cross-compiler and select where to install dlls appropriately.
14973 if test -n "$with_cross_host" &&
14974 test x"$with_cross_host" != x"no"; then
14975 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14976 else
14977 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14978 fi
14979 ;;
14980 *)
14981 lt_host_flags=
14982 ;;
14983 esac
14984
14985
14986
14987
14988
14989
14990 if test "$enable_vtable_verify" = yes; then
14991 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14992 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14993 fi
14994
14995
14996 # libtool variables for C++ shared and position-independent compiles.
14997 #
14998 # Use glibcxx_lt_pic_flag to designate the automake variable
14999 # used to encapsulate the default libtool approach to creating objects
15000 # with position-independent code. Default: -prefer-pic.
15001 #
15002 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15003 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15004 #
15005 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15006 # creating position-independent objects. This varies with the target
15007 # hardware and operating system, but is often: -DPIC -fPIC.
15008 if test "$enable_shared" = yes; then
15009 glibcxx_lt_pic_flag="-prefer-pic"
15010 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15011 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15012
15013 else
15014 glibcxx_lt_pic_flag=
15015 glibcxx_compiler_pic_flag=
15016 glibcxx_compiler_shared_flag=
15017 fi
15018
15019
15020
15021
15022 # Override the libtool's pic_flag and pic_mode.
15023 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15024 # NB: this impacts --with-pic and --without-pic.
15025 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15026 pic_mode='default'
15027
15028 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15029 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15030
15031 # Possibly disable most of the library.
15032 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15033 ## than just ignoring the results. Faster /and/ more correct, win win.
15034
15035 # Check whether --enable-hosted-libstdcxx was given.
15036 if test "${enable_hosted_libstdcxx+set}" = set; then :
15037 enableval=$enable_hosted_libstdcxx;
15038 else
15039 case "$host" in
15040 arm*-*-symbianelf*)
15041 enable_hosted_libstdcxx=no
15042 ;;
15043 *)
15044 enable_hosted_libstdcxx=yes
15045 ;;
15046 esac
15047 fi
15048
15049 if test "$enable_hosted_libstdcxx" = no; then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15051 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15052 is_hosted=no
15053 hosted_define=0
15054 enable_abi_check=no
15055 enable_libstdcxx_pch=no
15056 else
15057 is_hosted=yes
15058 hosted_define=1
15059 fi
15060
15061
15062 cat >>confdefs.h <<_ACEOF
15063 #define _GLIBCXX_HOSTED $hosted_define
15064 _ACEOF
15065
15066
15067
15068 # Enable descriptive messages to standard output on termination.
15069
15070 # Check whether --enable-libstdcxx-verbose was given.
15071 if test "${enable_libstdcxx_verbose+set}" = set; then :
15072 enableval=$enable_libstdcxx_verbose;
15073 else
15074 enable_libstdcxx_verbose=yes
15075 fi
15076
15077 if test x"$enable_libstdcxx_verbose" = xyes; then
15078 verbose_define=1
15079 else
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15081 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15082 verbose_define=0
15083 fi
15084
15085 cat >>confdefs.h <<_ACEOF
15086 #define _GLIBCXX_VERBOSE $verbose_define
15087 _ACEOF
15088
15089
15090
15091 # Enable compiler support that doesn't require linking.
15092
15093 # Check whether --enable-libstdcxx-pch was given.
15094 if test "${enable_libstdcxx_pch+set}" = set; then :
15095 enableval=$enable_libstdcxx_pch;
15096 case "$enableval" in
15097 yes|no) ;;
15098 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15099 esac
15100
15101 else
15102 enable_libstdcxx_pch=$is_hosted
15103 fi
15104
15105
15106 if test $enable_libstdcxx_pch = yes; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15108 $as_echo_n "checking for compiler with PCH support... " >&6; }
15109 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_save_CXXFLAGS="$CXXFLAGS"
15113 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15114
15115 ac_ext=cpp
15116 ac_cpp='$CXXCPP $CPPFLAGS'
15117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15120
15121 echo '#include <math.h>' > conftest.h
15122 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15123 -o conftest.h.gch 1>&5 2>&1 &&
15124 echo '#error "pch failed"' > conftest.h &&
15125 echo '#include "conftest.h"' > conftest.cc &&
15126 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15127 then
15128 glibcxx_cv_prog_CXX_pch=yes
15129 else
15130 glibcxx_cv_prog_CXX_pch=no
15131 fi
15132 rm -f conftest*
15133 CXXFLAGS=$ac_save_CXXFLAGS
15134 ac_ext=c
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139
15140
15141 fi
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15143 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15144 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15145 fi
15146
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15148 $as_echo_n "checking for enabled PCH... " >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15150 $as_echo "$enable_libstdcxx_pch" >&6; }
15151
15152
15153 if test $enable_libstdcxx_pch = yes; then
15154 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15155 else
15156 glibcxx_PCHFLAGS=""
15157 fi
15158
15159
15160
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15162 $as_echo_n "checking for thread model used by GCC... " >&6; }
15163 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15165 $as_echo "$target_thread_file" >&6; }
15166
15167 case $target_thread_file in
15168 aix) thread_header=config/rs6000/gthr-aix.h ;;
15169 dce) thread_header=config/pa/gthr-dce.h ;;
15170 lynx) thread_header=config/gthr-lynx.h ;;
15171 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15172 posix) thread_header=gthr-posix.h ;;
15173 rtems) thread_header=config/gthr-rtems.h ;;
15174 single) thread_header=gthr-single.h ;;
15175 tpf) thread_header=config/s390/gthr-tpf.h ;;
15176 vxworks) thread_header=config/gthr-vxworks.h ;;
15177 win32) thread_header=config/i386/gthr-win32.h ;;
15178 esac
15179
15180
15181
15182
15183
15184 ac_ext=cpp
15185 ac_cpp='$CXXCPP $CPPFLAGS'
15186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15189
15190 old_CXXFLAGS="$CXXFLAGS"
15191
15192 # Do link tests if possible, instead asm tests, limited to some platforms
15193 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15194 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15195 atomic_builtins_link_tests=no
15196 if test x$gcc_no_link != xyes; then
15197 # Can do link tests. Limit to some tested platforms
15198 case "$host" in
15199 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15200 atomic_builtins_link_tests=yes
15201 ;;
15202 esac
15203 fi
15204
15205 if test x$atomic_builtins_link_tests = xyes; then
15206
15207 # Do link tests.
15208
15209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15210
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15212 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15213 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216
15217 if test x$gcc_no_link = xyes; then
15218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15219 fi
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222
15223 int
15224 main ()
15225 {
15226 typedef bool atomic_type;
15227 atomic_type c1;
15228 atomic_type c2;
15229 atomic_type c3(0);
15230 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15231 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15232 __ATOMIC_RELAXED);
15233 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15234 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15235
15236 ;
15237 return 0;
15238 }
15239 _ACEOF
15240 if ac_fn_cxx_try_link "$LINENO"; then :
15241 glibcxx_cv_atomic_bool=yes
15242 else
15243 glibcxx_cv_atomic_bool=no
15244 fi
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247
15248 fi
15249
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15251 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15252
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15254 $as_echo_n "checking for atomic builtins for short... " >&6; }
15255 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15258
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15261 fi
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264
15265 int
15266 main ()
15267 {
15268 typedef short atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 atomic_type c3(0);
15272 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15273 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15274 __ATOMIC_RELAXED);
15275 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15276 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15277
15278 ;
15279 return 0;
15280 }
15281 _ACEOF
15282 if ac_fn_cxx_try_link "$LINENO"; then :
15283 glibcxx_cv_atomic_short=yes
15284 else
15285 glibcxx_cv_atomic_short=no
15286 fi
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15289
15290 fi
15291
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15293 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15294
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15296 $as_echo_n "checking for atomic builtins for int... " >&6; }
15297 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300
15301 if test x$gcc_no_link = xyes; then
15302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15303 fi
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306
15307 int
15308 main ()
15309 {
15310 typedef int atomic_type;
15311 atomic_type c1;
15312 atomic_type c2;
15313 atomic_type c3(0);
15314 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15315 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15316 __ATOMIC_RELAXED);
15317 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15318 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15319
15320 ;
15321 return 0;
15322 }
15323 _ACEOF
15324 if ac_fn_cxx_try_link "$LINENO"; then :
15325 glibcxx_cv_atomic_int=yes
15326 else
15327 glibcxx_cv_atomic_int=no
15328 fi
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331
15332 fi
15333
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15335 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15336
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15338 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15339 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15342
15343 if test x$gcc_no_link = xyes; then
15344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15345 fi
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348
15349 int
15350 main ()
15351 {
15352 typedef long long atomic_type;
15353 atomic_type c1;
15354 atomic_type c2;
15355 atomic_type c3(0);
15356 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15357 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15358 __ATOMIC_RELAXED);
15359 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15360 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15361
15362 ;
15363 return 0;
15364 }
15365 _ACEOF
15366 if ac_fn_cxx_try_link "$LINENO"; then :
15367 glibcxx_cv_atomic_long_long=yes
15368 else
15369 glibcxx_cv_atomic_long_long=no
15370 fi
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15373
15374 fi
15375
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15377 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15378
15379 else
15380
15381 # Do asm tests.
15382
15383 # Compile unoptimized.
15384 CXXFLAGS='-O0 -S'
15385
15386 # Fake what AC_TRY_COMPILE does.
15387
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15391 {
15392 typedef bool atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 atomic_type c3(0);
15396 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15397 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15398 __ATOMIC_RELAXED);
15399 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15400 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15401
15402 return 0;
15403 }
15404 EOF
15405
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15407 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15410 ac_status=$?
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; }; then
15413 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15414 glibcxx_cv_atomic_bool=no
15415 else
15416 glibcxx_cv_atomic_bool=yes
15417 fi
15418 fi
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15420 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15421 rm -f conftest*
15422
15423 cat > conftest.$ac_ext << EOF
15424 #line 15424 "configure"
15425 int main()
15426 {
15427 typedef short atomic_type;
15428 atomic_type c1;
15429 atomic_type c2;
15430 atomic_type c3(0);
15431 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15432 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15433 __ATOMIC_RELAXED);
15434 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15435 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15436
15437 return 0;
15438 }
15439 EOF
15440
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15442 $as_echo_n "checking for atomic builtins for short... " >&6; }
15443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15444 (eval $ac_compile) 2>&5
15445 ac_status=$?
15446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15447 test $ac_status = 0; }; then
15448 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15449 glibcxx_cv_atomic_short=no
15450 else
15451 glibcxx_cv_atomic_short=yes
15452 fi
15453 fi
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15455 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15456 rm -f conftest*
15457
15458 cat > conftest.$ac_ext << EOF
15459 #line 15459 "configure"
15460 int main()
15461 {
15462 // NB: _Atomic_word not necessarily int.
15463 typedef int atomic_type;
15464 atomic_type c1;
15465 atomic_type c2;
15466 atomic_type c3(0);
15467 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15468 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15469 __ATOMIC_RELAXED);
15470 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15471 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15472
15473 return 0;
15474 }
15475 EOF
15476
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15478 $as_echo_n "checking for atomic builtins for int... " >&6; }
15479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15480 (eval $ac_compile) 2>&5
15481 ac_status=$?
15482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483 test $ac_status = 0; }; then
15484 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15485 glibcxx_cv_atomic_int=no
15486 else
15487 glibcxx_cv_atomic_int=yes
15488 fi
15489 fi
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15491 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15492 rm -f conftest*
15493
15494 cat > conftest.$ac_ext << EOF
15495 #line 15495 "configure"
15496 int main()
15497 {
15498 typedef long long atomic_type;
15499 atomic_type c1;
15500 atomic_type c2;
15501 atomic_type c3(0);
15502 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15503 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15504 __ATOMIC_RELAXED);
15505 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15506 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15507
15508 return 0;
15509 }
15510 EOF
15511
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15513 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15515 (eval $ac_compile) 2>&5
15516 ac_status=$?
15517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15518 test $ac_status = 0; }; then
15519 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15520 glibcxx_cv_atomic_long_long=no
15521 else
15522 glibcxx_cv_atomic_long_long=yes
15523 fi
15524 fi
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15526 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15527 rm -f conftest*
15528
15529 fi
15530
15531 CXXFLAGS="$old_CXXFLAGS"
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537
15538
15539 # Set atomicity_dir to builtins if all but the long long test above passes.
15540 if test $glibcxx_cv_atomic_bool = yes \
15541 && test $glibcxx_cv_atomic_short = yes \
15542 && test $glibcxx_cv_atomic_int = yes; then
15543
15544 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15545
15546 atomicity_dir=cpu/generic/atomicity_builtins
15547 fi
15548
15549 # If still generic, set to mutex.
15550 if test $atomicity_dir = "cpu/generic" ; then
15551 atomicity_dir=cpu/generic/atomicity_mutex
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15553 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15554 if test "x$target_thread_file" = xsingle; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15556 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15558 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15561 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15563 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15564 fi
15565 fi
15566
15567
15568
15569
15570 # Fake what AC_TRY_COMPILE does, without linking as this is
15571 # unnecessary for this test.
15572
15573 cat > conftest.$ac_ext << EOF
15574 #line 15574 "configure"
15575 int main()
15576 {
15577 _Decimal32 d1;
15578 _Decimal64 d2;
15579 _Decimal128 d3;
15580 return 0;
15581 }
15582 EOF
15583
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15585 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 test $ac_status = 0; }; then
15591
15592 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15593
15594 enable_dfp=yes
15595 else
15596 enable_dfp=no
15597 fi
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15599 $as_echo "$enable_dfp" >&6; }
15600 rm -f conftest*
15601
15602
15603
15604
15605 ac_ext=cpp
15606 ac_cpp='$CXXCPP $CPPFLAGS'
15607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15610
15611
15612 # Fake what AC_TRY_COMPILE does, without linking as this is
15613 # unnecessary for this test.
15614
15615 cat > conftest.$ac_ext << EOF
15616 #line 15616 "configure"
15617 template<typename T1, typename T2>
15618 struct same
15619 { typedef T2 type; };
15620
15621 template<typename T>
15622 struct same<T, T>;
15623
15624 int main()
15625 {
15626 typename same<long, __int128>::type i1;
15627 typename same<long long, __int128>::type i2;
15628 }
15629 EOF
15630
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15632 $as_echo_n "checking for __int128... " >&6; }
15633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15634 (eval $ac_compile) 2>&5
15635 ac_status=$?
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; then
15638
15639 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15640
15641 enable_int128=yes
15642 else
15643 enable_int128=no
15644 fi
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15646 $as_echo "$enable_int128" >&6; }
15647 rm -f conftest*
15648
15649 cat > conftest.$ac_ext << EOF
15650 #line 15650 "configure"
15651 template<typename T1, typename T2>
15652 struct same
15653 { typedef T2 type; };
15654
15655 template<typename T>
15656 struct same<T, T>;
15657
15658 int main()
15659 {
15660 typename same<double, __float128>::type f1;
15661 typename same<long double, __float128>::type f2;
15662 }
15663 EOF
15664
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15666 $as_echo_n "checking for __float128... " >&6; }
15667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15668 (eval $ac_compile) 2>&5
15669 ac_status=$?
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15672
15673 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15674
15675 enable_float128=yes
15676 else
15677 enable_float128=no
15678 fi
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15680 $as_echo "$enable_float128" >&6; }
15681 rm -f conftest*
15682
15683 ac_ext=c
15684 ac_cpp='$CPP $CPPFLAGS'
15685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688
15689
15690 if test "$enable_float128" = yes; then
15691 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15692 fi
15693
15694 # Checks for compiler support that doesn't require linking.
15695
15696 # All these tests are for C++; save the language and the compiler flags.
15697 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698 # found in GLIBCXX_CONFIGURE.
15699
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15705
15706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707 ac_save_CXXFLAGS="$CXXFLAGS"
15708
15709 # Check for maintainer-mode bits.
15710 if test x"$USE_MAINTAINER_MODE" = xno; then
15711 WERROR=''
15712 else
15713 WERROR='-Werror'
15714 fi
15715
15716 # Check for -ffunction-sections -fdata-sections
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int foo; void bar() { };
15723 int
15724 main ()
15725 {
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732 ac_fdsections=yes
15733 else
15734 ac_fdsections=no
15735 fi
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737 if test "$ac_test_CXXFLAGS" = set; then
15738 CXXFLAGS="$ac_save_CXXFLAGS"
15739 else
15740 # this is the suspicious part
15741 CXXFLAGS=''
15742 fi
15743 if test x"$ac_fdsections" = x"yes"; then
15744 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15745 fi
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15748
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754
15755
15756
15757
15758
15759 # Enable all the variable C++ runtime options that don't require linking.
15760
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763 # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765 enableval=$enable_cstdio;
15766 case "$enableval" in
15767 stdio) ;;
15768 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769 esac
15770
15771 else
15772 enable_cstdio=stdio
15773 fi
15774
15775
15776
15777 # Now that libio has been removed, you can have any color you want as long
15778 # as it's black. This is one big no-op until other packages are added, but
15779 # showing the framework never hurts.
15780 case ${enable_cstdio} in
15781 stdio)
15782 CSTDIO_H=config/io/c_io_stdio.h
15783 BASIC_FILE_H=config/io/basic_file_stdio.h
15784 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15787 ;;
15788 esac
15789
15790
15791
15792
15793
15794
15795 # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797 enableval=$enable_clocale;
15798 case "$enableval" in
15799 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801 esac
15802
15803 else
15804 enable_clocale=auto
15805 fi
15806
15807
15808
15809 # Deal with gettext issues. Default to not using it (=no) until we detect
15810 # support for it later. Let the user turn it off via --e/d, but let that
15811 # default to on for easier handling.
15812 USE_NLS=no
15813 # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815 enableval=$enable_nls;
15816 else
15817 enable_nls=yes
15818 fi
15819
15820
15821 # Either a known package, or "auto"
15822 if test $enable_clocale = no || test $enable_clocale = yes; then
15823 enable_clocale=auto
15824 fi
15825 enable_clocale_flag=$enable_clocale
15826
15827 # Probe for locale model to use if none specified.
15828 # Default to "generic".
15829 if test $enable_clocale_flag = auto; then
15830 case ${target_os} in
15831 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832 enable_clocale_flag=gnu
15833 ;;
15834 darwin* | freebsd*)
15835 enable_clocale_flag=darwin
15836 ;;
15837 dragonfly*)
15838 enable_clocale_flag=dragonfly
15839 ;;
15840 openbsd*)
15841 enable_clocale_flag=newlib
15842 ;;
15843 *)
15844 if test x"$with_newlib" = x"yes"; then
15845 enable_clocale_flag=newlib
15846 else
15847 enable_clocale_flag=generic
15848 fi
15849 ;;
15850 esac
15851 fi
15852
15853 # Sanity check model, and test for special functionality.
15854 if test $enable_clocale_flag = gnu; then
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15857
15858 #include <features.h>
15859 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15860 _GLIBCXX_ok
15861 #endif
15862
15863 _ACEOF
15864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15865 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15866 enable_clocale_flag=gnu
15867 else
15868 enable_clocale_flag=generic
15869 fi
15870 rm -f conftest*
15871
15872
15873 # Set it to scream when it hurts.
15874 ac_save_CFLAGS="$CFLAGS"
15875 CFLAGS="-Wimplicit-function-declaration -Werror"
15876
15877 # Use strxfrm_l if available.
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #define _GNU_SOURCE 1
15881 #include <string.h>
15882 #include <locale.h>
15883 int
15884 main ()
15885 {
15886 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 if ac_fn_c_try_compile "$LINENO"; then :
15892
15893 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15894
15895 fi
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15897
15898 # Use strerror_l if available.
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #define _GNU_SOURCE 1
15902 #include <string.h>
15903 #include <locale.h>
15904 int
15905 main ()
15906 {
15907 __locale_t loc; strerror_l(5, loc);
15908 ;
15909 return 0;
15910 }
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15913
15914 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15915
15916 fi
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918
15919 CFLAGS="$ac_save_CFLAGS"
15920 fi
15921
15922 # Perhaps use strerror_r if available, and strerror_l isn't.
15923 ac_save_CFLAGS="$CFLAGS"
15924 CFLAGS="-Wimplicit-function-declaration -Werror"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #define _GNU_SOURCE 1
15928 #include <string.h>
15929 #include <locale.h>
15930 int
15931 main ()
15932 {
15933 char s[128]; strerror_r(5, s, 128);
15934 ;
15935 return 0;
15936 }
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15939
15940 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15941
15942 fi
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 CFLAGS="$ac_save_CFLAGS"
15945
15946 # Set configure bits for specified locale package
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15948 $as_echo_n "checking for C locale to use... " >&6; }
15949 case ${enable_clocale_flag} in
15950 generic)
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15952 $as_echo "generic" >&6; }
15953
15954 CLOCALE_H=config/locale/generic/c_locale.h
15955 CLOCALE_CC=config/locale/generic/c_locale.cc
15956 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15957 CCOLLATE_CC=config/locale/generic/collate_members.cc
15958 CCTYPE_CC=config/locale/generic/ctype_members.cc
15959 CMESSAGES_H=config/locale/generic/messages_members.h
15960 CMESSAGES_CC=config/locale/generic/messages_members.cc
15961 CMONEY_CC=config/locale/generic/monetary_members.cc
15962 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15963 CTIME_H=config/locale/generic/time_members.h
15964 CTIME_CC=config/locale/generic/time_members.cc
15965 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15966 ;;
15967 darwin)
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15969 $as_echo "darwin or freebsd" >&6; }
15970
15971 CLOCALE_H=config/locale/generic/c_locale.h
15972 CLOCALE_CC=config/locale/generic/c_locale.cc
15973 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15974 CCOLLATE_CC=config/locale/generic/collate_members.cc
15975 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15976 CMESSAGES_H=config/locale/generic/messages_members.h
15977 CMESSAGES_CC=config/locale/generic/messages_members.cc
15978 CMONEY_CC=config/locale/generic/monetary_members.cc
15979 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15980 CTIME_H=config/locale/generic/time_members.h
15981 CTIME_CC=config/locale/generic/time_members.cc
15982 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15983 ;;
15984
15985 dragonfly)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
15987 $as_echo "dragonfly" >&6; }
15988
15989 CLOCALE_H=config/locale/generic/c_locale.h
15990 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15991 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15992 CCOLLATE_CC=config/locale/generic/collate_members.cc
15993 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15994 CMESSAGES_H=config/locale/generic/messages_members.h
15995 CMESSAGES_CC=config/locale/generic/messages_members.cc
15996 CMONEY_CC=config/locale/generic/monetary_members.cc
15997 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15998 CTIME_H=config/locale/generic/time_members.h
15999 CTIME_CC=config/locale/generic/time_members.cc
16000 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16001 ;;
16002
16003 gnu)
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16005 $as_echo "gnu" >&6; }
16006
16007 # Declare intention to use gettext, and add support for specific
16008 # languages.
16009 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16010 ALL_LINGUAS="de fr"
16011
16012 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16013 # Extract the first word of "msgfmt", so it can be a program name with args.
16014 set dummy msgfmt; ac_word=$2
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16016 $as_echo_n "checking for $ac_word... " >&6; }
16017 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 if test -n "$check_msgfmt"; then
16021 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16022 else
16023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16024 for as_dir in $PATH
16025 do
16026 IFS=$as_save_IFS
16027 test -z "$as_dir" && as_dir=.
16028 for ac_exec_ext in '' $ac_executable_extensions; do
16029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030 ac_cv_prog_check_msgfmt="yes"
16031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 break 2
16033 fi
16034 done
16035 done
16036 IFS=$as_save_IFS
16037
16038 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16039 fi
16040 fi
16041 check_msgfmt=$ac_cv_prog_check_msgfmt
16042 if test -n "$check_msgfmt"; then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16044 $as_echo "$check_msgfmt" >&6; }
16045 else
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047 $as_echo "no" >&6; }
16048 fi
16049
16050
16051 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16052 USE_NLS=yes
16053 fi
16054 # Export the build objects.
16055 for ling in $ALL_LINGUAS; do \
16056 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16057 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16058 done
16059
16060
16061
16062 CLOCALE_H=config/locale/gnu/c_locale.h
16063 CLOCALE_CC=config/locale/gnu/c_locale.cc
16064 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16065 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16066 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16067 CMESSAGES_H=config/locale/gnu/messages_members.h
16068 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16069 CMONEY_CC=config/locale/gnu/monetary_members.cc
16070 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16071 CTIME_H=config/locale/gnu/time_members.h
16072 CTIME_CC=config/locale/gnu/time_members.cc
16073 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16074 ;;
16075 ieee_1003.1-2001)
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16077 $as_echo "IEEE 1003.1" >&6; }
16078
16079 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16080 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16081 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16082 CCOLLATE_CC=config/locale/generic/collate_members.cc
16083 CCTYPE_CC=config/locale/generic/ctype_members.cc
16084 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16085 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16086 CMONEY_CC=config/locale/generic/monetary_members.cc
16087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16088 CTIME_H=config/locale/generic/time_members.h
16089 CTIME_CC=config/locale/generic/time_members.cc
16090 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16091 ;;
16092 newlib)
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16094 $as_echo "newlib" >&6; }
16095
16096 CLOCALE_H=config/locale/generic/c_locale.h
16097 CLOCALE_CC=config/locale/generic/c_locale.cc
16098 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16099 CCOLLATE_CC=config/locale/generic/collate_members.cc
16100 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16101 CMESSAGES_H=config/locale/generic/messages_members.h
16102 CMESSAGES_CC=config/locale/generic/messages_members.cc
16103 CMONEY_CC=config/locale/generic/monetary_members.cc
16104 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16105 CTIME_H=config/locale/generic/time_members.h
16106 CTIME_CC=config/locale/generic/time_members.cc
16107 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16108 ;;
16109 esac
16110
16111 # This is where the testsuite looks for locale catalogs, using the
16112 # -DLOCALEDIR define during testsuite compilation.
16113 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16114
16115
16116 # A standalone libintl (e.g., GNU libintl) may be in use.
16117 if test $USE_NLS = yes; then
16118 for ac_header in libintl.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_LIBINTL_H 1
16124 _ACEOF
16125
16126 else
16127 USE_NLS=no
16128 fi
16129
16130 done
16131
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16133 $as_echo_n "checking for library containing gettext... " >&6; }
16134 if test "${ac_cv_search_gettext+set}" = set; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_func_search_save_LIBS=$LIBS
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16140
16141 /* Override any GCC internal prototype to avoid an error.
16142 Use char because int might match the return type of a GCC
16143 builtin and then its argument prototype would still apply. */
16144 #ifdef __cplusplus
16145 extern "C"
16146 #endif
16147 char gettext ();
16148 int
16149 main ()
16150 {
16151 return gettext ();
16152 ;
16153 return 0;
16154 }
16155 _ACEOF
16156 for ac_lib in '' intl; do
16157 if test -z "$ac_lib"; then
16158 ac_res="none required"
16159 else
16160 ac_res=-l$ac_lib
16161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16162 fi
16163 if test x$gcc_no_link = xyes; then
16164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16165 fi
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_search_gettext=$ac_res
16168 fi
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext
16171 if test "${ac_cv_search_gettext+set}" = set; then :
16172 break
16173 fi
16174 done
16175 if test "${ac_cv_search_gettext+set}" = set; then :
16176
16177 else
16178 ac_cv_search_gettext=no
16179 fi
16180 rm conftest.$ac_ext
16181 LIBS=$ac_func_search_save_LIBS
16182 fi
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16184 $as_echo "$ac_cv_search_gettext" >&6; }
16185 ac_res=$ac_cv_search_gettext
16186 if test "$ac_res" != no; then :
16187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16188
16189 else
16190 USE_NLS=no
16191 fi
16192
16193 fi
16194 if test $USE_NLS = yes; then
16195
16196 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16197
16198 fi
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16216 $as_echo_n "checking for std::allocator base class... " >&6; }
16217 # Check whether --enable-libstdcxx-allocator was given.
16218 if test "${enable_libstdcxx_allocator+set}" = set; then :
16219 enableval=$enable_libstdcxx_allocator;
16220 case "$enableval" in
16221 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16222 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16223 esac
16224
16225 else
16226 enable_libstdcxx_allocator=auto
16227 fi
16228
16229
16230
16231 # If they didn't use this option switch, or if they specified --enable
16232 # with no specific model, we'll have to look for one. If they
16233 # specified --disable (???), do likewise.
16234 if test $enable_libstdcxx_allocator = no ||
16235 test $enable_libstdcxx_allocator = yes;
16236 then
16237 enable_libstdcxx_allocator=auto
16238 fi
16239
16240 # Either a known package, or "auto". Auto implies the default choice
16241 # for a particular platform.
16242 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16243
16244 # Probe for host-specific support if no specific model is specified.
16245 # Default to "new".
16246 if test $enable_libstdcxx_allocator_flag = auto; then
16247 case ${target_os} in
16248 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16249 enable_libstdcxx_allocator_flag=new
16250 ;;
16251 *)
16252 enable_libstdcxx_allocator_flag=new
16253 ;;
16254 esac
16255 fi
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16257 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16258
16259
16260 # Set configure bits for specified locale package
16261 case ${enable_libstdcxx_allocator_flag} in
16262 bitmap)
16263 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16264 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16265 ;;
16266 malloc)
16267 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16269 ;;
16270 mt)
16271 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16273 ;;
16274 new)
16275 ALLOCATOR_H=config/allocator/new_allocator_base.h
16276 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16277 ;;
16278 pool)
16279 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16280 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16281 ;;
16282 esac
16283
16284
16285
16286
16287
16288 # Check whether --enable-cheaders was given.
16289 if test "${enable_cheaders+set}" = set; then :
16290 enableval=$enable_cheaders;
16291 case "$enableval" in
16292 c|c_std|c_global) ;;
16293 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16294 esac
16295
16296 else
16297 enable_cheaders=$c_model
16298 fi
16299
16300
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16302 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16303
16304 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16305
16306 # Allow overrides to configure.host here.
16307 if test $enable_cheaders = c_global; then
16308 c_compatibility=yes
16309 fi
16310
16311
16312
16313
16314
16315
16316
16317 # Check whether --enable-long-long was given.
16318 if test "${enable_long_long+set}" = set; then :
16319 enableval=$enable_long_long;
16320 case "$enableval" in
16321 yes|no) ;;
16322 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16323 esac
16324
16325 else
16326 enable_long_long=yes
16327 fi
16328
16329
16330 if test $enable_long_long = yes; then
16331
16332 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16333
16334 fi
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16336 $as_echo_n "checking for enabled long long specializations... " >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16338 $as_echo "$enable_long_long" >&6; }
16339
16340
16341 # Check whether --enable-wchar_t was given.
16342 if test "${enable_wchar_t+set}" = set; then :
16343 enableval=$enable_wchar_t;
16344 case "$enableval" in
16345 yes|no) ;;
16346 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16347 esac
16348
16349 else
16350 enable_wchar_t=yes
16351 fi
16352
16353
16354
16355 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16356 for ac_header in wchar.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_WCHAR_H 1
16362 _ACEOF
16363 ac_has_wchar_h=yes
16364 else
16365 ac_has_wchar_h=no
16366 fi
16367
16368 done
16369
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16371 $as_echo_n "checking for mbstate_t... " >&6; }
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <wchar.h>
16375 int
16376 main ()
16377 {
16378 mbstate_t teststate;
16379 ;
16380 return 0;
16381 }
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 have_mbstate_t=yes
16385 else
16386 have_mbstate_t=no
16387 fi
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16390 $as_echo "$have_mbstate_t" >&6; }
16391 if test x"$have_mbstate_t" = xyes; then
16392
16393 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16394
16395 fi
16396
16397 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16398 # ac_has_wchar_h.
16399 for ac_header in wctype.h
16400 do :
16401 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_WCTYPE_H 1
16405 _ACEOF
16406 ac_has_wctype_h=yes
16407 else
16408 ac_has_wctype_h=no
16409 fi
16410
16411 done
16412
16413
16414 if test x"$enable_wchar_t" = x"yes"; then
16415
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
16424 if test x"$ac_has_wchar_h" = xyes &&
16425 test x"$ac_has_wctype_h" = xyes; then
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <wchar.h>
16429 #include <stddef.h>
16430 wint_t i;
16431 long l = WEOF;
16432 long j = WCHAR_MIN;
16433 long k = WCHAR_MAX;
16434 namespace test
16435 {
16436 using ::btowc;
16437 using ::fgetwc;
16438 using ::fgetws;
16439 using ::fputwc;
16440 using ::fputws;
16441 using ::fwide;
16442 using ::fwprintf;
16443 using ::fwscanf;
16444 using ::getwc;
16445 using ::getwchar;
16446 using ::mbrlen;
16447 using ::mbrtowc;
16448 using ::mbsinit;
16449 using ::mbsrtowcs;
16450 using ::putwc;
16451 using ::putwchar;
16452 using ::swprintf;
16453 using ::swscanf;
16454 using ::ungetwc;
16455 using ::vfwprintf;
16456 using ::vswprintf;
16457 using ::vwprintf;
16458 using ::wcrtomb;
16459 using ::wcscat;
16460 using ::wcschr;
16461 using ::wcscmp;
16462 using ::wcscoll;
16463 using ::wcscpy;
16464 using ::wcscspn;
16465 using ::wcsftime;
16466 using ::wcslen;
16467 using ::wcsncat;
16468 using ::wcsncmp;
16469 using ::wcsncpy;
16470 using ::wcspbrk;
16471 using ::wcsrchr;
16472 using ::wcsrtombs;
16473 using ::wcsspn;
16474 using ::wcsstr;
16475 using ::wcstod;
16476 using ::wcstok;
16477 using ::wcstol;
16478 using ::wcstoul;
16479 using ::wcsxfrm;
16480 using ::wctob;
16481 using ::wmemchr;
16482 using ::wmemcmp;
16483 using ::wmemcpy;
16484 using ::wmemmove;
16485 using ::wmemset;
16486 using ::wprintf;
16487 using ::wscanf;
16488 }
16489
16490 int
16491 main ()
16492 {
16493
16494 ;
16495 return 0;
16496 }
16497 _ACEOF
16498 if ac_fn_cxx_try_compile "$LINENO"; then :
16499
16500 else
16501 enable_wchar_t=no
16502 fi
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 else
16505 enable_wchar_t=no
16506 fi
16507
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16513
16514 fi
16515
16516 if test x"$enable_wchar_t" = x"yes"; then
16517
16518 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16519
16520 fi
16521
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16523 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16525 $as_echo "$enable_wchar_t" >&6; }
16526
16527
16528
16529 # Check whether --enable-c99 was given.
16530 if test "${enable_c99+set}" = set; then :
16531 enableval=$enable_c99;
16532 case "$enableval" in
16533 yes|no) ;;
16534 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16535 esac
16536
16537 else
16538 enable_c99=yes
16539 fi
16540
16541
16542
16543 if test x"$enable_c99" = x"yes"; then
16544
16545
16546 ac_ext=cpp
16547 ac_cpp='$CXXCPP $CPPFLAGS'
16548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16551
16552
16553 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16554 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16555 # spuriously enabled.
16556 # Long term, -std=c++0x could be even better, could manage to explicitly
16557 # request C99 facilities to the underlying C headers.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16562
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16576 fi
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16579
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16587 int
16588 main ()
16589 {
16590 return sin ();
16591 ;
16592 return 0;
16593 }
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16599 fi
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16603 fi
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16607
16608 LIBS="$LIBS -lm"
16609
16610 else
16611
16612 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16613 gcc_no_link=yes
16614
16615 fi
16616
16617 fi
16618
16619 # Check for the existence of <math.h> functions used if C99 is enabled.
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16621 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16622 if test "${glibcxx_cv_c99_math+set}" = set; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16625
16626 if test x$gcc_no_link = xyes; then
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #include <math.h>
16630 volatile double d1, d2;
16631 volatile int i;
16632 int
16633 main ()
16634 {
16635 i = fpclassify(d1);
16636 i = isfinite(d1);
16637 i = isinf(d1);
16638 i = isnan(d1);
16639 i = isnormal(d1);
16640 i = signbit(d1);
16641 i = isgreater(d1, d2);
16642 i = isgreaterequal(d1, d2);
16643 i = isless(d1, d2);
16644 i = islessequal(d1, d2);
16645 i = islessgreater(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = isunordered(d1, d2);
16648
16649 ;
16650 return 0;
16651 }
16652 _ACEOF
16653 if ac_fn_cxx_try_compile "$LINENO"; then :
16654 glibcxx_cv_c99_math=yes
16655 else
16656 glibcxx_cv_c99_math=no
16657 fi
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 else
16660 if test x$gcc_no_link = xyes; then
16661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16662 fi
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <math.h>
16666 volatile double d1, d2;
16667 volatile int i;
16668 int
16669 main ()
16670 {
16671 i = fpclassify(d1);
16672 i = isfinite(d1);
16673 i = isinf(d1);
16674 i = isnan(d1);
16675 i = isnormal(d1);
16676 i = signbit(d1);
16677 i = isgreater(d1, d2);
16678 i = isgreaterequal(d1, d2);
16679 i = isless(d1, d2);
16680 i = islessequal(d1, d2);
16681 i = islessgreater(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = isunordered(d1, d2);
16684
16685 ;
16686 return 0;
16687 }
16688 _ACEOF
16689 if ac_fn_cxx_try_link "$LINENO"; then :
16690 glibcxx_cv_c99_math=yes
16691 else
16692 glibcxx_cv_c99_math=no
16693 fi
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16696 fi
16697
16698 fi
16699
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16701 $as_echo "$glibcxx_cv_c99_math" >&6; }
16702 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16703
16704 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16705
16706 fi
16707
16708 # Check for the existence of <complex.h> complex math functions.
16709 # This is necessary even though libstdc++ uses the builtin versions
16710 # of these functions, because if the builtin cannot be used, a reference
16711 # to the library function is emitted.
16712 for ac_header in tgmath.h
16713 do :
16714 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_TGMATH_H 1
16718 _ACEOF
16719 ac_has_tgmath_h=yes
16720 else
16721 ac_has_tgmath_h=no
16722 fi
16723
16724 done
16725
16726 for ac_header in complex.h
16727 do :
16728 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16729 if test "x$ac_cv_header_complex_h" = x""yes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_COMPLEX_H 1
16732 _ACEOF
16733 ac_has_complex_h=yes
16734 else
16735 ac_has_complex_h=no
16736 fi
16737
16738 done
16739
16740 glibcxx_cv_c99_complex=no;
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16744 if test x$gcc_no_link = xyes; then
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #include <complex.h>
16748 typedef __complex__ float float_type;
16749 typedef __complex__ double double_type;
16750 typedef __complex__ long double ld_type;
16751 volatile float_type tmpf;
16752 volatile double_type tmpd;
16753 volatile ld_type tmpld;
16754 volatile float f;
16755 volatile double d;
16756 volatile long double ld;
16757 int
16758 main ()
16759 {
16760 f = cabsf(tmpf);
16761 f = cargf(tmpf);
16762 tmpf = ccosf(tmpf);
16763 tmpf = ccoshf(tmpf);
16764 tmpf = cexpf(tmpf);
16765 tmpf = clogf(tmpf);
16766 tmpf = csinf(tmpf);
16767 tmpf = csinhf(tmpf);
16768 tmpf = csqrtf(tmpf);
16769 tmpf = ctanf(tmpf);
16770 tmpf = ctanhf(tmpf);
16771 tmpf = cpowf(tmpf, tmpf);
16772 tmpf = cprojf(tmpf);
16773 d = cabs(tmpd);
16774 d = carg(tmpd);
16775 tmpd = ccos(tmpd);
16776 tmpd = ccosh(tmpd);
16777 tmpd = cexp(tmpd);
16778 tmpd = clog(tmpd);
16779 tmpd = csin(tmpd);
16780 tmpd = csinh(tmpd);
16781 tmpd = csqrt(tmpd);
16782 tmpd = ctan(tmpd);
16783 tmpd = ctanh(tmpd);
16784 tmpd = cpow(tmpd, tmpd);
16785 tmpd = cproj(tmpd);
16786 ld = cabsl(tmpld);
16787 ld = cargl(tmpld);
16788 tmpld = ccosl(tmpld);
16789 tmpld = ccoshl(tmpld);
16790 tmpld = cexpl(tmpld);
16791 tmpld = clogl(tmpld);
16792 tmpld = csinl(tmpld);
16793 tmpld = csinhl(tmpld);
16794 tmpld = csqrtl(tmpld);
16795 tmpld = ctanl(tmpld);
16796 tmpld = ctanhl(tmpld);
16797 tmpld = cpowl(tmpld, tmpld);
16798 tmpld = cprojl(tmpld);
16799
16800 ;
16801 return 0;
16802 }
16803 _ACEOF
16804 if ac_fn_cxx_try_compile "$LINENO"; then :
16805 glibcxx_cv_c99_complex=yes
16806 else
16807 glibcxx_cv_c99_complex=no
16808 fi
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 else
16811 if test x$gcc_no_link = xyes; then
16812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16813 fi
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #include <complex.h>
16817 typedef __complex__ float float_type;
16818 typedef __complex__ double double_type;
16819 typedef __complex__ long double ld_type;
16820 volatile float_type tmpf;
16821 volatile double_type tmpd;
16822 volatile ld_type tmpld;
16823 volatile float f;
16824 volatile double d;
16825 volatile long double ld;
16826 int
16827 main ()
16828 {
16829 f = cabsf(tmpf);
16830 f = cargf(tmpf);
16831 tmpf = ccosf(tmpf);
16832 tmpf = ccoshf(tmpf);
16833 tmpf = cexpf(tmpf);
16834 tmpf = clogf(tmpf);
16835 tmpf = csinf(tmpf);
16836 tmpf = csinhf(tmpf);
16837 tmpf = csqrtf(tmpf);
16838 tmpf = ctanf(tmpf);
16839 tmpf = ctanhf(tmpf);
16840 tmpf = cpowf(tmpf, tmpf);
16841 tmpf = cprojf(tmpf);
16842 d = cabs(tmpd);
16843 d = carg(tmpd);
16844 tmpd = ccos(tmpd);
16845 tmpd = ccosh(tmpd);
16846 tmpd = cexp(tmpd);
16847 tmpd = clog(tmpd);
16848 tmpd = csin(tmpd);
16849 tmpd = csinh(tmpd);
16850 tmpd = csqrt(tmpd);
16851 tmpd = ctan(tmpd);
16852 tmpd = ctanh(tmpd);
16853 tmpd = cpow(tmpd, tmpd);
16854 tmpd = cproj(tmpd);
16855 ld = cabsl(tmpld);
16856 ld = cargl(tmpld);
16857 tmpld = ccosl(tmpld);
16858 tmpld = ccoshl(tmpld);
16859 tmpld = cexpl(tmpld);
16860 tmpld = clogl(tmpld);
16861 tmpld = csinl(tmpld);
16862 tmpld = csinhl(tmpld);
16863 tmpld = csqrtl(tmpld);
16864 tmpld = ctanl(tmpld);
16865 tmpld = ctanhl(tmpld);
16866 tmpld = cpowl(tmpld, tmpld);
16867 tmpld = cprojl(tmpld);
16868
16869 ;
16870 return 0;
16871 }
16872 _ACEOF
16873 if ac_fn_cxx_try_link "$LINENO"; then :
16874 glibcxx_cv_c99_complex=yes
16875 else
16876 glibcxx_cv_c99_complex=no
16877 fi
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16880 fi
16881 fi
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16883 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16884 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16885
16886 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16887
16888 fi
16889
16890 # Check for the existence in <stdio.h> of vscanf, et. al.
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16892 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16893 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16896
16897 if test x$gcc_no_link = xyes; then
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <stdio.h>
16901 #include <stdarg.h>
16902 void foo(char* fmt, ...)
16903 {
16904 va_list args; va_start(args, fmt);
16905 vfscanf(stderr, "%i", args);
16906 vscanf("%i", args);
16907 vsnprintf(fmt, 0, "%i", args);
16908 vsscanf(fmt, "%i", args);
16909 snprintf(fmt, 0, "%i");
16910 }
16911 int
16912 main ()
16913 {
16914
16915 ;
16916 return 0;
16917 }
16918 _ACEOF
16919 if ac_fn_cxx_try_compile "$LINENO"; then :
16920 glibcxx_cv_c99_stdio=yes
16921 else
16922 glibcxx_cv_c99_stdio=no
16923 fi
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 else
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16928 fi
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16934 {
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16941 }
16942 int
16943 main ()
16944 {
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 if ac_fn_cxx_try_link "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16957 fi
16958
16959 fi
16960
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16962 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16963
16964 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16966 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16967 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970
16971 if test x$gcc_no_link = xyes; then
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #include <stdlib.h>
16975 volatile float f;
16976 volatile long double ld;
16977 volatile unsigned long long ll;
16978 lldiv_t mydivt;
16979 int
16980 main ()
16981 {
16982 char* tmp;
16983 f = strtof("gnu", &tmp);
16984 ld = strtold("gnu", &tmp);
16985 ll = strtoll("gnu", &tmp, 10);
16986 ll = strtoull("gnu", &tmp, 10);
16987 ll = llabs(10);
16988 mydivt = lldiv(10,1);
16989 ll = mydivt.quot;
16990 ll = mydivt.rem;
16991 ll = atoll("10");
16992 _Exit(0);
16993
16994 ;
16995 return 0;
16996 }
16997 _ACEOF
16998 if ac_fn_cxx_try_compile "$LINENO"; then :
16999 glibcxx_cv_c99_stdlib=yes
17000 else
17001 glibcxx_cv_c99_stdlib=no
17002 fi
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 else
17005 if test x$gcc_no_link = xyes; then
17006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17007 fi
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <stdlib.h>
17011 volatile float f;
17012 volatile long double ld;
17013 volatile unsigned long long ll;
17014 lldiv_t mydivt;
17015 int
17016 main ()
17017 {
17018 char* tmp;
17019 f = strtof("gnu", &tmp);
17020 ld = strtold("gnu", &tmp);
17021 ll = strtoll("gnu", &tmp, 10);
17022 ll = strtoull("gnu", &tmp, 10);
17023 ll = llabs(10);
17024 mydivt = lldiv(10,1);
17025 ll = mydivt.quot;
17026 ll = mydivt.rem;
17027 ll = atoll("10");
17028 _Exit(0);
17029
17030 ;
17031 return 0;
17032 }
17033 _ACEOF
17034 if ac_fn_cxx_try_link "$LINENO"; then :
17035 glibcxx_cv_c99_stdlib=yes
17036 else
17037 glibcxx_cv_c99_stdlib=no
17038 fi
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17041 fi
17042
17043 fi
17044
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17046 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17047
17048 # Check for the existence in <wchar.h> of wcstold, etc.
17049 glibcxx_cv_c99_wchar=no;
17050 if test x"$ac_has_wchar_h" = xyes &&
17051 test x"$ac_has_wctype_h" = xyes; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17053 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test
17058 {
17059 using ::wcstold;
17060 using ::wcstoll;
17061 using ::wcstoull;
17062 }
17063
17064 int
17065 main ()
17066 {
17067
17068 ;
17069 return 0;
17070 }
17071 _ACEOF
17072 if ac_fn_cxx_try_compile "$LINENO"; then :
17073 glibcxx_cv_c99_wchar=yes
17074 else
17075 glibcxx_cv_c99_wchar=no
17076 fi
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078
17079 # Checks for wide character functions that may not be present.
17080 # Injection of these is wrapped with guard macros.
17081 # NB: only put functions here, instead of immediately above, if
17082 # absolutely necessary.
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test { using ::vfwscanf; }
17087 int
17088 main ()
17089 {
17090
17091 ;
17092 return 0;
17093 }
17094 _ACEOF
17095 if ac_fn_cxx_try_compile "$LINENO"; then :
17096
17097 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17098
17099 fi
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17101
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #include <wchar.h>
17105 namespace test { using ::vswscanf; }
17106 int
17107 main ()
17108 {
17109
17110 ;
17111 return 0;
17112 }
17113 _ACEOF
17114 if ac_fn_cxx_try_compile "$LINENO"; then :
17115
17116 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17117
17118 fi
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <wchar.h>
17124 namespace test { using ::vwscanf; }
17125 int
17126 main ()
17127 {
17128
17129 ;
17130 return 0;
17131 }
17132 _ACEOF
17133 if ac_fn_cxx_try_compile "$LINENO"; then :
17134
17135 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17136
17137 fi
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17139
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <wchar.h>
17143 namespace test { using ::wcstof; }
17144 int
17145 main ()
17146 {
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 if ac_fn_cxx_try_compile "$LINENO"; then :
17153
17154 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17155
17156 fi
17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #include <wctype.h>
17162 int
17163 main ()
17164 {
17165 wint_t t; int i = iswblank(t);
17166 ;
17167 return 0;
17168 }
17169 _ACEOF
17170 if ac_fn_cxx_try_compile "$LINENO"; then :
17171
17172 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17173
17174 fi
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17178 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17179 fi
17180
17181 # Option parsed, now set things appropriately.
17182 if test x"$glibcxx_cv_c99_math" = x"no" ||
17183 test x"$glibcxx_cv_c99_complex" = x"no" ||
17184 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17185 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17186 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17187 enable_c99=no;
17188 else
17189
17190 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17191
17192 fi
17193
17194 gcc_no_link="$ac_save_gcc_no_link"
17195 LIBS="$ac_save_LIBS"
17196 CXXFLAGS="$ac_save_CXXFLAGS"
17197 ac_ext=c
17198 ac_cpp='$CPP $CPPFLAGS'
17199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17202
17203 fi
17204
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17206 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17208 $as_echo "$enable_c99" >&6; }
17209
17210
17211 # Check whether --enable-concept-checks was given.
17212 if test "${enable_concept_checks+set}" = set; then :
17213 enableval=$enable_concept_checks;
17214 case "$enableval" in
17215 yes|no) ;;
17216 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17217 esac
17218
17219 else
17220 enable_concept_checks=no
17221 fi
17222
17223
17224 if test $enable_concept_checks = yes; then
17225
17226 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17227
17228 fi
17229
17230
17231 # Check whether --enable-libstdcxx-debug-flags was given.
17232 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17233 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17234 xno | x) enable_libstdcxx_debug_flags= ;;
17235 x-*) ;;
17236 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17237 esac
17238 else
17239 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17240 fi
17241
17242
17243
17244 # Option parsed, now set things appropriately
17245 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17246
17247
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17249 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17250
17251
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17253 $as_echo_n "checking for additional debug build... " >&6; }
17254 # Check whether --enable-libstdcxx-debug was given.
17255 if test "${enable_libstdcxx_debug+set}" = set; then :
17256 enableval=$enable_libstdcxx_debug;
17257 case "$enableval" in
17258 yes|no) ;;
17259 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17260 esac
17261
17262 else
17263 enable_libstdcxx_debug=no
17264 fi
17265
17266
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17268 $as_echo "$enable_libstdcxx_debug" >&6; }
17269
17270
17271
17272
17273 enable_parallel=no;
17274
17275 # See if configured libgomp/omp.h exists. (libgomp may be in
17276 # noconfigdirs but not explicitly disabled.)
17277 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17278 enable_parallel=yes;
17279 else
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17281 $as_echo "$as_me: target-libgomp not built" >&6;}
17282 fi
17283
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17285 $as_echo_n "checking for parallel mode support... " >&6; }
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17287 $as_echo "$enable_parallel" >&6; }
17288
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17290 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17291 # Check whether --enable-cxx-flags was given.
17292 if test "${enable_cxx_flags+set}" = set; then :
17293 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17294 xno | x) enable_cxx_flags= ;;
17295 x-*) ;;
17296 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17297 esac
17298 else
17299 enable_cxx_flags=
17300 fi
17301
17302
17303
17304 # Run through flags (either default or command-line) and set anything
17305 # extra (e.g., #defines) that must accompany particular g++ options.
17306 if test -n "$enable_cxx_flags"; then
17307 for f in $enable_cxx_flags; do
17308 case "$f" in
17309 -fhonor-std) ;;
17310 -*) ;;
17311 *) # and we're trying to pass /what/ exactly?
17312 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17313 esac
17314 done
17315 fi
17316
17317 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17319 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17320
17321
17322
17323 # Check whether --enable-fully-dynamic-string was given.
17324 if test "${enable_fully_dynamic_string+set}" = set; then :
17325 enableval=$enable_fully_dynamic_string;
17326 case "$enableval" in
17327 yes|no) ;;
17328 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17329 esac
17330
17331 else
17332 enable_fully_dynamic_string=no
17333 fi
17334
17335
17336 if test $enable_fully_dynamic_string = yes; then
17337 enable_fully_dynamic_string_def=1
17338 else
17339 enable_fully_dynamic_string_def=0
17340 fi
17341
17342 cat >>confdefs.h <<_ACEOF
17343 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17344 _ACEOF
17345
17346
17347
17348
17349 # Check whether --enable-extern-template was given.
17350 if test "${enable_extern_template+set}" = set; then :
17351 enableval=$enable_extern_template;
17352 case "$enableval" in
17353 yes|no) ;;
17354 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17355 esac
17356
17357 else
17358 enable_extern_template=yes
17359 fi
17360
17361
17362
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17364 $as_echo_n "checking for extern template support... " >&6; }
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17366 $as_echo "$enable_extern_template" >&6; }
17367
17368
17369
17370
17371
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17373 $as_echo_n "checking for custom python install directory... " >&6; }
17374
17375 # Check whether --with-python-dir was given.
17376 if test "${with_python_dir+set}" = set; then :
17377 withval=$with_python_dir; with_python_dir=$withval
17378 else
17379 with_python_dir="no"
17380 fi
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17383 $as_echo "${with_python_dir}" >&6; }
17384
17385 # Needed for installing Python modules during make install.
17386 python_mod_dir="${with_python_dir}"
17387
17388
17389
17390
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17392 $as_echo_n "checking for -Werror... " >&6; }
17393 # Check whether --enable-werror was given.
17394 if test "${enable_werror+set}" = set; then :
17395 enableval=$enable_werror;
17396 case "$enableval" in
17397 yes|no) ;;
17398 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17399 esac
17400
17401 else
17402 enable_werror=yes
17403 fi
17404
17405
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17407 $as_echo "$enable_werror" >&6; }
17408
17409
17410
17411
17412 # Check whether --enable-vtable-verify was given.
17413 if test "${enable_vtable_verify+set}" = set; then :
17414 enableval=$enable_vtable_verify;
17415 case "$enableval" in
17416 yes|no) ;;
17417 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17418 esac
17419
17420 else
17421 enable_vtable_verify=no
17422 fi
17423
17424
17425
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17427 $as_echo_n "checking for vtable verify support... " >&6; }
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17429 $as_echo "$enable_vtable_verify" >&6; }
17430
17431 vtv_cygmin=no
17432 if test $enable_vtable_verify = yes; then
17433 case ${target_os} in
17434 cygwin*|mingw32*)
17435 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17436 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17437 vtv_cygmin=yes
17438 ;;
17439 darwin*)
17440 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
17441 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
17442 ;;
17443 *)
17444 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17445 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17446 ;;
17447 esac
17448 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17449 else
17450 VTV_CXXFLAGS=
17451 VTV_PCH_CXXFLAGS=
17452 VTV_CXXLINKFLAGS=
17453 fi
17454
17455
17456
17457
17458 if test x$vtv_cygmin = xyes; then
17459 VTV_CYGMIN_TRUE=
17460 VTV_CYGMIN_FALSE='#'
17461 else
17462 VTV_CYGMIN_TRUE='#'
17463 VTV_CYGMIN_FALSE=
17464 fi
17465
17466
17467
17468
17469 # Checks for operating systems support that doesn't require linking.
17470
17471
17472
17473 ac_ext=cpp
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17478
17479
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17481 $as_echo_n "checking for gets declaration... " >&6; }
17482 if test "${glibcxx_cv_gets+set}" = set; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 #include <stdio.h>
17489 namespace test
17490 {
17491 using ::gets;
17492 }
17493
17494 _ACEOF
17495 if ac_fn_cxx_try_compile "$LINENO"; then :
17496 glibcxx_cv_gets=yes
17497 else
17498 glibcxx_cv_gets=no
17499
17500 fi
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 fi
17503
17504
17505 if test $glibcxx_cv_gets = yes; then
17506
17507 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17508
17509 fi
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17511 $as_echo "$glibcxx_cv_gets" >&6; }
17512
17513 ac_ext=c
17514 ac_cpp='$CPP $CPPFLAGS'
17515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17518
17519
17520
17521
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17523 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17524 if test "${glibcxx_cv_system_error1+set}" = set; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17527
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #include <errno.h>
17531 int
17532 main ()
17533 {
17534 int i = EOWNERDEAD;
17535 ;
17536 return 0;
17537 }
17538 _ACEOF
17539 if ac_fn_c_try_compile "$LINENO"; then :
17540 glibcxx_cv_system_error1=yes
17541 else
17542 glibcxx_cv_system_error1=no
17543 fi
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17545
17546 fi
17547
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17549 $as_echo "$glibcxx_cv_system_error1" >&6; }
17550 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17551
17552 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17553
17554 fi
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17556 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17557 if test "${glibcxx_cv_system_error2+set}" = set; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 #include <errno.h>
17564 int
17565 main ()
17566 {
17567 int i = ENOTRECOVERABLE;
17568 ;
17569 return 0;
17570 }
17571 _ACEOF
17572 if ac_fn_c_try_compile "$LINENO"; then :
17573 glibcxx_cv_system_error2=yes
17574 else
17575 glibcxx_cv_system_error2=no
17576 fi
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17578
17579 fi
17580
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17582 $as_echo "$glibcxx_cv_system_error2" >&6; }
17583 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17584
17585 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17586
17587 fi
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17589 $as_echo_n "checking for ENOLINK... " >&6; }
17590 if test "${glibcxx_cv_system_error3+set}" = set; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17593
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #include <errno.h>
17597 int
17598 main ()
17599 {
17600 int i = ENOLINK;
17601 ;
17602 return 0;
17603 }
17604 _ACEOF
17605 if ac_fn_c_try_compile "$LINENO"; then :
17606 glibcxx_cv_system_error3=yes
17607 else
17608 glibcxx_cv_system_error3=no
17609 fi
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17611
17612 fi
17613
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17615 $as_echo "$glibcxx_cv_system_error3" >&6; }
17616 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17617
17618 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17619
17620 fi
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17622 $as_echo_n "checking for EPROTO... " >&6; }
17623 if test "${glibcxx_cv_system_error4+set}" = set; then :
17624 $as_echo_n "(cached) " >&6
17625 else
17626
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <errno.h>
17630 int
17631 main ()
17632 {
17633 int i = EPROTO;
17634 ;
17635 return 0;
17636 }
17637 _ACEOF
17638 if ac_fn_c_try_compile "$LINENO"; then :
17639 glibcxx_cv_system_error4=yes
17640 else
17641 glibcxx_cv_system_error4=no
17642 fi
17643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17644
17645 fi
17646
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17648 $as_echo "$glibcxx_cv_system_error4" >&6; }
17649 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17650
17651 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17652
17653 fi
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17655 $as_echo_n "checking for ENODATA... " >&6; }
17656 if test "${glibcxx_cv_system_error5+set}" = set; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17659
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 #include <errno.h>
17663 int
17664 main ()
17665 {
17666 int i = ENODATA;
17667 ;
17668 return 0;
17669 }
17670 _ACEOF
17671 if ac_fn_c_try_compile "$LINENO"; then :
17672 glibcxx_cv_system_error5=yes
17673 else
17674 glibcxx_cv_system_error5=no
17675 fi
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677
17678 fi
17679
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17681 $as_echo "$glibcxx_cv_system_error5" >&6; }
17682 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17683
17684 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17685
17686 fi
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17688 $as_echo_n "checking for ENOSR... " >&6; }
17689 if test "${glibcxx_cv_system_error6+set}" = set; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #include <errno.h>
17696 int
17697 main ()
17698 {
17699 int i = ENOSR;
17700 ;
17701 return 0;
17702 }
17703 _ACEOF
17704 if ac_fn_c_try_compile "$LINENO"; then :
17705 glibcxx_cv_system_error6=yes
17706 else
17707 glibcxx_cv_system_error6=no
17708 fi
17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17710
17711 fi
17712
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17714 $as_echo "$glibcxx_cv_system_error6" >&6; }
17715 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17716
17717 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17718
17719 fi
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17721 $as_echo_n "checking for ENOSTR... " >&6; }
17722 if test "${glibcxx_cv_system_error7+set}" = set; then :
17723 $as_echo_n "(cached) " >&6
17724 else
17725
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #include <errno.h>
17729 int
17730 main ()
17731 {
17732 int i = ENOSTR;
17733 ;
17734 return 0;
17735 }
17736 _ACEOF
17737 if ac_fn_c_try_compile "$LINENO"; then :
17738 glibcxx_cv_system_error7=yes
17739 else
17740 glibcxx_cv_system_error7=no
17741 fi
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17743
17744 fi
17745
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17747 $as_echo "$glibcxx_cv_system_error7" >&6; }
17748 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17749
17750 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17751
17752 fi
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17754 $as_echo_n "checking for ETIME... " >&6; }
17755 if test "${glibcxx_cv_system_error8+set}" = set; then :
17756 $as_echo_n "(cached) " >&6
17757 else
17758
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 #include <errno.h>
17762 int
17763 main ()
17764 {
17765 int i = ETIME;
17766 ;
17767 return 0;
17768 }
17769 _ACEOF
17770 if ac_fn_c_try_compile "$LINENO"; then :
17771 glibcxx_cv_system_error8=yes
17772 else
17773 glibcxx_cv_system_error8=no
17774 fi
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776
17777 fi
17778
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17780 $as_echo "$glibcxx_cv_system_error8" >&6; }
17781 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17782
17783 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17784
17785 fi
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17787 $as_echo_n "checking for EBADMSG... " >&6; }
17788 if test "${glibcxx_cv_system_error9+set}" = set; then :
17789 $as_echo_n "(cached) " >&6
17790 else
17791
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17794 #include <errno.h>
17795 int
17796 main ()
17797 {
17798 int i = EBADMSG;
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 if ac_fn_c_try_compile "$LINENO"; then :
17804 glibcxx_cv_system_error9=yes
17805 else
17806 glibcxx_cv_system_error9=no
17807 fi
17808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17809
17810 fi
17811
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17813 $as_echo "$glibcxx_cv_system_error9" >&6; }
17814 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17815
17816 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17817
17818 fi
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17820 $as_echo_n "checking for ECANCELED... " >&6; }
17821 if test "${glibcxx_cv_system_error10+set}" = set; then :
17822 $as_echo_n "(cached) " >&6
17823 else
17824
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <errno.h>
17828 int
17829 main ()
17830 {
17831 int i = ECANCELED;
17832 ;
17833 return 0;
17834 }
17835 _ACEOF
17836 if ac_fn_c_try_compile "$LINENO"; then :
17837 glibcxx_cv_system_error10=yes
17838 else
17839 glibcxx_cv_system_error10=no
17840 fi
17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17842
17843 fi
17844
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17846 $as_echo "$glibcxx_cv_system_error10" >&6; }
17847 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17848
17849 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17850
17851 fi
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17853 $as_echo_n "checking for EOVERFLOW... " >&6; }
17854 if test "${glibcxx_cv_system_error11+set}" = set; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17857
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <errno.h>
17861 int
17862 main ()
17863 {
17864 int i = EOVERFLOW;
17865 ;
17866 return 0;
17867 }
17868 _ACEOF
17869 if ac_fn_c_try_compile "$LINENO"; then :
17870 glibcxx_cv_system_error11=yes
17871 else
17872 glibcxx_cv_system_error11=no
17873 fi
17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17875
17876 fi
17877
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17879 $as_echo "$glibcxx_cv_system_error11" >&6; }
17880 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17881
17882 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17883
17884 fi
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17886 $as_echo_n "checking for ENOTSUP... " >&6; }
17887 if test "${glibcxx_cv_system_error12+set}" = set; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 #include <errno.h>
17894 int
17895 main ()
17896 {
17897 int i = ENOTSUP;
17898 ;
17899 return 0;
17900 }
17901 _ACEOF
17902 if ac_fn_c_try_compile "$LINENO"; then :
17903 glibcxx_cv_system_error12=yes
17904 else
17905 glibcxx_cv_system_error12=no
17906 fi
17907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17908
17909 fi
17910
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17912 $as_echo "$glibcxx_cv_system_error12" >&6; }
17913 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17914
17915 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17916
17917 fi
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17919 $as_echo_n "checking for EIDRM... " >&6; }
17920 if test "${glibcxx_cv_system_error13+set}" = set; then :
17921 $as_echo_n "(cached) " >&6
17922 else
17923
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17926 #include <errno.h>
17927 int
17928 main ()
17929 {
17930 int i = EIDRM;
17931 ;
17932 return 0;
17933 }
17934 _ACEOF
17935 if ac_fn_c_try_compile "$LINENO"; then :
17936 glibcxx_cv_system_error13=yes
17937 else
17938 glibcxx_cv_system_error13=no
17939 fi
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17941
17942 fi
17943
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17945 $as_echo "$glibcxx_cv_system_error13" >&6; }
17946 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17947
17948 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17949
17950 fi
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17952 $as_echo_n "checking for ETXTBSY... " >&6; }
17953 if test "${glibcxx_cv_system_error14+set}" = set; then :
17954 $as_echo_n "(cached) " >&6
17955 else
17956
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h. */
17959 #include <errno.h>
17960 int
17961 main ()
17962 {
17963 int i = ETXTBSY;
17964 ;
17965 return 0;
17966 }
17967 _ACEOF
17968 if ac_fn_c_try_compile "$LINENO"; then :
17969 glibcxx_cv_system_error14=yes
17970 else
17971 glibcxx_cv_system_error14=no
17972 fi
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974
17975 fi
17976
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17978 $as_echo "$glibcxx_cv_system_error14" >&6; }
17979 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17980
17981 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17982
17983 fi
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17985 $as_echo_n "checking for ECHILD... " >&6; }
17986 if test "${glibcxx_cv_system_error15+set}" = set; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17989
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #include <errno.h>
17993 int
17994 main ()
17995 {
17996 int i = ECHILD;
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 if ac_fn_c_try_compile "$LINENO"; then :
18002 glibcxx_cv_system_error15=yes
18003 else
18004 glibcxx_cv_system_error15=no
18005 fi
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007
18008 fi
18009
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18011 $as_echo "$glibcxx_cv_system_error15" >&6; }
18012 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18013
18014 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18015
18016 fi
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18018 $as_echo_n "checking for ENOSPC... " >&6; }
18019 if test "${glibcxx_cv_system_error16+set}" = set; then :
18020 $as_echo_n "(cached) " >&6
18021 else
18022
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18025 #include <errno.h>
18026 int
18027 main ()
18028 {
18029 int i = ENOSPC;
18030 ;
18031 return 0;
18032 }
18033 _ACEOF
18034 if ac_fn_c_try_compile "$LINENO"; then :
18035 glibcxx_cv_system_error16=yes
18036 else
18037 glibcxx_cv_system_error16=no
18038 fi
18039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18040
18041 fi
18042
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18044 $as_echo "$glibcxx_cv_system_error16" >&6; }
18045 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18046
18047 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18048
18049 fi
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18051 $as_echo_n "checking for EPERM... " >&6; }
18052 if test "${glibcxx_cv_system_error17+set}" = set; then :
18053 $as_echo_n "(cached) " >&6
18054 else
18055
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18058 #include <errno.h>
18059 int
18060 main ()
18061 {
18062 int i = EPERM;
18063 ;
18064 return 0;
18065 }
18066 _ACEOF
18067 if ac_fn_c_try_compile "$LINENO"; then :
18068 glibcxx_cv_system_error17=yes
18069 else
18070 glibcxx_cv_system_error17=no
18071 fi
18072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18073
18074 fi
18075
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18077 $as_echo "$glibcxx_cv_system_error17" >&6; }
18078 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18079
18080 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18081
18082 fi
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18084 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18085 if test "${glibcxx_cv_system_error18+set}" = set; then :
18086 $as_echo_n "(cached) " >&6
18087 else
18088
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18091 #include <errno.h>
18092 int
18093 main ()
18094 {
18095 int i = ETIMEDOUT;
18096 ;
18097 return 0;
18098 }
18099 _ACEOF
18100 if ac_fn_c_try_compile "$LINENO"; then :
18101 glibcxx_cv_system_error18=yes
18102 else
18103 glibcxx_cv_system_error18=no
18104 fi
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106
18107 fi
18108
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18110 $as_echo "$glibcxx_cv_system_error18" >&6; }
18111 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18112
18113 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18114
18115 fi
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18117 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18118 if test "${glibcxx_cv_system_error19+set}" = set; then :
18119 $as_echo_n "(cached) " >&6
18120 else
18121
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124 #include <errno.h>
18125 int
18126 main ()
18127 {
18128 int i = EWOULDBLOCK;
18129 ;
18130 return 0;
18131 }
18132 _ACEOF
18133 if ac_fn_c_try_compile "$LINENO"; then :
18134 glibcxx_cv_system_error19=yes
18135 else
18136 glibcxx_cv_system_error19=no
18137 fi
18138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139
18140 fi
18141
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18143 $as_echo "$glibcxx_cv_system_error19" >&6; }
18144 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18145
18146 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18147
18148 fi
18149
18150
18151
18152 # For the streamoff typedef.
18153
18154
18155
18156 ac_ext=cpp
18157 ac_cpp='$CXXCPP $CPPFLAGS'
18158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18161
18162
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18164 $as_echo_n "checking for int64_t... " >&6; }
18165 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18166 $as_echo_n "(cached) " >&6
18167 else
18168
18169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h. */
18171 #include <stdint.h>
18172 int
18173 main ()
18174 {
18175 int64_t var;
18176 ;
18177 return 0;
18178 }
18179 _ACEOF
18180 if ac_fn_cxx_try_compile "$LINENO"; then :
18181 glibcxx_cv_INT64_T=yes
18182 else
18183 glibcxx_cv_INT64_T=no
18184 fi
18185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18186
18187 fi
18188
18189
18190 if test $glibcxx_cv_INT64_T = yes; then
18191
18192 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18193
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18195 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18196
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18198 $as_echo_n "checking for int64_t as long... " >&6; }
18199 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18200 $as_echo_n "(cached) " >&6
18201 else
18202
18203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18205 #include <stdint.h>
18206 template<typename, typename> struct same { enum { value = -1 }; };
18207 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18208 int array[same<int64_t, long>::value];
18209 int
18210 main ()
18211 {
18212
18213 ;
18214 return 0;
18215 }
18216 _ACEOF
18217 if ac_fn_cxx_try_compile "$LINENO"; then :
18218 glibcxx_cv_int64_t_long=yes
18219 else
18220 glibcxx_cv_int64_t_long=no
18221 fi
18222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223
18224 fi
18225
18226
18227 if test $glibcxx_cv_int64_t_long = yes; then
18228
18229 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18230
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18232 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18233 fi
18234
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18236 $as_echo_n "checking for int64_t as long long... " >&6; }
18237 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18240
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18243 #include <stdint.h>
18244 template<typename, typename> struct same { enum { value = -1 }; };
18245 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18246 int array[same<int64_t, long long>::value];
18247 int
18248 main ()
18249 {
18250
18251 ;
18252 return 0;
18253 }
18254 _ACEOF
18255 if ac_fn_cxx_try_compile "$LINENO"; then :
18256 glibcxx_cv_int64_t_long_long=yes
18257 else
18258 glibcxx_cv_int64_t_long_long=no
18259 fi
18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261
18262 fi
18263
18264
18265 if test $glibcxx_cv_int64_t_long_long = yes; then
18266
18267 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18268
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18270 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18271 fi
18272 fi
18273
18274 ac_ext=c
18275 ac_cpp='$CPP $CPPFLAGS'
18276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18279
18280
18281
18282 # For LFS support.
18283
18284
18285 ac_ext=cpp
18286 ac_cpp='$CXXCPP $CPPFLAGS'
18287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18290
18291 ac_save_CXXFLAGS="$CXXFLAGS"
18292 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18294 $as_echo_n "checking for LFS support... " >&6; }
18295 if test "${glibcxx_cv_LFS+set}" = set; then :
18296 $as_echo_n "(cached) " >&6
18297 else
18298
18299 if test x$gcc_no_link = xyes; then
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18302 #include <unistd.h>
18303 #include <stdio.h>
18304 #include <sys/stat.h>
18305
18306 int
18307 main ()
18308 {
18309 FILE* fp;
18310 fopen64("t", "w");
18311 fseeko64(fp, 0, SEEK_CUR);
18312 ftello64(fp);
18313 lseek64(1, 0, SEEK_CUR);
18314 struct stat64 buf;
18315 fstat64(1, &buf);
18316 ;
18317 return 0;
18318 }
18319 _ACEOF
18320 if ac_fn_cxx_try_compile "$LINENO"; then :
18321 glibcxx_cv_LFS=yes
18322 else
18323 glibcxx_cv_LFS=no
18324 fi
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 else
18327 if test x$gcc_no_link = xyes; then
18328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18329 fi
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18332 #include <unistd.h>
18333 #include <stdio.h>
18334 #include <sys/stat.h>
18335
18336 int
18337 main ()
18338 {
18339 FILE* fp;
18340 fopen64("t", "w");
18341 fseeko64(fp, 0, SEEK_CUR);
18342 ftello64(fp);
18343 lseek64(1, 0, SEEK_CUR);
18344 struct stat64 buf;
18345 fstat64(1, &buf);
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 if ac_fn_cxx_try_link "$LINENO"; then :
18351 glibcxx_cv_LFS=yes
18352 else
18353 glibcxx_cv_LFS=no
18354 fi
18355 rm -f core conftest.err conftest.$ac_objext \
18356 conftest$ac_exeext conftest.$ac_ext
18357 fi
18358
18359 fi
18360
18361 if test $glibcxx_cv_LFS = yes; then
18362
18363 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18364
18365 fi
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18367 $as_echo "$glibcxx_cv_LFS" >&6; }
18368 CXXFLAGS="$ac_save_CXXFLAGS"
18369 ac_ext=c
18370 ac_cpp='$CPP $CPPFLAGS'
18371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18374
18375
18376
18377 # For showmanyc_helper().
18378 for ac_header in sys/ioctl.h sys/filio.h
18379 do :
18380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18382 eval as_val=\$$as_ac_Header
18383 if test "x$as_val" = x""yes; then :
18384 cat >>confdefs.h <<_ACEOF
18385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18386 _ACEOF
18387
18388 fi
18389
18390 done
18391
18392
18393
18394
18395 ac_ext=cpp
18396 ac_cpp='$CXXCPP $CPPFLAGS'
18397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18400
18401 ac_save_CXXFLAGS="$CXXFLAGS"
18402 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18403
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18405 $as_echo_n "checking for poll... " >&6; }
18406 if test "${glibcxx_cv_POLL+set}" = set; then :
18407 $as_echo_n "(cached) " >&6
18408 else
18409
18410 if test x$gcc_no_link = xyes; then
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18413 #include <poll.h>
18414 int
18415 main ()
18416 {
18417 struct pollfd pfd[1];
18418 pfd[0].events = POLLIN;
18419 poll(pfd, 1, 0);
18420 ;
18421 return 0;
18422 }
18423 _ACEOF
18424 if ac_fn_cxx_try_compile "$LINENO"; then :
18425 glibcxx_cv_POLL=yes
18426 else
18427 glibcxx_cv_POLL=no
18428 fi
18429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 else
18431 if test x$gcc_no_link = xyes; then
18432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18433 fi
18434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18435 /* end confdefs.h. */
18436 #include <poll.h>
18437 int
18438 main ()
18439 {
18440 struct pollfd pfd[1];
18441 pfd[0].events = POLLIN;
18442 poll(pfd, 1, 0);
18443 ;
18444 return 0;
18445 }
18446 _ACEOF
18447 if ac_fn_cxx_try_link "$LINENO"; then :
18448 glibcxx_cv_POLL=yes
18449 else
18450 glibcxx_cv_POLL=no
18451 fi
18452 rm -f core conftest.err conftest.$ac_objext \
18453 conftest$ac_exeext conftest.$ac_ext
18454 fi
18455
18456 fi
18457
18458 if test $glibcxx_cv_POLL = yes; then
18459
18460 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18461
18462 fi
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18464 $as_echo "$glibcxx_cv_POLL" >&6; }
18465
18466 CXXFLAGS="$ac_save_CXXFLAGS"
18467 ac_ext=c
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18472
18473
18474
18475
18476
18477 ac_ext=cpp
18478 ac_cpp='$CXXCPP $CPPFLAGS'
18479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18482
18483 ac_save_CXXFLAGS="$CXXFLAGS"
18484 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18485
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18487 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18488 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18489 $as_echo_n "(cached) " >&6
18490 else
18491
18492 if test x$gcc_no_link = xyes; then
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 #include <sys/stat.h>
18496 int
18497 main ()
18498 {
18499 struct stat buffer;
18500 fstat(0, &buffer);
18501 S_ISREG(buffer.st_mode);
18502 ;
18503 return 0;
18504 }
18505 _ACEOF
18506 if ac_fn_cxx_try_compile "$LINENO"; then :
18507 glibcxx_cv_S_ISREG=yes
18508 else
18509 glibcxx_cv_S_ISREG=no
18510 fi
18511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18512 else
18513 if test x$gcc_no_link = xyes; then
18514 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18515 fi
18516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18518 #include <sys/stat.h>
18519 int
18520 main ()
18521 {
18522 struct stat buffer;
18523 fstat(0, &buffer);
18524 S_ISREG(buffer.st_mode);
18525 ;
18526 return 0;
18527 }
18528 _ACEOF
18529 if ac_fn_cxx_try_link "$LINENO"; then :
18530 glibcxx_cv_S_ISREG=yes
18531 else
18532 glibcxx_cv_S_ISREG=no
18533 fi
18534 rm -f core conftest.err conftest.$ac_objext \
18535 conftest$ac_exeext conftest.$ac_ext
18536 fi
18537
18538 fi
18539
18540 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18541 $as_echo_n "(cached) " >&6
18542 else
18543
18544 if test x$gcc_no_link = xyes; then
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18547 #include <sys/stat.h>
18548 int
18549 main ()
18550 {
18551 struct stat buffer;
18552 fstat(0, &buffer);
18553 S_IFREG & buffer.st_mode;
18554 ;
18555 return 0;
18556 }
18557 _ACEOF
18558 if ac_fn_cxx_try_compile "$LINENO"; then :
18559 glibcxx_cv_S_IFREG=yes
18560 else
18561 glibcxx_cv_S_IFREG=no
18562 fi
18563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 else
18565 if test x$gcc_no_link = xyes; then
18566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18567 fi
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 #include <sys/stat.h>
18571 int
18572 main ()
18573 {
18574 struct stat buffer;
18575 fstat(0, &buffer);
18576 S_IFREG & buffer.st_mode;
18577 ;
18578 return 0;
18579 }
18580 _ACEOF
18581 if ac_fn_cxx_try_link "$LINENO"; then :
18582 glibcxx_cv_S_IFREG=yes
18583 else
18584 glibcxx_cv_S_IFREG=no
18585 fi
18586 rm -f core conftest.err conftest.$ac_objext \
18587 conftest$ac_exeext conftest.$ac_ext
18588 fi
18589
18590 fi
18591
18592 res=no
18593 if test $glibcxx_cv_S_ISREG = yes; then
18594
18595 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18596
18597 res=S_ISREG
18598 elif test $glibcxx_cv_S_IFREG = yes; then
18599
18600 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18601
18602 res=S_IFREG
18603 fi
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18605 $as_echo "$res" >&6; }
18606
18607 CXXFLAGS="$ac_save_CXXFLAGS"
18608 ac_ext=c
18609 ac_cpp='$CPP $CPPFLAGS'
18610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18613
18614
18615
18616 # For xsputn_2().
18617 for ac_header in sys/uio.h
18618 do :
18619 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18620 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18621 cat >>confdefs.h <<_ACEOF
18622 #define HAVE_SYS_UIO_H 1
18623 _ACEOF
18624
18625 fi
18626
18627 done
18628
18629
18630
18631
18632 ac_ext=cpp
18633 ac_cpp='$CXXCPP $CPPFLAGS'
18634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18637
18638 ac_save_CXXFLAGS="$CXXFLAGS"
18639 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18640
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18642 $as_echo_n "checking for writev... " >&6; }
18643 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18644 $as_echo_n "(cached) " >&6
18645 else
18646
18647 if test x$gcc_no_link = xyes; then
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 #include <sys/uio.h>
18651 int
18652 main ()
18653 {
18654 struct iovec iov[2];
18655 writev(0, iov, 0);
18656 ;
18657 return 0;
18658 }
18659 _ACEOF
18660 if ac_fn_cxx_try_compile "$LINENO"; then :
18661 glibcxx_cv_WRITEV=yes
18662 else
18663 glibcxx_cv_WRITEV=no
18664 fi
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666 else
18667 if test x$gcc_no_link = xyes; then
18668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18669 fi
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 #include <sys/uio.h>
18673 int
18674 main ()
18675 {
18676 struct iovec iov[2];
18677 writev(0, iov, 0);
18678 ;
18679 return 0;
18680 }
18681 _ACEOF
18682 if ac_fn_cxx_try_link "$LINENO"; then :
18683 glibcxx_cv_WRITEV=yes
18684 else
18685 glibcxx_cv_WRITEV=no
18686 fi
18687 rm -f core conftest.err conftest.$ac_objext \
18688 conftest$ac_exeext conftest.$ac_ext
18689 fi
18690
18691 fi
18692
18693 if test $glibcxx_cv_WRITEV = yes; then
18694
18695 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18696
18697 fi
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18699 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18700
18701 CXXFLAGS="$ac_save_CXXFLAGS"
18702 ac_ext=c
18703 ac_cpp='$CPP $CPPFLAGS'
18704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18707
18708
18709
18710 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18711 # so that the check is done with the C compiler (not C++).
18712 # Checking with C++ can break a canadian cross build if either
18713 # file does not exist in C but does in C++.
18714 for ac_header in fenv.h complex.h
18715 do :
18716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18717 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18718 eval as_val=\$$as_ac_Header
18719 if test "x$as_val" = x""yes; then :
18720 cat >>confdefs.h <<_ACEOF
18721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18722 _ACEOF
18723
18724 fi
18725
18726 done
18727
18728
18729 # For C99 support to TR1.
18730
18731
18732
18733 ac_ext=cpp
18734 ac_cpp='$CXXCPP $CPPFLAGS'
18735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18738
18739
18740 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18741 # undefined and fake C99 facilities may be spuriously enabled.
18742 ac_save_CXXFLAGS="$CXXFLAGS"
18743 CXXFLAGS="$CXXFLAGS -std=c++98"
18744
18745 # Check for the existence of <complex.h> complex math functions used
18746 # by tr1/complex.
18747 for ac_header in complex.h
18748 do :
18749 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18750 if test "x$ac_cv_header_complex_h" = x""yes; then :
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_COMPLEX_H 1
18753 _ACEOF
18754 ac_has_complex_h=yes
18755 else
18756 ac_has_complex_h=no
18757 fi
18758
18759 done
18760
18761 ac_c99_complex_tr1=no;
18762 if test x"$ac_has_complex_h" = x"yes"; then
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18764 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18766 /* end confdefs.h. */
18767 #include <complex.h>
18768 int
18769 main ()
18770 {
18771 typedef __complex__ float float_type; float_type tmpf;
18772 cacosf(tmpf);
18773 casinf(tmpf);
18774 catanf(tmpf);
18775 cacoshf(tmpf);
18776 casinhf(tmpf);
18777 catanhf(tmpf);
18778 typedef __complex__ double double_type; double_type tmpd;
18779 cacos(tmpd);
18780 casin(tmpd);
18781 catan(tmpd);
18782 cacosh(tmpd);
18783 casinh(tmpd);
18784 catanh(tmpd);
18785 typedef __complex__ long double ld_type; ld_type tmpld;
18786 cacosl(tmpld);
18787 casinl(tmpld);
18788 catanl(tmpld);
18789 cacoshl(tmpld);
18790 casinhl(tmpld);
18791 catanhl(tmpld);
18792
18793 ;
18794 return 0;
18795 }
18796 _ACEOF
18797 if ac_fn_cxx_try_compile "$LINENO"; then :
18798 ac_c99_complex_tr1=yes
18799 else
18800 ac_c99_complex_tr1=no
18801 fi
18802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 fi
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18805 $as_echo "$ac_c99_complex_tr1" >&6; }
18806 if test x"$ac_c99_complex_tr1" = x"yes"; then
18807
18808 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18809
18810 fi
18811
18812 # Check for the existence of <ctype.h> functions.
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18814 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18815 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18816 $as_echo_n "(cached) " >&6
18817 else
18818
18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18820 /* end confdefs.h. */
18821 #include <ctype.h>
18822 int
18823 main ()
18824 {
18825 int ch;
18826 int ret;
18827 ret = isblank(ch);
18828
18829 ;
18830 return 0;
18831 }
18832 _ACEOF
18833 if ac_fn_cxx_try_compile "$LINENO"; then :
18834 glibcxx_cv_c99_ctype_tr1=yes
18835 else
18836 glibcxx_cv_c99_ctype_tr1=no
18837 fi
18838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839
18840 fi
18841
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18843 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18844 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18845
18846 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18847
18848 fi
18849
18850 # Check for the existence of <fenv.h> functions.
18851 for ac_header in fenv.h
18852 do :
18853 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18854 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_FENV_H 1
18857 _ACEOF
18858 ac_has_fenv_h=yes
18859 else
18860 ac_has_fenv_h=no
18861 fi
18862
18863 done
18864
18865 ac_c99_fenv_tr1=no;
18866 if test x"$ac_has_fenv_h" = x"yes"; then
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18868 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 #include <fenv.h>
18872 int
18873 main ()
18874 {
18875 int except, mode;
18876 fexcept_t* pflag;
18877 fenv_t* penv;
18878 int ret;
18879 ret = feclearexcept(except);
18880 ret = fegetexceptflag(pflag, except);
18881 ret = feraiseexcept(except);
18882 ret = fesetexceptflag(pflag, except);
18883 ret = fetestexcept(except);
18884 ret = fegetround();
18885 ret = fesetround(mode);
18886 ret = fegetenv(penv);
18887 ret = feholdexcept(penv);
18888 ret = fesetenv(penv);
18889 ret = feupdateenv(penv);
18890
18891 ;
18892 return 0;
18893 }
18894 _ACEOF
18895 if ac_fn_cxx_try_compile "$LINENO"; then :
18896 ac_c99_fenv_tr1=yes
18897 else
18898 ac_c99_fenv_tr1=no
18899 fi
18900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18901 fi
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18903 $as_echo "$ac_c99_fenv_tr1" >&6; }
18904 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18905
18906 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18907
18908 fi
18909
18910 # Check for the existence of <stdint.h> types.
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18912 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18913 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18914 $as_echo_n "(cached) " >&6
18915 else
18916
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 #define __STDC_LIMIT_MACROS
18920 #define __STDC_CONSTANT_MACROS
18921 #include <stdint.h>
18922 int
18923 main ()
18924 {
18925 typedef int8_t my_int8_t;
18926 my_int8_t i8 = INT8_MIN;
18927 i8 = INT8_MAX;
18928 typedef int16_t my_int16_t;
18929 my_int16_t i16 = INT16_MIN;
18930 i16 = INT16_MAX;
18931 typedef int32_t my_int32_t;
18932 my_int32_t i32 = INT32_MIN;
18933 i32 = INT32_MAX;
18934 typedef int64_t my_int64_t;
18935 my_int64_t i64 = INT64_MIN;
18936 i64 = INT64_MAX;
18937 typedef int_fast8_t my_int_fast8_t;
18938 my_int_fast8_t if8 = INT_FAST8_MIN;
18939 if8 = INT_FAST8_MAX;
18940 typedef int_fast16_t my_int_fast16_t;
18941 my_int_fast16_t if16 = INT_FAST16_MIN;
18942 if16 = INT_FAST16_MAX;
18943 typedef int_fast32_t my_int_fast32_t;
18944 my_int_fast32_t if32 = INT_FAST32_MIN;
18945 if32 = INT_FAST32_MAX;
18946 typedef int_fast64_t my_int_fast64_t;
18947 my_int_fast64_t if64 = INT_FAST64_MIN;
18948 if64 = INT_FAST64_MAX;
18949 typedef int_least8_t my_int_least8_t;
18950 my_int_least8_t il8 = INT_LEAST8_MIN;
18951 il8 = INT_LEAST8_MAX;
18952 typedef int_least16_t my_int_least16_t;
18953 my_int_least16_t il16 = INT_LEAST16_MIN;
18954 il16 = INT_LEAST16_MAX;
18955 typedef int_least32_t my_int_least32_t;
18956 my_int_least32_t il32 = INT_LEAST32_MIN;
18957 il32 = INT_LEAST32_MAX;
18958 typedef int_least64_t my_int_least64_t;
18959 my_int_least64_t il64 = INT_LEAST64_MIN;
18960 il64 = INT_LEAST64_MAX;
18961 typedef intmax_t my_intmax_t;
18962 my_intmax_t im = INTMAX_MAX;
18963 im = INTMAX_MIN;
18964 typedef intptr_t my_intptr_t;
18965 my_intptr_t ip = INTPTR_MAX;
18966 ip = INTPTR_MIN;
18967 typedef uint8_t my_uint8_t;
18968 my_uint8_t ui8 = UINT8_MAX;
18969 ui8 = UINT8_MAX;
18970 typedef uint16_t my_uint16_t;
18971 my_uint16_t ui16 = UINT16_MAX;
18972 ui16 = UINT16_MAX;
18973 typedef uint32_t my_uint32_t;
18974 my_uint32_t ui32 = UINT32_MAX;
18975 ui32 = UINT32_MAX;
18976 typedef uint64_t my_uint64_t;
18977 my_uint64_t ui64 = UINT64_MAX;
18978 ui64 = UINT64_MAX;
18979 typedef uint_fast8_t my_uint_fast8_t;
18980 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18981 uif8 = UINT_FAST8_MAX;
18982 typedef uint_fast16_t my_uint_fast16_t;
18983 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18984 uif16 = UINT_FAST16_MAX;
18985 typedef uint_fast32_t my_uint_fast32_t;
18986 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18987 uif32 = UINT_FAST32_MAX;
18988 typedef uint_fast64_t my_uint_fast64_t;
18989 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18990 uif64 = UINT_FAST64_MAX;
18991 typedef uint_least8_t my_uint_least8_t;
18992 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18993 uil8 = UINT_LEAST8_MAX;
18994 typedef uint_least16_t my_uint_least16_t;
18995 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18996 uil16 = UINT_LEAST16_MAX;
18997 typedef uint_least32_t my_uint_least32_t;
18998 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18999 uil32 = UINT_LEAST32_MAX;
19000 typedef uint_least64_t my_uint_least64_t;
19001 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19002 uil64 = UINT_LEAST64_MAX;
19003 typedef uintmax_t my_uintmax_t;
19004 my_uintmax_t uim = UINTMAX_MAX;
19005 uim = UINTMAX_MAX;
19006 typedef uintptr_t my_uintptr_t;
19007 my_uintptr_t uip = UINTPTR_MAX;
19008 uip = UINTPTR_MAX;
19009
19010 ;
19011 return 0;
19012 }
19013 _ACEOF
19014 if ac_fn_cxx_try_compile "$LINENO"; then :
19015 glibcxx_cv_c99_stdint_tr1=yes
19016 else
19017 glibcxx_cv_c99_stdint_tr1=no
19018 fi
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020
19021 fi
19022
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19024 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19025 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19026
19027 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19028
19029 fi
19030
19031 # Check for the existence of <math.h> functions.
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19033 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19034 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19035 $as_echo_n "(cached) " >&6
19036 else
19037
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #include <math.h>
19041 int
19042 main ()
19043 {
19044 typedef double_t my_double_t;
19045 typedef float_t my_float_t;
19046 acosh(0.0);
19047 acoshf(0.0f);
19048 acoshl(0.0l);
19049 asinh(0.0);
19050 asinhf(0.0f);
19051 asinhl(0.0l);
19052 atanh(0.0);
19053 atanhf(0.0f);
19054 atanhl(0.0l);
19055 cbrt(0.0);
19056 cbrtf(0.0f);
19057 cbrtl(0.0l);
19058 copysign(0.0, 0.0);
19059 copysignf(0.0f, 0.0f);
19060 copysignl(0.0l, 0.0l);
19061 erf(0.0);
19062 erff(0.0f);
19063 erfl(0.0l);
19064 erfc(0.0);
19065 erfcf(0.0f);
19066 erfcl(0.0l);
19067 exp2(0.0);
19068 exp2f(0.0f);
19069 exp2l(0.0l);
19070 expm1(0.0);
19071 expm1f(0.0f);
19072 expm1l(0.0l);
19073 fdim(0.0, 0.0);
19074 fdimf(0.0f, 0.0f);
19075 fdiml(0.0l, 0.0l);
19076 fma(0.0, 0.0, 0.0);
19077 fmaf(0.0f, 0.0f, 0.0f);
19078 fmal(0.0l, 0.0l, 0.0l);
19079 fmax(0.0, 0.0);
19080 fmaxf(0.0f, 0.0f);
19081 fmaxl(0.0l, 0.0l);
19082 fmin(0.0, 0.0);
19083 fminf(0.0f, 0.0f);
19084 fminl(0.0l, 0.0l);
19085 hypot(0.0, 0.0);
19086 hypotf(0.0f, 0.0f);
19087 hypotl(0.0l, 0.0l);
19088 ilogb(0.0);
19089 ilogbf(0.0f);
19090 ilogbl(0.0l);
19091 lgamma(0.0);
19092 lgammaf(0.0f);
19093 lgammal(0.0l);
19094 llrint(0.0);
19095 llrintf(0.0f);
19096 llrintl(0.0l);
19097 llround(0.0);
19098 llroundf(0.0f);
19099 llroundl(0.0l);
19100 log1p(0.0);
19101 log1pf(0.0f);
19102 log1pl(0.0l);
19103 log2(0.0);
19104 log2f(0.0f);
19105 log2l(0.0l);
19106 logb(0.0);
19107 logbf(0.0f);
19108 logbl(0.0l);
19109 lrint(0.0);
19110 lrintf(0.0f);
19111 lrintl(0.0l);
19112 lround(0.0);
19113 lroundf(0.0f);
19114 lroundl(0.0l);
19115 nan(0);
19116 nanf(0);
19117 nanl(0);
19118 nearbyint(0.0);
19119 nearbyintf(0.0f);
19120 nearbyintl(0.0l);
19121 nextafter(0.0, 0.0);
19122 nextafterf(0.0f, 0.0f);
19123 nextafterl(0.0l, 0.0l);
19124 nexttoward(0.0, 0.0);
19125 nexttowardf(0.0f, 0.0f);
19126 nexttowardl(0.0l, 0.0l);
19127 remainder(0.0, 0.0);
19128 remainderf(0.0f, 0.0f);
19129 remainderl(0.0l, 0.0l);
19130 remquo(0.0, 0.0, 0);
19131 remquof(0.0f, 0.0f, 0);
19132 remquol(0.0l, 0.0l, 0);
19133 rint(0.0);
19134 rintf(0.0f);
19135 rintl(0.0l);
19136 round(0.0);
19137 roundf(0.0f);
19138 roundl(0.0l);
19139 scalbln(0.0, 0l);
19140 scalblnf(0.0f, 0l);
19141 scalblnl(0.0l, 0l);
19142 scalbn(0.0, 0);
19143 scalbnf(0.0f, 0);
19144 scalbnl(0.0l, 0);
19145 tgamma(0.0);
19146 tgammaf(0.0f);
19147 tgammal(0.0l);
19148 trunc(0.0);
19149 truncf(0.0f);
19150 truncl(0.0l);
19151
19152 ;
19153 return 0;
19154 }
19155 _ACEOF
19156 if ac_fn_cxx_try_compile "$LINENO"; then :
19157 glibcxx_cv_c99_math_tr1=yes
19158 else
19159 glibcxx_cv_c99_math_tr1=no
19160 fi
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19162
19163 fi
19164
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19166 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19167 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19168
19169 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19170
19171 fi
19172
19173 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19174 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19175 ac_c99_inttypes_tr1=no;
19176 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19178 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19180 /* end confdefs.h. */
19181 #include <inttypes.h>
19182 int
19183 main ()
19184 {
19185 intmax_t i, numer, denom, base;
19186 const char* s;
19187 char** endptr;
19188 intmax_t ret = imaxabs(i);
19189 imaxdiv_t dret = imaxdiv(numer, denom);
19190 ret = strtoimax(s, endptr, base);
19191 uintmax_t uret = strtoumax(s, endptr, base);
19192
19193 ;
19194 return 0;
19195 }
19196 _ACEOF
19197 if ac_fn_cxx_try_compile "$LINENO"; then :
19198 ac_c99_inttypes_tr1=yes
19199 else
19200 ac_c99_inttypes_tr1=no
19201 fi
19202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19203 fi
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19205 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19206 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19207
19208 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19209
19210 fi
19211
19212 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19213 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19214 ac_c99_inttypes_wchar_t_tr1=no;
19215 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19217 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19220 #include <inttypes.h>
19221 int
19222 main ()
19223 {
19224 intmax_t base;
19225 const wchar_t* s;
19226 wchar_t** endptr;
19227 intmax_t ret = wcstoimax(s, endptr, base);
19228 uintmax_t uret = wcstoumax(s, endptr, base);
19229
19230 ;
19231 return 0;
19232 }
19233 _ACEOF
19234 if ac_fn_cxx_try_compile "$LINENO"; then :
19235 ac_c99_inttypes_wchar_t_tr1=yes
19236 else
19237 ac_c99_inttypes_wchar_t_tr1=no
19238 fi
19239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19240 fi
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19242 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19243 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19244
19245 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19246
19247 fi
19248
19249 # Check for the existence of the <stdbool.h> header.
19250 for ac_header in stdbool.h
19251 do :
19252 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19253 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19254 cat >>confdefs.h <<_ACEOF
19255 #define HAVE_STDBOOL_H 1
19256 _ACEOF
19257
19258 fi
19259
19260 done
19261
19262
19263 # Check for the existence of the <stdalign.h> header.
19264 for ac_header in stdalign.h
19265 do :
19266 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19267 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_STDALIGN_H 1
19270 _ACEOF
19271
19272 fi
19273
19274 done
19275
19276
19277 CXXFLAGS="$ac_save_CXXFLAGS"
19278 ac_ext=c
19279 ac_cpp='$CPP $CPPFLAGS'
19280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19283
19284
19285
19286 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19287
19288
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19290 $as_echo_n "checking for the value of EOF... " >&6; }
19291 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19292 $as_echo_n "(cached) " >&6
19293 else
19294
19295 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19296
19297 else
19298 as_fn_error "computing EOF failed" "$LINENO" 5
19299 fi
19300
19301
19302 fi
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19304 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19305
19306 cat >>confdefs.h <<_ACEOF
19307 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19308 _ACEOF
19309
19310
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19312 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19313 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19314 $as_echo_n "(cached) " >&6
19315 else
19316
19317 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19318
19319 else
19320 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19321 fi
19322
19323
19324 fi
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19326 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19327
19328 cat >>confdefs.h <<_ACEOF
19329 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19330 _ACEOF
19331
19332
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19334 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19335 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19336 $as_echo_n "(cached) " >&6
19337 else
19338
19339 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19340
19341 else
19342 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19343 fi
19344
19345
19346 fi
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19348 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19349
19350 cat >>confdefs.h <<_ACEOF
19351 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19352 _ACEOF
19353
19354
19355
19356 # For gettimeofday support.
19357
19358
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19360 $as_echo_n "checking for gettimeofday... " >&6; }
19361
19362
19363 ac_ext=cpp
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19368
19369 ac_save_CXXFLAGS="$CXXFLAGS"
19370 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19371
19372 ac_has_gettimeofday=no;
19373 for ac_header in sys/time.h
19374 do :
19375 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19376 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19377 cat >>confdefs.h <<_ACEOF
19378 #define HAVE_SYS_TIME_H 1
19379 _ACEOF
19380 ac_has_sys_time_h=yes
19381 else
19382 ac_has_sys_time_h=no
19383 fi
19384
19385 done
19386
19387 if test x"$ac_has_sys_time_h" = x"yes"; then
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19389 $as_echo_n "checking for gettimeofday... " >&6; }
19390 if test x$gcc_no_link = xyes; then
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 #include <sys/time.h>
19394 int
19395 main ()
19396 {
19397 timeval tv; gettimeofday(&tv, 0);
19398 ;
19399 return 0;
19400 }
19401 _ACEOF
19402 if ac_fn_cxx_try_compile "$LINENO"; then :
19403 ac_has_gettimeofday=yes
19404 else
19405 ac_has_gettimeofday=no
19406 fi
19407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19408 else
19409 if test x$gcc_no_link = xyes; then
19410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19411 fi
19412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19414 #include <sys/time.h>
19415 int
19416 main ()
19417 {
19418 timeval tv; gettimeofday(&tv, 0);
19419 ;
19420 return 0;
19421 }
19422 _ACEOF
19423 if ac_fn_cxx_try_link "$LINENO"; then :
19424 ac_has_gettimeofday=yes
19425 else
19426 ac_has_gettimeofday=no
19427 fi
19428 rm -f core conftest.err conftest.$ac_objext \
19429 conftest$ac_exeext conftest.$ac_ext
19430 fi
19431
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19433 $as_echo "$ac_has_gettimeofday" >&6; }
19434 fi
19435
19436 if test x"$ac_has_gettimeofday" = x"yes"; then
19437
19438 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19439
19440 fi
19441
19442 CXXFLAGS="$ac_save_CXXFLAGS"
19443 ac_ext=c
19444 ac_cpp='$CPP $CPPFLAGS'
19445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19448
19449
19450
19451 # For clock_gettime, nanosleep and sched_yield support.
19452
19453
19454 # Check whether --enable-libstdcxx-time was given.
19455 if test "${enable_libstdcxx_time+set}" = set; then :
19456 enableval=$enable_libstdcxx_time;
19457 case "$enableval" in
19458 yes|no|rt) ;;
19459 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19460 esac
19461
19462 else
19463 enable_libstdcxx_time=auto
19464 fi
19465
19466
19467
19468
19469 ac_ext=cpp
19470 ac_cpp='$CXXCPP $CPPFLAGS'
19471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19474
19475 ac_save_CXXFLAGS="$CXXFLAGS"
19476 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19477 ac_save_LIBS="$LIBS"
19478
19479 ac_has_clock_monotonic=no
19480 ac_has_clock_realtime=no
19481 ac_has_nanosleep=no
19482 ac_has_sched_yield=no
19483
19484 if test x"$enable_libstdcxx_time" = x"auto"; then
19485
19486 case "${target_os}" in
19487 cygwin*)
19488 ac_has_nanosleep=yes
19489 ;;
19490 darwin*)
19491 ac_has_nanosleep=yes
19492 ac_has_sched_yield=yes
19493 ;;
19494 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19496 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 #include <features.h>
19500 int
19501 main ()
19502 {
19503
19504 #if ! __GLIBC_PREREQ(2, 17)
19505 #error
19506 #endif
19507
19508 ;
19509 return 0;
19510 }
19511 _ACEOF
19512 if ac_fn_cxx_try_compile "$LINENO"; then :
19513 glibcxx_glibc217=yes
19514 else
19515 glibcxx_glibc217=no
19516 fi
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19519 $as_echo "$glibcxx_glibc217" >&6; }
19520
19521 if test x"$glibcxx_glibc217" = x"yes"; then
19522 ac_has_clock_monotonic=yes
19523 ac_has_clock_realtime=yes
19524 fi
19525 ac_has_nanosleep=yes
19526 ac_has_sched_yield=yes
19527 ;;
19528 freebsd*|netbsd*|dragonfly*)
19529 ac_has_clock_monotonic=yes
19530 ac_has_clock_realtime=yes
19531 ac_has_nanosleep=yes
19532 ac_has_sched_yield=yes
19533 ;;
19534 openbsd*)
19535 ac_has_clock_monotonic=yes
19536 ac_has_clock_realtime=yes
19537 ac_has_nanosleep=yes
19538 ;;
19539 solaris*)
19540 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19541 ac_has_clock_monotonic=yes
19542 ac_has_clock_realtime=yes
19543 ac_has_nanosleep=yes
19544 ac_has_sched_yield=yes
19545 ;;
19546 esac
19547
19548 elif test x"$enable_libstdcxx_time" != x"no"; then
19549
19550 if test x"$enable_libstdcxx_time" = x"rt"; then
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19552 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19553 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19554 $as_echo_n "(cached) " >&6
19555 else
19556 ac_func_search_save_LIBS=$LIBS
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559
19560 /* Override any GCC internal prototype to avoid an error.
19561 Use char because int might match the return type of a GCC
19562 builtin and then its argument prototype would still apply. */
19563 #ifdef __cplusplus
19564 extern "C"
19565 #endif
19566 char clock_gettime ();
19567 int
19568 main ()
19569 {
19570 return clock_gettime ();
19571 ;
19572 return 0;
19573 }
19574 _ACEOF
19575 for ac_lib in '' rt posix4; do
19576 if test -z "$ac_lib"; then
19577 ac_res="none required"
19578 else
19579 ac_res=-l$ac_lib
19580 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19581 fi
19582 if test x$gcc_no_link = xyes; then
19583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19584 fi
19585 if ac_fn_cxx_try_link "$LINENO"; then :
19586 ac_cv_search_clock_gettime=$ac_res
19587 fi
19588 rm -f core conftest.err conftest.$ac_objext \
19589 conftest$ac_exeext
19590 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19591 break
19592 fi
19593 done
19594 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19595
19596 else
19597 ac_cv_search_clock_gettime=no
19598 fi
19599 rm conftest.$ac_ext
19600 LIBS=$ac_func_search_save_LIBS
19601 fi
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19603 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19604 ac_res=$ac_cv_search_clock_gettime
19605 if test "$ac_res" != no; then :
19606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19607
19608 fi
19609
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19611 $as_echo_n "checking for library containing nanosleep... " >&6; }
19612 if test "${ac_cv_search_nanosleep+set}" = set; then :
19613 $as_echo_n "(cached) " >&6
19614 else
19615 ac_func_search_save_LIBS=$LIBS
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19618
19619 /* Override any GCC internal prototype to avoid an error.
19620 Use char because int might match the return type of a GCC
19621 builtin and then its argument prototype would still apply. */
19622 #ifdef __cplusplus
19623 extern "C"
19624 #endif
19625 char nanosleep ();
19626 int
19627 main ()
19628 {
19629 return nanosleep ();
19630 ;
19631 return 0;
19632 }
19633 _ACEOF
19634 for ac_lib in '' rt posix4; do
19635 if test -z "$ac_lib"; then
19636 ac_res="none required"
19637 else
19638 ac_res=-l$ac_lib
19639 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19640 fi
19641 if test x$gcc_no_link = xyes; then
19642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19643 fi
19644 if ac_fn_cxx_try_link "$LINENO"; then :
19645 ac_cv_search_nanosleep=$ac_res
19646 fi
19647 rm -f core conftest.err conftest.$ac_objext \
19648 conftest$ac_exeext
19649 if test "${ac_cv_search_nanosleep+set}" = set; then :
19650 break
19651 fi
19652 done
19653 if test "${ac_cv_search_nanosleep+set}" = set; then :
19654
19655 else
19656 ac_cv_search_nanosleep=no
19657 fi
19658 rm conftest.$ac_ext
19659 LIBS=$ac_func_search_save_LIBS
19660 fi
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19662 $as_echo "$ac_cv_search_nanosleep" >&6; }
19663 ac_res=$ac_cv_search_nanosleep
19664 if test "$ac_res" != no; then :
19665 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19666
19667 fi
19668
19669 else
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19671 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19672 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19673 $as_echo_n "(cached) " >&6
19674 else
19675 ac_func_search_save_LIBS=$LIBS
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19678
19679 /* Override any GCC internal prototype to avoid an error.
19680 Use char because int might match the return type of a GCC
19681 builtin and then its argument prototype would still apply. */
19682 #ifdef __cplusplus
19683 extern "C"
19684 #endif
19685 char clock_gettime ();
19686 int
19687 main ()
19688 {
19689 return clock_gettime ();
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 for ac_lib in '' posix4; do
19695 if test -z "$ac_lib"; then
19696 ac_res="none required"
19697 else
19698 ac_res=-l$ac_lib
19699 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19700 fi
19701 if test x$gcc_no_link = xyes; then
19702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19703 fi
19704 if ac_fn_cxx_try_link "$LINENO"; then :
19705 ac_cv_search_clock_gettime=$ac_res
19706 fi
19707 rm -f core conftest.err conftest.$ac_objext \
19708 conftest$ac_exeext
19709 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19710 break
19711 fi
19712 done
19713 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19714
19715 else
19716 ac_cv_search_clock_gettime=no
19717 fi
19718 rm conftest.$ac_ext
19719 LIBS=$ac_func_search_save_LIBS
19720 fi
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19722 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19723 ac_res=$ac_cv_search_clock_gettime
19724 if test "$ac_res" != no; then :
19725 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19726
19727 fi
19728
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19730 $as_echo_n "checking for library containing nanosleep... " >&6; }
19731 if test "${ac_cv_search_nanosleep+set}" = set; then :
19732 $as_echo_n "(cached) " >&6
19733 else
19734 ac_func_search_save_LIBS=$LIBS
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737
19738 /* Override any GCC internal prototype to avoid an error.
19739 Use char because int might match the return type of a GCC
19740 builtin and then its argument prototype would still apply. */
19741 #ifdef __cplusplus
19742 extern "C"
19743 #endif
19744 char nanosleep ();
19745 int
19746 main ()
19747 {
19748 return nanosleep ();
19749 ;
19750 return 0;
19751 }
19752 _ACEOF
19753 for ac_lib in '' posix4; do
19754 if test -z "$ac_lib"; then
19755 ac_res="none required"
19756 else
19757 ac_res=-l$ac_lib
19758 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19759 fi
19760 if test x$gcc_no_link = xyes; then
19761 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19762 fi
19763 if ac_fn_cxx_try_link "$LINENO"; then :
19764 ac_cv_search_nanosleep=$ac_res
19765 fi
19766 rm -f core conftest.err conftest.$ac_objext \
19767 conftest$ac_exeext
19768 if test "${ac_cv_search_nanosleep+set}" = set; then :
19769 break
19770 fi
19771 done
19772 if test "${ac_cv_search_nanosleep+set}" = set; then :
19773
19774 else
19775 ac_cv_search_nanosleep=no
19776 fi
19777 rm conftest.$ac_ext
19778 LIBS=$ac_func_search_save_LIBS
19779 fi
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19781 $as_echo "$ac_cv_search_nanosleep" >&6; }
19782 ac_res=$ac_cv_search_nanosleep
19783 if test "$ac_res" != no; then :
19784 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19785
19786 fi
19787
19788 fi
19789
19790 case "$ac_cv_search_clock_gettime" in
19791 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19792 ;;
19793 esac
19794 case "$ac_cv_search_nanosleep" in
19795 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19796 ;;
19797 esac
19798
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19800 $as_echo_n "checking for library containing sched_yield... " >&6; }
19801 if test "${ac_cv_search_sched_yield+set}" = set; then :
19802 $as_echo_n "(cached) " >&6
19803 else
19804 ac_func_search_save_LIBS=$LIBS
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807
19808 /* Override any GCC internal prototype to avoid an error.
19809 Use char because int might match the return type of a GCC
19810 builtin and then its argument prototype would still apply. */
19811 #ifdef __cplusplus
19812 extern "C"
19813 #endif
19814 char sched_yield ();
19815 int
19816 main ()
19817 {
19818 return sched_yield ();
19819 ;
19820 return 0;
19821 }
19822 _ACEOF
19823 for ac_lib in '' rt posix4; do
19824 if test -z "$ac_lib"; then
19825 ac_res="none required"
19826 else
19827 ac_res=-l$ac_lib
19828 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19829 fi
19830 if test x$gcc_no_link = xyes; then
19831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19832 fi
19833 if ac_fn_cxx_try_link "$LINENO"; then :
19834 ac_cv_search_sched_yield=$ac_res
19835 fi
19836 rm -f core conftest.err conftest.$ac_objext \
19837 conftest$ac_exeext
19838 if test "${ac_cv_search_sched_yield+set}" = set; then :
19839 break
19840 fi
19841 done
19842 if test "${ac_cv_search_sched_yield+set}" = set; then :
19843
19844 else
19845 ac_cv_search_sched_yield=no
19846 fi
19847 rm conftest.$ac_ext
19848 LIBS=$ac_func_search_save_LIBS
19849 fi
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19851 $as_echo "$ac_cv_search_sched_yield" >&6; }
19852 ac_res=$ac_cv_search_sched_yield
19853 if test "$ac_res" != no; then :
19854 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19855
19856 fi
19857
19858
19859 case "$ac_cv_search_sched_yield" in
19860 -lposix4*)
19861 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19862 ac_has_sched_yield=yes
19863 ;;
19864 -lrt*)
19865 if test x"$enable_libstdcxx_time" = x"rt"; then
19866 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19867 ac_has_sched_yield=yes
19868 fi
19869 ;;
19870 *)
19871 ac_has_sched_yield=yes
19872 ;;
19873 esac
19874
19875 for ac_header in unistd.h
19876 do :
19877 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19878 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19879 cat >>confdefs.h <<_ACEOF
19880 #define HAVE_UNISTD_H 1
19881 _ACEOF
19882 ac_has_unistd_h=yes
19883 else
19884 ac_has_unistd_h=no
19885 fi
19886
19887 done
19888
19889
19890 if test x"$ac_has_unistd_h" = x"yes"; then
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19892 $as_echo_n "checking for monotonic clock... " >&6; }
19893 if test x$gcc_no_link = xyes; then
19894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19895 fi
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #include <unistd.h>
19899 #include <time.h>
19900
19901 int
19902 main ()
19903 {
19904 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19905 timespec tp;
19906 #endif
19907 clock_gettime(CLOCK_MONOTONIC, &tp);
19908
19909 ;
19910 return 0;
19911 }
19912 _ACEOF
19913 if ac_fn_cxx_try_link "$LINENO"; then :
19914 ac_has_clock_monotonic=yes
19915 else
19916 ac_has_clock_monotonic=no
19917 fi
19918 rm -f core conftest.err conftest.$ac_objext \
19919 conftest$ac_exeext conftest.$ac_ext
19920
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19922 $as_echo "$ac_has_clock_monotonic" >&6; }
19923
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19925 $as_echo_n "checking for realtime clock... " >&6; }
19926 if test x$gcc_no_link = xyes; then
19927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19928 fi
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #include <unistd.h>
19932 #include <time.h>
19933
19934 int
19935 main ()
19936 {
19937 #if _POSIX_TIMERS > 0
19938 timespec tp;
19939 #endif
19940 clock_gettime(CLOCK_REALTIME, &tp);
19941
19942 ;
19943 return 0;
19944 }
19945 _ACEOF
19946 if ac_fn_cxx_try_link "$LINENO"; then :
19947 ac_has_clock_realtime=yes
19948 else
19949 ac_has_clock_realtime=no
19950 fi
19951 rm -f core conftest.err conftest.$ac_objext \
19952 conftest$ac_exeext conftest.$ac_ext
19953
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19955 $as_echo "$ac_has_clock_realtime" >&6; }
19956
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19958 $as_echo_n "checking for nanosleep... " >&6; }
19959 if test x$gcc_no_link = xyes; then
19960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19961 fi
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964 #include <unistd.h>
19965 #include <time.h>
19966
19967 int
19968 main ()
19969 {
19970 #if _POSIX_TIMERS > 0
19971 timespec tp;
19972 #endif
19973 nanosleep(&tp, 0);
19974
19975 ;
19976 return 0;
19977 }
19978 _ACEOF
19979 if ac_fn_cxx_try_link "$LINENO"; then :
19980 ac_has_nanosleep=yes
19981 else
19982 ac_has_nanosleep=no
19983 fi
19984 rm -f core conftest.err conftest.$ac_objext \
19985 conftest$ac_exeext conftest.$ac_ext
19986
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19988 $as_echo "$ac_has_nanosleep" >&6; }
19989 fi
19990 fi
19991
19992 if test x"$ac_has_clock_monotonic" != x"yes"; then
19993 case ${target_os} in
19994 linux*)
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19996 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19998 /* end confdefs.h. */
19999 #include <unistd.h>
20000 #include <time.h>
20001 #include <sys/syscall.h>
20002
20003 int
20004 main ()
20005 {
20006 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20007 timespec tp;
20008 #endif
20009 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20010 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20011
20012 ;
20013 return 0;
20014 }
20015 _ACEOF
20016 if ac_fn_cxx_try_compile "$LINENO"; then :
20017 ac_has_clock_monotonic_syscall=yes
20018 else
20019 ac_has_clock_monotonic_syscall=no
20020 fi
20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20023 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20024 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20025
20026 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20027
20028 ac_has_clock_monotonic=yes
20029 ac_has_clock_realtime=yes
20030 fi;;
20031 esac
20032 fi
20033
20034 if test x"$ac_has_clock_monotonic" = x"yes"; then
20035
20036 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20037
20038 fi
20039
20040 if test x"$ac_has_clock_realtime" = x"yes"; then
20041
20042 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20043
20044 fi
20045
20046 if test x"$ac_has_sched_yield" = x"yes"; then
20047
20048 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20049
20050 fi
20051
20052 if test x"$ac_has_nanosleep" = x"yes"; then
20053
20054 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20055
20056 else
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20058 $as_echo_n "checking for sleep... " >&6; }
20059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20061 #include <unistd.h>
20062 int
20063 main ()
20064 {
20065 sleep(1)
20066 ;
20067 return 0;
20068 }
20069 _ACEOF
20070 if ac_fn_cxx_try_compile "$LINENO"; then :
20071 ac_has_sleep=yes
20072 else
20073 ac_has_sleep=no
20074 fi
20075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20076 if test x"$ac_has_sleep" = x"yes"; then
20077
20078 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20079
20080 fi
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20082 $as_echo "$ac_has_sleep" >&6; }
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20084 $as_echo_n "checking for usleep... " >&6; }
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <unistd.h>
20088 int
20089 main ()
20090 {
20091 sleep(1);
20092 usleep(100);
20093 ;
20094 return 0;
20095 }
20096 _ACEOF
20097 if ac_fn_cxx_try_compile "$LINENO"; then :
20098 ac_has_usleep=yes
20099 else
20100 ac_has_usleep=no
20101 fi
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 if test x"$ac_has_usleep" = x"yes"; then
20104
20105 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20106
20107 fi
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20109 $as_echo "$ac_has_usleep" >&6; }
20110 fi
20111
20112 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20114 $as_echo_n "checking for Sleep... " >&6; }
20115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20116 /* end confdefs.h. */
20117 #include <windows.h>
20118 int
20119 main ()
20120 {
20121 Sleep(1)
20122 ;
20123 return 0;
20124 }
20125 _ACEOF
20126 if ac_fn_cxx_try_compile "$LINENO"; then :
20127 ac_has_win32_sleep=yes
20128 else
20129 ac_has_win32_sleep=no
20130 fi
20131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132 if test x"$ac_has_win32_sleep" = x"yes"; then
20133
20134 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20135
20136 fi
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20138 $as_echo "$ac_has_win32_sleep" >&6; }
20139 fi
20140
20141
20142
20143 CXXFLAGS="$ac_save_CXXFLAGS"
20144 LIBS="$ac_save_LIBS"
20145 ac_ext=c
20146 ac_cpp='$CPP $CPPFLAGS'
20147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20150
20151
20152
20153 # Check for tmpnam which is obsolescent in POSIX.1-2008
20154
20155 ac_ext=cpp
20156 ac_cpp='$CXXCPP $CPPFLAGS'
20157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20160
20161 ac_save_CXXFLAGS="$CXXFLAGS"
20162 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20164 $as_echo_n "checking for tmpnam... " >&6; }
20165 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20166 $as_echo_n "(cached) " >&6
20167 else
20168 if test x$gcc_no_link = xyes; then
20169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170 /* end confdefs.h. */
20171 #include <stdio.h>
20172 int
20173 main ()
20174 {
20175 char *tmp = tmpnam(NULL);
20176 ;
20177 return 0;
20178 }
20179 _ACEOF
20180 if ac_fn_cxx_try_compile "$LINENO"; then :
20181 glibcxx_cv_TMPNAM=yes
20182 else
20183 glibcxx_cv_TMPNAM=no
20184 fi
20185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20186 else
20187 if test x$gcc_no_link = xyes; then
20188 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20189 fi
20190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h. */
20192 #include <stdio.h>
20193 int
20194 main ()
20195 {
20196 char *tmp = tmpnam(NULL);
20197 ;
20198 return 0;
20199 }
20200 _ACEOF
20201 if ac_fn_cxx_try_link "$LINENO"; then :
20202 glibcxx_cv_TMPNAM=yes
20203 else
20204 glibcxx_cv_TMPNAM=no
20205 fi
20206 rm -f core conftest.err conftest.$ac_objext \
20207 conftest$ac_exeext conftest.$ac_ext
20208 fi
20209
20210 fi
20211
20212 if test $glibcxx_cv_TMPNAM = yes; then
20213
20214 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20215
20216 fi
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20218 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20219 CXXFLAGS="$ac_save_CXXFLAGS"
20220 ac_ext=c
20221 ac_cpp='$CPP $CPPFLAGS'
20222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20225
20226
20227
20228
20229 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20230 if test "x$ac_cv_header_locale_h" = x""yes; then :
20231
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20233 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20234 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20235 $as_echo_n "(cached) " >&6
20236 else
20237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20238 /* end confdefs.h. */
20239 #include <locale.h>
20240 int
20241 main ()
20242 {
20243 return LC_MESSAGES
20244 ;
20245 return 0;
20246 }
20247 _ACEOF
20248 if ac_fn_c_try_compile "$LINENO"; then :
20249 ac_cv_val_LC_MESSAGES=yes
20250 else
20251 ac_cv_val_LC_MESSAGES=no
20252 fi
20253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20254 fi
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20256 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20257 if test $ac_cv_val_LC_MESSAGES = yes; then
20258
20259 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20260
20261 fi
20262
20263 fi
20264
20265
20266
20267
20268 # For hardware_concurrency
20269 for ac_header in sys/sysinfo.h
20270 do :
20271 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20272 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20273 cat >>confdefs.h <<_ACEOF
20274 #define HAVE_SYS_SYSINFO_H 1
20275 _ACEOF
20276
20277 fi
20278
20279 done
20280
20281
20282
20283
20284 ac_ext=cpp
20285 ac_cpp='$CXXCPP $CPPFLAGS'
20286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20289
20290 ac_save_CXXFLAGS="$CXXFLAGS"
20291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20292
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20294 $as_echo_n "checking for get_nprocs... " >&6; }
20295 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20296 $as_echo_n "(cached) " >&6
20297 else
20298
20299 if test x$gcc_no_link = xyes; then
20300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20301 /* end confdefs.h. */
20302 #include <sys/sysinfo.h>
20303 int
20304 main ()
20305 {
20306 int n = get_nprocs();
20307 ;
20308 return 0;
20309 }
20310 _ACEOF
20311 if ac_fn_cxx_try_compile "$LINENO"; then :
20312 glibcxx_cv_GET_NPROCS=yes
20313 else
20314 glibcxx_cv_GET_NPROCS=no
20315 fi
20316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20317 else
20318 if test x$gcc_no_link = xyes; then
20319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20320 fi
20321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20322 /* end confdefs.h. */
20323 #include <sys/sysinfo.h>
20324 int
20325 main ()
20326 {
20327 int n = get_nprocs();
20328 ;
20329 return 0;
20330 }
20331 _ACEOF
20332 if ac_fn_cxx_try_link "$LINENO"; then :
20333 glibcxx_cv_GET_NPROCS=yes
20334 else
20335 glibcxx_cv_GET_NPROCS=no
20336 fi
20337 rm -f core conftest.err conftest.$ac_objext \
20338 conftest$ac_exeext conftest.$ac_ext
20339 fi
20340
20341 fi
20342
20343 if test $glibcxx_cv_GET_NPROCS = yes; then
20344
20345 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20346
20347 fi
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20349 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20350
20351 CXXFLAGS="$ac_save_CXXFLAGS"
20352 ac_ext=c
20353 ac_cpp='$CPP $CPPFLAGS'
20354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20357
20358
20359 for ac_header in unistd.h
20360 do :
20361 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20362 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20363 cat >>confdefs.h <<_ACEOF
20364 #define HAVE_UNISTD_H 1
20365 _ACEOF
20366
20367 fi
20368
20369 done
20370
20371
20372
20373
20374 ac_ext=cpp
20375 ac_cpp='$CXXCPP $CPPFLAGS'
20376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20379
20380 ac_save_CXXFLAGS="$CXXFLAGS"
20381 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20382
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20384 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20385 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20386 $as_echo_n "(cached) " >&6
20387 else
20388
20389 if test x$gcc_no_link = xyes; then
20390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20391 /* end confdefs.h. */
20392 #include <unistd.h>
20393 int
20394 main ()
20395 {
20396 int n = sysconf(_SC_NPROCESSORS_ONLN);
20397 ;
20398 return 0;
20399 }
20400 _ACEOF
20401 if ac_fn_cxx_try_compile "$LINENO"; then :
20402 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20403 else
20404 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20405 fi
20406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20407 else
20408 if test x$gcc_no_link = xyes; then
20409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20410 fi
20411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20413 #include <unistd.h>
20414 int
20415 main ()
20416 {
20417 int n = sysconf(_SC_NPROCESSORS_ONLN);
20418 ;
20419 return 0;
20420 }
20421 _ACEOF
20422 if ac_fn_cxx_try_link "$LINENO"; then :
20423 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20424 else
20425 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20426 fi
20427 rm -f core conftest.err conftest.$ac_objext \
20428 conftest$ac_exeext conftest.$ac_ext
20429 fi
20430
20431 fi
20432
20433 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20434
20435 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20436
20437 fi
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20439 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20440
20441 CXXFLAGS="$ac_save_CXXFLAGS"
20442 ac_ext=c
20443 ac_cpp='$CPP $CPPFLAGS'
20444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20447
20448
20449
20450
20451
20452 ac_ext=cpp
20453 ac_cpp='$CXXCPP $CPPFLAGS'
20454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20457
20458 ac_save_CXXFLAGS="$CXXFLAGS"
20459 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20460
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20462 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20463 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20464 $as_echo_n "(cached) " >&6
20465 else
20466
20467 if test x$gcc_no_link = xyes; then
20468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20469 /* end confdefs.h. */
20470 #include <unistd.h>
20471 int
20472 main ()
20473 {
20474 int n = sysconf(_SC_NPROC_ONLN);
20475 ;
20476 return 0;
20477 }
20478 _ACEOF
20479 if ac_fn_cxx_try_compile "$LINENO"; then :
20480 glibcxx_cv_SC_NPROC_ONLN=yes
20481 else
20482 glibcxx_cv_SC_NPROC_ONLN=no
20483 fi
20484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20485 else
20486 if test x$gcc_no_link = xyes; then
20487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20488 fi
20489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20490 /* end confdefs.h. */
20491 #include <unistd.h>
20492 int
20493 main ()
20494 {
20495 int n = sysconf(_SC_NPROC_ONLN);
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 if ac_fn_cxx_try_link "$LINENO"; then :
20501 glibcxx_cv_SC_NPROC_ONLN=yes
20502 else
20503 glibcxx_cv_SC_NPROC_ONLN=no
20504 fi
20505 rm -f core conftest.err conftest.$ac_objext \
20506 conftest$ac_exeext conftest.$ac_ext
20507 fi
20508
20509 fi
20510
20511 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20512
20513 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20514
20515 fi
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20517 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20518
20519 CXXFLAGS="$ac_save_CXXFLAGS"
20520 ac_ext=c
20521 ac_cpp='$CPP $CPPFLAGS'
20522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20525
20526
20527
20528
20529
20530 ac_ext=cpp
20531 ac_cpp='$CXXCPP $CPPFLAGS'
20532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20535
20536 ac_save_CXXFLAGS="$CXXFLAGS"
20537 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20538
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20540 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20541 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20542 $as_echo_n "(cached) " >&6
20543 else
20544
20545 if test x$gcc_no_link = xyes; then
20546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20547 /* end confdefs.h. */
20548 #include <pthread.h>
20549 int
20550 main ()
20551 {
20552 int n = pthread_num_processors_np();
20553 ;
20554 return 0;
20555 }
20556 _ACEOF
20557 if ac_fn_cxx_try_compile "$LINENO"; then :
20558 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20559 else
20560 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20561 fi
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 else
20564 if test x$gcc_no_link = xyes; then
20565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20566 fi
20567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20568 /* end confdefs.h. */
20569 #include <pthread.h>
20570 int
20571 main ()
20572 {
20573 int n = pthread_num_processors_np();
20574 ;
20575 return 0;
20576 }
20577 _ACEOF
20578 if ac_fn_cxx_try_link "$LINENO"; then :
20579 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20580 else
20581 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20582 fi
20583 rm -f core conftest.err conftest.$ac_objext \
20584 conftest$ac_exeext conftest.$ac_ext
20585 fi
20586
20587 fi
20588
20589 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20590
20591 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20592
20593 fi
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20595 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20596
20597 CXXFLAGS="$ac_save_CXXFLAGS"
20598 ac_ext=c
20599 ac_cpp='$CPP $CPPFLAGS'
20600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20603
20604
20605
20606
20607
20608 ac_ext=cpp
20609 ac_cpp='$CXXCPP $CPPFLAGS'
20610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20613
20614 ac_save_CXXFLAGS="$CXXFLAGS"
20615 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20616
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20618 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20619 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20620 $as_echo_n "(cached) " >&6
20621 else
20622
20623 if test x$gcc_no_link = xyes; then
20624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20625 /* end confdefs.h. */
20626
20627 #include <stddef.h>
20628 #include <sys/sysctl.h>
20629
20630 int
20631 main ()
20632 {
20633
20634 int count;
20635 size_t size = sizeof(count);
20636 int mib[] = { CTL_HW, HW_NCPU };
20637 sysctl(mib, 2, &count, &size, NULL, 0);
20638
20639 ;
20640 return 0;
20641 }
20642 _ACEOF
20643 if ac_fn_cxx_try_compile "$LINENO"; then :
20644 glibcxx_cv_SYSCTL_HW_NCPU=yes
20645 else
20646 glibcxx_cv_SYSCTL_HW_NCPU=no
20647 fi
20648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649 else
20650 if test x$gcc_no_link = xyes; then
20651 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20652 fi
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h. */
20655
20656 #include <stddef.h>
20657 #include <sys/sysctl.h>
20658
20659 int
20660 main ()
20661 {
20662
20663 int count;
20664 size_t size = sizeof(count);
20665 int mib[] = { CTL_HW, HW_NCPU };
20666 sysctl(mib, 2, &count, &size, NULL, 0);
20667
20668 ;
20669 return 0;
20670 }
20671 _ACEOF
20672 if ac_fn_cxx_try_link "$LINENO"; then :
20673 glibcxx_cv_SYSCTL_HW_NCPU=yes
20674 else
20675 glibcxx_cv_SYSCTL_HW_NCPU=no
20676 fi
20677 rm -f core conftest.err conftest.$ac_objext \
20678 conftest$ac_exeext conftest.$ac_ext
20679 fi
20680
20681 fi
20682
20683 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20684
20685 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20686
20687 fi
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20689 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20690
20691 CXXFLAGS="$ac_save_CXXFLAGS"
20692 ac_ext=c
20693 ac_cpp='$CPP $CPPFLAGS'
20694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20697
20698
20699
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20701 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20702 # Note that this test has to be run with the C language.
20703 # Otherwise, sdt.h will try to include some headers from
20704 # libstdc++ itself.
20705
20706 ac_ext=c
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20711
20712 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20713 $as_echo_n "(cached) " >&6
20714 else
20715
20716 # Because we have to run the test in C, we use grep rather
20717 # than the compiler to check for the bug. The bug is that
20718 # were strings without trailing whitespace, causing g++
20719 # to look for operator"". The pattern searches for the fixed
20720 # output.
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20723
20724 #include <sys/sdt.h>
20725 int f() { STAP_PROBE(hi, bob); }
20726
20727 _ACEOF
20728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20729 $EGREP " \",\" " >/dev/null 2>&1; then :
20730 glibcxx_cv_sys_sdt_h=yes
20731 else
20732 glibcxx_cv_sys_sdt_h=no
20733 fi
20734 rm -f conftest*
20735
20736
20737 fi
20738
20739 ac_ext=c
20740 ac_cpp='$CPP $CPPFLAGS'
20741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20744
20745 if test $glibcxx_cv_sys_sdt_h = yes; then
20746
20747 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20748
20749 fi
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20751 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20752
20753
20754 # Check for available headers.
20755 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20756 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20757 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20758 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20759 wchar.h wctype.h
20760 do :
20761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20762 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20763 eval as_val=\$$as_ac_Header
20764 if test "x$as_val" = x""yes; then :
20765 cat >>confdefs.h <<_ACEOF
20766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20767 _ACEOF
20768
20769 fi
20770
20771 done
20772
20773
20774 # Only do link tests if native. Else, hardcode.
20775 if $GLIBCXX_IS_NATIVE; then
20776
20777 # We can do more elaborate tests that assume a working linker.
20778 CANADIAN=no
20779
20780
20781
20782 # Check whether --with-gnu-ld was given.
20783 if test "${with_gnu_ld+set}" = set; then :
20784 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20785 else
20786 with_gnu_ld=no
20787 fi
20788
20789 ac_prog=ld
20790 if test "$GCC" = yes; then
20791 # Check if gcc -print-prog-name=ld gives a path.
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20793 $as_echo_n "checking for ld used by $CC... " >&6; }
20794 case $host in
20795 *-*-mingw*)
20796 # gcc leaves a trailing carriage return which upsets mingw
20797 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20798 *)
20799 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20800 esac
20801 case $ac_prog in
20802 # Accept absolute paths.
20803 [\\/]* | ?:[\\/]*)
20804 re_direlt='/[^/][^/]*/\.\./'
20805 # Canonicalize the pathname of ld
20806 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20807 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20808 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20809 done
20810 test -z "$LD" && LD="$ac_prog"
20811 ;;
20812 "")
20813 # If it fails, then pretend we aren't using GCC.
20814 ac_prog=ld
20815 ;;
20816 *)
20817 # If it is relative, then search for the first ld in PATH.
20818 with_gnu_ld=unknown
20819 ;;
20820 esac
20821 elif test "$with_gnu_ld" = yes; then
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20823 $as_echo_n "checking for GNU ld... " >&6; }
20824 else
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20826 $as_echo_n "checking for non-GNU ld... " >&6; }
20827 fi
20828 if test "${lt_cv_path_LD+set}" = set; then :
20829 $as_echo_n "(cached) " >&6
20830 else
20831 if test -z "$LD"; then
20832 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20833 for ac_dir in $PATH; do
20834 IFS="$lt_save_ifs"
20835 test -z "$ac_dir" && ac_dir=.
20836 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20837 lt_cv_path_LD="$ac_dir/$ac_prog"
20838 # Check to see if the program is GNU ld. I'd rather use --version,
20839 # but apparently some variants of GNU ld only accept -v.
20840 # Break only if it was the GNU/non-GNU ld that we prefer.
20841 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20842 *GNU* | *'with BFD'*)
20843 test "$with_gnu_ld" != no && break
20844 ;;
20845 *)
20846 test "$with_gnu_ld" != yes && break
20847 ;;
20848 esac
20849 fi
20850 done
20851 IFS="$lt_save_ifs"
20852 else
20853 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20854 fi
20855 fi
20856
20857 LD="$lt_cv_path_LD"
20858 if test -n "$LD"; then
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20860 $as_echo "$LD" >&6; }
20861 else
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20863 $as_echo "no" >&6; }
20864 fi
20865 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20867 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20868 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20869 $as_echo_n "(cached) " >&6
20870 else
20871 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20872 case `$LD -v 2>&1 </dev/null` in
20873 *GNU* | *'with BFD'*)
20874 lt_cv_prog_gnu_ld=yes
20875 ;;
20876 *)
20877 lt_cv_prog_gnu_ld=no
20878 ;;
20879 esac
20880 fi
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20882 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20883 with_gnu_ld=$lt_cv_prog_gnu_ld
20884
20885
20886
20887
20888
20889
20890
20891 # If we're not using GNU ld, then there's no point in even trying these
20892 # tests. Check for that first. We should have already tested for gld
20893 # by now (in libtool), but require it now just to be safe...
20894 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20895 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20896
20897
20898
20899 # The name set by libtool depends on the version of libtool. Shame on us
20900 # for depending on an impl detail, but c'est la vie. Older versions used
20901 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20902 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20903 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20904 # set (hence we're using an older libtool), then set it.
20905 if test x${with_gnu_ld+set} != xset; then
20906 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20907 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20908 with_gnu_ld=no
20909 else
20910 with_gnu_ld=$ac_cv_prog_gnu_ld
20911 fi
20912 fi
20913
20914 # Start by getting the version number. I think the libtool test already
20915 # does some of this, but throws away the result.
20916 glibcxx_ld_is_gold=no
20917 if test x"$with_gnu_ld" = x"yes"; then
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20919 $as_echo_n "checking for ld version... " >&6; }
20920
20921 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20922 glibcxx_ld_is_gold=yes
20923 fi
20924 ldver=`$LD --version 2>/dev/null |
20925 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
20926
20927 glibcxx_gnu_ld_version=`echo $ldver | \
20928 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20930 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20931 fi
20932
20933 # Set --gc-sections.
20934 glibcxx_have_gc_sections=no
20935 if test "$glibcxx_ld_is_gold" = "yes"; then
20936 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20937 glibcxx_have_gc_sections=yes
20938 fi
20939 else
20940 glibcxx_gcsections_min_ld=21602
20941 if test x"$with_gnu_ld" = x"yes" &&
20942 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20943 glibcxx_have_gc_sections=yes
20944 fi
20945 fi
20946 if test "$glibcxx_have_gc_sections" = "yes"; then
20947 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20948 # NB: This flag only works reliably after 2.16.1. Configure tests
20949 # for this are difficult, so hard wire a value that should work.
20950
20951 ac_test_CFLAGS="${CFLAGS+set}"
20952 ac_save_CFLAGS="$CFLAGS"
20953 CFLAGS='-Wl,--gc-sections'
20954
20955 # Check for -Wl,--gc-sections
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20957 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20958 if test x$gcc_no_link = xyes; then
20959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20960 fi
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 int one(void) { return 1; }
20964 int two(void) { return 2; }
20965
20966 int
20967 main ()
20968 {
20969 two();
20970 ;
20971 return 0;
20972 }
20973 _ACEOF
20974 if ac_fn_c_try_link "$LINENO"; then :
20975 ac_gcsections=yes
20976 else
20977 ac_gcsections=no
20978 fi
20979 rm -f core conftest.err conftest.$ac_objext \
20980 conftest$ac_exeext conftest.$ac_ext
20981 if test "$ac_gcsections" = "yes"; then
20982 rm -f conftest.c
20983 touch conftest.c
20984 if $CC -c conftest.c; then
20985 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20986 grep "Warning: gc-sections option ignored" > /dev/null; then
20987 ac_gcsections=no
20988 fi
20989 fi
20990 rm -f conftest.c conftest.o conftest
20991 fi
20992 if test "$ac_gcsections" = "yes"; then
20993 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20994 fi
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20996 $as_echo "$ac_gcsections" >&6; }
20997
20998 if test "$ac_test_CFLAGS" = set; then
20999 CFLAGS="$ac_save_CFLAGS"
21000 else
21001 # this is the suspicious part
21002 CFLAGS=''
21003 fi
21004 fi
21005
21006 # Set -z,relro.
21007 # Note this is only for shared objects.
21008 ac_ld_relro=no
21009 if test x"$with_gnu_ld" = x"yes"; then
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21011 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21012 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21013 if test -n "$cxx_z_relo"; then
21014 OPT_LDFLAGS="-Wl,-z,relro"
21015 ac_ld_relro=yes
21016 fi
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21018 $as_echo "$ac_ld_relro" >&6; }
21019 fi
21020
21021 # Set linker optimization flags.
21022 if test x"$with_gnu_ld" = x"yes"; then
21023 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21024 fi
21025
21026
21027
21028
21029
21030 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21031 ac_save_CXXFLAGS="$CXXFLAGS"
21032 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21033
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21035 $as_echo_n "checking for sin in -lm... " >&6; }
21036 if test "${ac_cv_lib_m_sin+set}" = set; then :
21037 $as_echo_n "(cached) " >&6
21038 else
21039 ac_check_lib_save_LIBS=$LIBS
21040 LIBS="-lm $LIBS"
21041 if test x$gcc_no_link = xyes; then
21042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21043 fi
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046
21047 /* Override any GCC internal prototype to avoid an error.
21048 Use char because int might match the return type of a GCC
21049 builtin and then its argument prototype would still apply. */
21050 #ifdef __cplusplus
21051 extern "C"
21052 #endif
21053 char sin ();
21054 int
21055 main ()
21056 {
21057 return sin ();
21058 ;
21059 return 0;
21060 }
21061 _ACEOF
21062 if ac_fn_c_try_link "$LINENO"; then :
21063 ac_cv_lib_m_sin=yes
21064 else
21065 ac_cv_lib_m_sin=no
21066 fi
21067 rm -f core conftest.err conftest.$ac_objext \
21068 conftest$ac_exeext conftest.$ac_ext
21069 LIBS=$ac_check_lib_save_LIBS
21070 fi
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21072 $as_echo "$ac_cv_lib_m_sin" >&6; }
21073 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21074 libm="-lm"
21075 fi
21076
21077 ac_save_LIBS="$LIBS"
21078 LIBS="$LIBS $libm"
21079
21080
21081
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21083 $as_echo_n "checking for isinf declaration... " >&6; }
21084 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21085 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21086 $as_echo_n "(cached) " >&6
21087 else
21088
21089
21090 ac_ext=cpp
21091 ac_cpp='$CXXCPP $CPPFLAGS'
21092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21095
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #include <math.h>
21099 #ifdef HAVE_IEEEFP_H
21100 #include <ieeefp.h>
21101 #endif
21102
21103 int
21104 main ()
21105 {
21106 isinf(0);
21107 ;
21108 return 0;
21109 }
21110 _ACEOF
21111 if ac_fn_cxx_try_compile "$LINENO"; then :
21112 glibcxx_cv_func_isinf_use=yes
21113 else
21114 glibcxx_cv_func_isinf_use=no
21115 fi
21116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21117 ac_ext=c
21118 ac_cpp='$CPP $CPPFLAGS'
21119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21122
21123
21124 fi
21125
21126 fi
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21128 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21129
21130 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21131 for ac_func in isinf
21132 do :
21133 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21134 if test "x$ac_cv_func_isinf" = x""yes; then :
21135 cat >>confdefs.h <<_ACEOF
21136 #define HAVE_ISINF 1
21137 _ACEOF
21138
21139 fi
21140 done
21141
21142 else
21143
21144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21145 $as_echo_n "checking for _isinf declaration... " >&6; }
21146 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21147 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21148 $as_echo_n "(cached) " >&6
21149 else
21150
21151
21152 ac_ext=cpp
21153 ac_cpp='$CXXCPP $CPPFLAGS'
21154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21157
21158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21159 /* end confdefs.h. */
21160 #include <math.h>
21161 #ifdef HAVE_IEEEFP_H
21162 #include <ieeefp.h>
21163 #endif
21164
21165 int
21166 main ()
21167 {
21168 _isinf(0);
21169 ;
21170 return 0;
21171 }
21172 _ACEOF
21173 if ac_fn_cxx_try_compile "$LINENO"; then :
21174 glibcxx_cv_func__isinf_use=yes
21175 else
21176 glibcxx_cv_func__isinf_use=no
21177 fi
21178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21179 ac_ext=c
21180 ac_cpp='$CPP $CPPFLAGS'
21181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21184
21185
21186 fi
21187
21188 fi
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21190 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21191
21192 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21193 for ac_func in _isinf
21194 do :
21195 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21196 if test "x$ac_cv_func__isinf" = x""yes; then :
21197 cat >>confdefs.h <<_ACEOF
21198 #define HAVE__ISINF 1
21199 _ACEOF
21200
21201 fi
21202 done
21203
21204 fi
21205 fi
21206
21207
21208
21209
21210
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21212 $as_echo_n "checking for isnan declaration... " >&6; }
21213 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21214 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21215 $as_echo_n "(cached) " >&6
21216 else
21217
21218
21219 ac_ext=cpp
21220 ac_cpp='$CXXCPP $CPPFLAGS'
21221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21224
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #include <math.h>
21228 #ifdef HAVE_IEEEFP_H
21229 #include <ieeefp.h>
21230 #endif
21231
21232 int
21233 main ()
21234 {
21235 isnan(0);
21236 ;
21237 return 0;
21238 }
21239 _ACEOF
21240 if ac_fn_cxx_try_compile "$LINENO"; then :
21241 glibcxx_cv_func_isnan_use=yes
21242 else
21243 glibcxx_cv_func_isnan_use=no
21244 fi
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21246 ac_ext=c
21247 ac_cpp='$CPP $CPPFLAGS'
21248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21251
21252
21253 fi
21254
21255 fi
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21257 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21258
21259 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21260 for ac_func in isnan
21261 do :
21262 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21263 if test "x$ac_cv_func_isnan" = x""yes; then :
21264 cat >>confdefs.h <<_ACEOF
21265 #define HAVE_ISNAN 1
21266 _ACEOF
21267
21268 fi
21269 done
21270
21271 else
21272
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21274 $as_echo_n "checking for _isnan declaration... " >&6; }
21275 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21276 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21277 $as_echo_n "(cached) " >&6
21278 else
21279
21280
21281 ac_ext=cpp
21282 ac_cpp='$CXXCPP $CPPFLAGS'
21283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21286
21287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21288 /* end confdefs.h. */
21289 #include <math.h>
21290 #ifdef HAVE_IEEEFP_H
21291 #include <ieeefp.h>
21292 #endif
21293
21294 int
21295 main ()
21296 {
21297 _isnan(0);
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 if ac_fn_cxx_try_compile "$LINENO"; then :
21303 glibcxx_cv_func__isnan_use=yes
21304 else
21305 glibcxx_cv_func__isnan_use=no
21306 fi
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 ac_ext=c
21309 ac_cpp='$CPP $CPPFLAGS'
21310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21313
21314
21315 fi
21316
21317 fi
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21319 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21320
21321 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21322 for ac_func in _isnan
21323 do :
21324 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21325 if test "x$ac_cv_func__isnan" = x""yes; then :
21326 cat >>confdefs.h <<_ACEOF
21327 #define HAVE__ISNAN 1
21328 _ACEOF
21329
21330 fi
21331 done
21332
21333 fi
21334 fi
21335
21336
21337
21338
21339
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21341 $as_echo_n "checking for finite declaration... " >&6; }
21342 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21343 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21344 $as_echo_n "(cached) " >&6
21345 else
21346
21347
21348 ac_ext=cpp
21349 ac_cpp='$CXXCPP $CPPFLAGS'
21350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21353
21354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21356 #include <math.h>
21357 #ifdef HAVE_IEEEFP_H
21358 #include <ieeefp.h>
21359 #endif
21360
21361 int
21362 main ()
21363 {
21364 finite(0);
21365 ;
21366 return 0;
21367 }
21368 _ACEOF
21369 if ac_fn_cxx_try_compile "$LINENO"; then :
21370 glibcxx_cv_func_finite_use=yes
21371 else
21372 glibcxx_cv_func_finite_use=no
21373 fi
21374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21375 ac_ext=c
21376 ac_cpp='$CPP $CPPFLAGS'
21377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21380
21381
21382 fi
21383
21384 fi
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21386 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21387
21388 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21389 for ac_func in finite
21390 do :
21391 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21392 if test "x$ac_cv_func_finite" = x""yes; then :
21393 cat >>confdefs.h <<_ACEOF
21394 #define HAVE_FINITE 1
21395 _ACEOF
21396
21397 fi
21398 done
21399
21400 else
21401
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21403 $as_echo_n "checking for _finite declaration... " >&6; }
21404 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21405 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21406 $as_echo_n "(cached) " >&6
21407 else
21408
21409
21410 ac_ext=cpp
21411 ac_cpp='$CXXCPP $CPPFLAGS'
21412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21415
21416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21417 /* end confdefs.h. */
21418 #include <math.h>
21419 #ifdef HAVE_IEEEFP_H
21420 #include <ieeefp.h>
21421 #endif
21422
21423 int
21424 main ()
21425 {
21426 _finite(0);
21427 ;
21428 return 0;
21429 }
21430 _ACEOF
21431 if ac_fn_cxx_try_compile "$LINENO"; then :
21432 glibcxx_cv_func__finite_use=yes
21433 else
21434 glibcxx_cv_func__finite_use=no
21435 fi
21436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21437 ac_ext=c
21438 ac_cpp='$CPP $CPPFLAGS'
21439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21442
21443
21444 fi
21445
21446 fi
21447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21448 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21449
21450 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21451 for ac_func in _finite
21452 do :
21453 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21454 if test "x$ac_cv_func__finite" = x""yes; then :
21455 cat >>confdefs.h <<_ACEOF
21456 #define HAVE__FINITE 1
21457 _ACEOF
21458
21459 fi
21460 done
21461
21462 fi
21463 fi
21464
21465
21466
21467
21468
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21470 $as_echo_n "checking for sincos declaration... " >&6; }
21471 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21472 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21473 $as_echo_n "(cached) " >&6
21474 else
21475
21476
21477 ac_ext=cpp
21478 ac_cpp='$CXXCPP $CPPFLAGS'
21479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21482
21483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21484 /* end confdefs.h. */
21485 #include <math.h>
21486 int
21487 main ()
21488 {
21489 sincos(0, 0, 0);
21490 ;
21491 return 0;
21492 }
21493 _ACEOF
21494 if ac_fn_cxx_try_compile "$LINENO"; then :
21495 glibcxx_cv_func_sincos_use=yes
21496 else
21497 glibcxx_cv_func_sincos_use=no
21498 fi
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 ac_ext=c
21501 ac_cpp='$CPP $CPPFLAGS'
21502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21505
21506
21507 fi
21508
21509 fi
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21511 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21512
21513 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21514 for ac_func in sincos
21515 do :
21516 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21517 if test "x$ac_cv_func_sincos" = x""yes; then :
21518 cat >>confdefs.h <<_ACEOF
21519 #define HAVE_SINCOS 1
21520 _ACEOF
21521
21522 fi
21523 done
21524
21525 else
21526
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21528 $as_echo_n "checking for _sincos declaration... " >&6; }
21529 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21530 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21531 $as_echo_n "(cached) " >&6
21532 else
21533
21534
21535 ac_ext=cpp
21536 ac_cpp='$CXXCPP $CPPFLAGS'
21537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21540
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543 #include <math.h>
21544 int
21545 main ()
21546 {
21547 _sincos(0, 0, 0);
21548 ;
21549 return 0;
21550 }
21551 _ACEOF
21552 if ac_fn_cxx_try_compile "$LINENO"; then :
21553 glibcxx_cv_func__sincos_use=yes
21554 else
21555 glibcxx_cv_func__sincos_use=no
21556 fi
21557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21558 ac_ext=c
21559 ac_cpp='$CPP $CPPFLAGS'
21560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21563
21564
21565 fi
21566
21567 fi
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21569 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21570
21571 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21572 for ac_func in _sincos
21573 do :
21574 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21575 if test "x$ac_cv_func__sincos" = x""yes; then :
21576 cat >>confdefs.h <<_ACEOF
21577 #define HAVE__SINCOS 1
21578 _ACEOF
21579
21580 fi
21581 done
21582
21583 fi
21584 fi
21585
21586
21587
21588
21589
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21591 $as_echo_n "checking for fpclass declaration... " >&6; }
21592 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21593 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21594 $as_echo_n "(cached) " >&6
21595 else
21596
21597
21598 ac_ext=cpp
21599 ac_cpp='$CXXCPP $CPPFLAGS'
21600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21603
21604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21605 /* end confdefs.h. */
21606 #include <math.h>
21607 #ifdef HAVE_IEEEFP_H
21608 #include <ieeefp.h>
21609 #endif
21610
21611 int
21612 main ()
21613 {
21614 fpclass(0);
21615 ;
21616 return 0;
21617 }
21618 _ACEOF
21619 if ac_fn_cxx_try_compile "$LINENO"; then :
21620 glibcxx_cv_func_fpclass_use=yes
21621 else
21622 glibcxx_cv_func_fpclass_use=no
21623 fi
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625 ac_ext=c
21626 ac_cpp='$CPP $CPPFLAGS'
21627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21630
21631
21632 fi
21633
21634 fi
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21636 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21637
21638 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21639 for ac_func in fpclass
21640 do :
21641 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21642 if test "x$ac_cv_func_fpclass" = x""yes; then :
21643 cat >>confdefs.h <<_ACEOF
21644 #define HAVE_FPCLASS 1
21645 _ACEOF
21646
21647 fi
21648 done
21649
21650 else
21651
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21653 $as_echo_n "checking for _fpclass declaration... " >&6; }
21654 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21655 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21656 $as_echo_n "(cached) " >&6
21657 else
21658
21659
21660 ac_ext=cpp
21661 ac_cpp='$CXXCPP $CPPFLAGS'
21662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21665
21666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21667 /* end confdefs.h. */
21668 #include <math.h>
21669 #ifdef HAVE_IEEEFP_H
21670 #include <ieeefp.h>
21671 #endif
21672
21673 int
21674 main ()
21675 {
21676 _fpclass(0);
21677 ;
21678 return 0;
21679 }
21680 _ACEOF
21681 if ac_fn_cxx_try_compile "$LINENO"; then :
21682 glibcxx_cv_func__fpclass_use=yes
21683 else
21684 glibcxx_cv_func__fpclass_use=no
21685 fi
21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687 ac_ext=c
21688 ac_cpp='$CPP $CPPFLAGS'
21689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21692
21693
21694 fi
21695
21696 fi
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21698 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21699
21700 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21701 for ac_func in _fpclass
21702 do :
21703 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21704 if test "x$ac_cv_func__fpclass" = x""yes; then :
21705 cat >>confdefs.h <<_ACEOF
21706 #define HAVE__FPCLASS 1
21707 _ACEOF
21708
21709 fi
21710 done
21711
21712 fi
21713 fi
21714
21715
21716
21717
21718
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21720 $as_echo_n "checking for qfpclass declaration... " >&6; }
21721 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21722 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21723 $as_echo_n "(cached) " >&6
21724 else
21725
21726
21727 ac_ext=cpp
21728 ac_cpp='$CXXCPP $CPPFLAGS'
21729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21732
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21735 #include <math.h>
21736 #ifdef HAVE_IEEEFP_H
21737 #include <ieeefp.h>
21738 #endif
21739
21740 int
21741 main ()
21742 {
21743 qfpclass(0);
21744 ;
21745 return 0;
21746 }
21747 _ACEOF
21748 if ac_fn_cxx_try_compile "$LINENO"; then :
21749 glibcxx_cv_func_qfpclass_use=yes
21750 else
21751 glibcxx_cv_func_qfpclass_use=no
21752 fi
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 ac_ext=c
21755 ac_cpp='$CPP $CPPFLAGS'
21756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21759
21760
21761 fi
21762
21763 fi
21764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21765 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21766
21767 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21768 for ac_func in qfpclass
21769 do :
21770 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21771 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21772 cat >>confdefs.h <<_ACEOF
21773 #define HAVE_QFPCLASS 1
21774 _ACEOF
21775
21776 fi
21777 done
21778
21779 else
21780
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21782 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21783 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21784 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21785 $as_echo_n "(cached) " >&6
21786 else
21787
21788
21789 ac_ext=cpp
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h. */
21797 #include <math.h>
21798 #ifdef HAVE_IEEEFP_H
21799 #include <ieeefp.h>
21800 #endif
21801
21802 int
21803 main ()
21804 {
21805 _qfpclass(0);
21806 ;
21807 return 0;
21808 }
21809 _ACEOF
21810 if ac_fn_cxx_try_compile "$LINENO"; then :
21811 glibcxx_cv_func__qfpclass_use=yes
21812 else
21813 glibcxx_cv_func__qfpclass_use=no
21814 fi
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 ac_ext=c
21817 ac_cpp='$CPP $CPPFLAGS'
21818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21821
21822
21823 fi
21824
21825 fi
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21827 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21828
21829 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21830 for ac_func in _qfpclass
21831 do :
21832 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21833 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21834 cat >>confdefs.h <<_ACEOF
21835 #define HAVE__QFPCLASS 1
21836 _ACEOF
21837
21838 fi
21839 done
21840
21841 fi
21842 fi
21843
21844
21845
21846
21847
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21849 $as_echo_n "checking for hypot declaration... " >&6; }
21850 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21851 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21852 $as_echo_n "(cached) " >&6
21853 else
21854
21855
21856 ac_ext=cpp
21857 ac_cpp='$CXXCPP $CPPFLAGS'
21858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21861
21862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h. */
21864 #include <math.h>
21865 int
21866 main ()
21867 {
21868 hypot(0, 0);
21869 ;
21870 return 0;
21871 }
21872 _ACEOF
21873 if ac_fn_cxx_try_compile "$LINENO"; then :
21874 glibcxx_cv_func_hypot_use=yes
21875 else
21876 glibcxx_cv_func_hypot_use=no
21877 fi
21878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879 ac_ext=c
21880 ac_cpp='$CPP $CPPFLAGS'
21881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21884
21885
21886 fi
21887
21888 fi
21889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21890 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21891
21892 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21893 for ac_func in hypot
21894 do :
21895 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21896 if test "x$ac_cv_func_hypot" = x""yes; then :
21897 cat >>confdefs.h <<_ACEOF
21898 #define HAVE_HYPOT 1
21899 _ACEOF
21900
21901 fi
21902 done
21903
21904 else
21905
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21907 $as_echo_n "checking for _hypot declaration... " >&6; }
21908 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21909 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21910 $as_echo_n "(cached) " >&6
21911 else
21912
21913
21914 ac_ext=cpp
21915 ac_cpp='$CXXCPP $CPPFLAGS'
21916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21919
21920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21921 /* end confdefs.h. */
21922 #include <math.h>
21923 int
21924 main ()
21925 {
21926 _hypot(0, 0);
21927 ;
21928 return 0;
21929 }
21930 _ACEOF
21931 if ac_fn_cxx_try_compile "$LINENO"; then :
21932 glibcxx_cv_func__hypot_use=yes
21933 else
21934 glibcxx_cv_func__hypot_use=no
21935 fi
21936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937 ac_ext=c
21938 ac_cpp='$CPP $CPPFLAGS'
21939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21942
21943
21944 fi
21945
21946 fi
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21948 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21949
21950 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21951 for ac_func in _hypot
21952 do :
21953 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21954 if test "x$ac_cv_func__hypot" = x""yes; then :
21955 cat >>confdefs.h <<_ACEOF
21956 #define HAVE__HYPOT 1
21957 _ACEOF
21958
21959 fi
21960 done
21961
21962 fi
21963 fi
21964
21965
21966
21967
21968
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21970 $as_echo_n "checking for float trig functions... " >&6; }
21971 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21972 $as_echo_n "(cached) " >&6
21973 else
21974
21975
21976 ac_ext=cpp
21977 ac_cpp='$CXXCPP $CPPFLAGS'
21978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21981
21982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21983 /* end confdefs.h. */
21984 #include <math.h>
21985 int
21986 main ()
21987 {
21988 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 if ac_fn_cxx_try_compile "$LINENO"; then :
21994 glibcxx_cv_func_float_trig_use=yes
21995 else
21996 glibcxx_cv_func_float_trig_use=no
21997 fi
21998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 ac_ext=c
22000 ac_cpp='$CPP $CPPFLAGS'
22001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22004
22005 fi
22006
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22008 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22009 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22010 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22011 do :
22012 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22014 eval as_val=\$$as_ac_var
22015 if test "x$as_val" = x""yes; then :
22016 cat >>confdefs.h <<_ACEOF
22017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22018 _ACEOF
22019
22020 fi
22021 done
22022
22023 else
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22025 $as_echo_n "checking for _float trig functions... " >&6; }
22026 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22027 $as_echo_n "(cached) " >&6
22028 else
22029
22030
22031 ac_ext=cpp
22032 ac_cpp='$CXXCPP $CPPFLAGS'
22033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22036
22037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22038 /* end confdefs.h. */
22039 #include <math.h>
22040 int
22041 main ()
22042 {
22043 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22044 ;
22045 return 0;
22046 }
22047 _ACEOF
22048 if ac_fn_cxx_try_compile "$LINENO"; then :
22049 glibcxx_cv_func__float_trig_use=yes
22050 else
22051 glibcxx_cv_func__float_trig_use=no
22052 fi
22053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22054 ac_ext=c
22055 ac_cpp='$CPP $CPPFLAGS'
22056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22059
22060 fi
22061
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22063 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22064 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22065 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22066 do :
22067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22069 eval as_val=\$$as_ac_var
22070 if test "x$as_val" = x""yes; then :
22071 cat >>confdefs.h <<_ACEOF
22072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22073 _ACEOF
22074
22075 fi
22076 done
22077
22078 fi
22079 fi
22080
22081
22082
22083
22084
22085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22086 $as_echo_n "checking for float round functions... " >&6; }
22087 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22088 $as_echo_n "(cached) " >&6
22089 else
22090
22091
22092 ac_ext=cpp
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22097
22098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22099 /* end confdefs.h. */
22100 #include <math.h>
22101 int
22102 main ()
22103 {
22104 ceilf (0); floorf (0);
22105 ;
22106 return 0;
22107 }
22108 _ACEOF
22109 if ac_fn_cxx_try_compile "$LINENO"; then :
22110 glibcxx_cv_func_float_round_use=yes
22111 else
22112 glibcxx_cv_func_float_round_use=no
22113 fi
22114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115 ac_ext=c
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22120
22121 fi
22122
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22124 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22125 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22126 for ac_func in ceilf floorf
22127 do :
22128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22130 eval as_val=\$$as_ac_var
22131 if test "x$as_val" = x""yes; then :
22132 cat >>confdefs.h <<_ACEOF
22133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22134 _ACEOF
22135
22136 fi
22137 done
22138
22139 else
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22141 $as_echo_n "checking for _float round functions... " >&6; }
22142 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22143 $as_echo_n "(cached) " >&6
22144 else
22145
22146
22147 ac_ext=cpp
22148 ac_cpp='$CXXCPP $CPPFLAGS'
22149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22152
22153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22154 /* end confdefs.h. */
22155 #include <math.h>
22156 int
22157 main ()
22158 {
22159 _ceilf (0); _floorf (0);
22160 ;
22161 return 0;
22162 }
22163 _ACEOF
22164 if ac_fn_cxx_try_compile "$LINENO"; then :
22165 glibcxx_cv_func__float_round_use=yes
22166 else
22167 glibcxx_cv_func__float_round_use=no
22168 fi
22169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22170 ac_ext=c
22171 ac_cpp='$CPP $CPPFLAGS'
22172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22175
22176 fi
22177
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22179 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22180 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22181 for ac_func in _ceilf _floorf
22182 do :
22183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22185 eval as_val=\$$as_ac_var
22186 if test "x$as_val" = x""yes; then :
22187 cat >>confdefs.h <<_ACEOF
22188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22189 _ACEOF
22190
22191 fi
22192 done
22193
22194 fi
22195 fi
22196
22197
22198
22199
22200
22201
22202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22203 $as_echo_n "checking for expf declaration... " >&6; }
22204 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22205 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22206 $as_echo_n "(cached) " >&6
22207 else
22208
22209
22210 ac_ext=cpp
22211 ac_cpp='$CXXCPP $CPPFLAGS'
22212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22215
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h. */
22218 #include <math.h>
22219 #ifdef HAVE_IEEEFP_H
22220 #include <ieeefp.h>
22221 #endif
22222
22223 int
22224 main ()
22225 {
22226 expf(0);
22227 ;
22228 return 0;
22229 }
22230 _ACEOF
22231 if ac_fn_cxx_try_compile "$LINENO"; then :
22232 glibcxx_cv_func_expf_use=yes
22233 else
22234 glibcxx_cv_func_expf_use=no
22235 fi
22236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22237 ac_ext=c
22238 ac_cpp='$CPP $CPPFLAGS'
22239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22242
22243
22244 fi
22245
22246 fi
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22248 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22249
22250 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22251 for ac_func in expf
22252 do :
22253 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22254 if test "x$ac_cv_func_expf" = x""yes; then :
22255 cat >>confdefs.h <<_ACEOF
22256 #define HAVE_EXPF 1
22257 _ACEOF
22258
22259 fi
22260 done
22261
22262 else
22263
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22265 $as_echo_n "checking for _expf declaration... " >&6; }
22266 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22267 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22268 $as_echo_n "(cached) " >&6
22269 else
22270
22271
22272 ac_ext=cpp
22273 ac_cpp='$CXXCPP $CPPFLAGS'
22274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22277
22278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22279 /* end confdefs.h. */
22280 #include <math.h>
22281 #ifdef HAVE_IEEEFP_H
22282 #include <ieeefp.h>
22283 #endif
22284
22285 int
22286 main ()
22287 {
22288 _expf(0);
22289 ;
22290 return 0;
22291 }
22292 _ACEOF
22293 if ac_fn_cxx_try_compile "$LINENO"; then :
22294 glibcxx_cv_func__expf_use=yes
22295 else
22296 glibcxx_cv_func__expf_use=no
22297 fi
22298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22299 ac_ext=c
22300 ac_cpp='$CPP $CPPFLAGS'
22301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22304
22305
22306 fi
22307
22308 fi
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22310 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22311
22312 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22313 for ac_func in _expf
22314 do :
22315 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22316 if test "x$ac_cv_func__expf" = x""yes; then :
22317 cat >>confdefs.h <<_ACEOF
22318 #define HAVE__EXPF 1
22319 _ACEOF
22320
22321 fi
22322 done
22323
22324 fi
22325 fi
22326
22327
22328
22329
22330
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22332 $as_echo_n "checking for isnanf declaration... " >&6; }
22333 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22334 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22335 $as_echo_n "(cached) " >&6
22336 else
22337
22338
22339 ac_ext=cpp
22340 ac_cpp='$CXXCPP $CPPFLAGS'
22341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22344
22345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22346 /* end confdefs.h. */
22347 #include <math.h>
22348 #ifdef HAVE_IEEEFP_H
22349 #include <ieeefp.h>
22350 #endif
22351
22352 int
22353 main ()
22354 {
22355 isnanf(0);
22356 ;
22357 return 0;
22358 }
22359 _ACEOF
22360 if ac_fn_cxx_try_compile "$LINENO"; then :
22361 glibcxx_cv_func_isnanf_use=yes
22362 else
22363 glibcxx_cv_func_isnanf_use=no
22364 fi
22365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22366 ac_ext=c
22367 ac_cpp='$CPP $CPPFLAGS'
22368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22371
22372
22373 fi
22374
22375 fi
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22377 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22378
22379 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22380 for ac_func in isnanf
22381 do :
22382 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22383 if test "x$ac_cv_func_isnanf" = x""yes; then :
22384 cat >>confdefs.h <<_ACEOF
22385 #define HAVE_ISNANF 1
22386 _ACEOF
22387
22388 fi
22389 done
22390
22391 else
22392
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22394 $as_echo_n "checking for _isnanf declaration... " >&6; }
22395 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22396 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22397 $as_echo_n "(cached) " >&6
22398 else
22399
22400
22401 ac_ext=cpp
22402 ac_cpp='$CXXCPP $CPPFLAGS'
22403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22406
22407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22408 /* end confdefs.h. */
22409 #include <math.h>
22410 #ifdef HAVE_IEEEFP_H
22411 #include <ieeefp.h>
22412 #endif
22413
22414 int
22415 main ()
22416 {
22417 _isnanf(0);
22418 ;
22419 return 0;
22420 }
22421 _ACEOF
22422 if ac_fn_cxx_try_compile "$LINENO"; then :
22423 glibcxx_cv_func__isnanf_use=yes
22424 else
22425 glibcxx_cv_func__isnanf_use=no
22426 fi
22427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22428 ac_ext=c
22429 ac_cpp='$CPP $CPPFLAGS'
22430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22433
22434
22435 fi
22436
22437 fi
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22439 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22440
22441 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22442 for ac_func in _isnanf
22443 do :
22444 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22445 if test "x$ac_cv_func__isnanf" = x""yes; then :
22446 cat >>confdefs.h <<_ACEOF
22447 #define HAVE__ISNANF 1
22448 _ACEOF
22449
22450 fi
22451 done
22452
22453 fi
22454 fi
22455
22456
22457
22458
22459
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22461 $as_echo_n "checking for isinff declaration... " >&6; }
22462 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22463 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22464 $as_echo_n "(cached) " >&6
22465 else
22466
22467
22468 ac_ext=cpp
22469 ac_cpp='$CXXCPP $CPPFLAGS'
22470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22473
22474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22475 /* end confdefs.h. */
22476 #include <math.h>
22477 #ifdef HAVE_IEEEFP_H
22478 #include <ieeefp.h>
22479 #endif
22480
22481 int
22482 main ()
22483 {
22484 isinff(0);
22485 ;
22486 return 0;
22487 }
22488 _ACEOF
22489 if ac_fn_cxx_try_compile "$LINENO"; then :
22490 glibcxx_cv_func_isinff_use=yes
22491 else
22492 glibcxx_cv_func_isinff_use=no
22493 fi
22494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22495 ac_ext=c
22496 ac_cpp='$CPP $CPPFLAGS'
22497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22500
22501
22502 fi
22503
22504 fi
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22506 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22507
22508 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22509 for ac_func in isinff
22510 do :
22511 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22512 if test "x$ac_cv_func_isinff" = x""yes; then :
22513 cat >>confdefs.h <<_ACEOF
22514 #define HAVE_ISINFF 1
22515 _ACEOF
22516
22517 fi
22518 done
22519
22520 else
22521
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22523 $as_echo_n "checking for _isinff declaration... " >&6; }
22524 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22525 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22526 $as_echo_n "(cached) " >&6
22527 else
22528
22529
22530 ac_ext=cpp
22531 ac_cpp='$CXXCPP $CPPFLAGS'
22532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22535
22536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22537 /* end confdefs.h. */
22538 #include <math.h>
22539 #ifdef HAVE_IEEEFP_H
22540 #include <ieeefp.h>
22541 #endif
22542
22543 int
22544 main ()
22545 {
22546 _isinff(0);
22547 ;
22548 return 0;
22549 }
22550 _ACEOF
22551 if ac_fn_cxx_try_compile "$LINENO"; then :
22552 glibcxx_cv_func__isinff_use=yes
22553 else
22554 glibcxx_cv_func__isinff_use=no
22555 fi
22556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22557 ac_ext=c
22558 ac_cpp='$CPP $CPPFLAGS'
22559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22562
22563
22564 fi
22565
22566 fi
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22568 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22569
22570 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22571 for ac_func in _isinff
22572 do :
22573 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22574 if test "x$ac_cv_func__isinff" = x""yes; then :
22575 cat >>confdefs.h <<_ACEOF
22576 #define HAVE__ISINFF 1
22577 _ACEOF
22578
22579 fi
22580 done
22581
22582 fi
22583 fi
22584
22585
22586
22587
22588
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22590 $as_echo_n "checking for atan2f declaration... " >&6; }
22591 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22592 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22593 $as_echo_n "(cached) " >&6
22594 else
22595
22596
22597 ac_ext=cpp
22598 ac_cpp='$CXXCPP $CPPFLAGS'
22599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22602
22603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22604 /* end confdefs.h. */
22605 #include <math.h>
22606 int
22607 main ()
22608 {
22609 atan2f(0, 0);
22610 ;
22611 return 0;
22612 }
22613 _ACEOF
22614 if ac_fn_cxx_try_compile "$LINENO"; then :
22615 glibcxx_cv_func_atan2f_use=yes
22616 else
22617 glibcxx_cv_func_atan2f_use=no
22618 fi
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620 ac_ext=c
22621 ac_cpp='$CPP $CPPFLAGS'
22622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22625
22626
22627 fi
22628
22629 fi
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22631 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22632
22633 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22634 for ac_func in atan2f
22635 do :
22636 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22637 if test "x$ac_cv_func_atan2f" = x""yes; then :
22638 cat >>confdefs.h <<_ACEOF
22639 #define HAVE_ATAN2F 1
22640 _ACEOF
22641
22642 fi
22643 done
22644
22645 else
22646
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22648 $as_echo_n "checking for _atan2f declaration... " >&6; }
22649 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22650 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22651 $as_echo_n "(cached) " >&6
22652 else
22653
22654
22655 ac_ext=cpp
22656 ac_cpp='$CXXCPP $CPPFLAGS'
22657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22660
22661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22662 /* end confdefs.h. */
22663 #include <math.h>
22664 int
22665 main ()
22666 {
22667 _atan2f(0, 0);
22668 ;
22669 return 0;
22670 }
22671 _ACEOF
22672 if ac_fn_cxx_try_compile "$LINENO"; then :
22673 glibcxx_cv_func__atan2f_use=yes
22674 else
22675 glibcxx_cv_func__atan2f_use=no
22676 fi
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 ac_ext=c
22679 ac_cpp='$CPP $CPPFLAGS'
22680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22683
22684
22685 fi
22686
22687 fi
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22689 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22690
22691 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22692 for ac_func in _atan2f
22693 do :
22694 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22695 if test "x$ac_cv_func__atan2f" = x""yes; then :
22696 cat >>confdefs.h <<_ACEOF
22697 #define HAVE__ATAN2F 1
22698 _ACEOF
22699
22700 fi
22701 done
22702
22703 fi
22704 fi
22705
22706
22707
22708
22709
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22711 $as_echo_n "checking for fabsf declaration... " >&6; }
22712 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22713 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22714 $as_echo_n "(cached) " >&6
22715 else
22716
22717
22718 ac_ext=cpp
22719 ac_cpp='$CXXCPP $CPPFLAGS'
22720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22723
22724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22725 /* end confdefs.h. */
22726 #include <math.h>
22727 #ifdef HAVE_IEEEFP_H
22728 #include <ieeefp.h>
22729 #endif
22730
22731 int
22732 main ()
22733 {
22734 fabsf(0);
22735 ;
22736 return 0;
22737 }
22738 _ACEOF
22739 if ac_fn_cxx_try_compile "$LINENO"; then :
22740 glibcxx_cv_func_fabsf_use=yes
22741 else
22742 glibcxx_cv_func_fabsf_use=no
22743 fi
22744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745 ac_ext=c
22746 ac_cpp='$CPP $CPPFLAGS'
22747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22750
22751
22752 fi
22753
22754 fi
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22756 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22757
22758 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22759 for ac_func in fabsf
22760 do :
22761 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22762 if test "x$ac_cv_func_fabsf" = x""yes; then :
22763 cat >>confdefs.h <<_ACEOF
22764 #define HAVE_FABSF 1
22765 _ACEOF
22766
22767 fi
22768 done
22769
22770 else
22771
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22773 $as_echo_n "checking for _fabsf declaration... " >&6; }
22774 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22775 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22776 $as_echo_n "(cached) " >&6
22777 else
22778
22779
22780 ac_ext=cpp
22781 ac_cpp='$CXXCPP $CPPFLAGS'
22782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22785
22786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22787 /* end confdefs.h. */
22788 #include <math.h>
22789 #ifdef HAVE_IEEEFP_H
22790 #include <ieeefp.h>
22791 #endif
22792
22793 int
22794 main ()
22795 {
22796 _fabsf(0);
22797 ;
22798 return 0;
22799 }
22800 _ACEOF
22801 if ac_fn_cxx_try_compile "$LINENO"; then :
22802 glibcxx_cv_func__fabsf_use=yes
22803 else
22804 glibcxx_cv_func__fabsf_use=no
22805 fi
22806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22807 ac_ext=c
22808 ac_cpp='$CPP $CPPFLAGS'
22809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22812
22813
22814 fi
22815
22816 fi
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22818 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22819
22820 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22821 for ac_func in _fabsf
22822 do :
22823 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22824 if test "x$ac_cv_func__fabsf" = x""yes; then :
22825 cat >>confdefs.h <<_ACEOF
22826 #define HAVE__FABSF 1
22827 _ACEOF
22828
22829 fi
22830 done
22831
22832 fi
22833 fi
22834
22835
22836
22837
22838
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22840 $as_echo_n "checking for fmodf declaration... " >&6; }
22841 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22842 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22843 $as_echo_n "(cached) " >&6
22844 else
22845
22846
22847 ac_ext=cpp
22848 ac_cpp='$CXXCPP $CPPFLAGS'
22849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22852
22853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854 /* end confdefs.h. */
22855 #include <math.h>
22856 int
22857 main ()
22858 {
22859 fmodf(0, 0);
22860 ;
22861 return 0;
22862 }
22863 _ACEOF
22864 if ac_fn_cxx_try_compile "$LINENO"; then :
22865 glibcxx_cv_func_fmodf_use=yes
22866 else
22867 glibcxx_cv_func_fmodf_use=no
22868 fi
22869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22870 ac_ext=c
22871 ac_cpp='$CPP $CPPFLAGS'
22872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22875
22876
22877 fi
22878
22879 fi
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22881 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22882
22883 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22884 for ac_func in fmodf
22885 do :
22886 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22887 if test "x$ac_cv_func_fmodf" = x""yes; then :
22888 cat >>confdefs.h <<_ACEOF
22889 #define HAVE_FMODF 1
22890 _ACEOF
22891
22892 fi
22893 done
22894
22895 else
22896
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22898 $as_echo_n "checking for _fmodf declaration... " >&6; }
22899 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22900 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22901 $as_echo_n "(cached) " >&6
22902 else
22903
22904
22905 ac_ext=cpp
22906 ac_cpp='$CXXCPP $CPPFLAGS'
22907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22910
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h. */
22913 #include <math.h>
22914 int
22915 main ()
22916 {
22917 _fmodf(0, 0);
22918 ;
22919 return 0;
22920 }
22921 _ACEOF
22922 if ac_fn_cxx_try_compile "$LINENO"; then :
22923 glibcxx_cv_func__fmodf_use=yes
22924 else
22925 glibcxx_cv_func__fmodf_use=no
22926 fi
22927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928 ac_ext=c
22929 ac_cpp='$CPP $CPPFLAGS'
22930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22933
22934
22935 fi
22936
22937 fi
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22939 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22940
22941 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22942 for ac_func in _fmodf
22943 do :
22944 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22945 if test "x$ac_cv_func__fmodf" = x""yes; then :
22946 cat >>confdefs.h <<_ACEOF
22947 #define HAVE__FMODF 1
22948 _ACEOF
22949
22950 fi
22951 done
22952
22953 fi
22954 fi
22955
22956
22957
22958
22959
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22961 $as_echo_n "checking for frexpf declaration... " >&6; }
22962 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22963 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22964 $as_echo_n "(cached) " >&6
22965 else
22966
22967
22968 ac_ext=cpp
22969 ac_cpp='$CXXCPP $CPPFLAGS'
22970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22973
22974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22975 /* end confdefs.h. */
22976 #include <math.h>
22977 int
22978 main ()
22979 {
22980 frexpf(0, 0);
22981 ;
22982 return 0;
22983 }
22984 _ACEOF
22985 if ac_fn_cxx_try_compile "$LINENO"; then :
22986 glibcxx_cv_func_frexpf_use=yes
22987 else
22988 glibcxx_cv_func_frexpf_use=no
22989 fi
22990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22991 ac_ext=c
22992 ac_cpp='$CPP $CPPFLAGS'
22993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22996
22997
22998 fi
22999
23000 fi
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23002 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23003
23004 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23005 for ac_func in frexpf
23006 do :
23007 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23008 if test "x$ac_cv_func_frexpf" = x""yes; then :
23009 cat >>confdefs.h <<_ACEOF
23010 #define HAVE_FREXPF 1
23011 _ACEOF
23012
23013 fi
23014 done
23015
23016 else
23017
23018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23019 $as_echo_n "checking for _frexpf declaration... " >&6; }
23020 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23021 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23022 $as_echo_n "(cached) " >&6
23023 else
23024
23025
23026 ac_ext=cpp
23027 ac_cpp='$CXXCPP $CPPFLAGS'
23028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23031
23032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h. */
23034 #include <math.h>
23035 int
23036 main ()
23037 {
23038 _frexpf(0, 0);
23039 ;
23040 return 0;
23041 }
23042 _ACEOF
23043 if ac_fn_cxx_try_compile "$LINENO"; then :
23044 glibcxx_cv_func__frexpf_use=yes
23045 else
23046 glibcxx_cv_func__frexpf_use=no
23047 fi
23048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23049 ac_ext=c
23050 ac_cpp='$CPP $CPPFLAGS'
23051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23054
23055
23056 fi
23057
23058 fi
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23060 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23061
23062 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23063 for ac_func in _frexpf
23064 do :
23065 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23066 if test "x$ac_cv_func__frexpf" = x""yes; then :
23067 cat >>confdefs.h <<_ACEOF
23068 #define HAVE__FREXPF 1
23069 _ACEOF
23070
23071 fi
23072 done
23073
23074 fi
23075 fi
23076
23077
23078
23079
23080
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23082 $as_echo_n "checking for hypotf declaration... " >&6; }
23083 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23084 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23085 $as_echo_n "(cached) " >&6
23086 else
23087
23088
23089 ac_ext=cpp
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23094
23095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23096 /* end confdefs.h. */
23097 #include <math.h>
23098 int
23099 main ()
23100 {
23101 hypotf(0, 0);
23102 ;
23103 return 0;
23104 }
23105 _ACEOF
23106 if ac_fn_cxx_try_compile "$LINENO"; then :
23107 glibcxx_cv_func_hypotf_use=yes
23108 else
23109 glibcxx_cv_func_hypotf_use=no
23110 fi
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 ac_ext=c
23113 ac_cpp='$CPP $CPPFLAGS'
23114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23117
23118
23119 fi
23120
23121 fi
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23123 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23124
23125 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23126 for ac_func in hypotf
23127 do :
23128 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23129 if test "x$ac_cv_func_hypotf" = x""yes; then :
23130 cat >>confdefs.h <<_ACEOF
23131 #define HAVE_HYPOTF 1
23132 _ACEOF
23133
23134 fi
23135 done
23136
23137 else
23138
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23140 $as_echo_n "checking for _hypotf declaration... " >&6; }
23141 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23142 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23143 $as_echo_n "(cached) " >&6
23144 else
23145
23146
23147 ac_ext=cpp
23148 ac_cpp='$CXXCPP $CPPFLAGS'
23149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23152
23153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23154 /* end confdefs.h. */
23155 #include <math.h>
23156 int
23157 main ()
23158 {
23159 _hypotf(0, 0);
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 if ac_fn_cxx_try_compile "$LINENO"; then :
23165 glibcxx_cv_func__hypotf_use=yes
23166 else
23167 glibcxx_cv_func__hypotf_use=no
23168 fi
23169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23170 ac_ext=c
23171 ac_cpp='$CPP $CPPFLAGS'
23172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175
23176
23177 fi
23178
23179 fi
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23181 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23182
23183 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23184 for ac_func in _hypotf
23185 do :
23186 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23187 if test "x$ac_cv_func__hypotf" = x""yes; then :
23188 cat >>confdefs.h <<_ACEOF
23189 #define HAVE__HYPOTF 1
23190 _ACEOF
23191
23192 fi
23193 done
23194
23195 fi
23196 fi
23197
23198
23199
23200
23201
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23203 $as_echo_n "checking for ldexpf declaration... " >&6; }
23204 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23205 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23206 $as_echo_n "(cached) " >&6
23207 else
23208
23209
23210 ac_ext=cpp
23211 ac_cpp='$CXXCPP $CPPFLAGS'
23212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23215
23216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23217 /* end confdefs.h. */
23218 #include <math.h>
23219 int
23220 main ()
23221 {
23222 ldexpf(0, 0);
23223 ;
23224 return 0;
23225 }
23226 _ACEOF
23227 if ac_fn_cxx_try_compile "$LINENO"; then :
23228 glibcxx_cv_func_ldexpf_use=yes
23229 else
23230 glibcxx_cv_func_ldexpf_use=no
23231 fi
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23233 ac_ext=c
23234 ac_cpp='$CPP $CPPFLAGS'
23235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23238
23239
23240 fi
23241
23242 fi
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23244 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23245
23246 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23247 for ac_func in ldexpf
23248 do :
23249 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23250 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23251 cat >>confdefs.h <<_ACEOF
23252 #define HAVE_LDEXPF 1
23253 _ACEOF
23254
23255 fi
23256 done
23257
23258 else
23259
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23261 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23262 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23263 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23264 $as_echo_n "(cached) " >&6
23265 else
23266
23267
23268 ac_ext=cpp
23269 ac_cpp='$CXXCPP $CPPFLAGS'
23270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273
23274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23275 /* end confdefs.h. */
23276 #include <math.h>
23277 int
23278 main ()
23279 {
23280 _ldexpf(0, 0);
23281 ;
23282 return 0;
23283 }
23284 _ACEOF
23285 if ac_fn_cxx_try_compile "$LINENO"; then :
23286 glibcxx_cv_func__ldexpf_use=yes
23287 else
23288 glibcxx_cv_func__ldexpf_use=no
23289 fi
23290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23291 ac_ext=c
23292 ac_cpp='$CPP $CPPFLAGS'
23293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23296
23297
23298 fi
23299
23300 fi
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23302 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23303
23304 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23305 for ac_func in _ldexpf
23306 do :
23307 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23308 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23309 cat >>confdefs.h <<_ACEOF
23310 #define HAVE__LDEXPF 1
23311 _ACEOF
23312
23313 fi
23314 done
23315
23316 fi
23317 fi
23318
23319
23320
23321
23322
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23324 $as_echo_n "checking for logf declaration... " >&6; }
23325 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23326 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23327 $as_echo_n "(cached) " >&6
23328 else
23329
23330
23331 ac_ext=cpp
23332 ac_cpp='$CXXCPP $CPPFLAGS'
23333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23336
23337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23338 /* end confdefs.h. */
23339 #include <math.h>
23340 #ifdef HAVE_IEEEFP_H
23341 #include <ieeefp.h>
23342 #endif
23343
23344 int
23345 main ()
23346 {
23347 logf(0);
23348 ;
23349 return 0;
23350 }
23351 _ACEOF
23352 if ac_fn_cxx_try_compile "$LINENO"; then :
23353 glibcxx_cv_func_logf_use=yes
23354 else
23355 glibcxx_cv_func_logf_use=no
23356 fi
23357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23358 ac_ext=c
23359 ac_cpp='$CPP $CPPFLAGS'
23360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23363
23364
23365 fi
23366
23367 fi
23368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23369 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23370
23371 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23372 for ac_func in logf
23373 do :
23374 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23375 if test "x$ac_cv_func_logf" = x""yes; then :
23376 cat >>confdefs.h <<_ACEOF
23377 #define HAVE_LOGF 1
23378 _ACEOF
23379
23380 fi
23381 done
23382
23383 else
23384
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23386 $as_echo_n "checking for _logf declaration... " >&6; }
23387 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23388 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23389 $as_echo_n "(cached) " >&6
23390 else
23391
23392
23393 ac_ext=cpp
23394 ac_cpp='$CXXCPP $CPPFLAGS'
23395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23398
23399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23400 /* end confdefs.h. */
23401 #include <math.h>
23402 #ifdef HAVE_IEEEFP_H
23403 #include <ieeefp.h>
23404 #endif
23405
23406 int
23407 main ()
23408 {
23409 _logf(0);
23410 ;
23411 return 0;
23412 }
23413 _ACEOF
23414 if ac_fn_cxx_try_compile "$LINENO"; then :
23415 glibcxx_cv_func__logf_use=yes
23416 else
23417 glibcxx_cv_func__logf_use=no
23418 fi
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23420 ac_ext=c
23421 ac_cpp='$CPP $CPPFLAGS'
23422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23425
23426
23427 fi
23428
23429 fi
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23431 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23432
23433 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23434 for ac_func in _logf
23435 do :
23436 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23437 if test "x$ac_cv_func__logf" = x""yes; then :
23438 cat >>confdefs.h <<_ACEOF
23439 #define HAVE__LOGF 1
23440 _ACEOF
23441
23442 fi
23443 done
23444
23445 fi
23446 fi
23447
23448
23449
23450
23451
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23453 $as_echo_n "checking for log10f declaration... " >&6; }
23454 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23455 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23456 $as_echo_n "(cached) " >&6
23457 else
23458
23459
23460 ac_ext=cpp
23461 ac_cpp='$CXXCPP $CPPFLAGS'
23462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23465
23466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23467 /* end confdefs.h. */
23468 #include <math.h>
23469 #ifdef HAVE_IEEEFP_H
23470 #include <ieeefp.h>
23471 #endif
23472
23473 int
23474 main ()
23475 {
23476 log10f(0);
23477 ;
23478 return 0;
23479 }
23480 _ACEOF
23481 if ac_fn_cxx_try_compile "$LINENO"; then :
23482 glibcxx_cv_func_log10f_use=yes
23483 else
23484 glibcxx_cv_func_log10f_use=no
23485 fi
23486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23487 ac_ext=c
23488 ac_cpp='$CPP $CPPFLAGS'
23489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23492
23493
23494 fi
23495
23496 fi
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23498 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23499
23500 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23501 for ac_func in log10f
23502 do :
23503 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23504 if test "x$ac_cv_func_log10f" = x""yes; then :
23505 cat >>confdefs.h <<_ACEOF
23506 #define HAVE_LOG10F 1
23507 _ACEOF
23508
23509 fi
23510 done
23511
23512 else
23513
23514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23515 $as_echo_n "checking for _log10f declaration... " >&6; }
23516 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23517 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23518 $as_echo_n "(cached) " >&6
23519 else
23520
23521
23522 ac_ext=cpp
23523 ac_cpp='$CXXCPP $CPPFLAGS'
23524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23527
23528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23529 /* end confdefs.h. */
23530 #include <math.h>
23531 #ifdef HAVE_IEEEFP_H
23532 #include <ieeefp.h>
23533 #endif
23534
23535 int
23536 main ()
23537 {
23538 _log10f(0);
23539 ;
23540 return 0;
23541 }
23542 _ACEOF
23543 if ac_fn_cxx_try_compile "$LINENO"; then :
23544 glibcxx_cv_func__log10f_use=yes
23545 else
23546 glibcxx_cv_func__log10f_use=no
23547 fi
23548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23549 ac_ext=c
23550 ac_cpp='$CPP $CPPFLAGS'
23551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23554
23555
23556 fi
23557
23558 fi
23559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23560 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23561
23562 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23563 for ac_func in _log10f
23564 do :
23565 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23566 if test "x$ac_cv_func__log10f" = x""yes; then :
23567 cat >>confdefs.h <<_ACEOF
23568 #define HAVE__LOG10F 1
23569 _ACEOF
23570
23571 fi
23572 done
23573
23574 fi
23575 fi
23576
23577
23578
23579
23580
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23582 $as_echo_n "checking for modff declaration... " >&6; }
23583 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23584 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23585 $as_echo_n "(cached) " >&6
23586 else
23587
23588
23589 ac_ext=cpp
23590 ac_cpp='$CXXCPP $CPPFLAGS'
23591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23594
23595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23596 /* end confdefs.h. */
23597 #include <math.h>
23598 int
23599 main ()
23600 {
23601 modff(0, 0);
23602 ;
23603 return 0;
23604 }
23605 _ACEOF
23606 if ac_fn_cxx_try_compile "$LINENO"; then :
23607 glibcxx_cv_func_modff_use=yes
23608 else
23609 glibcxx_cv_func_modff_use=no
23610 fi
23611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612 ac_ext=c
23613 ac_cpp='$CPP $CPPFLAGS'
23614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23617
23618
23619 fi
23620
23621 fi
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23623 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23624
23625 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23626 for ac_func in modff
23627 do :
23628 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23629 if test "x$ac_cv_func_modff" = x""yes; then :
23630 cat >>confdefs.h <<_ACEOF
23631 #define HAVE_MODFF 1
23632 _ACEOF
23633
23634 fi
23635 done
23636
23637 else
23638
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23640 $as_echo_n "checking for _modff declaration... " >&6; }
23641 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23642 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23643 $as_echo_n "(cached) " >&6
23644 else
23645
23646
23647 ac_ext=cpp
23648 ac_cpp='$CXXCPP $CPPFLAGS'
23649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23652
23653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23655 #include <math.h>
23656 int
23657 main ()
23658 {
23659 _modff(0, 0);
23660 ;
23661 return 0;
23662 }
23663 _ACEOF
23664 if ac_fn_cxx_try_compile "$LINENO"; then :
23665 glibcxx_cv_func__modff_use=yes
23666 else
23667 glibcxx_cv_func__modff_use=no
23668 fi
23669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670 ac_ext=c
23671 ac_cpp='$CPP $CPPFLAGS'
23672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23675
23676
23677 fi
23678
23679 fi
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23681 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23682
23683 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23684 for ac_func in _modff
23685 do :
23686 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23687 if test "x$ac_cv_func__modff" = x""yes; then :
23688 cat >>confdefs.h <<_ACEOF
23689 #define HAVE__MODFF 1
23690 _ACEOF
23691
23692 fi
23693 done
23694
23695 fi
23696 fi
23697
23698
23699
23700
23701
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23703 $as_echo_n "checking for modf declaration... " >&6; }
23704 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23705 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23706 $as_echo_n "(cached) " >&6
23707 else
23708
23709
23710 ac_ext=cpp
23711 ac_cpp='$CXXCPP $CPPFLAGS'
23712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23715
23716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23717 /* end confdefs.h. */
23718 #include <math.h>
23719 int
23720 main ()
23721 {
23722 modf(0, 0);
23723 ;
23724 return 0;
23725 }
23726 _ACEOF
23727 if ac_fn_cxx_try_compile "$LINENO"; then :
23728 glibcxx_cv_func_modf_use=yes
23729 else
23730 glibcxx_cv_func_modf_use=no
23731 fi
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23733 ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23738
23739
23740 fi
23741
23742 fi
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23744 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23745
23746 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23747 for ac_func in modf
23748 do :
23749 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23750 if test "x$ac_cv_func_modf" = x""yes; then :
23751 cat >>confdefs.h <<_ACEOF
23752 #define HAVE_MODF 1
23753 _ACEOF
23754
23755 fi
23756 done
23757
23758 else
23759
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23761 $as_echo_n "checking for _modf declaration... " >&6; }
23762 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23763 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23766
23767
23768 ac_ext=cpp
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23773
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776 #include <math.h>
23777 int
23778 main ()
23779 {
23780 _modf(0, 0);
23781 ;
23782 return 0;
23783 }
23784 _ACEOF
23785 if ac_fn_cxx_try_compile "$LINENO"; then :
23786 glibcxx_cv_func__modf_use=yes
23787 else
23788 glibcxx_cv_func__modf_use=no
23789 fi
23790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23791 ac_ext=c
23792 ac_cpp='$CPP $CPPFLAGS'
23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23796
23797
23798 fi
23799
23800 fi
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23802 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23803
23804 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23805 for ac_func in _modf
23806 do :
23807 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23808 if test "x$ac_cv_func__modf" = x""yes; then :
23809 cat >>confdefs.h <<_ACEOF
23810 #define HAVE__MODF 1
23811 _ACEOF
23812
23813 fi
23814 done
23815
23816 fi
23817 fi
23818
23819
23820
23821
23822
23823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23824 $as_echo_n "checking for powf declaration... " >&6; }
23825 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23826 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23827 $as_echo_n "(cached) " >&6
23828 else
23829
23830
23831 ac_ext=cpp
23832 ac_cpp='$CXXCPP $CPPFLAGS'
23833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23836
23837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23838 /* end confdefs.h. */
23839 #include <math.h>
23840 int
23841 main ()
23842 {
23843 powf(0, 0);
23844 ;
23845 return 0;
23846 }
23847 _ACEOF
23848 if ac_fn_cxx_try_compile "$LINENO"; then :
23849 glibcxx_cv_func_powf_use=yes
23850 else
23851 glibcxx_cv_func_powf_use=no
23852 fi
23853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23854 ac_ext=c
23855 ac_cpp='$CPP $CPPFLAGS'
23856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23859
23860
23861 fi
23862
23863 fi
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23865 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23866
23867 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23868 for ac_func in powf
23869 do :
23870 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23871 if test "x$ac_cv_func_powf" = x""yes; then :
23872 cat >>confdefs.h <<_ACEOF
23873 #define HAVE_POWF 1
23874 _ACEOF
23875
23876 fi
23877 done
23878
23879 else
23880
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23882 $as_echo_n "checking for _powf declaration... " >&6; }
23883 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23884 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23885 $as_echo_n "(cached) " >&6
23886 else
23887
23888
23889 ac_ext=cpp
23890 ac_cpp='$CXXCPP $CPPFLAGS'
23891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894
23895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h. */
23897 #include <math.h>
23898 int
23899 main ()
23900 {
23901 _powf(0, 0);
23902 ;
23903 return 0;
23904 }
23905 _ACEOF
23906 if ac_fn_cxx_try_compile "$LINENO"; then :
23907 glibcxx_cv_func__powf_use=yes
23908 else
23909 glibcxx_cv_func__powf_use=no
23910 fi
23911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23912 ac_ext=c
23913 ac_cpp='$CPP $CPPFLAGS'
23914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917
23918
23919 fi
23920
23921 fi
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23923 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23924
23925 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23926 for ac_func in _powf
23927 do :
23928 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23929 if test "x$ac_cv_func__powf" = x""yes; then :
23930 cat >>confdefs.h <<_ACEOF
23931 #define HAVE__POWF 1
23932 _ACEOF
23933
23934 fi
23935 done
23936
23937 fi
23938 fi
23939
23940
23941
23942
23943
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23945 $as_echo_n "checking for sqrtf declaration... " >&6; }
23946 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23947 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23948 $as_echo_n "(cached) " >&6
23949 else
23950
23951
23952 ac_ext=cpp
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23957
23958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <math.h>
23961 #ifdef HAVE_IEEEFP_H
23962 #include <ieeefp.h>
23963 #endif
23964
23965 int
23966 main ()
23967 {
23968 sqrtf(0);
23969 ;
23970 return 0;
23971 }
23972 _ACEOF
23973 if ac_fn_cxx_try_compile "$LINENO"; then :
23974 glibcxx_cv_func_sqrtf_use=yes
23975 else
23976 glibcxx_cv_func_sqrtf_use=no
23977 fi
23978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23979 ac_ext=c
23980 ac_cpp='$CPP $CPPFLAGS'
23981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23984
23985
23986 fi
23987
23988 fi
23989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23990 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23991
23992 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23993 for ac_func in sqrtf
23994 do :
23995 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23996 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23997 cat >>confdefs.h <<_ACEOF
23998 #define HAVE_SQRTF 1
23999 _ACEOF
24000
24001 fi
24002 done
24003
24004 else
24005
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24007 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24008 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24009 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24010 $as_echo_n "(cached) " >&6
24011 else
24012
24013
24014 ac_ext=cpp
24015 ac_cpp='$CXXCPP $CPPFLAGS'
24016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24019
24020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24022 #include <math.h>
24023 #ifdef HAVE_IEEEFP_H
24024 #include <ieeefp.h>
24025 #endif
24026
24027 int
24028 main ()
24029 {
24030 _sqrtf(0);
24031 ;
24032 return 0;
24033 }
24034 _ACEOF
24035 if ac_fn_cxx_try_compile "$LINENO"; then :
24036 glibcxx_cv_func__sqrtf_use=yes
24037 else
24038 glibcxx_cv_func__sqrtf_use=no
24039 fi
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24046
24047
24048 fi
24049
24050 fi
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24052 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24053
24054 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24055 for ac_func in _sqrtf
24056 do :
24057 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24058 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24059 cat >>confdefs.h <<_ACEOF
24060 #define HAVE__SQRTF 1
24061 _ACEOF
24062
24063 fi
24064 done
24065
24066 fi
24067 fi
24068
24069
24070
24071
24072
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24074 $as_echo_n "checking for sincosf declaration... " >&6; }
24075 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24076 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24077 $as_echo_n "(cached) " >&6
24078 else
24079
24080
24081 ac_ext=cpp
24082 ac_cpp='$CXXCPP $CPPFLAGS'
24083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24086
24087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24088 /* end confdefs.h. */
24089 #include <math.h>
24090 int
24091 main ()
24092 {
24093 sincosf(0, 0, 0);
24094 ;
24095 return 0;
24096 }
24097 _ACEOF
24098 if ac_fn_cxx_try_compile "$LINENO"; then :
24099 glibcxx_cv_func_sincosf_use=yes
24100 else
24101 glibcxx_cv_func_sincosf_use=no
24102 fi
24103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24104 ac_ext=c
24105 ac_cpp='$CPP $CPPFLAGS'
24106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24109
24110
24111 fi
24112
24113 fi
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24115 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24116
24117 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24118 for ac_func in sincosf
24119 do :
24120 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24121 if test "x$ac_cv_func_sincosf" = x""yes; then :
24122 cat >>confdefs.h <<_ACEOF
24123 #define HAVE_SINCOSF 1
24124 _ACEOF
24125
24126 fi
24127 done
24128
24129 else
24130
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24132 $as_echo_n "checking for _sincosf declaration... " >&6; }
24133 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24134 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24135 $as_echo_n "(cached) " >&6
24136 else
24137
24138
24139 ac_ext=cpp
24140 ac_cpp='$CXXCPP $CPPFLAGS'
24141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24144
24145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24146 /* end confdefs.h. */
24147 #include <math.h>
24148 int
24149 main ()
24150 {
24151 _sincosf(0, 0, 0);
24152 ;
24153 return 0;
24154 }
24155 _ACEOF
24156 if ac_fn_cxx_try_compile "$LINENO"; then :
24157 glibcxx_cv_func__sincosf_use=yes
24158 else
24159 glibcxx_cv_func__sincosf_use=no
24160 fi
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 ac_ext=c
24163 ac_cpp='$CPP $CPPFLAGS'
24164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24167
24168
24169 fi
24170
24171 fi
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24173 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24174
24175 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24176 for ac_func in _sincosf
24177 do :
24178 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24179 if test "x$ac_cv_func__sincosf" = x""yes; then :
24180 cat >>confdefs.h <<_ACEOF
24181 #define HAVE__SINCOSF 1
24182 _ACEOF
24183
24184 fi
24185 done
24186
24187 fi
24188 fi
24189
24190
24191
24192
24193
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24195 $as_echo_n "checking for finitef declaration... " >&6; }
24196 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24197 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24198 $as_echo_n "(cached) " >&6
24199 else
24200
24201
24202 ac_ext=cpp
24203 ac_cpp='$CXXCPP $CPPFLAGS'
24204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24207
24208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24209 /* end confdefs.h. */
24210 #include <math.h>
24211 #ifdef HAVE_IEEEFP_H
24212 #include <ieeefp.h>
24213 #endif
24214
24215 int
24216 main ()
24217 {
24218 finitef(0);
24219 ;
24220 return 0;
24221 }
24222 _ACEOF
24223 if ac_fn_cxx_try_compile "$LINENO"; then :
24224 glibcxx_cv_func_finitef_use=yes
24225 else
24226 glibcxx_cv_func_finitef_use=no
24227 fi
24228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24229 ac_ext=c
24230 ac_cpp='$CPP $CPPFLAGS'
24231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24234
24235
24236 fi
24237
24238 fi
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24240 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24241
24242 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24243 for ac_func in finitef
24244 do :
24245 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24246 if test "x$ac_cv_func_finitef" = x""yes; then :
24247 cat >>confdefs.h <<_ACEOF
24248 #define HAVE_FINITEF 1
24249 _ACEOF
24250
24251 fi
24252 done
24253
24254 else
24255
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24257 $as_echo_n "checking for _finitef declaration... " >&6; }
24258 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24259 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24260 $as_echo_n "(cached) " >&6
24261 else
24262
24263
24264 ac_ext=cpp
24265 ac_cpp='$CXXCPP $CPPFLAGS'
24266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24269
24270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24271 /* end confdefs.h. */
24272 #include <math.h>
24273 #ifdef HAVE_IEEEFP_H
24274 #include <ieeefp.h>
24275 #endif
24276
24277 int
24278 main ()
24279 {
24280 _finitef(0);
24281 ;
24282 return 0;
24283 }
24284 _ACEOF
24285 if ac_fn_cxx_try_compile "$LINENO"; then :
24286 glibcxx_cv_func__finitef_use=yes
24287 else
24288 glibcxx_cv_func__finitef_use=no
24289 fi
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291 ac_ext=c
24292 ac_cpp='$CPP $CPPFLAGS'
24293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296
24297
24298 fi
24299
24300 fi
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24302 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24303
24304 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24305 for ac_func in _finitef
24306 do :
24307 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24308 if test "x$ac_cv_func__finitef" = x""yes; then :
24309 cat >>confdefs.h <<_ACEOF
24310 #define HAVE__FINITEF 1
24311 _ACEOF
24312
24313 fi
24314 done
24315
24316 fi
24317 fi
24318
24319
24320
24321
24322
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24324 $as_echo_n "checking for long double trig functions... " >&6; }
24325 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24326 $as_echo_n "(cached) " >&6
24327 else
24328
24329
24330 ac_ext=cpp
24331 ac_cpp='$CXXCPP $CPPFLAGS'
24332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24335
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24338 #include <math.h>
24339 int
24340 main ()
24341 {
24342 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24343 ;
24344 return 0;
24345 }
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348 glibcxx_cv_func_long_double_trig_use=yes
24349 else
24350 glibcxx_cv_func_long_double_trig_use=no
24351 fi
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24358
24359 fi
24360
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24362 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24363 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24364 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24365 do :
24366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24368 eval as_val=\$$as_ac_var
24369 if test "x$as_val" = x""yes; then :
24370 cat >>confdefs.h <<_ACEOF
24371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24372 _ACEOF
24373
24374 fi
24375 done
24376
24377 else
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24379 $as_echo_n "checking for _long double trig functions... " >&6; }
24380 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24381 $as_echo_n "(cached) " >&6
24382 else
24383
24384
24385 ac_ext=cpp
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24390
24391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24392 /* end confdefs.h. */
24393 #include <math.h>
24394 int
24395 main ()
24396 {
24397 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24398 ;
24399 return 0;
24400 }
24401 _ACEOF
24402 if ac_fn_cxx_try_compile "$LINENO"; then :
24403 glibcxx_cv_func__long_double_trig_use=yes
24404 else
24405 glibcxx_cv_func__long_double_trig_use=no
24406 fi
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 ac_ext=c
24409 ac_cpp='$CPP $CPPFLAGS'
24410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24413
24414 fi
24415
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24417 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24418 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24419 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24420 do :
24421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24423 eval as_val=\$$as_ac_var
24424 if test "x$as_val" = x""yes; then :
24425 cat >>confdefs.h <<_ACEOF
24426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24427 _ACEOF
24428
24429 fi
24430 done
24431
24432 fi
24433 fi
24434
24435
24436
24437
24438
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24440 $as_echo_n "checking for long double round functions... " >&6; }
24441 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24443 else
24444
24445
24446 ac_ext=cpp
24447 ac_cpp='$CXXCPP $CPPFLAGS'
24448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24451
24452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24453 /* end confdefs.h. */
24454 #include <math.h>
24455 int
24456 main ()
24457 {
24458 ceill (0); floorl (0);
24459 ;
24460 return 0;
24461 }
24462 _ACEOF
24463 if ac_fn_cxx_try_compile "$LINENO"; then :
24464 glibcxx_cv_func_long_double_round_use=yes
24465 else
24466 glibcxx_cv_func_long_double_round_use=no
24467 fi
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 ac_ext=c
24470 ac_cpp='$CPP $CPPFLAGS'
24471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24474
24475 fi
24476
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24478 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24479 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24480 for ac_func in ceill floorl
24481 do :
24482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24484 eval as_val=\$$as_ac_var
24485 if test "x$as_val" = x""yes; then :
24486 cat >>confdefs.h <<_ACEOF
24487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24488 _ACEOF
24489
24490 fi
24491 done
24492
24493 else
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24495 $as_echo_n "checking for _long double round functions... " >&6; }
24496 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24497 $as_echo_n "(cached) " >&6
24498 else
24499
24500
24501 ac_ext=cpp
24502 ac_cpp='$CXXCPP $CPPFLAGS'
24503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24506
24507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24508 /* end confdefs.h. */
24509 #include <math.h>
24510 int
24511 main ()
24512 {
24513 _ceill (0); _floorl (0);
24514 ;
24515 return 0;
24516 }
24517 _ACEOF
24518 if ac_fn_cxx_try_compile "$LINENO"; then :
24519 glibcxx_cv_func__long_double_round_use=yes
24520 else
24521 glibcxx_cv_func__long_double_round_use=no
24522 fi
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524 ac_ext=c
24525 ac_cpp='$CPP $CPPFLAGS'
24526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24529
24530 fi
24531
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24533 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24534 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24535 for ac_func in _ceill _floorl
24536 do :
24537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24539 eval as_val=\$$as_ac_var
24540 if test "x$as_val" = x""yes; then :
24541 cat >>confdefs.h <<_ACEOF
24542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24543 _ACEOF
24544
24545 fi
24546 done
24547
24548 fi
24549 fi
24550
24551
24552
24553
24554
24555
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24557 $as_echo_n "checking for isnanl declaration... " >&6; }
24558 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24559 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24560 $as_echo_n "(cached) " >&6
24561 else
24562
24563
24564 ac_ext=cpp
24565 ac_cpp='$CXXCPP $CPPFLAGS'
24566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24569
24570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24571 /* end confdefs.h. */
24572 #include <math.h>
24573 #ifdef HAVE_IEEEFP_H
24574 #include <ieeefp.h>
24575 #endif
24576
24577 int
24578 main ()
24579 {
24580 isnanl(0);
24581 ;
24582 return 0;
24583 }
24584 _ACEOF
24585 if ac_fn_cxx_try_compile "$LINENO"; then :
24586 glibcxx_cv_func_isnanl_use=yes
24587 else
24588 glibcxx_cv_func_isnanl_use=no
24589 fi
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591 ac_ext=c
24592 ac_cpp='$CPP $CPPFLAGS'
24593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24596
24597
24598 fi
24599
24600 fi
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24602 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24603
24604 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24605 for ac_func in isnanl
24606 do :
24607 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24608 if test "x$ac_cv_func_isnanl" = x""yes; then :
24609 cat >>confdefs.h <<_ACEOF
24610 #define HAVE_ISNANL 1
24611 _ACEOF
24612
24613 fi
24614 done
24615
24616 else
24617
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24619 $as_echo_n "checking for _isnanl declaration... " >&6; }
24620 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24621 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24622 $as_echo_n "(cached) " >&6
24623 else
24624
24625
24626 ac_ext=cpp
24627 ac_cpp='$CXXCPP $CPPFLAGS'
24628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24631
24632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h. */
24634 #include <math.h>
24635 #ifdef HAVE_IEEEFP_H
24636 #include <ieeefp.h>
24637 #endif
24638
24639 int
24640 main ()
24641 {
24642 _isnanl(0);
24643 ;
24644 return 0;
24645 }
24646 _ACEOF
24647 if ac_fn_cxx_try_compile "$LINENO"; then :
24648 glibcxx_cv_func__isnanl_use=yes
24649 else
24650 glibcxx_cv_func__isnanl_use=no
24651 fi
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24653 ac_ext=c
24654 ac_cpp='$CPP $CPPFLAGS'
24655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658
24659
24660 fi
24661
24662 fi
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24664 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24665
24666 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24667 for ac_func in _isnanl
24668 do :
24669 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24670 if test "x$ac_cv_func__isnanl" = x""yes; then :
24671 cat >>confdefs.h <<_ACEOF
24672 #define HAVE__ISNANL 1
24673 _ACEOF
24674
24675 fi
24676 done
24677
24678 fi
24679 fi
24680
24681
24682
24683
24684
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24686 $as_echo_n "checking for isinfl declaration... " >&6; }
24687 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24688 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24689 $as_echo_n "(cached) " >&6
24690 else
24691
24692
24693 ac_ext=cpp
24694 ac_cpp='$CXXCPP $CPPFLAGS'
24695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24698
24699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24700 /* end confdefs.h. */
24701 #include <math.h>
24702 #ifdef HAVE_IEEEFP_H
24703 #include <ieeefp.h>
24704 #endif
24705
24706 int
24707 main ()
24708 {
24709 isinfl(0);
24710 ;
24711 return 0;
24712 }
24713 _ACEOF
24714 if ac_fn_cxx_try_compile "$LINENO"; then :
24715 glibcxx_cv_func_isinfl_use=yes
24716 else
24717 glibcxx_cv_func_isinfl_use=no
24718 fi
24719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24720 ac_ext=c
24721 ac_cpp='$CPP $CPPFLAGS'
24722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24725
24726
24727 fi
24728
24729 fi
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24731 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24732
24733 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24734 for ac_func in isinfl
24735 do :
24736 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24737 if test "x$ac_cv_func_isinfl" = x""yes; then :
24738 cat >>confdefs.h <<_ACEOF
24739 #define HAVE_ISINFL 1
24740 _ACEOF
24741
24742 fi
24743 done
24744
24745 else
24746
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24748 $as_echo_n "checking for _isinfl declaration... " >&6; }
24749 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24750 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24751 $as_echo_n "(cached) " >&6
24752 else
24753
24754
24755 ac_ext=cpp
24756 ac_cpp='$CXXCPP $CPPFLAGS'
24757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24760
24761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h. */
24763 #include <math.h>
24764 #ifdef HAVE_IEEEFP_H
24765 #include <ieeefp.h>
24766 #endif
24767
24768 int
24769 main ()
24770 {
24771 _isinfl(0);
24772 ;
24773 return 0;
24774 }
24775 _ACEOF
24776 if ac_fn_cxx_try_compile "$LINENO"; then :
24777 glibcxx_cv_func__isinfl_use=yes
24778 else
24779 glibcxx_cv_func__isinfl_use=no
24780 fi
24781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24782 ac_ext=c
24783 ac_cpp='$CPP $CPPFLAGS'
24784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24787
24788
24789 fi
24790
24791 fi
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24793 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24794
24795 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24796 for ac_func in _isinfl
24797 do :
24798 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24799 if test "x$ac_cv_func__isinfl" = x""yes; then :
24800 cat >>confdefs.h <<_ACEOF
24801 #define HAVE__ISINFL 1
24802 _ACEOF
24803
24804 fi
24805 done
24806
24807 fi
24808 fi
24809
24810
24811
24812
24813
24814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24815 $as_echo_n "checking for atan2l declaration... " >&6; }
24816 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24817 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24818 $as_echo_n "(cached) " >&6
24819 else
24820
24821
24822 ac_ext=cpp
24823 ac_cpp='$CXXCPP $CPPFLAGS'
24824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24827
24828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24829 /* end confdefs.h. */
24830 #include <math.h>
24831 int
24832 main ()
24833 {
24834 atan2l(0, 0);
24835 ;
24836 return 0;
24837 }
24838 _ACEOF
24839 if ac_fn_cxx_try_compile "$LINENO"; then :
24840 glibcxx_cv_func_atan2l_use=yes
24841 else
24842 glibcxx_cv_func_atan2l_use=no
24843 fi
24844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24845 ac_ext=c
24846 ac_cpp='$CPP $CPPFLAGS'
24847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850
24851
24852 fi
24853
24854 fi
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24856 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24857
24858 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24859 for ac_func in atan2l
24860 do :
24861 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24862 if test "x$ac_cv_func_atan2l" = x""yes; then :
24863 cat >>confdefs.h <<_ACEOF
24864 #define HAVE_ATAN2L 1
24865 _ACEOF
24866
24867 fi
24868 done
24869
24870 else
24871
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24873 $as_echo_n "checking for _atan2l declaration... " >&6; }
24874 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24875 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24876 $as_echo_n "(cached) " >&6
24877 else
24878
24879
24880 ac_ext=cpp
24881 ac_cpp='$CXXCPP $CPPFLAGS'
24882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24885
24886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24887 /* end confdefs.h. */
24888 #include <math.h>
24889 int
24890 main ()
24891 {
24892 _atan2l(0, 0);
24893 ;
24894 return 0;
24895 }
24896 _ACEOF
24897 if ac_fn_cxx_try_compile "$LINENO"; then :
24898 glibcxx_cv_func__atan2l_use=yes
24899 else
24900 glibcxx_cv_func__atan2l_use=no
24901 fi
24902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24903 ac_ext=c
24904 ac_cpp='$CPP $CPPFLAGS'
24905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24908
24909
24910 fi
24911
24912 fi
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24914 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24915
24916 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24917 for ac_func in _atan2l
24918 do :
24919 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24920 if test "x$ac_cv_func__atan2l" = x""yes; then :
24921 cat >>confdefs.h <<_ACEOF
24922 #define HAVE__ATAN2L 1
24923 _ACEOF
24924
24925 fi
24926 done
24927
24928 fi
24929 fi
24930
24931
24932
24933
24934
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24936 $as_echo_n "checking for expl declaration... " >&6; }
24937 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24938 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24939 $as_echo_n "(cached) " >&6
24940 else
24941
24942
24943 ac_ext=cpp
24944 ac_cpp='$CXXCPP $CPPFLAGS'
24945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24948
24949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24951 #include <math.h>
24952 #ifdef HAVE_IEEEFP_H
24953 #include <ieeefp.h>
24954 #endif
24955
24956 int
24957 main ()
24958 {
24959 expl(0);
24960 ;
24961 return 0;
24962 }
24963 _ACEOF
24964 if ac_fn_cxx_try_compile "$LINENO"; then :
24965 glibcxx_cv_func_expl_use=yes
24966 else
24967 glibcxx_cv_func_expl_use=no
24968 fi
24969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24970 ac_ext=c
24971 ac_cpp='$CPP $CPPFLAGS'
24972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24975
24976
24977 fi
24978
24979 fi
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24981 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24982
24983 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24984 for ac_func in expl
24985 do :
24986 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24987 if test "x$ac_cv_func_expl" = x""yes; then :
24988 cat >>confdefs.h <<_ACEOF
24989 #define HAVE_EXPL 1
24990 _ACEOF
24991
24992 fi
24993 done
24994
24995 else
24996
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24998 $as_echo_n "checking for _expl declaration... " >&6; }
24999 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25000 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25001 $as_echo_n "(cached) " >&6
25002 else
25003
25004
25005 ac_ext=cpp
25006 ac_cpp='$CXXCPP $CPPFLAGS'
25007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25010
25011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25012 /* end confdefs.h. */
25013 #include <math.h>
25014 #ifdef HAVE_IEEEFP_H
25015 #include <ieeefp.h>
25016 #endif
25017
25018 int
25019 main ()
25020 {
25021 _expl(0);
25022 ;
25023 return 0;
25024 }
25025 _ACEOF
25026 if ac_fn_cxx_try_compile "$LINENO"; then :
25027 glibcxx_cv_func__expl_use=yes
25028 else
25029 glibcxx_cv_func__expl_use=no
25030 fi
25031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25032 ac_ext=c
25033 ac_cpp='$CPP $CPPFLAGS'
25034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25037
25038
25039 fi
25040
25041 fi
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25043 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25044
25045 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25046 for ac_func in _expl
25047 do :
25048 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25049 if test "x$ac_cv_func__expl" = x""yes; then :
25050 cat >>confdefs.h <<_ACEOF
25051 #define HAVE__EXPL 1
25052 _ACEOF
25053
25054 fi
25055 done
25056
25057 fi
25058 fi
25059
25060
25061
25062
25063
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25065 $as_echo_n "checking for fabsl declaration... " >&6; }
25066 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25067 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25068 $as_echo_n "(cached) " >&6
25069 else
25070
25071
25072 ac_ext=cpp
25073 ac_cpp='$CXXCPP $CPPFLAGS'
25074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25077
25078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25079 /* end confdefs.h. */
25080 #include <math.h>
25081 #ifdef HAVE_IEEEFP_H
25082 #include <ieeefp.h>
25083 #endif
25084
25085 int
25086 main ()
25087 {
25088 fabsl(0);
25089 ;
25090 return 0;
25091 }
25092 _ACEOF
25093 if ac_fn_cxx_try_compile "$LINENO"; then :
25094 glibcxx_cv_func_fabsl_use=yes
25095 else
25096 glibcxx_cv_func_fabsl_use=no
25097 fi
25098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25099 ac_ext=c
25100 ac_cpp='$CPP $CPPFLAGS'
25101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25104
25105
25106 fi
25107
25108 fi
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25110 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25111
25112 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25113 for ac_func in fabsl
25114 do :
25115 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25116 if test "x$ac_cv_func_fabsl" = x""yes; then :
25117 cat >>confdefs.h <<_ACEOF
25118 #define HAVE_FABSL 1
25119 _ACEOF
25120
25121 fi
25122 done
25123
25124 else
25125
25126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25127 $as_echo_n "checking for _fabsl declaration... " >&6; }
25128 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25129 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25130 $as_echo_n "(cached) " >&6
25131 else
25132
25133
25134 ac_ext=cpp
25135 ac_cpp='$CXXCPP $CPPFLAGS'
25136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25139
25140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25142 #include <math.h>
25143 #ifdef HAVE_IEEEFP_H
25144 #include <ieeefp.h>
25145 #endif
25146
25147 int
25148 main ()
25149 {
25150 _fabsl(0);
25151 ;
25152 return 0;
25153 }
25154 _ACEOF
25155 if ac_fn_cxx_try_compile "$LINENO"; then :
25156 glibcxx_cv_func__fabsl_use=yes
25157 else
25158 glibcxx_cv_func__fabsl_use=no
25159 fi
25160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25161 ac_ext=c
25162 ac_cpp='$CPP $CPPFLAGS'
25163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25166
25167
25168 fi
25169
25170 fi
25171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25172 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25173
25174 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25175 for ac_func in _fabsl
25176 do :
25177 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25178 if test "x$ac_cv_func__fabsl" = x""yes; then :
25179 cat >>confdefs.h <<_ACEOF
25180 #define HAVE__FABSL 1
25181 _ACEOF
25182
25183 fi
25184 done
25185
25186 fi
25187 fi
25188
25189
25190
25191
25192
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25194 $as_echo_n "checking for fmodl declaration... " >&6; }
25195 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25196 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25199
25200
25201 ac_ext=cpp
25202 ac_cpp='$CXXCPP $CPPFLAGS'
25203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209 #include <math.h>
25210 int
25211 main ()
25212 {
25213 fmodl(0, 0);
25214 ;
25215 return 0;
25216 }
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func_fmodl_use=yes
25220 else
25221 glibcxx_cv_func_fmodl_use=no
25222 fi
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229
25230
25231 fi
25232
25233 fi
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25235 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25236
25237 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25238 for ac_func in fmodl
25239 do :
25240 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25241 if test "x$ac_cv_func_fmodl" = x""yes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE_FMODL 1
25244 _ACEOF
25245
25246 fi
25247 done
25248
25249 else
25250
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25252 $as_echo_n "checking for _fmodl declaration... " >&6; }
25253 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25254 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25255 $as_echo_n "(cached) " >&6
25256 else
25257
25258
25259 ac_ext=cpp
25260 ac_cpp='$CXXCPP $CPPFLAGS'
25261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25264
25265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25266 /* end confdefs.h. */
25267 #include <math.h>
25268 int
25269 main ()
25270 {
25271 _fmodl(0, 0);
25272 ;
25273 return 0;
25274 }
25275 _ACEOF
25276 if ac_fn_cxx_try_compile "$LINENO"; then :
25277 glibcxx_cv_func__fmodl_use=yes
25278 else
25279 glibcxx_cv_func__fmodl_use=no
25280 fi
25281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25282 ac_ext=c
25283 ac_cpp='$CPP $CPPFLAGS'
25284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25287
25288
25289 fi
25290
25291 fi
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25293 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25294
25295 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25296 for ac_func in _fmodl
25297 do :
25298 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25299 if test "x$ac_cv_func__fmodl" = x""yes; then :
25300 cat >>confdefs.h <<_ACEOF
25301 #define HAVE__FMODL 1
25302 _ACEOF
25303
25304 fi
25305 done
25306
25307 fi
25308 fi
25309
25310
25311
25312
25313
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25315 $as_echo_n "checking for frexpl declaration... " >&6; }
25316 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25317 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25318 $as_echo_n "(cached) " >&6
25319 else
25320
25321
25322 ac_ext=cpp
25323 ac_cpp='$CXXCPP $CPPFLAGS'
25324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25327
25328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25329 /* end confdefs.h. */
25330 #include <math.h>
25331 int
25332 main ()
25333 {
25334 frexpl(0, 0);
25335 ;
25336 return 0;
25337 }
25338 _ACEOF
25339 if ac_fn_cxx_try_compile "$LINENO"; then :
25340 glibcxx_cv_func_frexpl_use=yes
25341 else
25342 glibcxx_cv_func_frexpl_use=no
25343 fi
25344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345 ac_ext=c
25346 ac_cpp='$CPP $CPPFLAGS'
25347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25350
25351
25352 fi
25353
25354 fi
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25356 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25357
25358 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25359 for ac_func in frexpl
25360 do :
25361 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25362 if test "x$ac_cv_func_frexpl" = x""yes; then :
25363 cat >>confdefs.h <<_ACEOF
25364 #define HAVE_FREXPL 1
25365 _ACEOF
25366
25367 fi
25368 done
25369
25370 else
25371
25372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25373 $as_echo_n "checking for _frexpl declaration... " >&6; }
25374 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25375 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25376 $as_echo_n "(cached) " >&6
25377 else
25378
25379
25380 ac_ext=cpp
25381 ac_cpp='$CXXCPP $CPPFLAGS'
25382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25385
25386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25387 /* end confdefs.h. */
25388 #include <math.h>
25389 int
25390 main ()
25391 {
25392 _frexpl(0, 0);
25393 ;
25394 return 0;
25395 }
25396 _ACEOF
25397 if ac_fn_cxx_try_compile "$LINENO"; then :
25398 glibcxx_cv_func__frexpl_use=yes
25399 else
25400 glibcxx_cv_func__frexpl_use=no
25401 fi
25402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25403 ac_ext=c
25404 ac_cpp='$CPP $CPPFLAGS'
25405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25408
25409
25410 fi
25411
25412 fi
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25414 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25415
25416 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25417 for ac_func in _frexpl
25418 do :
25419 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25420 if test "x$ac_cv_func__frexpl" = x""yes; then :
25421 cat >>confdefs.h <<_ACEOF
25422 #define HAVE__FREXPL 1
25423 _ACEOF
25424
25425 fi
25426 done
25427
25428 fi
25429 fi
25430
25431
25432
25433
25434
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25436 $as_echo_n "checking for hypotl declaration... " >&6; }
25437 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25438 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25439 $as_echo_n "(cached) " >&6
25440 else
25441
25442
25443 ac_ext=cpp
25444 ac_cpp='$CXXCPP $CPPFLAGS'
25445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25448
25449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25450 /* end confdefs.h. */
25451 #include <math.h>
25452 int
25453 main ()
25454 {
25455 hypotl(0, 0);
25456 ;
25457 return 0;
25458 }
25459 _ACEOF
25460 if ac_fn_cxx_try_compile "$LINENO"; then :
25461 glibcxx_cv_func_hypotl_use=yes
25462 else
25463 glibcxx_cv_func_hypotl_use=no
25464 fi
25465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25466 ac_ext=c
25467 ac_cpp='$CPP $CPPFLAGS'
25468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25471
25472
25473 fi
25474
25475 fi
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25477 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25478
25479 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25480 for ac_func in hypotl
25481 do :
25482 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25483 if test "x$ac_cv_func_hypotl" = x""yes; then :
25484 cat >>confdefs.h <<_ACEOF
25485 #define HAVE_HYPOTL 1
25486 _ACEOF
25487
25488 fi
25489 done
25490
25491 else
25492
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25494 $as_echo_n "checking for _hypotl declaration... " >&6; }
25495 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25496 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25497 $as_echo_n "(cached) " >&6
25498 else
25499
25500
25501 ac_ext=cpp
25502 ac_cpp='$CXXCPP $CPPFLAGS'
25503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25506
25507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25508 /* end confdefs.h. */
25509 #include <math.h>
25510 int
25511 main ()
25512 {
25513 _hypotl(0, 0);
25514 ;
25515 return 0;
25516 }
25517 _ACEOF
25518 if ac_fn_cxx_try_compile "$LINENO"; then :
25519 glibcxx_cv_func__hypotl_use=yes
25520 else
25521 glibcxx_cv_func__hypotl_use=no
25522 fi
25523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25524 ac_ext=c
25525 ac_cpp='$CPP $CPPFLAGS'
25526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25529
25530
25531 fi
25532
25533 fi
25534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25535 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25536
25537 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25538 for ac_func in _hypotl
25539 do :
25540 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25541 if test "x$ac_cv_func__hypotl" = x""yes; then :
25542 cat >>confdefs.h <<_ACEOF
25543 #define HAVE__HYPOTL 1
25544 _ACEOF
25545
25546 fi
25547 done
25548
25549 fi
25550 fi
25551
25552
25553
25554
25555
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25557 $as_echo_n "checking for ldexpl declaration... " >&6; }
25558 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25559 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25560 $as_echo_n "(cached) " >&6
25561 else
25562
25563
25564 ac_ext=cpp
25565 ac_cpp='$CXXCPP $CPPFLAGS'
25566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25569
25570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25571 /* end confdefs.h. */
25572 #include <math.h>
25573 int
25574 main ()
25575 {
25576 ldexpl(0, 0);
25577 ;
25578 return 0;
25579 }
25580 _ACEOF
25581 if ac_fn_cxx_try_compile "$LINENO"; then :
25582 glibcxx_cv_func_ldexpl_use=yes
25583 else
25584 glibcxx_cv_func_ldexpl_use=no
25585 fi
25586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25587 ac_ext=c
25588 ac_cpp='$CPP $CPPFLAGS'
25589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25592
25593
25594 fi
25595
25596 fi
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25598 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25599
25600 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25601 for ac_func in ldexpl
25602 do :
25603 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25604 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25605 cat >>confdefs.h <<_ACEOF
25606 #define HAVE_LDEXPL 1
25607 _ACEOF
25608
25609 fi
25610 done
25611
25612 else
25613
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25615 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25616 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25617 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25618 $as_echo_n "(cached) " >&6
25619 else
25620
25621
25622 ac_ext=cpp
25623 ac_cpp='$CXXCPP $CPPFLAGS'
25624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25627
25628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25629 /* end confdefs.h. */
25630 #include <math.h>
25631 int
25632 main ()
25633 {
25634 _ldexpl(0, 0);
25635 ;
25636 return 0;
25637 }
25638 _ACEOF
25639 if ac_fn_cxx_try_compile "$LINENO"; then :
25640 glibcxx_cv_func__ldexpl_use=yes
25641 else
25642 glibcxx_cv_func__ldexpl_use=no
25643 fi
25644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25645 ac_ext=c
25646 ac_cpp='$CPP $CPPFLAGS'
25647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25650
25651
25652 fi
25653
25654 fi
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25656 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25657
25658 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25659 for ac_func in _ldexpl
25660 do :
25661 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25662 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25663 cat >>confdefs.h <<_ACEOF
25664 #define HAVE__LDEXPL 1
25665 _ACEOF
25666
25667 fi
25668 done
25669
25670 fi
25671 fi
25672
25673
25674
25675
25676
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25678 $as_echo_n "checking for logl declaration... " >&6; }
25679 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25680 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25681 $as_echo_n "(cached) " >&6
25682 else
25683
25684
25685 ac_ext=cpp
25686 ac_cpp='$CXXCPP $CPPFLAGS'
25687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690
25691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25692 /* end confdefs.h. */
25693 #include <math.h>
25694 #ifdef HAVE_IEEEFP_H
25695 #include <ieeefp.h>
25696 #endif
25697
25698 int
25699 main ()
25700 {
25701 logl(0);
25702 ;
25703 return 0;
25704 }
25705 _ACEOF
25706 if ac_fn_cxx_try_compile "$LINENO"; then :
25707 glibcxx_cv_func_logl_use=yes
25708 else
25709 glibcxx_cv_func_logl_use=no
25710 fi
25711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25712 ac_ext=c
25713 ac_cpp='$CPP $CPPFLAGS'
25714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25717
25718
25719 fi
25720
25721 fi
25722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25723 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25724
25725 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25726 for ac_func in logl
25727 do :
25728 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25729 if test "x$ac_cv_func_logl" = x""yes; then :
25730 cat >>confdefs.h <<_ACEOF
25731 #define HAVE_LOGL 1
25732 _ACEOF
25733
25734 fi
25735 done
25736
25737 else
25738
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25740 $as_echo_n "checking for _logl declaration... " >&6; }
25741 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25742 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25743 $as_echo_n "(cached) " >&6
25744 else
25745
25746
25747 ac_ext=cpp
25748 ac_cpp='$CXXCPP $CPPFLAGS'
25749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25752
25753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25754 /* end confdefs.h. */
25755 #include <math.h>
25756 #ifdef HAVE_IEEEFP_H
25757 #include <ieeefp.h>
25758 #endif
25759
25760 int
25761 main ()
25762 {
25763 _logl(0);
25764 ;
25765 return 0;
25766 }
25767 _ACEOF
25768 if ac_fn_cxx_try_compile "$LINENO"; then :
25769 glibcxx_cv_func__logl_use=yes
25770 else
25771 glibcxx_cv_func__logl_use=no
25772 fi
25773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25774 ac_ext=c
25775 ac_cpp='$CPP $CPPFLAGS'
25776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25779
25780
25781 fi
25782
25783 fi
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25785 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25786
25787 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25788 for ac_func in _logl
25789 do :
25790 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25791 if test "x$ac_cv_func__logl" = x""yes; then :
25792 cat >>confdefs.h <<_ACEOF
25793 #define HAVE__LOGL 1
25794 _ACEOF
25795
25796 fi
25797 done
25798
25799 fi
25800 fi
25801
25802
25803
25804
25805
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25807 $as_echo_n "checking for log10l declaration... " >&6; }
25808 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25809 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25810 $as_echo_n "(cached) " >&6
25811 else
25812
25813
25814 ac_ext=cpp
25815 ac_cpp='$CXXCPP $CPPFLAGS'
25816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25819
25820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25822 #include <math.h>
25823 #ifdef HAVE_IEEEFP_H
25824 #include <ieeefp.h>
25825 #endif
25826
25827 int
25828 main ()
25829 {
25830 log10l(0);
25831 ;
25832 return 0;
25833 }
25834 _ACEOF
25835 if ac_fn_cxx_try_compile "$LINENO"; then :
25836 glibcxx_cv_func_log10l_use=yes
25837 else
25838 glibcxx_cv_func_log10l_use=no
25839 fi
25840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25841 ac_ext=c
25842 ac_cpp='$CPP $CPPFLAGS'
25843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25846
25847
25848 fi
25849
25850 fi
25851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25852 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25853
25854 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25855 for ac_func in log10l
25856 do :
25857 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25858 if test "x$ac_cv_func_log10l" = x""yes; then :
25859 cat >>confdefs.h <<_ACEOF
25860 #define HAVE_LOG10L 1
25861 _ACEOF
25862
25863 fi
25864 done
25865
25866 else
25867
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25869 $as_echo_n "checking for _log10l declaration... " >&6; }
25870 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25871 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25872 $as_echo_n "(cached) " >&6
25873 else
25874
25875
25876 ac_ext=cpp
25877 ac_cpp='$CXXCPP $CPPFLAGS'
25878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25881
25882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25883 /* end confdefs.h. */
25884 #include <math.h>
25885 #ifdef HAVE_IEEEFP_H
25886 #include <ieeefp.h>
25887 #endif
25888
25889 int
25890 main ()
25891 {
25892 _log10l(0);
25893 ;
25894 return 0;
25895 }
25896 _ACEOF
25897 if ac_fn_cxx_try_compile "$LINENO"; then :
25898 glibcxx_cv_func__log10l_use=yes
25899 else
25900 glibcxx_cv_func__log10l_use=no
25901 fi
25902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25903 ac_ext=c
25904 ac_cpp='$CPP $CPPFLAGS'
25905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25908
25909
25910 fi
25911
25912 fi
25913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25914 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25915
25916 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25917 for ac_func in _log10l
25918 do :
25919 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25920 if test "x$ac_cv_func__log10l" = x""yes; then :
25921 cat >>confdefs.h <<_ACEOF
25922 #define HAVE__LOG10L 1
25923 _ACEOF
25924
25925 fi
25926 done
25927
25928 fi
25929 fi
25930
25931
25932
25933
25934
25935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25936 $as_echo_n "checking for modfl declaration... " >&6; }
25937 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25938 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25939 $as_echo_n "(cached) " >&6
25940 else
25941
25942
25943 ac_ext=cpp
25944 ac_cpp='$CXXCPP $CPPFLAGS'
25945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25948
25949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25950 /* end confdefs.h. */
25951 #include <math.h>
25952 int
25953 main ()
25954 {
25955 modfl(0, 0);
25956 ;
25957 return 0;
25958 }
25959 _ACEOF
25960 if ac_fn_cxx_try_compile "$LINENO"; then :
25961 glibcxx_cv_func_modfl_use=yes
25962 else
25963 glibcxx_cv_func_modfl_use=no
25964 fi
25965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25966 ac_ext=c
25967 ac_cpp='$CPP $CPPFLAGS'
25968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25971
25972
25973 fi
25974
25975 fi
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25977 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25978
25979 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25980 for ac_func in modfl
25981 do :
25982 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25983 if test "x$ac_cv_func_modfl" = x""yes; then :
25984 cat >>confdefs.h <<_ACEOF
25985 #define HAVE_MODFL 1
25986 _ACEOF
25987
25988 fi
25989 done
25990
25991 else
25992
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25994 $as_echo_n "checking for _modfl declaration... " >&6; }
25995 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25996 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25997 $as_echo_n "(cached) " >&6
25998 else
25999
26000
26001 ac_ext=cpp
26002 ac_cpp='$CXXCPP $CPPFLAGS'
26003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26006
26007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26008 /* end confdefs.h. */
26009 #include <math.h>
26010 int
26011 main ()
26012 {
26013 _modfl(0, 0);
26014 ;
26015 return 0;
26016 }
26017 _ACEOF
26018 if ac_fn_cxx_try_compile "$LINENO"; then :
26019 glibcxx_cv_func__modfl_use=yes
26020 else
26021 glibcxx_cv_func__modfl_use=no
26022 fi
26023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26024 ac_ext=c
26025 ac_cpp='$CPP $CPPFLAGS'
26026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26029
26030
26031 fi
26032
26033 fi
26034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26035 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26036
26037 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26038 for ac_func in _modfl
26039 do :
26040 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26041 if test "x$ac_cv_func__modfl" = x""yes; then :
26042 cat >>confdefs.h <<_ACEOF
26043 #define HAVE__MODFL 1
26044 _ACEOF
26045
26046 fi
26047 done
26048
26049 fi
26050 fi
26051
26052
26053
26054
26055
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26057 $as_echo_n "checking for powl declaration... " >&6; }
26058 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26059 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26060 $as_echo_n "(cached) " >&6
26061 else
26062
26063
26064 ac_ext=cpp
26065 ac_cpp='$CXXCPP $CPPFLAGS'
26066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26069
26070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26071 /* end confdefs.h. */
26072 #include <math.h>
26073 int
26074 main ()
26075 {
26076 powl(0, 0);
26077 ;
26078 return 0;
26079 }
26080 _ACEOF
26081 if ac_fn_cxx_try_compile "$LINENO"; then :
26082 glibcxx_cv_func_powl_use=yes
26083 else
26084 glibcxx_cv_func_powl_use=no
26085 fi
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 ac_ext=c
26088 ac_cpp='$CPP $CPPFLAGS'
26089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26092
26093
26094 fi
26095
26096 fi
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26098 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26099
26100 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26101 for ac_func in powl
26102 do :
26103 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26104 if test "x$ac_cv_func_powl" = x""yes; then :
26105 cat >>confdefs.h <<_ACEOF
26106 #define HAVE_POWL 1
26107 _ACEOF
26108
26109 fi
26110 done
26111
26112 else
26113
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26115 $as_echo_n "checking for _powl declaration... " >&6; }
26116 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26117 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26118 $as_echo_n "(cached) " >&6
26119 else
26120
26121
26122 ac_ext=cpp
26123 ac_cpp='$CXXCPP $CPPFLAGS'
26124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127
26128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129 /* end confdefs.h. */
26130 #include <math.h>
26131 int
26132 main ()
26133 {
26134 _powl(0, 0);
26135 ;
26136 return 0;
26137 }
26138 _ACEOF
26139 if ac_fn_cxx_try_compile "$LINENO"; then :
26140 glibcxx_cv_func__powl_use=yes
26141 else
26142 glibcxx_cv_func__powl_use=no
26143 fi
26144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26145 ac_ext=c
26146 ac_cpp='$CPP $CPPFLAGS'
26147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26150
26151
26152 fi
26153
26154 fi
26155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26156 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26157
26158 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26159 for ac_func in _powl
26160 do :
26161 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26162 if test "x$ac_cv_func__powl" = x""yes; then :
26163 cat >>confdefs.h <<_ACEOF
26164 #define HAVE__POWL 1
26165 _ACEOF
26166
26167 fi
26168 done
26169
26170 fi
26171 fi
26172
26173
26174
26175
26176
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26178 $as_echo_n "checking for sqrtl declaration... " >&6; }
26179 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26180 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26181 $as_echo_n "(cached) " >&6
26182 else
26183
26184
26185 ac_ext=cpp
26186 ac_cpp='$CXXCPP $CPPFLAGS'
26187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26190
26191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26192 /* end confdefs.h. */
26193 #include <math.h>
26194 #ifdef HAVE_IEEEFP_H
26195 #include <ieeefp.h>
26196 #endif
26197
26198 int
26199 main ()
26200 {
26201 sqrtl(0);
26202 ;
26203 return 0;
26204 }
26205 _ACEOF
26206 if ac_fn_cxx_try_compile "$LINENO"; then :
26207 glibcxx_cv_func_sqrtl_use=yes
26208 else
26209 glibcxx_cv_func_sqrtl_use=no
26210 fi
26211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26212 ac_ext=c
26213 ac_cpp='$CPP $CPPFLAGS'
26214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26217
26218
26219 fi
26220
26221 fi
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26223 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26224
26225 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26226 for ac_func in sqrtl
26227 do :
26228 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26229 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26230 cat >>confdefs.h <<_ACEOF
26231 #define HAVE_SQRTL 1
26232 _ACEOF
26233
26234 fi
26235 done
26236
26237 else
26238
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26240 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26241 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26242 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26243 $as_echo_n "(cached) " >&6
26244 else
26245
26246
26247 ac_ext=cpp
26248 ac_cpp='$CXXCPP $CPPFLAGS'
26249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26252
26253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26254 /* end confdefs.h. */
26255 #include <math.h>
26256 #ifdef HAVE_IEEEFP_H
26257 #include <ieeefp.h>
26258 #endif
26259
26260 int
26261 main ()
26262 {
26263 _sqrtl(0);
26264 ;
26265 return 0;
26266 }
26267 _ACEOF
26268 if ac_fn_cxx_try_compile "$LINENO"; then :
26269 glibcxx_cv_func__sqrtl_use=yes
26270 else
26271 glibcxx_cv_func__sqrtl_use=no
26272 fi
26273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26274 ac_ext=c
26275 ac_cpp='$CPP $CPPFLAGS'
26276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26279
26280
26281 fi
26282
26283 fi
26284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26285 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26286
26287 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26288 for ac_func in _sqrtl
26289 do :
26290 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26291 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26292 cat >>confdefs.h <<_ACEOF
26293 #define HAVE__SQRTL 1
26294 _ACEOF
26295
26296 fi
26297 done
26298
26299 fi
26300 fi
26301
26302
26303
26304
26305
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26307 $as_echo_n "checking for sincosl declaration... " >&6; }
26308 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26309 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26310 $as_echo_n "(cached) " >&6
26311 else
26312
26313
26314 ac_ext=cpp
26315 ac_cpp='$CXXCPP $CPPFLAGS'
26316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26319
26320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26321 /* end confdefs.h. */
26322 #include <math.h>
26323 int
26324 main ()
26325 {
26326 sincosl(0, 0, 0);
26327 ;
26328 return 0;
26329 }
26330 _ACEOF
26331 if ac_fn_cxx_try_compile "$LINENO"; then :
26332 glibcxx_cv_func_sincosl_use=yes
26333 else
26334 glibcxx_cv_func_sincosl_use=no
26335 fi
26336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26337 ac_ext=c
26338 ac_cpp='$CPP $CPPFLAGS'
26339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26342
26343
26344 fi
26345
26346 fi
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26348 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26349
26350 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26351 for ac_func in sincosl
26352 do :
26353 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26354 if test "x$ac_cv_func_sincosl" = x""yes; then :
26355 cat >>confdefs.h <<_ACEOF
26356 #define HAVE_SINCOSL 1
26357 _ACEOF
26358
26359 fi
26360 done
26361
26362 else
26363
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26365 $as_echo_n "checking for _sincosl declaration... " >&6; }
26366 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26367 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26368 $as_echo_n "(cached) " >&6
26369 else
26370
26371
26372 ac_ext=cpp
26373 ac_cpp='$CXXCPP $CPPFLAGS'
26374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26377
26378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26379 /* end confdefs.h. */
26380 #include <math.h>
26381 int
26382 main ()
26383 {
26384 _sincosl(0, 0, 0);
26385 ;
26386 return 0;
26387 }
26388 _ACEOF
26389 if ac_fn_cxx_try_compile "$LINENO"; then :
26390 glibcxx_cv_func__sincosl_use=yes
26391 else
26392 glibcxx_cv_func__sincosl_use=no
26393 fi
26394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26395 ac_ext=c
26396 ac_cpp='$CPP $CPPFLAGS'
26397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26400
26401
26402 fi
26403
26404 fi
26405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26406 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26407
26408 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26409 for ac_func in _sincosl
26410 do :
26411 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26412 if test "x$ac_cv_func__sincosl" = x""yes; then :
26413 cat >>confdefs.h <<_ACEOF
26414 #define HAVE__SINCOSL 1
26415 _ACEOF
26416
26417 fi
26418 done
26419
26420 fi
26421 fi
26422
26423
26424
26425
26426
26427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26428 $as_echo_n "checking for finitel declaration... " >&6; }
26429 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26430 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26431 $as_echo_n "(cached) " >&6
26432 else
26433
26434
26435 ac_ext=cpp
26436 ac_cpp='$CXXCPP $CPPFLAGS'
26437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26440
26441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26442 /* end confdefs.h. */
26443 #include <math.h>
26444 #ifdef HAVE_IEEEFP_H
26445 #include <ieeefp.h>
26446 #endif
26447
26448 int
26449 main ()
26450 {
26451 finitel(0);
26452 ;
26453 return 0;
26454 }
26455 _ACEOF
26456 if ac_fn_cxx_try_compile "$LINENO"; then :
26457 glibcxx_cv_func_finitel_use=yes
26458 else
26459 glibcxx_cv_func_finitel_use=no
26460 fi
26461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26462 ac_ext=c
26463 ac_cpp='$CPP $CPPFLAGS'
26464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26467
26468
26469 fi
26470
26471 fi
26472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26473 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26474
26475 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26476 for ac_func in finitel
26477 do :
26478 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26479 if test "x$ac_cv_func_finitel" = x""yes; then :
26480 cat >>confdefs.h <<_ACEOF
26481 #define HAVE_FINITEL 1
26482 _ACEOF
26483
26484 fi
26485 done
26486
26487 else
26488
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26490 $as_echo_n "checking for _finitel declaration... " >&6; }
26491 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26492 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26493 $as_echo_n "(cached) " >&6
26494 else
26495
26496
26497 ac_ext=cpp
26498 ac_cpp='$CXXCPP $CPPFLAGS'
26499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26502
26503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26504 /* end confdefs.h. */
26505 #include <math.h>
26506 #ifdef HAVE_IEEEFP_H
26507 #include <ieeefp.h>
26508 #endif
26509
26510 int
26511 main ()
26512 {
26513 _finitel(0);
26514 ;
26515 return 0;
26516 }
26517 _ACEOF
26518 if ac_fn_cxx_try_compile "$LINENO"; then :
26519 glibcxx_cv_func__finitel_use=yes
26520 else
26521 glibcxx_cv_func__finitel_use=no
26522 fi
26523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26524 ac_ext=c
26525 ac_cpp='$CPP $CPPFLAGS'
26526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26529
26530
26531 fi
26532
26533 fi
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26535 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26536
26537 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26538 for ac_func in _finitel
26539 do :
26540 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26541 if test "x$ac_cv_func__finitel" = x""yes; then :
26542 cat >>confdefs.h <<_ACEOF
26543 #define HAVE__FINITEL 1
26544 _ACEOF
26545
26546 fi
26547 done
26548
26549 fi
26550 fi
26551
26552
26553
26554
26555 LIBS="$ac_save_LIBS"
26556 CXXFLAGS="$ac_save_CXXFLAGS"
26557
26558
26559 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26560 ac_save_CXXFLAGS="$CXXFLAGS"
26561 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26562
26563
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26565 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26566 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26567 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26568 $as_echo_n "(cached) " >&6
26569 else
26570
26571
26572 ac_ext=cpp
26573 ac_cpp='$CXXCPP $CPPFLAGS'
26574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26577
26578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26579 /* end confdefs.h. */
26580 #include <stdlib.h>
26581 int
26582 main ()
26583 {
26584 at_quick_exit(0);
26585 ;
26586 return 0;
26587 }
26588 _ACEOF
26589 if ac_fn_cxx_try_compile "$LINENO"; then :
26590 glibcxx_cv_func_at_quick_exit_use=yes
26591 else
26592 glibcxx_cv_func_at_quick_exit_use=no
26593 fi
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26595 ac_ext=c
26596 ac_cpp='$CPP $CPPFLAGS'
26597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26600
26601
26602 fi
26603
26604 fi
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26606 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26607 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26608 for ac_func in at_quick_exit
26609 do :
26610 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26611 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26612 cat >>confdefs.h <<_ACEOF
26613 #define HAVE_AT_QUICK_EXIT 1
26614 _ACEOF
26615
26616 fi
26617 done
26618
26619 fi
26620
26621
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26623 $as_echo_n "checking for quick_exit declaration... " >&6; }
26624 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26625 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26626 $as_echo_n "(cached) " >&6
26627 else
26628
26629
26630 ac_ext=cpp
26631 ac_cpp='$CXXCPP $CPPFLAGS'
26632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26635
26636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26637 /* end confdefs.h. */
26638 #include <stdlib.h>
26639 int
26640 main ()
26641 {
26642 quick_exit(0);
26643 ;
26644 return 0;
26645 }
26646 _ACEOF
26647 if ac_fn_cxx_try_compile "$LINENO"; then :
26648 glibcxx_cv_func_quick_exit_use=yes
26649 else
26650 glibcxx_cv_func_quick_exit_use=no
26651 fi
26652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26653 ac_ext=c
26654 ac_cpp='$CPP $CPPFLAGS'
26655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26658
26659
26660 fi
26661
26662 fi
26663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26664 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26665 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26666 for ac_func in quick_exit
26667 do :
26668 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26669 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26670 cat >>confdefs.h <<_ACEOF
26671 #define HAVE_QUICK_EXIT 1
26672 _ACEOF
26673
26674 fi
26675 done
26676
26677 fi
26678
26679
26680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26681 $as_echo_n "checking for strtold declaration... " >&6; }
26682 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26683 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26684 $as_echo_n "(cached) " >&6
26685 else
26686
26687
26688 ac_ext=cpp
26689 ac_cpp='$CXXCPP $CPPFLAGS'
26690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26693
26694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26695 /* end confdefs.h. */
26696 #include <stdlib.h>
26697 int
26698 main ()
26699 {
26700 strtold(0, 0);
26701 ;
26702 return 0;
26703 }
26704 _ACEOF
26705 if ac_fn_cxx_try_compile "$LINENO"; then :
26706 glibcxx_cv_func_strtold_use=yes
26707 else
26708 glibcxx_cv_func_strtold_use=no
26709 fi
26710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26711 ac_ext=c
26712 ac_cpp='$CPP $CPPFLAGS'
26713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26716
26717
26718 fi
26719
26720 fi
26721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26722 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26723 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26724 for ac_func in strtold
26725 do :
26726 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26727 if test "x$ac_cv_func_strtold" = x""yes; then :
26728 cat >>confdefs.h <<_ACEOF
26729 #define HAVE_STRTOLD 1
26730 _ACEOF
26731
26732 fi
26733 done
26734
26735 fi
26736
26737
26738
26739
26740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26741 $as_echo_n "checking for strtof declaration... " >&6; }
26742 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26743 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26744 $as_echo_n "(cached) " >&6
26745 else
26746
26747
26748 ac_ext=cpp
26749 ac_cpp='$CXXCPP $CPPFLAGS'
26750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26753
26754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h. */
26756 #include <stdlib.h>
26757 int
26758 main ()
26759 {
26760 strtof(0, 0);
26761 ;
26762 return 0;
26763 }
26764 _ACEOF
26765 if ac_fn_cxx_try_compile "$LINENO"; then :
26766 glibcxx_cv_func_strtof_use=yes
26767 else
26768 glibcxx_cv_func_strtof_use=no
26769 fi
26770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26771 ac_ext=c
26772 ac_cpp='$CPP $CPPFLAGS'
26773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26776
26777
26778 fi
26779
26780 fi
26781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26782 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26783 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26784 for ac_func in strtof
26785 do :
26786 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26787 if test "x$ac_cv_func_strtof" = x""yes; then :
26788 cat >>confdefs.h <<_ACEOF
26789 #define HAVE_STRTOF 1
26790 _ACEOF
26791
26792 fi
26793 done
26794
26795 fi
26796
26797
26798
26799
26800 CXXFLAGS="$ac_save_CXXFLAGS"
26801
26802
26803 # For /dev/random and /dev/urandom for TR1.
26804
26805
26806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26807 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26808 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26809 $as_echo_n "(cached) " >&6
26810 else
26811
26812 if test -r /dev/random && test -r /dev/urandom; then
26813 ## For MSys environment the test above is detect as false-positive
26814 ## on mingw-targets. So disable it explicit for them.
26815 case ${target_os} in
26816 *mingw*) glibcxx_cv_random_tr1=no ;;
26817 *) glibcxx_cv_random_tr1=yes ;;
26818 esac
26819 else
26820 glibcxx_cv_random_tr1=no;
26821 fi
26822
26823 fi
26824
26825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26826 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26827
26828 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26829
26830 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26831
26832 fi
26833
26834
26835
26836 # For TLS support.
26837
26838
26839 # Check whether --enable-tls was given.
26840 if test "${enable_tls+set}" = set; then :
26841 enableval=$enable_tls;
26842 case "$enableval" in
26843 yes|no) ;;
26844 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26845 esac
26846
26847 else
26848 enable_tls=yes
26849 fi
26850
26851
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26853 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26854 if test "${gcc_cv_have_tls+set}" = set; then :
26855 $as_echo_n "(cached) " >&6
26856 else
26857
26858 if test "$cross_compiling" = yes; then :
26859 if test x$gcc_no_link = xyes; then
26860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26861 fi
26862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26863 /* end confdefs.h. */
26864 __thread int a; int b; int main() { return a = b; }
26865 _ACEOF
26866 if ac_fn_c_try_link "$LINENO"; then :
26867 chktls_save_LDFLAGS="$LDFLAGS"
26868 case $host in
26869 *-*-linux*)
26870 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26871 ;;
26872 esac
26873 chktls_save_CFLAGS="$CFLAGS"
26874 CFLAGS="-fPIC $CFLAGS"
26875 if test x$gcc_no_link = xyes; then
26876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26877 fi
26878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26879 /* end confdefs.h. */
26880 int f() { return 0; }
26881 _ACEOF
26882 if ac_fn_c_try_link "$LINENO"; then :
26883 if test x$gcc_no_link = xyes; then
26884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26885 fi
26886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26887 /* end confdefs.h. */
26888 __thread int a; int b; int f() { return a = b; }
26889 _ACEOF
26890 if ac_fn_c_try_link "$LINENO"; then :
26891 gcc_cv_have_tls=yes
26892 else
26893 gcc_cv_have_tls=no
26894 fi
26895 rm -f core conftest.err conftest.$ac_objext \
26896 conftest$ac_exeext conftest.$ac_ext
26897 else
26898 gcc_cv_have_tls=yes
26899 fi
26900 rm -f core conftest.err conftest.$ac_objext \
26901 conftest$ac_exeext conftest.$ac_ext
26902 CFLAGS="$chktls_save_CFLAGS"
26903 LDFLAGS="$chktls_save_LDFLAGS"
26904 else
26905 gcc_cv_have_tls=no
26906 fi
26907 rm -f core conftest.err conftest.$ac_objext \
26908 conftest$ac_exeext conftest.$ac_ext
26909
26910
26911 else
26912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26913 /* end confdefs.h. */
26914 __thread int a; int b; int main() { return a = b; }
26915 _ACEOF
26916 if ac_fn_c_try_run "$LINENO"; then :
26917 chktls_save_LDFLAGS="$LDFLAGS"
26918 LDFLAGS="-static $LDFLAGS"
26919 if test x$gcc_no_link = xyes; then
26920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26921 fi
26922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26923 /* end confdefs.h. */
26924 int main() { return 0; }
26925 _ACEOF
26926 if ac_fn_c_try_link "$LINENO"; then :
26927 if test "$cross_compiling" = yes; then :
26928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26930 as_fn_error "cannot run test program while cross compiling
26931 See \`config.log' for more details." "$LINENO" 5; }
26932 else
26933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26934 /* end confdefs.h. */
26935 __thread int a; int b; int main() { return a = b; }
26936 _ACEOF
26937 if ac_fn_c_try_run "$LINENO"; then :
26938 gcc_cv_have_tls=yes
26939 else
26940 gcc_cv_have_tls=no
26941 fi
26942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26943 conftest.$ac_objext conftest.beam conftest.$ac_ext
26944 fi
26945
26946 else
26947 gcc_cv_have_tls=yes
26948 fi
26949 rm -f core conftest.err conftest.$ac_objext \
26950 conftest$ac_exeext conftest.$ac_ext
26951 LDFLAGS="$chktls_save_LDFLAGS"
26952 if test $gcc_cv_have_tls = yes; then
26953 chktls_save_CFLAGS="$CFLAGS"
26954 thread_CFLAGS=failed
26955 for flag in '' '-pthread' '-lpthread'; do
26956 CFLAGS="$flag $chktls_save_CFLAGS"
26957 if test x$gcc_no_link = xyes; then
26958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26959 fi
26960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26961 /* end confdefs.h. */
26962 #include <pthread.h>
26963 void *g(void *d) { return NULL; }
26964 int
26965 main ()
26966 {
26967 pthread_t t; pthread_create(&t,NULL,g,NULL);
26968 ;
26969 return 0;
26970 }
26971 _ACEOF
26972 if ac_fn_c_try_link "$LINENO"; then :
26973 thread_CFLAGS="$flag"
26974 fi
26975 rm -f core conftest.err conftest.$ac_objext \
26976 conftest$ac_exeext conftest.$ac_ext
26977 if test "X$thread_CFLAGS" != Xfailed; then
26978 break
26979 fi
26980 done
26981 CFLAGS="$chktls_save_CFLAGS"
26982 if test "X$thread_CFLAGS" != Xfailed; then
26983 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26984 if test "$cross_compiling" = yes; then :
26985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26987 as_fn_error "cannot run test program while cross compiling
26988 See \`config.log' for more details." "$LINENO" 5; }
26989 else
26990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26991 /* end confdefs.h. */
26992 #include <pthread.h>
26993 __thread int a;
26994 static int *volatile a_in_other_thread;
26995 static void *
26996 thread_func (void *arg)
26997 {
26998 a_in_other_thread = &a;
26999 return (void *)0;
27000 }
27001 int
27002 main ()
27003 {
27004 pthread_t thread;
27005 void *thread_retval;
27006 int *volatile a_in_main_thread;
27007 a_in_main_thread = &a;
27008 if (pthread_create (&thread, (pthread_attr_t *)0,
27009 thread_func, (void *)0))
27010 return 0;
27011 if (pthread_join (thread, &thread_retval))
27012 return 0;
27013 return (a_in_other_thread == a_in_main_thread);
27014 ;
27015 return 0;
27016 }
27017 _ACEOF
27018 if ac_fn_c_try_run "$LINENO"; then :
27019 gcc_cv_have_tls=yes
27020 else
27021 gcc_cv_have_tls=no
27022 fi
27023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27024 conftest.$ac_objext conftest.beam conftest.$ac_ext
27025 fi
27026
27027 CFLAGS="$chktls_save_CFLAGS"
27028 fi
27029 fi
27030 else
27031 gcc_cv_have_tls=no
27032 fi
27033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27034 conftest.$ac_objext conftest.beam conftest.$ac_ext
27035 fi
27036
27037 fi
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27039 $as_echo "$gcc_cv_have_tls" >&6; }
27040 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27041
27042 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27043
27044 fi
27045
27046 for ac_func in __cxa_thread_atexit_impl
27047 do :
27048 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27049 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27050 cat >>confdefs.h <<_ACEOF
27051 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27052 _ACEOF
27053
27054 fi
27055 done
27056
27057
27058 # For iconv support.
27059
27060 if test "X$prefix" = "XNONE"; then
27061 acl_final_prefix="$ac_default_prefix"
27062 else
27063 acl_final_prefix="$prefix"
27064 fi
27065 if test "X$exec_prefix" = "XNONE"; then
27066 acl_final_exec_prefix='${prefix}'
27067 else
27068 acl_final_exec_prefix="$exec_prefix"
27069 fi
27070 acl_save_prefix="$prefix"
27071 prefix="$acl_final_prefix"
27072 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27073 prefix="$acl_save_prefix"
27074
27075
27076 # Check whether --with-gnu-ld was given.
27077 if test "${with_gnu_ld+set}" = set; then :
27078 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27079 else
27080 with_gnu_ld=no
27081 fi
27082
27083 # Prepare PATH_SEPARATOR.
27084 # The user is always right.
27085 if test "${PATH_SEPARATOR+set}" != set; then
27086 echo "#! /bin/sh" >conf$$.sh
27087 echo "exit 0" >>conf$$.sh
27088 chmod +x conf$$.sh
27089 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27090 PATH_SEPARATOR=';'
27091 else
27092 PATH_SEPARATOR=:
27093 fi
27094 rm -f conf$$.sh
27095 fi
27096 ac_prog=ld
27097 if test "$GCC" = yes; then
27098 # Check if gcc -print-prog-name=ld gives a path.
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27100 $as_echo_n "checking for ld used by GCC... " >&6; }
27101 case $host in
27102 *-*-mingw*)
27103 # gcc leaves a trailing carriage return which upsets mingw
27104 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27105 *)
27106 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27107 esac
27108 case $ac_prog in
27109 # Accept absolute paths.
27110 [\\/]* | [A-Za-z]:[\\/]*)
27111 re_direlt='/[^/][^/]*/\.\./'
27112 # Canonicalize the path of ld
27113 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27114 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27115 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27116 done
27117 test -z "$LD" && LD="$ac_prog"
27118 ;;
27119 "")
27120 # If it fails, then pretend we aren't using GCC.
27121 ac_prog=ld
27122 ;;
27123 *)
27124 # If it is relative, then search for the first ld in PATH.
27125 with_gnu_ld=unknown
27126 ;;
27127 esac
27128 elif test "$with_gnu_ld" = yes; then
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27130 $as_echo_n "checking for GNU ld... " >&6; }
27131 else
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27133 $as_echo_n "checking for non-GNU ld... " >&6; }
27134 fi
27135 if test "${acl_cv_path_LD+set}" = set; then :
27136 $as_echo_n "(cached) " >&6
27137 else
27138 if test -z "$LD"; then
27139 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27140 for ac_dir in $PATH; do
27141 test -z "$ac_dir" && ac_dir=.
27142 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27143 acl_cv_path_LD="$ac_dir/$ac_prog"
27144 # Check to see if the program is GNU ld. I'd rather use --version,
27145 # but apparently some GNU ld's only accept -v.
27146 # Break only if it was the GNU/non-GNU ld that we prefer.
27147 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27148 test "$with_gnu_ld" != no && break
27149 else
27150 test "$with_gnu_ld" != yes && break
27151 fi
27152 fi
27153 done
27154 IFS="$ac_save_ifs"
27155 else
27156 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27157 fi
27158 fi
27159
27160 LD="$acl_cv_path_LD"
27161 if test -n "$LD"; then
27162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27163 $as_echo "$LD" >&6; }
27164 else
27165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27166 $as_echo "no" >&6; }
27167 fi
27168 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27170 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27171 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27172 $as_echo_n "(cached) " >&6
27173 else
27174 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27175 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27176 acl_cv_prog_gnu_ld=yes
27177 else
27178 acl_cv_prog_gnu_ld=no
27179 fi
27180 fi
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27182 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27183 with_gnu_ld=$acl_cv_prog_gnu_ld
27184
27185
27186
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27188 $as_echo_n "checking for shared library run path origin... " >&6; }
27189 if test "${acl_cv_rpath+set}" = set; then :
27190 $as_echo_n "(cached) " >&6
27191 else
27192
27193 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27194 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27195 . ./conftest.sh
27196 rm -f ./conftest.sh
27197 acl_cv_rpath=done
27198
27199 fi
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27201 $as_echo "$acl_cv_rpath" >&6; }
27202 wl="$acl_cv_wl"
27203 libext="$acl_cv_libext"
27204 shlibext="$acl_cv_shlibext"
27205 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27206 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27207 hardcode_direct="$acl_cv_hardcode_direct"
27208 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27209 # Check whether --enable-rpath was given.
27210 if test "${enable_rpath+set}" = set; then :
27211 enableval=$enable_rpath; :
27212 else
27213 enable_rpath=yes
27214 fi
27215
27216
27217
27218
27219
27220
27221
27222
27223 use_additional=yes
27224
27225 acl_save_prefix="$prefix"
27226 prefix="$acl_final_prefix"
27227 acl_save_exec_prefix="$exec_prefix"
27228 exec_prefix="$acl_final_exec_prefix"
27229
27230 eval additional_includedir=\"$includedir\"
27231 eval additional_libdir=\"$libdir\"
27232
27233 exec_prefix="$acl_save_exec_prefix"
27234 prefix="$acl_save_prefix"
27235
27236
27237 # Check whether --with-libiconv-prefix was given.
27238 if test "${with_libiconv_prefix+set}" = set; then :
27239 withval=$with_libiconv_prefix;
27240 if test "X$withval" = "Xno"; then
27241 use_additional=no
27242 else
27243 if test "X$withval" = "X"; then
27244
27245 acl_save_prefix="$prefix"
27246 prefix="$acl_final_prefix"
27247 acl_save_exec_prefix="$exec_prefix"
27248 exec_prefix="$acl_final_exec_prefix"
27249
27250 eval additional_includedir=\"$includedir\"
27251 eval additional_libdir=\"$libdir\"
27252
27253 exec_prefix="$acl_save_exec_prefix"
27254 prefix="$acl_save_prefix"
27255
27256 else
27257 additional_includedir="$withval/include"
27258 additional_libdir="$withval/lib"
27259 fi
27260 fi
27261
27262 fi
27263
27264 LIBICONV=
27265 LTLIBICONV=
27266 INCICONV=
27267 rpathdirs=
27268 ltrpathdirs=
27269 names_already_handled=
27270 names_next_round='iconv '
27271 while test -n "$names_next_round"; do
27272 names_this_round="$names_next_round"
27273 names_next_round=
27274 for name in $names_this_round; do
27275 already_handled=
27276 for n in $names_already_handled; do
27277 if test "$n" = "$name"; then
27278 already_handled=yes
27279 break
27280 fi
27281 done
27282 if test -z "$already_handled"; then
27283 names_already_handled="$names_already_handled $name"
27284 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27285 eval value=\"\$HAVE_LIB$uppername\"
27286 if test -n "$value"; then
27287 if test "$value" = yes; then
27288 eval value=\"\$LIB$uppername\"
27289 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27290 eval value=\"\$LTLIB$uppername\"
27291 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27292 else
27293 :
27294 fi
27295 else
27296 found_dir=
27297 found_la=
27298 found_so=
27299 found_a=
27300 if test $use_additional = yes; then
27301 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27302 found_dir="$additional_libdir"
27303 found_so="$additional_libdir/lib$name.$shlibext"
27304 if test -f "$additional_libdir/lib$name.la"; then
27305 found_la="$additional_libdir/lib$name.la"
27306 fi
27307 else
27308 if test -f "$additional_libdir/lib$name.$libext"; then
27309 found_dir="$additional_libdir"
27310 found_a="$additional_libdir/lib$name.$libext"
27311 if test -f "$additional_libdir/lib$name.la"; then
27312 found_la="$additional_libdir/lib$name.la"
27313 fi
27314 fi
27315 fi
27316 fi
27317 if test "X$found_dir" = "X"; then
27318 for x in $LDFLAGS $LTLIBICONV; do
27319
27320 acl_save_prefix="$prefix"
27321 prefix="$acl_final_prefix"
27322 acl_save_exec_prefix="$exec_prefix"
27323 exec_prefix="$acl_final_exec_prefix"
27324 eval x=\"$x\"
27325 exec_prefix="$acl_save_exec_prefix"
27326 prefix="$acl_save_prefix"
27327
27328 case "$x" in
27329 -L*)
27330 dir=`echo "X$x" | sed -e 's/^X-L//'`
27331 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27332 found_dir="$dir"
27333 found_so="$dir/lib$name.$shlibext"
27334 if test -f "$dir/lib$name.la"; then
27335 found_la="$dir/lib$name.la"
27336 fi
27337 else
27338 if test -f "$dir/lib$name.$libext"; then
27339 found_dir="$dir"
27340 found_a="$dir/lib$name.$libext"
27341 if test -f "$dir/lib$name.la"; then
27342 found_la="$dir/lib$name.la"
27343 fi
27344 fi
27345 fi
27346 ;;
27347 esac
27348 if test "X$found_dir" != "X"; then
27349 break
27350 fi
27351 done
27352 fi
27353 if test "X$found_dir" != "X"; then
27354 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27355 if test "X$found_so" != "X"; then
27356 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27357 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27358 else
27359 haveit=
27360 for x in $ltrpathdirs; do
27361 if test "X$x" = "X$found_dir"; then
27362 haveit=yes
27363 break
27364 fi
27365 done
27366 if test -z "$haveit"; then
27367 ltrpathdirs="$ltrpathdirs $found_dir"
27368 fi
27369 if test "$hardcode_direct" = yes; then
27370 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27371 else
27372 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27373 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27374 haveit=
27375 for x in $rpathdirs; do
27376 if test "X$x" = "X$found_dir"; then
27377 haveit=yes
27378 break
27379 fi
27380 done
27381 if test -z "$haveit"; then
27382 rpathdirs="$rpathdirs $found_dir"
27383 fi
27384 else
27385 haveit=
27386 for x in $LDFLAGS $LIBICONV; do
27387
27388 acl_save_prefix="$prefix"
27389 prefix="$acl_final_prefix"
27390 acl_save_exec_prefix="$exec_prefix"
27391 exec_prefix="$acl_final_exec_prefix"
27392 eval x=\"$x\"
27393 exec_prefix="$acl_save_exec_prefix"
27394 prefix="$acl_save_prefix"
27395
27396 if test "X$x" = "X-L$found_dir"; then
27397 haveit=yes
27398 break
27399 fi
27400 done
27401 if test -z "$haveit"; then
27402 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27403 fi
27404 if test "$hardcode_minus_L" != no; then
27405 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27406 else
27407 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27408 fi
27409 fi
27410 fi
27411 fi
27412 else
27413 if test "X$found_a" != "X"; then
27414 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27415 else
27416 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27417 fi
27418 fi
27419 additional_includedir=
27420 case "$found_dir" in
27421 */lib | */lib/)
27422 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27423 additional_includedir="$basedir/include"
27424 ;;
27425 esac
27426 if test "X$additional_includedir" != "X"; then
27427 if test "X$additional_includedir" != "X/usr/include"; then
27428 haveit=
27429 if test "X$additional_includedir" = "X/usr/local/include"; then
27430 if test -n "$GCC"; then
27431 case $host_os in
27432 linux*) haveit=yes;;
27433 esac
27434 fi
27435 fi
27436 if test -z "$haveit"; then
27437 for x in $CPPFLAGS $INCICONV; do
27438
27439 acl_save_prefix="$prefix"
27440 prefix="$acl_final_prefix"
27441 acl_save_exec_prefix="$exec_prefix"
27442 exec_prefix="$acl_final_exec_prefix"
27443 eval x=\"$x\"
27444 exec_prefix="$acl_save_exec_prefix"
27445 prefix="$acl_save_prefix"
27446
27447 if test "X$x" = "X-I$additional_includedir"; then
27448 haveit=yes
27449 break
27450 fi
27451 done
27452 if test -z "$haveit"; then
27453 if test -d "$additional_includedir"; then
27454 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27455 fi
27456 fi
27457 fi
27458 fi
27459 fi
27460 if test -n "$found_la"; then
27461 save_libdir="$libdir"
27462 case "$found_la" in
27463 */* | *\\*) . "$found_la" ;;
27464 *) . "./$found_la" ;;
27465 esac
27466 libdir="$save_libdir"
27467 for dep in $dependency_libs; do
27468 case "$dep" in
27469 -L*)
27470 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27471 if test "X$additional_libdir" != "X/usr/lib"; then
27472 haveit=
27473 if test "X$additional_libdir" = "X/usr/local/lib"; then
27474 if test -n "$GCC"; then
27475 case $host_os in
27476 linux*) haveit=yes;;
27477 esac
27478 fi
27479 fi
27480 if test -z "$haveit"; then
27481 haveit=
27482 for x in $LDFLAGS $LIBICONV; do
27483
27484 acl_save_prefix="$prefix"
27485 prefix="$acl_final_prefix"
27486 acl_save_exec_prefix="$exec_prefix"
27487 exec_prefix="$acl_final_exec_prefix"
27488 eval x=\"$x\"
27489 exec_prefix="$acl_save_exec_prefix"
27490 prefix="$acl_save_prefix"
27491
27492 if test "X$x" = "X-L$additional_libdir"; then
27493 haveit=yes
27494 break
27495 fi
27496 done
27497 if test -z "$haveit"; then
27498 if test -d "$additional_libdir"; then
27499 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27500 fi
27501 fi
27502 haveit=
27503 for x in $LDFLAGS $LTLIBICONV; do
27504
27505 acl_save_prefix="$prefix"
27506 prefix="$acl_final_prefix"
27507 acl_save_exec_prefix="$exec_prefix"
27508 exec_prefix="$acl_final_exec_prefix"
27509 eval x=\"$x\"
27510 exec_prefix="$acl_save_exec_prefix"
27511 prefix="$acl_save_prefix"
27512
27513 if test "X$x" = "X-L$additional_libdir"; then
27514 haveit=yes
27515 break
27516 fi
27517 done
27518 if test -z "$haveit"; then
27519 if test -d "$additional_libdir"; then
27520 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27521 fi
27522 fi
27523 fi
27524 fi
27525 ;;
27526 -R*)
27527 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27528 if test "$enable_rpath" != no; then
27529 haveit=
27530 for x in $rpathdirs; do
27531 if test "X$x" = "X$dir"; then
27532 haveit=yes
27533 break
27534 fi
27535 done
27536 if test -z "$haveit"; then
27537 rpathdirs="$rpathdirs $dir"
27538 fi
27539 haveit=
27540 for x in $ltrpathdirs; do
27541 if test "X$x" = "X$dir"; then
27542 haveit=yes
27543 break
27544 fi
27545 done
27546 if test -z "$haveit"; then
27547 ltrpathdirs="$ltrpathdirs $dir"
27548 fi
27549 fi
27550 ;;
27551 -l*)
27552 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27553 ;;
27554 *.la)
27555 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27556 ;;
27557 *)
27558 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27559 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27560 ;;
27561 esac
27562 done
27563 fi
27564 else
27565 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27566 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27567 fi
27568 fi
27569 fi
27570 done
27571 done
27572 if test "X$rpathdirs" != "X"; then
27573 if test -n "$hardcode_libdir_separator"; then
27574 alldirs=
27575 for found_dir in $rpathdirs; do
27576 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27577 done
27578 acl_save_libdir="$libdir"
27579 libdir="$alldirs"
27580 eval flag=\"$hardcode_libdir_flag_spec\"
27581 libdir="$acl_save_libdir"
27582 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27583 else
27584 for found_dir in $rpathdirs; do
27585 acl_save_libdir="$libdir"
27586 libdir="$found_dir"
27587 eval flag=\"$hardcode_libdir_flag_spec\"
27588 libdir="$acl_save_libdir"
27589 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27590 done
27591 fi
27592 fi
27593 if test "X$ltrpathdirs" != "X"; then
27594 for found_dir in $ltrpathdirs; do
27595 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27596 done
27597 fi
27598
27599
27600
27601
27602
27603
27604
27605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27606 $as_echo_n "checking for iconv... " >&6; }
27607 if test "${am_cv_func_iconv+set}" = set; then :
27608 $as_echo_n "(cached) " >&6
27609 else
27610
27611 am_cv_func_iconv="no, consider installing GNU libiconv"
27612 am_cv_lib_iconv=no
27613 am_save_CPPFLAGS="$CPPFLAGS"
27614 CPPFLAGS="$CPPFLAGS $INCICONV"
27615 if test x$gcc_no_link = xyes; then
27616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27617 fi
27618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27619 /* end confdefs.h. */
27620 #include <stdlib.h>
27621 #include <iconv.h>
27622 int
27623 main ()
27624 {
27625 iconv_t cd = iconv_open("","");
27626 iconv(cd,NULL,NULL,NULL,NULL);
27627 iconv_close(cd);
27628 ;
27629 return 0;
27630 }
27631 _ACEOF
27632 if ac_fn_c_try_link "$LINENO"; then :
27633 am_cv_func_iconv=yes
27634 fi
27635 rm -f core conftest.err conftest.$ac_objext \
27636 conftest$ac_exeext conftest.$ac_ext
27637 CPPFLAGS="$am_save_CPPFLAGS"
27638
27639 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
27640 for _libs in .libs _libs; do
27641 am_save_CPPFLAGS="$CPPFLAGS"
27642 am_save_LIBS="$LIBS"
27643 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
27644 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
27645 if test x$gcc_no_link = xyes; then
27646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27647 fi
27648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27650 #include <stdlib.h>
27651 #include <iconv.h>
27652 int
27653 main ()
27654 {
27655 iconv_t cd = iconv_open("","");
27656 iconv(cd,NULL,NULL,NULL,NULL);
27657 iconv_close(cd);
27658 ;
27659 return 0;
27660 }
27661 _ACEOF
27662 if ac_fn_c_try_link "$LINENO"; then :
27663 INCICONV="-I../libiconv/include"
27664 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
27665 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
27666 am_cv_lib_iconv=yes
27667 am_cv_func_iconv=yes
27668 fi
27669 rm -f core conftest.err conftest.$ac_objext \
27670 conftest$ac_exeext conftest.$ac_ext
27671 CPPFLAGS="$am_save_CPPFLAGS"
27672 LIBS="$am_save_LIBS"
27673 if test "$am_cv_func_iconv" = "yes"; then
27674 break
27675 fi
27676 done
27677 fi
27678
27679 if test "$am_cv_func_iconv" != yes; then
27680 am_save_CPPFLAGS="$CPPFLAGS"
27681 am_save_LIBS="$LIBS"
27682 CPPFLAGS="$LIBS $INCICONV"
27683 LIBS="$LIBS $LIBICONV"
27684 if test x$gcc_no_link = xyes; then
27685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27686 fi
27687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27688 /* end confdefs.h. */
27689 #include <stdlib.h>
27690 #include <iconv.h>
27691 int
27692 main ()
27693 {
27694 iconv_t cd = iconv_open("","");
27695 iconv(cd,NULL,NULL,NULL,NULL);
27696 iconv_close(cd);
27697 ;
27698 return 0;
27699 }
27700 _ACEOF
27701 if ac_fn_c_try_link "$LINENO"; then :
27702 am_cv_lib_iconv=yes
27703 am_cv_func_iconv=yes
27704 fi
27705 rm -f core conftest.err conftest.$ac_objext \
27706 conftest$ac_exeext conftest.$ac_ext
27707 CPPFLAGS="$am_save_CPPFLAGS"
27708 LIBS="$am_save_LIBS"
27709 fi
27710
27711 fi
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27713 $as_echo "$am_cv_func_iconv" >&6; }
27714 if test "$am_cv_func_iconv" = yes; then
27715
27716 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27717
27718 fi
27719 if test "$am_cv_lib_iconv" = yes; then
27720
27721 for element in $INCICONV; do
27722 haveit=
27723 for x in $CPPFLAGS; do
27724
27725 acl_save_prefix="$prefix"
27726 prefix="$acl_final_prefix"
27727 acl_save_exec_prefix="$exec_prefix"
27728 exec_prefix="$acl_final_exec_prefix"
27729 eval x=\"$x\"
27730 exec_prefix="$acl_save_exec_prefix"
27731 prefix="$acl_save_prefix"
27732
27733 if test "X$x" = "X$element"; then
27734 haveit=yes
27735 break
27736 fi
27737 done
27738 if test -z "$haveit"; then
27739 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27740 fi
27741 done
27742
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27744 $as_echo_n "checking how to link with libiconv... " >&6; }
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27746 $as_echo "$LIBICONV" >&6; }
27747 else
27748 LIBICONV=
27749 LTLIBICONV=
27750 fi
27751
27752
27753
27754 if test "$am_cv_func_iconv" = yes; then
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27756 $as_echo_n "checking for iconv declaration... " >&6; }
27757 if test "${am_cv_proto_iconv+set}" = set; then :
27758 $as_echo_n "(cached) " >&6
27759 else
27760
27761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27762 /* end confdefs.h. */
27763
27764 #include <stdlib.h>
27765 #include <iconv.h>
27766 extern
27767 #ifdef __cplusplus
27768 "C"
27769 #endif
27770 #if defined(__STDC__) || defined(__cplusplus)
27771 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27772 #else
27773 size_t iconv();
27774 #endif
27775
27776 int
27777 main ()
27778 {
27779
27780 ;
27781 return 0;
27782 }
27783 _ACEOF
27784 if ac_fn_c_try_compile "$LINENO"; then :
27785 am_cv_proto_iconv_arg1=""
27786 else
27787 am_cv_proto_iconv_arg1="const"
27788 fi
27789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27790 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);"
27791 fi
27792
27793 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27795 }$am_cv_proto_iconv" >&5
27796 $as_echo "${ac_t:-
27797 }$am_cv_proto_iconv" >&6; }
27798
27799 cat >>confdefs.h <<_ACEOF
27800 #define ICONV_CONST $am_cv_proto_iconv_arg1
27801 _ACEOF
27802
27803 fi
27804
27805
27806 else
27807
27808 # This lets us hard-code the functionality we know we'll have in the cross
27809 # target environment. "Let" is a sugar-coated word placed on an especially
27810 # dull and tedious hack, actually.
27811 #
27812 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27813 # that involve linking, can't be used:
27814 # "cannot open sim-crt0.o"
27815 # "cannot open crt0.o"
27816 # etc. All this is because there currently exists no unified, consistent
27817 # way for top level CC information to be passed down to target directories:
27818 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27819 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27820 # crosses can be removed.
27821
27822 # If Canadian cross, then don't pick up tools from the build directory.
27823 # Used only in GLIBCXX_EXPORT_INCLUDES.
27824 if test -n "$with_cross_host" &&
27825 test x"$build_alias" != x"$with_cross_host" &&
27826 test x"$build" != x"$target";
27827 then
27828 CANADIAN=yes
27829 else
27830 CANADIAN=no
27831 fi
27832
27833 # Construct crosses by hand, eliminating bits that need ld...
27834 # GLIBCXX_CHECK_MATH_SUPPORT
27835
27836 # First, test for "known" system libraries. We may be using newlib even
27837 # on a hosted environment.
27838 if test "x${with_newlib}" = "xyes"; then
27839 os_include_dir="os/newlib"
27840 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27841
27842
27843 # GLIBCXX_CHECK_STDLIB_SUPPORT
27844 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27845
27846
27847 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27848
27849 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27850
27851 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27852
27853 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27854
27855 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27856
27857 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27858
27859 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27860
27861 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27862
27863 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27864
27865 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27866
27867 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27868
27869 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27870
27871 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27872
27873 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27874
27875 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27876
27877 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27878
27879 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27880
27881 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27882
27883 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27884
27885 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27886
27887 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27888
27889 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27890
27891
27892 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27893
27894 else
27895
27896 # Base decisions on target environment.
27897 case "${host}" in
27898 arm*-*-symbianelf*)
27899 # This is a freestanding configuration; there is nothing to do here.
27900 ;;
27901
27902 mips*-sde-elf*)
27903 # These definitions are for the SDE C library rather than newlib.
27904 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27905
27906
27907 # All these tests are for C++; save the language and the compiler flags.
27908 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27909 # found in GLIBCXX_CONFIGURE.
27910
27911 ac_ext=cpp
27912 ac_cpp='$CXXCPP $CPPFLAGS'
27913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27916
27917 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27918 ac_save_CXXFLAGS="$CXXFLAGS"
27919
27920 # Check for maintainer-mode bits.
27921 if test x"$USE_MAINTAINER_MODE" = xno; then
27922 WERROR=''
27923 else
27924 WERROR='-Werror'
27925 fi
27926
27927 # Check for -ffunction-sections -fdata-sections
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27929 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27930 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27932 /* end confdefs.h. */
27933 int foo; void bar() { };
27934 int
27935 main ()
27936 {
27937
27938 ;
27939 return 0;
27940 }
27941 _ACEOF
27942 if ac_fn_cxx_try_compile "$LINENO"; then :
27943 ac_fdsections=yes
27944 else
27945 ac_fdsections=no
27946 fi
27947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27948 if test "$ac_test_CXXFLAGS" = set; then
27949 CXXFLAGS="$ac_save_CXXFLAGS"
27950 else
27951 # this is the suspicious part
27952 CXXFLAGS=''
27953 fi
27954 if test x"$ac_fdsections" = x"yes"; then
27955 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27956 fi
27957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27958 $as_echo "$ac_fdsections" >&6; }
27959
27960 ac_ext=c
27961 ac_cpp='$CPP $CPPFLAGS'
27962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27965
27966
27967
27968
27969
27970 # If we're not using GNU ld, then there's no point in even trying these
27971 # tests. Check for that first. We should have already tested for gld
27972 # by now (in libtool), but require it now just to be safe...
27973 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27974 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27975
27976
27977
27978 # The name set by libtool depends on the version of libtool. Shame on us
27979 # for depending on an impl detail, but c'est la vie. Older versions used
27980 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27981 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27982 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27983 # set (hence we're using an older libtool), then set it.
27984 if test x${with_gnu_ld+set} != xset; then
27985 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27986 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27987 with_gnu_ld=no
27988 else
27989 with_gnu_ld=$ac_cv_prog_gnu_ld
27990 fi
27991 fi
27992
27993 # Start by getting the version number. I think the libtool test already
27994 # does some of this, but throws away the result.
27995 glibcxx_ld_is_gold=no
27996 if test x"$with_gnu_ld" = x"yes"; then
27997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27998 $as_echo_n "checking for ld version... " >&6; }
27999
28000 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28001 glibcxx_ld_is_gold=yes
28002 fi
28003 ldver=`$LD --version 2>/dev/null |
28004 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
28005
28006 glibcxx_gnu_ld_version=`echo $ldver | \
28007 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28009 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28010 fi
28011
28012 # Set --gc-sections.
28013 glibcxx_have_gc_sections=no
28014 if test "$glibcxx_ld_is_gold" = "yes"; then
28015 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28016 glibcxx_have_gc_sections=yes
28017 fi
28018 else
28019 glibcxx_gcsections_min_ld=21602
28020 if test x"$with_gnu_ld" = x"yes" &&
28021 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28022 glibcxx_have_gc_sections=yes
28023 fi
28024 fi
28025 if test "$glibcxx_have_gc_sections" = "yes"; then
28026 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28027 # NB: This flag only works reliably after 2.16.1. Configure tests
28028 # for this are difficult, so hard wire a value that should work.
28029
28030 ac_test_CFLAGS="${CFLAGS+set}"
28031 ac_save_CFLAGS="$CFLAGS"
28032 CFLAGS='-Wl,--gc-sections'
28033
28034 # Check for -Wl,--gc-sections
28035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28036 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28037 if test x$gcc_no_link = xyes; then
28038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28039 fi
28040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28041 /* end confdefs.h. */
28042 int one(void) { return 1; }
28043 int two(void) { return 2; }
28044
28045 int
28046 main ()
28047 {
28048 two();
28049 ;
28050 return 0;
28051 }
28052 _ACEOF
28053 if ac_fn_c_try_link "$LINENO"; then :
28054 ac_gcsections=yes
28055 else
28056 ac_gcsections=no
28057 fi
28058 rm -f core conftest.err conftest.$ac_objext \
28059 conftest$ac_exeext conftest.$ac_ext
28060 if test "$ac_gcsections" = "yes"; then
28061 rm -f conftest.c
28062 touch conftest.c
28063 if $CC -c conftest.c; then
28064 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28065 grep "Warning: gc-sections option ignored" > /dev/null; then
28066 ac_gcsections=no
28067 fi
28068 fi
28069 rm -f conftest.c conftest.o conftest
28070 fi
28071 if test "$ac_gcsections" = "yes"; then
28072 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28073 fi
28074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28075 $as_echo "$ac_gcsections" >&6; }
28076
28077 if test "$ac_test_CFLAGS" = set; then
28078 CFLAGS="$ac_save_CFLAGS"
28079 else
28080 # this is the suspicious part
28081 CFLAGS=''
28082 fi
28083 fi
28084
28085 # Set -z,relro.
28086 # Note this is only for shared objects.
28087 ac_ld_relro=no
28088 if test x"$with_gnu_ld" = x"yes"; then
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28090 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28091 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28092 if test -n "$cxx_z_relo"; then
28093 OPT_LDFLAGS="-Wl,-z,relro"
28094 ac_ld_relro=yes
28095 fi
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28097 $as_echo "$ac_ld_relro" >&6; }
28098 fi
28099
28100 # Set linker optimization flags.
28101 if test x"$with_gnu_ld" = x"yes"; then
28102 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28103 fi
28104
28105
28106
28107
28108
28109 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28110 ac_save_CXXFLAGS="$CXXFLAGS"
28111 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28112
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28114 $as_echo_n "checking for sin in -lm... " >&6; }
28115 if test "${ac_cv_lib_m_sin+set}" = set; then :
28116 $as_echo_n "(cached) " >&6
28117 else
28118 ac_check_lib_save_LIBS=$LIBS
28119 LIBS="-lm $LIBS"
28120 if test x$gcc_no_link = xyes; then
28121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28122 fi
28123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28124 /* end confdefs.h. */
28125
28126 /* Override any GCC internal prototype to avoid an error.
28127 Use char because int might match the return type of a GCC
28128 builtin and then its argument prototype would still apply. */
28129 #ifdef __cplusplus
28130 extern "C"
28131 #endif
28132 char sin ();
28133 int
28134 main ()
28135 {
28136 return sin ();
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 if ac_fn_c_try_link "$LINENO"; then :
28142 ac_cv_lib_m_sin=yes
28143 else
28144 ac_cv_lib_m_sin=no
28145 fi
28146 rm -f core conftest.err conftest.$ac_objext \
28147 conftest$ac_exeext conftest.$ac_ext
28148 LIBS=$ac_check_lib_save_LIBS
28149 fi
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28151 $as_echo "$ac_cv_lib_m_sin" >&6; }
28152 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28153 libm="-lm"
28154 fi
28155
28156 ac_save_LIBS="$LIBS"
28157 LIBS="$LIBS $libm"
28158
28159
28160
28161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28162 $as_echo_n "checking for isinf declaration... " >&6; }
28163 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28164 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28165 $as_echo_n "(cached) " >&6
28166 else
28167
28168
28169 ac_ext=cpp
28170 ac_cpp='$CXXCPP $CPPFLAGS'
28171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28174
28175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28176 /* end confdefs.h. */
28177 #include <math.h>
28178 #ifdef HAVE_IEEEFP_H
28179 #include <ieeefp.h>
28180 #endif
28181
28182 int
28183 main ()
28184 {
28185 isinf(0);
28186 ;
28187 return 0;
28188 }
28189 _ACEOF
28190 if ac_fn_cxx_try_compile "$LINENO"; then :
28191 glibcxx_cv_func_isinf_use=yes
28192 else
28193 glibcxx_cv_func_isinf_use=no
28194 fi
28195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28196 ac_ext=c
28197 ac_cpp='$CPP $CPPFLAGS'
28198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28201
28202
28203 fi
28204
28205 fi
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28207 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28208
28209 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28210 for ac_func in isinf
28211 do :
28212 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28213 if test "x$ac_cv_func_isinf" = x""yes; then :
28214 cat >>confdefs.h <<_ACEOF
28215 #define HAVE_ISINF 1
28216 _ACEOF
28217
28218 fi
28219 done
28220
28221 else
28222
28223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28224 $as_echo_n "checking for _isinf declaration... " >&6; }
28225 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28226 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28227 $as_echo_n "(cached) " >&6
28228 else
28229
28230
28231 ac_ext=cpp
28232 ac_cpp='$CXXCPP $CPPFLAGS'
28233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28236
28237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28238 /* end confdefs.h. */
28239 #include <math.h>
28240 #ifdef HAVE_IEEEFP_H
28241 #include <ieeefp.h>
28242 #endif
28243
28244 int
28245 main ()
28246 {
28247 _isinf(0);
28248 ;
28249 return 0;
28250 }
28251 _ACEOF
28252 if ac_fn_cxx_try_compile "$LINENO"; then :
28253 glibcxx_cv_func__isinf_use=yes
28254 else
28255 glibcxx_cv_func__isinf_use=no
28256 fi
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28258 ac_ext=c
28259 ac_cpp='$CPP $CPPFLAGS'
28260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28263
28264
28265 fi
28266
28267 fi
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28269 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28270
28271 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28272 for ac_func in _isinf
28273 do :
28274 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28275 if test "x$ac_cv_func__isinf" = x""yes; then :
28276 cat >>confdefs.h <<_ACEOF
28277 #define HAVE__ISINF 1
28278 _ACEOF
28279
28280 fi
28281 done
28282
28283 fi
28284 fi
28285
28286
28287
28288
28289
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28291 $as_echo_n "checking for isnan declaration... " >&6; }
28292 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28293 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28294 $as_echo_n "(cached) " >&6
28295 else
28296
28297
28298 ac_ext=cpp
28299 ac_cpp='$CXXCPP $CPPFLAGS'
28300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28303
28304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28305 /* end confdefs.h. */
28306 #include <math.h>
28307 #ifdef HAVE_IEEEFP_H
28308 #include <ieeefp.h>
28309 #endif
28310
28311 int
28312 main ()
28313 {
28314 isnan(0);
28315 ;
28316 return 0;
28317 }
28318 _ACEOF
28319 if ac_fn_cxx_try_compile "$LINENO"; then :
28320 glibcxx_cv_func_isnan_use=yes
28321 else
28322 glibcxx_cv_func_isnan_use=no
28323 fi
28324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28325 ac_ext=c
28326 ac_cpp='$CPP $CPPFLAGS'
28327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28330
28331
28332 fi
28333
28334 fi
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28336 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28337
28338 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28339 for ac_func in isnan
28340 do :
28341 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28342 if test "x$ac_cv_func_isnan" = x""yes; then :
28343 cat >>confdefs.h <<_ACEOF
28344 #define HAVE_ISNAN 1
28345 _ACEOF
28346
28347 fi
28348 done
28349
28350 else
28351
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28353 $as_echo_n "checking for _isnan declaration... " >&6; }
28354 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28355 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28356 $as_echo_n "(cached) " >&6
28357 else
28358
28359
28360 ac_ext=cpp
28361 ac_cpp='$CXXCPP $CPPFLAGS'
28362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28365
28366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28367 /* end confdefs.h. */
28368 #include <math.h>
28369 #ifdef HAVE_IEEEFP_H
28370 #include <ieeefp.h>
28371 #endif
28372
28373 int
28374 main ()
28375 {
28376 _isnan(0);
28377 ;
28378 return 0;
28379 }
28380 _ACEOF
28381 if ac_fn_cxx_try_compile "$LINENO"; then :
28382 glibcxx_cv_func__isnan_use=yes
28383 else
28384 glibcxx_cv_func__isnan_use=no
28385 fi
28386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28387 ac_ext=c
28388 ac_cpp='$CPP $CPPFLAGS'
28389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28392
28393
28394 fi
28395
28396 fi
28397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28398 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28399
28400 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28401 for ac_func in _isnan
28402 do :
28403 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28404 if test "x$ac_cv_func__isnan" = x""yes; then :
28405 cat >>confdefs.h <<_ACEOF
28406 #define HAVE__ISNAN 1
28407 _ACEOF
28408
28409 fi
28410 done
28411
28412 fi
28413 fi
28414
28415
28416
28417
28418
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28420 $as_echo_n "checking for finite declaration... " >&6; }
28421 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28422 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28423 $as_echo_n "(cached) " >&6
28424 else
28425
28426
28427 ac_ext=cpp
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28432
28433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28434 /* end confdefs.h. */
28435 #include <math.h>
28436 #ifdef HAVE_IEEEFP_H
28437 #include <ieeefp.h>
28438 #endif
28439
28440 int
28441 main ()
28442 {
28443 finite(0);
28444 ;
28445 return 0;
28446 }
28447 _ACEOF
28448 if ac_fn_cxx_try_compile "$LINENO"; then :
28449 glibcxx_cv_func_finite_use=yes
28450 else
28451 glibcxx_cv_func_finite_use=no
28452 fi
28453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28454 ac_ext=c
28455 ac_cpp='$CPP $CPPFLAGS'
28456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28459
28460
28461 fi
28462
28463 fi
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28465 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28466
28467 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28468 for ac_func in finite
28469 do :
28470 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28471 if test "x$ac_cv_func_finite" = x""yes; then :
28472 cat >>confdefs.h <<_ACEOF
28473 #define HAVE_FINITE 1
28474 _ACEOF
28475
28476 fi
28477 done
28478
28479 else
28480
28481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28482 $as_echo_n "checking for _finite declaration... " >&6; }
28483 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28484 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28485 $as_echo_n "(cached) " >&6
28486 else
28487
28488
28489 ac_ext=cpp
28490 ac_cpp='$CXXCPP $CPPFLAGS'
28491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28494
28495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28496 /* end confdefs.h. */
28497 #include <math.h>
28498 #ifdef HAVE_IEEEFP_H
28499 #include <ieeefp.h>
28500 #endif
28501
28502 int
28503 main ()
28504 {
28505 _finite(0);
28506 ;
28507 return 0;
28508 }
28509 _ACEOF
28510 if ac_fn_cxx_try_compile "$LINENO"; then :
28511 glibcxx_cv_func__finite_use=yes
28512 else
28513 glibcxx_cv_func__finite_use=no
28514 fi
28515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28516 ac_ext=c
28517 ac_cpp='$CPP $CPPFLAGS'
28518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28521
28522
28523 fi
28524
28525 fi
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28527 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28528
28529 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28530 for ac_func in _finite
28531 do :
28532 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28533 if test "x$ac_cv_func__finite" = x""yes; then :
28534 cat >>confdefs.h <<_ACEOF
28535 #define HAVE__FINITE 1
28536 _ACEOF
28537
28538 fi
28539 done
28540
28541 fi
28542 fi
28543
28544
28545
28546
28547
28548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28549 $as_echo_n "checking for sincos declaration... " >&6; }
28550 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28551 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28552 $as_echo_n "(cached) " >&6
28553 else
28554
28555
28556 ac_ext=cpp
28557 ac_cpp='$CXXCPP $CPPFLAGS'
28558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28561
28562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28563 /* end confdefs.h. */
28564 #include <math.h>
28565 int
28566 main ()
28567 {
28568 sincos(0, 0, 0);
28569 ;
28570 return 0;
28571 }
28572 _ACEOF
28573 if ac_fn_cxx_try_compile "$LINENO"; then :
28574 glibcxx_cv_func_sincos_use=yes
28575 else
28576 glibcxx_cv_func_sincos_use=no
28577 fi
28578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28579 ac_ext=c
28580 ac_cpp='$CPP $CPPFLAGS'
28581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28584
28585
28586 fi
28587
28588 fi
28589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28590 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28591
28592 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28593 for ac_func in sincos
28594 do :
28595 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28596 if test "x$ac_cv_func_sincos" = x""yes; then :
28597 cat >>confdefs.h <<_ACEOF
28598 #define HAVE_SINCOS 1
28599 _ACEOF
28600
28601 fi
28602 done
28603
28604 else
28605
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28607 $as_echo_n "checking for _sincos declaration... " >&6; }
28608 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28609 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28610 $as_echo_n "(cached) " >&6
28611 else
28612
28613
28614 ac_ext=cpp
28615 ac_cpp='$CXXCPP $CPPFLAGS'
28616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28619
28620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28621 /* end confdefs.h. */
28622 #include <math.h>
28623 int
28624 main ()
28625 {
28626 _sincos(0, 0, 0);
28627 ;
28628 return 0;
28629 }
28630 _ACEOF
28631 if ac_fn_cxx_try_compile "$LINENO"; then :
28632 glibcxx_cv_func__sincos_use=yes
28633 else
28634 glibcxx_cv_func__sincos_use=no
28635 fi
28636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28637 ac_ext=c
28638 ac_cpp='$CPP $CPPFLAGS'
28639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28642
28643
28644 fi
28645
28646 fi
28647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28648 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28649
28650 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28651 for ac_func in _sincos
28652 do :
28653 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28654 if test "x$ac_cv_func__sincos" = x""yes; then :
28655 cat >>confdefs.h <<_ACEOF
28656 #define HAVE__SINCOS 1
28657 _ACEOF
28658
28659 fi
28660 done
28661
28662 fi
28663 fi
28664
28665
28666
28667
28668
28669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28670 $as_echo_n "checking for fpclass declaration... " >&6; }
28671 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28672 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28673 $as_echo_n "(cached) " >&6
28674 else
28675
28676
28677 ac_ext=cpp
28678 ac_cpp='$CXXCPP $CPPFLAGS'
28679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28682
28683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28684 /* end confdefs.h. */
28685 #include <math.h>
28686 #ifdef HAVE_IEEEFP_H
28687 #include <ieeefp.h>
28688 #endif
28689
28690 int
28691 main ()
28692 {
28693 fpclass(0);
28694 ;
28695 return 0;
28696 }
28697 _ACEOF
28698 if ac_fn_cxx_try_compile "$LINENO"; then :
28699 glibcxx_cv_func_fpclass_use=yes
28700 else
28701 glibcxx_cv_func_fpclass_use=no
28702 fi
28703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28704 ac_ext=c
28705 ac_cpp='$CPP $CPPFLAGS'
28706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28709
28710
28711 fi
28712
28713 fi
28714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28715 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28716
28717 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28718 for ac_func in fpclass
28719 do :
28720 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28721 if test "x$ac_cv_func_fpclass" = x""yes; then :
28722 cat >>confdefs.h <<_ACEOF
28723 #define HAVE_FPCLASS 1
28724 _ACEOF
28725
28726 fi
28727 done
28728
28729 else
28730
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28732 $as_echo_n "checking for _fpclass declaration... " >&6; }
28733 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28734 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28735 $as_echo_n "(cached) " >&6
28736 else
28737
28738
28739 ac_ext=cpp
28740 ac_cpp='$CXXCPP $CPPFLAGS'
28741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28744
28745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28746 /* end confdefs.h. */
28747 #include <math.h>
28748 #ifdef HAVE_IEEEFP_H
28749 #include <ieeefp.h>
28750 #endif
28751
28752 int
28753 main ()
28754 {
28755 _fpclass(0);
28756 ;
28757 return 0;
28758 }
28759 _ACEOF
28760 if ac_fn_cxx_try_compile "$LINENO"; then :
28761 glibcxx_cv_func__fpclass_use=yes
28762 else
28763 glibcxx_cv_func__fpclass_use=no
28764 fi
28765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28766 ac_ext=c
28767 ac_cpp='$CPP $CPPFLAGS'
28768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28771
28772
28773 fi
28774
28775 fi
28776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28777 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28778
28779 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28780 for ac_func in _fpclass
28781 do :
28782 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28783 if test "x$ac_cv_func__fpclass" = x""yes; then :
28784 cat >>confdefs.h <<_ACEOF
28785 #define HAVE__FPCLASS 1
28786 _ACEOF
28787
28788 fi
28789 done
28790
28791 fi
28792 fi
28793
28794
28795
28796
28797
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28799 $as_echo_n "checking for qfpclass declaration... " >&6; }
28800 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28801 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28802 $as_echo_n "(cached) " >&6
28803 else
28804
28805
28806 ac_ext=cpp
28807 ac_cpp='$CXXCPP $CPPFLAGS'
28808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28811
28812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28813 /* end confdefs.h. */
28814 #include <math.h>
28815 #ifdef HAVE_IEEEFP_H
28816 #include <ieeefp.h>
28817 #endif
28818
28819 int
28820 main ()
28821 {
28822 qfpclass(0);
28823 ;
28824 return 0;
28825 }
28826 _ACEOF
28827 if ac_fn_cxx_try_compile "$LINENO"; then :
28828 glibcxx_cv_func_qfpclass_use=yes
28829 else
28830 glibcxx_cv_func_qfpclass_use=no
28831 fi
28832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28833 ac_ext=c
28834 ac_cpp='$CPP $CPPFLAGS'
28835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28838
28839
28840 fi
28841
28842 fi
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28844 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28845
28846 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28847 for ac_func in qfpclass
28848 do :
28849 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28850 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28851 cat >>confdefs.h <<_ACEOF
28852 #define HAVE_QFPCLASS 1
28853 _ACEOF
28854
28855 fi
28856 done
28857
28858 else
28859
28860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28861 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28862 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28863 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28864 $as_echo_n "(cached) " >&6
28865 else
28866
28867
28868 ac_ext=cpp
28869 ac_cpp='$CXXCPP $CPPFLAGS'
28870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28873
28874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28875 /* end confdefs.h. */
28876 #include <math.h>
28877 #ifdef HAVE_IEEEFP_H
28878 #include <ieeefp.h>
28879 #endif
28880
28881 int
28882 main ()
28883 {
28884 _qfpclass(0);
28885 ;
28886 return 0;
28887 }
28888 _ACEOF
28889 if ac_fn_cxx_try_compile "$LINENO"; then :
28890 glibcxx_cv_func__qfpclass_use=yes
28891 else
28892 glibcxx_cv_func__qfpclass_use=no
28893 fi
28894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28895 ac_ext=c
28896 ac_cpp='$CPP $CPPFLAGS'
28897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28900
28901
28902 fi
28903
28904 fi
28905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28906 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28907
28908 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28909 for ac_func in _qfpclass
28910 do :
28911 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28912 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28913 cat >>confdefs.h <<_ACEOF
28914 #define HAVE__QFPCLASS 1
28915 _ACEOF
28916
28917 fi
28918 done
28919
28920 fi
28921 fi
28922
28923
28924
28925
28926
28927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28928 $as_echo_n "checking for hypot declaration... " >&6; }
28929 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28930 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28931 $as_echo_n "(cached) " >&6
28932 else
28933
28934
28935 ac_ext=cpp
28936 ac_cpp='$CXXCPP $CPPFLAGS'
28937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28940
28941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28942 /* end confdefs.h. */
28943 #include <math.h>
28944 int
28945 main ()
28946 {
28947 hypot(0, 0);
28948 ;
28949 return 0;
28950 }
28951 _ACEOF
28952 if ac_fn_cxx_try_compile "$LINENO"; then :
28953 glibcxx_cv_func_hypot_use=yes
28954 else
28955 glibcxx_cv_func_hypot_use=no
28956 fi
28957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28958 ac_ext=c
28959 ac_cpp='$CPP $CPPFLAGS'
28960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28963
28964
28965 fi
28966
28967 fi
28968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28969 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28970
28971 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28972 for ac_func in hypot
28973 do :
28974 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28975 if test "x$ac_cv_func_hypot" = x""yes; then :
28976 cat >>confdefs.h <<_ACEOF
28977 #define HAVE_HYPOT 1
28978 _ACEOF
28979
28980 fi
28981 done
28982
28983 else
28984
28985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28986 $as_echo_n "checking for _hypot declaration... " >&6; }
28987 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28988 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28989 $as_echo_n "(cached) " >&6
28990 else
28991
28992
28993 ac_ext=cpp
28994 ac_cpp='$CXXCPP $CPPFLAGS'
28995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28998
28999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29000 /* end confdefs.h. */
29001 #include <math.h>
29002 int
29003 main ()
29004 {
29005 _hypot(0, 0);
29006 ;
29007 return 0;
29008 }
29009 _ACEOF
29010 if ac_fn_cxx_try_compile "$LINENO"; then :
29011 glibcxx_cv_func__hypot_use=yes
29012 else
29013 glibcxx_cv_func__hypot_use=no
29014 fi
29015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29016 ac_ext=c
29017 ac_cpp='$CPP $CPPFLAGS'
29018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29021
29022
29023 fi
29024
29025 fi
29026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29027 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29028
29029 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29030 for ac_func in _hypot
29031 do :
29032 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29033 if test "x$ac_cv_func__hypot" = x""yes; then :
29034 cat >>confdefs.h <<_ACEOF
29035 #define HAVE__HYPOT 1
29036 _ACEOF
29037
29038 fi
29039 done
29040
29041 fi
29042 fi
29043
29044
29045
29046
29047
29048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29049 $as_echo_n "checking for float trig functions... " >&6; }
29050 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29051 $as_echo_n "(cached) " >&6
29052 else
29053
29054
29055 ac_ext=cpp
29056 ac_cpp='$CXXCPP $CPPFLAGS'
29057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29060
29061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29062 /* end confdefs.h. */
29063 #include <math.h>
29064 int
29065 main ()
29066 {
29067 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29068 ;
29069 return 0;
29070 }
29071 _ACEOF
29072 if ac_fn_cxx_try_compile "$LINENO"; then :
29073 glibcxx_cv_func_float_trig_use=yes
29074 else
29075 glibcxx_cv_func_float_trig_use=no
29076 fi
29077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29078 ac_ext=c
29079 ac_cpp='$CPP $CPPFLAGS'
29080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29083
29084 fi
29085
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29087 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29088 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29089 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29090 do :
29091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29093 eval as_val=\$$as_ac_var
29094 if test "x$as_val" = x""yes; then :
29095 cat >>confdefs.h <<_ACEOF
29096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29097 _ACEOF
29098
29099 fi
29100 done
29101
29102 else
29103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29104 $as_echo_n "checking for _float trig functions... " >&6; }
29105 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29106 $as_echo_n "(cached) " >&6
29107 else
29108
29109
29110 ac_ext=cpp
29111 ac_cpp='$CXXCPP $CPPFLAGS'
29112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29115
29116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29117 /* end confdefs.h. */
29118 #include <math.h>
29119 int
29120 main ()
29121 {
29122 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29123 ;
29124 return 0;
29125 }
29126 _ACEOF
29127 if ac_fn_cxx_try_compile "$LINENO"; then :
29128 glibcxx_cv_func__float_trig_use=yes
29129 else
29130 glibcxx_cv_func__float_trig_use=no
29131 fi
29132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29133 ac_ext=c
29134 ac_cpp='$CPP $CPPFLAGS'
29135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29138
29139 fi
29140
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29142 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29143 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29144 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29145 do :
29146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29148 eval as_val=\$$as_ac_var
29149 if test "x$as_val" = x""yes; then :
29150 cat >>confdefs.h <<_ACEOF
29151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29152 _ACEOF
29153
29154 fi
29155 done
29156
29157 fi
29158 fi
29159
29160
29161
29162
29163
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29165 $as_echo_n "checking for float round functions... " >&6; }
29166 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29167 $as_echo_n "(cached) " >&6
29168 else
29169
29170
29171 ac_ext=cpp
29172 ac_cpp='$CXXCPP $CPPFLAGS'
29173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29176
29177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29178 /* end confdefs.h. */
29179 #include <math.h>
29180 int
29181 main ()
29182 {
29183 ceilf (0); floorf (0);
29184 ;
29185 return 0;
29186 }
29187 _ACEOF
29188 if ac_fn_cxx_try_compile "$LINENO"; then :
29189 glibcxx_cv_func_float_round_use=yes
29190 else
29191 glibcxx_cv_func_float_round_use=no
29192 fi
29193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29194 ac_ext=c
29195 ac_cpp='$CPP $CPPFLAGS'
29196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29199
29200 fi
29201
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29203 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29204 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29205 for ac_func in ceilf floorf
29206 do :
29207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29208 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29209 eval as_val=\$$as_ac_var
29210 if test "x$as_val" = x""yes; then :
29211 cat >>confdefs.h <<_ACEOF
29212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29213 _ACEOF
29214
29215 fi
29216 done
29217
29218 else
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29220 $as_echo_n "checking for _float round functions... " >&6; }
29221 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29222 $as_echo_n "(cached) " >&6
29223 else
29224
29225
29226 ac_ext=cpp
29227 ac_cpp='$CXXCPP $CPPFLAGS'
29228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29231
29232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29233 /* end confdefs.h. */
29234 #include <math.h>
29235 int
29236 main ()
29237 {
29238 _ceilf (0); _floorf (0);
29239 ;
29240 return 0;
29241 }
29242 _ACEOF
29243 if ac_fn_cxx_try_compile "$LINENO"; then :
29244 glibcxx_cv_func__float_round_use=yes
29245 else
29246 glibcxx_cv_func__float_round_use=no
29247 fi
29248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29249 ac_ext=c
29250 ac_cpp='$CPP $CPPFLAGS'
29251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29254
29255 fi
29256
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29258 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29259 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29260 for ac_func in _ceilf _floorf
29261 do :
29262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29264 eval as_val=\$$as_ac_var
29265 if test "x$as_val" = x""yes; then :
29266 cat >>confdefs.h <<_ACEOF
29267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29268 _ACEOF
29269
29270 fi
29271 done
29272
29273 fi
29274 fi
29275
29276
29277
29278
29279
29280
29281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29282 $as_echo_n "checking for expf declaration... " >&6; }
29283 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29284 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29285 $as_echo_n "(cached) " >&6
29286 else
29287
29288
29289 ac_ext=cpp
29290 ac_cpp='$CXXCPP $CPPFLAGS'
29291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29294
29295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29296 /* end confdefs.h. */
29297 #include <math.h>
29298 #ifdef HAVE_IEEEFP_H
29299 #include <ieeefp.h>
29300 #endif
29301
29302 int
29303 main ()
29304 {
29305 expf(0);
29306 ;
29307 return 0;
29308 }
29309 _ACEOF
29310 if ac_fn_cxx_try_compile "$LINENO"; then :
29311 glibcxx_cv_func_expf_use=yes
29312 else
29313 glibcxx_cv_func_expf_use=no
29314 fi
29315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29316 ac_ext=c
29317 ac_cpp='$CPP $CPPFLAGS'
29318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29321
29322
29323 fi
29324
29325 fi
29326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29327 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29328
29329 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29330 for ac_func in expf
29331 do :
29332 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29333 if test "x$ac_cv_func_expf" = x""yes; then :
29334 cat >>confdefs.h <<_ACEOF
29335 #define HAVE_EXPF 1
29336 _ACEOF
29337
29338 fi
29339 done
29340
29341 else
29342
29343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29344 $as_echo_n "checking for _expf declaration... " >&6; }
29345 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29346 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29347 $as_echo_n "(cached) " >&6
29348 else
29349
29350
29351 ac_ext=cpp
29352 ac_cpp='$CXXCPP $CPPFLAGS'
29353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29356
29357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29358 /* end confdefs.h. */
29359 #include <math.h>
29360 #ifdef HAVE_IEEEFP_H
29361 #include <ieeefp.h>
29362 #endif
29363
29364 int
29365 main ()
29366 {
29367 _expf(0);
29368 ;
29369 return 0;
29370 }
29371 _ACEOF
29372 if ac_fn_cxx_try_compile "$LINENO"; then :
29373 glibcxx_cv_func__expf_use=yes
29374 else
29375 glibcxx_cv_func__expf_use=no
29376 fi
29377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29378 ac_ext=c
29379 ac_cpp='$CPP $CPPFLAGS'
29380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29383
29384
29385 fi
29386
29387 fi
29388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29389 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29390
29391 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29392 for ac_func in _expf
29393 do :
29394 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29395 if test "x$ac_cv_func__expf" = x""yes; then :
29396 cat >>confdefs.h <<_ACEOF
29397 #define HAVE__EXPF 1
29398 _ACEOF
29399
29400 fi
29401 done
29402
29403 fi
29404 fi
29405
29406
29407
29408
29409
29410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29411 $as_echo_n "checking for isnanf declaration... " >&6; }
29412 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29413 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29414 $as_echo_n "(cached) " >&6
29415 else
29416
29417
29418 ac_ext=cpp
29419 ac_cpp='$CXXCPP $CPPFLAGS'
29420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29423
29424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29425 /* end confdefs.h. */
29426 #include <math.h>
29427 #ifdef HAVE_IEEEFP_H
29428 #include <ieeefp.h>
29429 #endif
29430
29431 int
29432 main ()
29433 {
29434 isnanf(0);
29435 ;
29436 return 0;
29437 }
29438 _ACEOF
29439 if ac_fn_cxx_try_compile "$LINENO"; then :
29440 glibcxx_cv_func_isnanf_use=yes
29441 else
29442 glibcxx_cv_func_isnanf_use=no
29443 fi
29444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29445 ac_ext=c
29446 ac_cpp='$CPP $CPPFLAGS'
29447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29450
29451
29452 fi
29453
29454 fi
29455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29456 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29457
29458 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29459 for ac_func in isnanf
29460 do :
29461 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29462 if test "x$ac_cv_func_isnanf" = x""yes; then :
29463 cat >>confdefs.h <<_ACEOF
29464 #define HAVE_ISNANF 1
29465 _ACEOF
29466
29467 fi
29468 done
29469
29470 else
29471
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29473 $as_echo_n "checking for _isnanf declaration... " >&6; }
29474 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29475 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29476 $as_echo_n "(cached) " >&6
29477 else
29478
29479
29480 ac_ext=cpp
29481 ac_cpp='$CXXCPP $CPPFLAGS'
29482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29485
29486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29487 /* end confdefs.h. */
29488 #include <math.h>
29489 #ifdef HAVE_IEEEFP_H
29490 #include <ieeefp.h>
29491 #endif
29492
29493 int
29494 main ()
29495 {
29496 _isnanf(0);
29497 ;
29498 return 0;
29499 }
29500 _ACEOF
29501 if ac_fn_cxx_try_compile "$LINENO"; then :
29502 glibcxx_cv_func__isnanf_use=yes
29503 else
29504 glibcxx_cv_func__isnanf_use=no
29505 fi
29506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29507 ac_ext=c
29508 ac_cpp='$CPP $CPPFLAGS'
29509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29512
29513
29514 fi
29515
29516 fi
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29518 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29519
29520 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29521 for ac_func in _isnanf
29522 do :
29523 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29524 if test "x$ac_cv_func__isnanf" = x""yes; then :
29525 cat >>confdefs.h <<_ACEOF
29526 #define HAVE__ISNANF 1
29527 _ACEOF
29528
29529 fi
29530 done
29531
29532 fi
29533 fi
29534
29535
29536
29537
29538
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29540 $as_echo_n "checking for isinff declaration... " >&6; }
29541 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29542 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29543 $as_echo_n "(cached) " >&6
29544 else
29545
29546
29547 ac_ext=cpp
29548 ac_cpp='$CXXCPP $CPPFLAGS'
29549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29552
29553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29554 /* end confdefs.h. */
29555 #include <math.h>
29556 #ifdef HAVE_IEEEFP_H
29557 #include <ieeefp.h>
29558 #endif
29559
29560 int
29561 main ()
29562 {
29563 isinff(0);
29564 ;
29565 return 0;
29566 }
29567 _ACEOF
29568 if ac_fn_cxx_try_compile "$LINENO"; then :
29569 glibcxx_cv_func_isinff_use=yes
29570 else
29571 glibcxx_cv_func_isinff_use=no
29572 fi
29573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29574 ac_ext=c
29575 ac_cpp='$CPP $CPPFLAGS'
29576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29579
29580
29581 fi
29582
29583 fi
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29585 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29586
29587 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29588 for ac_func in isinff
29589 do :
29590 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29591 if test "x$ac_cv_func_isinff" = x""yes; then :
29592 cat >>confdefs.h <<_ACEOF
29593 #define HAVE_ISINFF 1
29594 _ACEOF
29595
29596 fi
29597 done
29598
29599 else
29600
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29602 $as_echo_n "checking for _isinff declaration... " >&6; }
29603 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29604 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29605 $as_echo_n "(cached) " >&6
29606 else
29607
29608
29609 ac_ext=cpp
29610 ac_cpp='$CXXCPP $CPPFLAGS'
29611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29614
29615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29616 /* end confdefs.h. */
29617 #include <math.h>
29618 #ifdef HAVE_IEEEFP_H
29619 #include <ieeefp.h>
29620 #endif
29621
29622 int
29623 main ()
29624 {
29625 _isinff(0);
29626 ;
29627 return 0;
29628 }
29629 _ACEOF
29630 if ac_fn_cxx_try_compile "$LINENO"; then :
29631 glibcxx_cv_func__isinff_use=yes
29632 else
29633 glibcxx_cv_func__isinff_use=no
29634 fi
29635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29636 ac_ext=c
29637 ac_cpp='$CPP $CPPFLAGS'
29638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29641
29642
29643 fi
29644
29645 fi
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29647 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29648
29649 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29650 for ac_func in _isinff
29651 do :
29652 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29653 if test "x$ac_cv_func__isinff" = x""yes; then :
29654 cat >>confdefs.h <<_ACEOF
29655 #define HAVE__ISINFF 1
29656 _ACEOF
29657
29658 fi
29659 done
29660
29661 fi
29662 fi
29663
29664
29665
29666
29667
29668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29669 $as_echo_n "checking for atan2f declaration... " >&6; }
29670 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29671 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29672 $as_echo_n "(cached) " >&6
29673 else
29674
29675
29676 ac_ext=cpp
29677 ac_cpp='$CXXCPP $CPPFLAGS'
29678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29681
29682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 /* end confdefs.h. */
29684 #include <math.h>
29685 int
29686 main ()
29687 {
29688 atan2f(0, 0);
29689 ;
29690 return 0;
29691 }
29692 _ACEOF
29693 if ac_fn_cxx_try_compile "$LINENO"; then :
29694 glibcxx_cv_func_atan2f_use=yes
29695 else
29696 glibcxx_cv_func_atan2f_use=no
29697 fi
29698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29699 ac_ext=c
29700 ac_cpp='$CPP $CPPFLAGS'
29701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29704
29705
29706 fi
29707
29708 fi
29709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29710 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29711
29712 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29713 for ac_func in atan2f
29714 do :
29715 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29716 if test "x$ac_cv_func_atan2f" = x""yes; then :
29717 cat >>confdefs.h <<_ACEOF
29718 #define HAVE_ATAN2F 1
29719 _ACEOF
29720
29721 fi
29722 done
29723
29724 else
29725
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29727 $as_echo_n "checking for _atan2f declaration... " >&6; }
29728 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29729 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29730 $as_echo_n "(cached) " >&6
29731 else
29732
29733
29734 ac_ext=cpp
29735 ac_cpp='$CXXCPP $CPPFLAGS'
29736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29739
29740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29741 /* end confdefs.h. */
29742 #include <math.h>
29743 int
29744 main ()
29745 {
29746 _atan2f(0, 0);
29747 ;
29748 return 0;
29749 }
29750 _ACEOF
29751 if ac_fn_cxx_try_compile "$LINENO"; then :
29752 glibcxx_cv_func__atan2f_use=yes
29753 else
29754 glibcxx_cv_func__atan2f_use=no
29755 fi
29756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29757 ac_ext=c
29758 ac_cpp='$CPP $CPPFLAGS'
29759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29762
29763
29764 fi
29765
29766 fi
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29768 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29769
29770 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29771 for ac_func in _atan2f
29772 do :
29773 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29774 if test "x$ac_cv_func__atan2f" = x""yes; then :
29775 cat >>confdefs.h <<_ACEOF
29776 #define HAVE__ATAN2F 1
29777 _ACEOF
29778
29779 fi
29780 done
29781
29782 fi
29783 fi
29784
29785
29786
29787
29788
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29790 $as_echo_n "checking for fabsf declaration... " >&6; }
29791 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29792 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29793 $as_echo_n "(cached) " >&6
29794 else
29795
29796
29797 ac_ext=cpp
29798 ac_cpp='$CXXCPP $CPPFLAGS'
29799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29802
29803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29804 /* end confdefs.h. */
29805 #include <math.h>
29806 #ifdef HAVE_IEEEFP_H
29807 #include <ieeefp.h>
29808 #endif
29809
29810 int
29811 main ()
29812 {
29813 fabsf(0);
29814 ;
29815 return 0;
29816 }
29817 _ACEOF
29818 if ac_fn_cxx_try_compile "$LINENO"; then :
29819 glibcxx_cv_func_fabsf_use=yes
29820 else
29821 glibcxx_cv_func_fabsf_use=no
29822 fi
29823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29824 ac_ext=c
29825 ac_cpp='$CPP $CPPFLAGS'
29826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29829
29830
29831 fi
29832
29833 fi
29834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29835 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29836
29837 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29838 for ac_func in fabsf
29839 do :
29840 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29841 if test "x$ac_cv_func_fabsf" = x""yes; then :
29842 cat >>confdefs.h <<_ACEOF
29843 #define HAVE_FABSF 1
29844 _ACEOF
29845
29846 fi
29847 done
29848
29849 else
29850
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29852 $as_echo_n "checking for _fabsf declaration... " >&6; }
29853 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29854 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29855 $as_echo_n "(cached) " >&6
29856 else
29857
29858
29859 ac_ext=cpp
29860 ac_cpp='$CXXCPP $CPPFLAGS'
29861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29864
29865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29867 #include <math.h>
29868 #ifdef HAVE_IEEEFP_H
29869 #include <ieeefp.h>
29870 #endif
29871
29872 int
29873 main ()
29874 {
29875 _fabsf(0);
29876 ;
29877 return 0;
29878 }
29879 _ACEOF
29880 if ac_fn_cxx_try_compile "$LINENO"; then :
29881 glibcxx_cv_func__fabsf_use=yes
29882 else
29883 glibcxx_cv_func__fabsf_use=no
29884 fi
29885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29886 ac_ext=c
29887 ac_cpp='$CPP $CPPFLAGS'
29888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29891
29892
29893 fi
29894
29895 fi
29896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29897 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29898
29899 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29900 for ac_func in _fabsf
29901 do :
29902 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29903 if test "x$ac_cv_func__fabsf" = x""yes; then :
29904 cat >>confdefs.h <<_ACEOF
29905 #define HAVE__FABSF 1
29906 _ACEOF
29907
29908 fi
29909 done
29910
29911 fi
29912 fi
29913
29914
29915
29916
29917
29918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29919 $as_echo_n "checking for fmodf declaration... " >&6; }
29920 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29921 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29922 $as_echo_n "(cached) " >&6
29923 else
29924
29925
29926 ac_ext=cpp
29927 ac_cpp='$CXXCPP $CPPFLAGS'
29928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29931
29932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29933 /* end confdefs.h. */
29934 #include <math.h>
29935 int
29936 main ()
29937 {
29938 fmodf(0, 0);
29939 ;
29940 return 0;
29941 }
29942 _ACEOF
29943 if ac_fn_cxx_try_compile "$LINENO"; then :
29944 glibcxx_cv_func_fmodf_use=yes
29945 else
29946 glibcxx_cv_func_fmodf_use=no
29947 fi
29948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29949 ac_ext=c
29950 ac_cpp='$CPP $CPPFLAGS'
29951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29954
29955
29956 fi
29957
29958 fi
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29960 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29961
29962 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29963 for ac_func in fmodf
29964 do :
29965 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29966 if test "x$ac_cv_func_fmodf" = x""yes; then :
29967 cat >>confdefs.h <<_ACEOF
29968 #define HAVE_FMODF 1
29969 _ACEOF
29970
29971 fi
29972 done
29973
29974 else
29975
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29977 $as_echo_n "checking for _fmodf declaration... " >&6; }
29978 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29979 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29980 $as_echo_n "(cached) " >&6
29981 else
29982
29983
29984 ac_ext=cpp
29985 ac_cpp='$CXXCPP $CPPFLAGS'
29986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29989
29990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29991 /* end confdefs.h. */
29992 #include <math.h>
29993 int
29994 main ()
29995 {
29996 _fmodf(0, 0);
29997 ;
29998 return 0;
29999 }
30000 _ACEOF
30001 if ac_fn_cxx_try_compile "$LINENO"; then :
30002 glibcxx_cv_func__fmodf_use=yes
30003 else
30004 glibcxx_cv_func__fmodf_use=no
30005 fi
30006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30007 ac_ext=c
30008 ac_cpp='$CPP $CPPFLAGS'
30009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30012
30013
30014 fi
30015
30016 fi
30017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30018 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30019
30020 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30021 for ac_func in _fmodf
30022 do :
30023 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30024 if test "x$ac_cv_func__fmodf" = x""yes; then :
30025 cat >>confdefs.h <<_ACEOF
30026 #define HAVE__FMODF 1
30027 _ACEOF
30028
30029 fi
30030 done
30031
30032 fi
30033 fi
30034
30035
30036
30037
30038
30039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30040 $as_echo_n "checking for frexpf declaration... " >&6; }
30041 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30042 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30043 $as_echo_n "(cached) " >&6
30044 else
30045
30046
30047 ac_ext=cpp
30048 ac_cpp='$CXXCPP $CPPFLAGS'
30049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30052
30053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30054 /* end confdefs.h. */
30055 #include <math.h>
30056 int
30057 main ()
30058 {
30059 frexpf(0, 0);
30060 ;
30061 return 0;
30062 }
30063 _ACEOF
30064 if ac_fn_cxx_try_compile "$LINENO"; then :
30065 glibcxx_cv_func_frexpf_use=yes
30066 else
30067 glibcxx_cv_func_frexpf_use=no
30068 fi
30069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30070 ac_ext=c
30071 ac_cpp='$CPP $CPPFLAGS'
30072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30075
30076
30077 fi
30078
30079 fi
30080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30081 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30082
30083 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30084 for ac_func in frexpf
30085 do :
30086 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30087 if test "x$ac_cv_func_frexpf" = x""yes; then :
30088 cat >>confdefs.h <<_ACEOF
30089 #define HAVE_FREXPF 1
30090 _ACEOF
30091
30092 fi
30093 done
30094
30095 else
30096
30097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30098 $as_echo_n "checking for _frexpf declaration... " >&6; }
30099 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30100 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30101 $as_echo_n "(cached) " >&6
30102 else
30103
30104
30105 ac_ext=cpp
30106 ac_cpp='$CXXCPP $CPPFLAGS'
30107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30110
30111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30112 /* end confdefs.h. */
30113 #include <math.h>
30114 int
30115 main ()
30116 {
30117 _frexpf(0, 0);
30118 ;
30119 return 0;
30120 }
30121 _ACEOF
30122 if ac_fn_cxx_try_compile "$LINENO"; then :
30123 glibcxx_cv_func__frexpf_use=yes
30124 else
30125 glibcxx_cv_func__frexpf_use=no
30126 fi
30127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30128 ac_ext=c
30129 ac_cpp='$CPP $CPPFLAGS'
30130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30133
30134
30135 fi
30136
30137 fi
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30139 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30140
30141 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30142 for ac_func in _frexpf
30143 do :
30144 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30145 if test "x$ac_cv_func__frexpf" = x""yes; then :
30146 cat >>confdefs.h <<_ACEOF
30147 #define HAVE__FREXPF 1
30148 _ACEOF
30149
30150 fi
30151 done
30152
30153 fi
30154 fi
30155
30156
30157
30158
30159
30160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30161 $as_echo_n "checking for hypotf declaration... " >&6; }
30162 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30163 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30164 $as_echo_n "(cached) " >&6
30165 else
30166
30167
30168 ac_ext=cpp
30169 ac_cpp='$CXXCPP $CPPFLAGS'
30170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30173
30174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30175 /* end confdefs.h. */
30176 #include <math.h>
30177 int
30178 main ()
30179 {
30180 hypotf(0, 0);
30181 ;
30182 return 0;
30183 }
30184 _ACEOF
30185 if ac_fn_cxx_try_compile "$LINENO"; then :
30186 glibcxx_cv_func_hypotf_use=yes
30187 else
30188 glibcxx_cv_func_hypotf_use=no
30189 fi
30190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30191 ac_ext=c
30192 ac_cpp='$CPP $CPPFLAGS'
30193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30196
30197
30198 fi
30199
30200 fi
30201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30202 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30203
30204 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30205 for ac_func in hypotf
30206 do :
30207 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30208 if test "x$ac_cv_func_hypotf" = x""yes; then :
30209 cat >>confdefs.h <<_ACEOF
30210 #define HAVE_HYPOTF 1
30211 _ACEOF
30212
30213 fi
30214 done
30215
30216 else
30217
30218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30219 $as_echo_n "checking for _hypotf declaration... " >&6; }
30220 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30221 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30222 $as_echo_n "(cached) " >&6
30223 else
30224
30225
30226 ac_ext=cpp
30227 ac_cpp='$CXXCPP $CPPFLAGS'
30228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30231
30232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30233 /* end confdefs.h. */
30234 #include <math.h>
30235 int
30236 main ()
30237 {
30238 _hypotf(0, 0);
30239 ;
30240 return 0;
30241 }
30242 _ACEOF
30243 if ac_fn_cxx_try_compile "$LINENO"; then :
30244 glibcxx_cv_func__hypotf_use=yes
30245 else
30246 glibcxx_cv_func__hypotf_use=no
30247 fi
30248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30249 ac_ext=c
30250 ac_cpp='$CPP $CPPFLAGS'
30251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30254
30255
30256 fi
30257
30258 fi
30259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30260 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30261
30262 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30263 for ac_func in _hypotf
30264 do :
30265 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30266 if test "x$ac_cv_func__hypotf" = x""yes; then :
30267 cat >>confdefs.h <<_ACEOF
30268 #define HAVE__HYPOTF 1
30269 _ACEOF
30270
30271 fi
30272 done
30273
30274 fi
30275 fi
30276
30277
30278
30279
30280
30281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30282 $as_echo_n "checking for ldexpf declaration... " >&6; }
30283 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30284 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30285 $as_echo_n "(cached) " >&6
30286 else
30287
30288
30289 ac_ext=cpp
30290 ac_cpp='$CXXCPP $CPPFLAGS'
30291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30294
30295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30296 /* end confdefs.h. */
30297 #include <math.h>
30298 int
30299 main ()
30300 {
30301 ldexpf(0, 0);
30302 ;
30303 return 0;
30304 }
30305 _ACEOF
30306 if ac_fn_cxx_try_compile "$LINENO"; then :
30307 glibcxx_cv_func_ldexpf_use=yes
30308 else
30309 glibcxx_cv_func_ldexpf_use=no
30310 fi
30311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30312 ac_ext=c
30313 ac_cpp='$CPP $CPPFLAGS'
30314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30317
30318
30319 fi
30320
30321 fi
30322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30323 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30324
30325 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30326 for ac_func in ldexpf
30327 do :
30328 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30329 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30330 cat >>confdefs.h <<_ACEOF
30331 #define HAVE_LDEXPF 1
30332 _ACEOF
30333
30334 fi
30335 done
30336
30337 else
30338
30339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30340 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30341 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30342 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30343 $as_echo_n "(cached) " >&6
30344 else
30345
30346
30347 ac_ext=cpp
30348 ac_cpp='$CXXCPP $CPPFLAGS'
30349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30352
30353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30354 /* end confdefs.h. */
30355 #include <math.h>
30356 int
30357 main ()
30358 {
30359 _ldexpf(0, 0);
30360 ;
30361 return 0;
30362 }
30363 _ACEOF
30364 if ac_fn_cxx_try_compile "$LINENO"; then :
30365 glibcxx_cv_func__ldexpf_use=yes
30366 else
30367 glibcxx_cv_func__ldexpf_use=no
30368 fi
30369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30370 ac_ext=c
30371 ac_cpp='$CPP $CPPFLAGS'
30372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30375
30376
30377 fi
30378
30379 fi
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30381 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30382
30383 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30384 for ac_func in _ldexpf
30385 do :
30386 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30387 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30388 cat >>confdefs.h <<_ACEOF
30389 #define HAVE__LDEXPF 1
30390 _ACEOF
30391
30392 fi
30393 done
30394
30395 fi
30396 fi
30397
30398
30399
30400
30401
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30403 $as_echo_n "checking for logf declaration... " >&6; }
30404 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30405 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30406 $as_echo_n "(cached) " >&6
30407 else
30408
30409
30410 ac_ext=cpp
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30415
30416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30417 /* end confdefs.h. */
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 #include <ieeefp.h>
30421 #endif
30422
30423 int
30424 main ()
30425 {
30426 logf(0);
30427 ;
30428 return 0;
30429 }
30430 _ACEOF
30431 if ac_fn_cxx_try_compile "$LINENO"; then :
30432 glibcxx_cv_func_logf_use=yes
30433 else
30434 glibcxx_cv_func_logf_use=no
30435 fi
30436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30437 ac_ext=c
30438 ac_cpp='$CPP $CPPFLAGS'
30439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30442
30443
30444 fi
30445
30446 fi
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30448 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30449
30450 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30451 for ac_func in logf
30452 do :
30453 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30454 if test "x$ac_cv_func_logf" = x""yes; then :
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE_LOGF 1
30457 _ACEOF
30458
30459 fi
30460 done
30461
30462 else
30463
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30465 $as_echo_n "checking for _logf declaration... " >&6; }
30466 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30467 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30468 $as_echo_n "(cached) " >&6
30469 else
30470
30471
30472 ac_ext=cpp
30473 ac_cpp='$CXXCPP $CPPFLAGS'
30474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30477
30478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479 /* end confdefs.h. */
30480 #include <math.h>
30481 #ifdef HAVE_IEEEFP_H
30482 #include <ieeefp.h>
30483 #endif
30484
30485 int
30486 main ()
30487 {
30488 _logf(0);
30489 ;
30490 return 0;
30491 }
30492 _ACEOF
30493 if ac_fn_cxx_try_compile "$LINENO"; then :
30494 glibcxx_cv_func__logf_use=yes
30495 else
30496 glibcxx_cv_func__logf_use=no
30497 fi
30498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30504
30505
30506 fi
30507
30508 fi
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30510 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30511
30512 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30513 for ac_func in _logf
30514 do :
30515 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30516 if test "x$ac_cv_func__logf" = x""yes; then :
30517 cat >>confdefs.h <<_ACEOF
30518 #define HAVE__LOGF 1
30519 _ACEOF
30520
30521 fi
30522 done
30523
30524 fi
30525 fi
30526
30527
30528
30529
30530
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30532 $as_echo_n "checking for log10f declaration... " >&6; }
30533 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30534 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30535 $as_echo_n "(cached) " >&6
30536 else
30537
30538
30539 ac_ext=cpp
30540 ac_cpp='$CXXCPP $CPPFLAGS'
30541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30544
30545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h. */
30547 #include <math.h>
30548 #ifdef HAVE_IEEEFP_H
30549 #include <ieeefp.h>
30550 #endif
30551
30552 int
30553 main ()
30554 {
30555 log10f(0);
30556 ;
30557 return 0;
30558 }
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func_log10f_use=yes
30562 else
30563 glibcxx_cv_func_log10f_use=no
30564 fi
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571
30572
30573 fi
30574
30575 fi
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30577 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30578
30579 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30580 for ac_func in log10f
30581 do :
30582 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30583 if test "x$ac_cv_func_log10f" = x""yes; then :
30584 cat >>confdefs.h <<_ACEOF
30585 #define HAVE_LOG10F 1
30586 _ACEOF
30587
30588 fi
30589 done
30590
30591 else
30592
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30594 $as_echo_n "checking for _log10f declaration... " >&6; }
30595 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30596 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30599
30600
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30606
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30610 #ifdef HAVE_IEEEFP_H
30611 #include <ieeefp.h>
30612 #endif
30613
30614 int
30615 main ()
30616 {
30617 _log10f(0);
30618 ;
30619 return 0;
30620 }
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623 glibcxx_cv_func__log10f_use=yes
30624 else
30625 glibcxx_cv_func__log10f_use=no
30626 fi
30627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30628 ac_ext=c
30629 ac_cpp='$CPP $CPPFLAGS'
30630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30633
30634
30635 fi
30636
30637 fi
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30639 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30640
30641 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30642 for ac_func in _log10f
30643 do :
30644 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30645 if test "x$ac_cv_func__log10f" = x""yes; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define HAVE__LOG10F 1
30648 _ACEOF
30649
30650 fi
30651 done
30652
30653 fi
30654 fi
30655
30656
30657
30658
30659
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30661 $as_echo_n "checking for modff declaration... " >&6; }
30662 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30663 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30664 $as_echo_n "(cached) " >&6
30665 else
30666
30667
30668 ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30673
30674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h. */
30676 #include <math.h>
30677 int
30678 main ()
30679 {
30680 modff(0, 0);
30681 ;
30682 return 0;
30683 }
30684 _ACEOF
30685 if ac_fn_cxx_try_compile "$LINENO"; then :
30686 glibcxx_cv_func_modff_use=yes
30687 else
30688 glibcxx_cv_func_modff_use=no
30689 fi
30690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30691 ac_ext=c
30692 ac_cpp='$CPP $CPPFLAGS'
30693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30696
30697
30698 fi
30699
30700 fi
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30702 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30703
30704 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30705 for ac_func in modff
30706 do :
30707 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30708 if test "x$ac_cv_func_modff" = x""yes; then :
30709 cat >>confdefs.h <<_ACEOF
30710 #define HAVE_MODFF 1
30711 _ACEOF
30712
30713 fi
30714 done
30715
30716 else
30717
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30719 $as_echo_n "checking for _modff declaration... " >&6; }
30720 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30721 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30722 $as_echo_n "(cached) " >&6
30723 else
30724
30725
30726 ac_ext=cpp
30727 ac_cpp='$CXXCPP $CPPFLAGS'
30728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30731
30732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30733 /* end confdefs.h. */
30734 #include <math.h>
30735 int
30736 main ()
30737 {
30738 _modff(0, 0);
30739 ;
30740 return 0;
30741 }
30742 _ACEOF
30743 if ac_fn_cxx_try_compile "$LINENO"; then :
30744 glibcxx_cv_func__modff_use=yes
30745 else
30746 glibcxx_cv_func__modff_use=no
30747 fi
30748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30749 ac_ext=c
30750 ac_cpp='$CPP $CPPFLAGS'
30751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30754
30755
30756 fi
30757
30758 fi
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30760 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30761
30762 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30763 for ac_func in _modff
30764 do :
30765 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30766 if test "x$ac_cv_func__modff" = x""yes; then :
30767 cat >>confdefs.h <<_ACEOF
30768 #define HAVE__MODFF 1
30769 _ACEOF
30770
30771 fi
30772 done
30773
30774 fi
30775 fi
30776
30777
30778
30779
30780
30781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30782 $as_echo_n "checking for modf declaration... " >&6; }
30783 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30784 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30785 $as_echo_n "(cached) " >&6
30786 else
30787
30788
30789 ac_ext=cpp
30790 ac_cpp='$CXXCPP $CPPFLAGS'
30791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30794
30795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30796 /* end confdefs.h. */
30797 #include <math.h>
30798 int
30799 main ()
30800 {
30801 modf(0, 0);
30802 ;
30803 return 0;
30804 }
30805 _ACEOF
30806 if ac_fn_cxx_try_compile "$LINENO"; then :
30807 glibcxx_cv_func_modf_use=yes
30808 else
30809 glibcxx_cv_func_modf_use=no
30810 fi
30811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30812 ac_ext=c
30813 ac_cpp='$CPP $CPPFLAGS'
30814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30817
30818
30819 fi
30820
30821 fi
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30823 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30824
30825 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30826 for ac_func in modf
30827 do :
30828 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30829 if test "x$ac_cv_func_modf" = x""yes; then :
30830 cat >>confdefs.h <<_ACEOF
30831 #define HAVE_MODF 1
30832 _ACEOF
30833
30834 fi
30835 done
30836
30837 else
30838
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30840 $as_echo_n "checking for _modf declaration... " >&6; }
30841 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30842 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30843 $as_echo_n "(cached) " >&6
30844 else
30845
30846
30847 ac_ext=cpp
30848 ac_cpp='$CXXCPP $CPPFLAGS'
30849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30852
30853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30854 /* end confdefs.h. */
30855 #include <math.h>
30856 int
30857 main ()
30858 {
30859 _modf(0, 0);
30860 ;
30861 return 0;
30862 }
30863 _ACEOF
30864 if ac_fn_cxx_try_compile "$LINENO"; then :
30865 glibcxx_cv_func__modf_use=yes
30866 else
30867 glibcxx_cv_func__modf_use=no
30868 fi
30869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30870 ac_ext=c
30871 ac_cpp='$CPP $CPPFLAGS'
30872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30875
30876
30877 fi
30878
30879 fi
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30881 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30882
30883 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30884 for ac_func in _modf
30885 do :
30886 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30887 if test "x$ac_cv_func__modf" = x""yes; then :
30888 cat >>confdefs.h <<_ACEOF
30889 #define HAVE__MODF 1
30890 _ACEOF
30891
30892 fi
30893 done
30894
30895 fi
30896 fi
30897
30898
30899
30900
30901
30902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30903 $as_echo_n "checking for powf declaration... " >&6; }
30904 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30905 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30906 $as_echo_n "(cached) " >&6
30907 else
30908
30909
30910 ac_ext=cpp
30911 ac_cpp='$CXXCPP $CPPFLAGS'
30912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30915
30916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30917 /* end confdefs.h. */
30918 #include <math.h>
30919 int
30920 main ()
30921 {
30922 powf(0, 0);
30923 ;
30924 return 0;
30925 }
30926 _ACEOF
30927 if ac_fn_cxx_try_compile "$LINENO"; then :
30928 glibcxx_cv_func_powf_use=yes
30929 else
30930 glibcxx_cv_func_powf_use=no
30931 fi
30932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30933 ac_ext=c
30934 ac_cpp='$CPP $CPPFLAGS'
30935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30938
30939
30940 fi
30941
30942 fi
30943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30944 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30945
30946 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30947 for ac_func in powf
30948 do :
30949 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30950 if test "x$ac_cv_func_powf" = x""yes; then :
30951 cat >>confdefs.h <<_ACEOF
30952 #define HAVE_POWF 1
30953 _ACEOF
30954
30955 fi
30956 done
30957
30958 else
30959
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30961 $as_echo_n "checking for _powf declaration... " >&6; }
30962 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30963 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30964 $as_echo_n "(cached) " >&6
30965 else
30966
30967
30968 ac_ext=cpp
30969 ac_cpp='$CXXCPP $CPPFLAGS'
30970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30973
30974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30975 /* end confdefs.h. */
30976 #include <math.h>
30977 int
30978 main ()
30979 {
30980 _powf(0, 0);
30981 ;
30982 return 0;
30983 }
30984 _ACEOF
30985 if ac_fn_cxx_try_compile "$LINENO"; then :
30986 glibcxx_cv_func__powf_use=yes
30987 else
30988 glibcxx_cv_func__powf_use=no
30989 fi
30990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30991 ac_ext=c
30992 ac_cpp='$CPP $CPPFLAGS'
30993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30996
30997
30998 fi
30999
31000 fi
31001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31002 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31003
31004 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31005 for ac_func in _powf
31006 do :
31007 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31008 if test "x$ac_cv_func__powf" = x""yes; then :
31009 cat >>confdefs.h <<_ACEOF
31010 #define HAVE__POWF 1
31011 _ACEOF
31012
31013 fi
31014 done
31015
31016 fi
31017 fi
31018
31019
31020
31021
31022
31023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31024 $as_echo_n "checking for sqrtf declaration... " >&6; }
31025 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31026 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31027 $as_echo_n "(cached) " >&6
31028 else
31029
31030
31031 ac_ext=cpp
31032 ac_cpp='$CXXCPP $CPPFLAGS'
31033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31036
31037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31038 /* end confdefs.h. */
31039 #include <math.h>
31040 #ifdef HAVE_IEEEFP_H
31041 #include <ieeefp.h>
31042 #endif
31043
31044 int
31045 main ()
31046 {
31047 sqrtf(0);
31048 ;
31049 return 0;
31050 }
31051 _ACEOF
31052 if ac_fn_cxx_try_compile "$LINENO"; then :
31053 glibcxx_cv_func_sqrtf_use=yes
31054 else
31055 glibcxx_cv_func_sqrtf_use=no
31056 fi
31057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31058 ac_ext=c
31059 ac_cpp='$CPP $CPPFLAGS'
31060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31063
31064
31065 fi
31066
31067 fi
31068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31069 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31070
31071 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31072 for ac_func in sqrtf
31073 do :
31074 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31075 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31076 cat >>confdefs.h <<_ACEOF
31077 #define HAVE_SQRTF 1
31078 _ACEOF
31079
31080 fi
31081 done
31082
31083 else
31084
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31086 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31087 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31088 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31089 $as_echo_n "(cached) " >&6
31090 else
31091
31092
31093 ac_ext=cpp
31094 ac_cpp='$CXXCPP $CPPFLAGS'
31095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31098
31099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31100 /* end confdefs.h. */
31101 #include <math.h>
31102 #ifdef HAVE_IEEEFP_H
31103 #include <ieeefp.h>
31104 #endif
31105
31106 int
31107 main ()
31108 {
31109 _sqrtf(0);
31110 ;
31111 return 0;
31112 }
31113 _ACEOF
31114 if ac_fn_cxx_try_compile "$LINENO"; then :
31115 glibcxx_cv_func__sqrtf_use=yes
31116 else
31117 glibcxx_cv_func__sqrtf_use=no
31118 fi
31119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31120 ac_ext=c
31121 ac_cpp='$CPP $CPPFLAGS'
31122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31125
31126
31127 fi
31128
31129 fi
31130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31131 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31132
31133 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31134 for ac_func in _sqrtf
31135 do :
31136 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31137 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31138 cat >>confdefs.h <<_ACEOF
31139 #define HAVE__SQRTF 1
31140 _ACEOF
31141
31142 fi
31143 done
31144
31145 fi
31146 fi
31147
31148
31149
31150
31151
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31153 $as_echo_n "checking for sincosf declaration... " >&6; }
31154 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31155 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31156 $as_echo_n "(cached) " >&6
31157 else
31158
31159
31160 ac_ext=cpp
31161 ac_cpp='$CXXCPP $CPPFLAGS'
31162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31165
31166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31167 /* end confdefs.h. */
31168 #include <math.h>
31169 int
31170 main ()
31171 {
31172 sincosf(0, 0, 0);
31173 ;
31174 return 0;
31175 }
31176 _ACEOF
31177 if ac_fn_cxx_try_compile "$LINENO"; then :
31178 glibcxx_cv_func_sincosf_use=yes
31179 else
31180 glibcxx_cv_func_sincosf_use=no
31181 fi
31182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31183 ac_ext=c
31184 ac_cpp='$CPP $CPPFLAGS'
31185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31188
31189
31190 fi
31191
31192 fi
31193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31194 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31195
31196 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31197 for ac_func in sincosf
31198 do :
31199 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31200 if test "x$ac_cv_func_sincosf" = x""yes; then :
31201 cat >>confdefs.h <<_ACEOF
31202 #define HAVE_SINCOSF 1
31203 _ACEOF
31204
31205 fi
31206 done
31207
31208 else
31209
31210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31211 $as_echo_n "checking for _sincosf declaration... " >&6; }
31212 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31213 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31214 $as_echo_n "(cached) " >&6
31215 else
31216
31217
31218 ac_ext=cpp
31219 ac_cpp='$CXXCPP $CPPFLAGS'
31220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31223
31224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31225 /* end confdefs.h. */
31226 #include <math.h>
31227 int
31228 main ()
31229 {
31230 _sincosf(0, 0, 0);
31231 ;
31232 return 0;
31233 }
31234 _ACEOF
31235 if ac_fn_cxx_try_compile "$LINENO"; then :
31236 glibcxx_cv_func__sincosf_use=yes
31237 else
31238 glibcxx_cv_func__sincosf_use=no
31239 fi
31240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31241 ac_ext=c
31242 ac_cpp='$CPP $CPPFLAGS'
31243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31246
31247
31248 fi
31249
31250 fi
31251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31252 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31253
31254 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31255 for ac_func in _sincosf
31256 do :
31257 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31258 if test "x$ac_cv_func__sincosf" = x""yes; then :
31259 cat >>confdefs.h <<_ACEOF
31260 #define HAVE__SINCOSF 1
31261 _ACEOF
31262
31263 fi
31264 done
31265
31266 fi
31267 fi
31268
31269
31270
31271
31272
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31274 $as_echo_n "checking for finitef declaration... " >&6; }
31275 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31276 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31277 $as_echo_n "(cached) " >&6
31278 else
31279
31280
31281 ac_ext=cpp
31282 ac_cpp='$CXXCPP $CPPFLAGS'
31283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31286
31287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31288 /* end confdefs.h. */
31289 #include <math.h>
31290 #ifdef HAVE_IEEEFP_H
31291 #include <ieeefp.h>
31292 #endif
31293
31294 int
31295 main ()
31296 {
31297 finitef(0);
31298 ;
31299 return 0;
31300 }
31301 _ACEOF
31302 if ac_fn_cxx_try_compile "$LINENO"; then :
31303 glibcxx_cv_func_finitef_use=yes
31304 else
31305 glibcxx_cv_func_finitef_use=no
31306 fi
31307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31308 ac_ext=c
31309 ac_cpp='$CPP $CPPFLAGS'
31310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31313
31314
31315 fi
31316
31317 fi
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31319 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31320
31321 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31322 for ac_func in finitef
31323 do :
31324 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31325 if test "x$ac_cv_func_finitef" = x""yes; then :
31326 cat >>confdefs.h <<_ACEOF
31327 #define HAVE_FINITEF 1
31328 _ACEOF
31329
31330 fi
31331 done
31332
31333 else
31334
31335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31336 $as_echo_n "checking for _finitef declaration... " >&6; }
31337 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31338 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31339 $as_echo_n "(cached) " >&6
31340 else
31341
31342
31343 ac_ext=cpp
31344 ac_cpp='$CXXCPP $CPPFLAGS'
31345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31348
31349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31350 /* end confdefs.h. */
31351 #include <math.h>
31352 #ifdef HAVE_IEEEFP_H
31353 #include <ieeefp.h>
31354 #endif
31355
31356 int
31357 main ()
31358 {
31359 _finitef(0);
31360 ;
31361 return 0;
31362 }
31363 _ACEOF
31364 if ac_fn_cxx_try_compile "$LINENO"; then :
31365 glibcxx_cv_func__finitef_use=yes
31366 else
31367 glibcxx_cv_func__finitef_use=no
31368 fi
31369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31370 ac_ext=c
31371 ac_cpp='$CPP $CPPFLAGS'
31372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31375
31376
31377 fi
31378
31379 fi
31380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31381 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31382
31383 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31384 for ac_func in _finitef
31385 do :
31386 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31387 if test "x$ac_cv_func__finitef" = x""yes; then :
31388 cat >>confdefs.h <<_ACEOF
31389 #define HAVE__FINITEF 1
31390 _ACEOF
31391
31392 fi
31393 done
31394
31395 fi
31396 fi
31397
31398
31399
31400
31401
31402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31403 $as_echo_n "checking for long double trig functions... " >&6; }
31404 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31405 $as_echo_n "(cached) " >&6
31406 else
31407
31408
31409 ac_ext=cpp
31410 ac_cpp='$CXXCPP $CPPFLAGS'
31411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31414
31415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31416 /* end confdefs.h. */
31417 #include <math.h>
31418 int
31419 main ()
31420 {
31421 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31422 ;
31423 return 0;
31424 }
31425 _ACEOF
31426 if ac_fn_cxx_try_compile "$LINENO"; then :
31427 glibcxx_cv_func_long_double_trig_use=yes
31428 else
31429 glibcxx_cv_func_long_double_trig_use=no
31430 fi
31431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31432 ac_ext=c
31433 ac_cpp='$CPP $CPPFLAGS'
31434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31437
31438 fi
31439
31440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31441 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31442 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31443 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31444 do :
31445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31447 eval as_val=\$$as_ac_var
31448 if test "x$as_val" = x""yes; then :
31449 cat >>confdefs.h <<_ACEOF
31450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31451 _ACEOF
31452
31453 fi
31454 done
31455
31456 else
31457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31458 $as_echo_n "checking for _long double trig functions... " >&6; }
31459 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31460 $as_echo_n "(cached) " >&6
31461 else
31462
31463
31464 ac_ext=cpp
31465 ac_cpp='$CXXCPP $CPPFLAGS'
31466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31469
31470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31471 /* end confdefs.h. */
31472 #include <math.h>
31473 int
31474 main ()
31475 {
31476 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31477 ;
31478 return 0;
31479 }
31480 _ACEOF
31481 if ac_fn_cxx_try_compile "$LINENO"; then :
31482 glibcxx_cv_func__long_double_trig_use=yes
31483 else
31484 glibcxx_cv_func__long_double_trig_use=no
31485 fi
31486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31487 ac_ext=c
31488 ac_cpp='$CPP $CPPFLAGS'
31489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31492
31493 fi
31494
31495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31496 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31497 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31498 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31499 do :
31500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31502 eval as_val=\$$as_ac_var
31503 if test "x$as_val" = x""yes; then :
31504 cat >>confdefs.h <<_ACEOF
31505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31506 _ACEOF
31507
31508 fi
31509 done
31510
31511 fi
31512 fi
31513
31514
31515
31516
31517
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31519 $as_echo_n "checking for long double round functions... " >&6; }
31520 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31521 $as_echo_n "(cached) " >&6
31522 else
31523
31524
31525 ac_ext=cpp
31526 ac_cpp='$CXXCPP $CPPFLAGS'
31527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31530
31531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31532 /* end confdefs.h. */
31533 #include <math.h>
31534 int
31535 main ()
31536 {
31537 ceill (0); floorl (0);
31538 ;
31539 return 0;
31540 }
31541 _ACEOF
31542 if ac_fn_cxx_try_compile "$LINENO"; then :
31543 glibcxx_cv_func_long_double_round_use=yes
31544 else
31545 glibcxx_cv_func_long_double_round_use=no
31546 fi
31547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31548 ac_ext=c
31549 ac_cpp='$CPP $CPPFLAGS'
31550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31553
31554 fi
31555
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31557 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31558 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31559 for ac_func in ceill floorl
31560 do :
31561 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31562 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31563 eval as_val=\$$as_ac_var
31564 if test "x$as_val" = x""yes; then :
31565 cat >>confdefs.h <<_ACEOF
31566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31567 _ACEOF
31568
31569 fi
31570 done
31571
31572 else
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31574 $as_echo_n "checking for _long double round functions... " >&6; }
31575 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31576 $as_echo_n "(cached) " >&6
31577 else
31578
31579
31580 ac_ext=cpp
31581 ac_cpp='$CXXCPP $CPPFLAGS'
31582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31585
31586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31587 /* end confdefs.h. */
31588 #include <math.h>
31589 int
31590 main ()
31591 {
31592 _ceill (0); _floorl (0);
31593 ;
31594 return 0;
31595 }
31596 _ACEOF
31597 if ac_fn_cxx_try_compile "$LINENO"; then :
31598 glibcxx_cv_func__long_double_round_use=yes
31599 else
31600 glibcxx_cv_func__long_double_round_use=no
31601 fi
31602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31603 ac_ext=c
31604 ac_cpp='$CPP $CPPFLAGS'
31605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31608
31609 fi
31610
31611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31612 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31613 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31614 for ac_func in _ceill _floorl
31615 do :
31616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31618 eval as_val=\$$as_ac_var
31619 if test "x$as_val" = x""yes; then :
31620 cat >>confdefs.h <<_ACEOF
31621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31622 _ACEOF
31623
31624 fi
31625 done
31626
31627 fi
31628 fi
31629
31630
31631
31632
31633
31634
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31636 $as_echo_n "checking for isnanl declaration... " >&6; }
31637 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31638 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31639 $as_echo_n "(cached) " >&6
31640 else
31641
31642
31643 ac_ext=cpp
31644 ac_cpp='$CXXCPP $CPPFLAGS'
31645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31648
31649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31650 /* end confdefs.h. */
31651 #include <math.h>
31652 #ifdef HAVE_IEEEFP_H
31653 #include <ieeefp.h>
31654 #endif
31655
31656 int
31657 main ()
31658 {
31659 isnanl(0);
31660 ;
31661 return 0;
31662 }
31663 _ACEOF
31664 if ac_fn_cxx_try_compile "$LINENO"; then :
31665 glibcxx_cv_func_isnanl_use=yes
31666 else
31667 glibcxx_cv_func_isnanl_use=no
31668 fi
31669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31670 ac_ext=c
31671 ac_cpp='$CPP $CPPFLAGS'
31672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31675
31676
31677 fi
31678
31679 fi
31680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31681 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31682
31683 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31684 for ac_func in isnanl
31685 do :
31686 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31687 if test "x$ac_cv_func_isnanl" = x""yes; then :
31688 cat >>confdefs.h <<_ACEOF
31689 #define HAVE_ISNANL 1
31690 _ACEOF
31691
31692 fi
31693 done
31694
31695 else
31696
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31698 $as_echo_n "checking for _isnanl declaration... " >&6; }
31699 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31700 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31701 $as_echo_n "(cached) " >&6
31702 else
31703
31704
31705 ac_ext=cpp
31706 ac_cpp='$CXXCPP $CPPFLAGS'
31707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31710
31711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31712 /* end confdefs.h. */
31713 #include <math.h>
31714 #ifdef HAVE_IEEEFP_H
31715 #include <ieeefp.h>
31716 #endif
31717
31718 int
31719 main ()
31720 {
31721 _isnanl(0);
31722 ;
31723 return 0;
31724 }
31725 _ACEOF
31726 if ac_fn_cxx_try_compile "$LINENO"; then :
31727 glibcxx_cv_func__isnanl_use=yes
31728 else
31729 glibcxx_cv_func__isnanl_use=no
31730 fi
31731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31732 ac_ext=c
31733 ac_cpp='$CPP $CPPFLAGS'
31734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31737
31738
31739 fi
31740
31741 fi
31742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31743 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31744
31745 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31746 for ac_func in _isnanl
31747 do :
31748 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31749 if test "x$ac_cv_func__isnanl" = x""yes; then :
31750 cat >>confdefs.h <<_ACEOF
31751 #define HAVE__ISNANL 1
31752 _ACEOF
31753
31754 fi
31755 done
31756
31757 fi
31758 fi
31759
31760
31761
31762
31763
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31765 $as_echo_n "checking for isinfl declaration... " >&6; }
31766 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31767 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31768 $as_echo_n "(cached) " >&6
31769 else
31770
31771
31772 ac_ext=cpp
31773 ac_cpp='$CXXCPP $CPPFLAGS'
31774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31777
31778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31779 /* end confdefs.h. */
31780 #include <math.h>
31781 #ifdef HAVE_IEEEFP_H
31782 #include <ieeefp.h>
31783 #endif
31784
31785 int
31786 main ()
31787 {
31788 isinfl(0);
31789 ;
31790 return 0;
31791 }
31792 _ACEOF
31793 if ac_fn_cxx_try_compile "$LINENO"; then :
31794 glibcxx_cv_func_isinfl_use=yes
31795 else
31796 glibcxx_cv_func_isinfl_use=no
31797 fi
31798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31799 ac_ext=c
31800 ac_cpp='$CPP $CPPFLAGS'
31801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31804
31805
31806 fi
31807
31808 fi
31809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31810 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31811
31812 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31813 for ac_func in isinfl
31814 do :
31815 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31816 if test "x$ac_cv_func_isinfl" = x""yes; then :
31817 cat >>confdefs.h <<_ACEOF
31818 #define HAVE_ISINFL 1
31819 _ACEOF
31820
31821 fi
31822 done
31823
31824 else
31825
31826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31827 $as_echo_n "checking for _isinfl declaration... " >&6; }
31828 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31829 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31830 $as_echo_n "(cached) " >&6
31831 else
31832
31833
31834 ac_ext=cpp
31835 ac_cpp='$CXXCPP $CPPFLAGS'
31836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31839
31840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31841 /* end confdefs.h. */
31842 #include <math.h>
31843 #ifdef HAVE_IEEEFP_H
31844 #include <ieeefp.h>
31845 #endif
31846
31847 int
31848 main ()
31849 {
31850 _isinfl(0);
31851 ;
31852 return 0;
31853 }
31854 _ACEOF
31855 if ac_fn_cxx_try_compile "$LINENO"; then :
31856 glibcxx_cv_func__isinfl_use=yes
31857 else
31858 glibcxx_cv_func__isinfl_use=no
31859 fi
31860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31861 ac_ext=c
31862 ac_cpp='$CPP $CPPFLAGS'
31863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31866
31867
31868 fi
31869
31870 fi
31871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31872 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31873
31874 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31875 for ac_func in _isinfl
31876 do :
31877 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31878 if test "x$ac_cv_func__isinfl" = x""yes; then :
31879 cat >>confdefs.h <<_ACEOF
31880 #define HAVE__ISINFL 1
31881 _ACEOF
31882
31883 fi
31884 done
31885
31886 fi
31887 fi
31888
31889
31890
31891
31892
31893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31894 $as_echo_n "checking for atan2l declaration... " >&6; }
31895 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31896 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31897 $as_echo_n "(cached) " >&6
31898 else
31899
31900
31901 ac_ext=cpp
31902 ac_cpp='$CXXCPP $CPPFLAGS'
31903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31906
31907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31908 /* end confdefs.h. */
31909 #include <math.h>
31910 int
31911 main ()
31912 {
31913 atan2l(0, 0);
31914 ;
31915 return 0;
31916 }
31917 _ACEOF
31918 if ac_fn_cxx_try_compile "$LINENO"; then :
31919 glibcxx_cv_func_atan2l_use=yes
31920 else
31921 glibcxx_cv_func_atan2l_use=no
31922 fi
31923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31924 ac_ext=c
31925 ac_cpp='$CPP $CPPFLAGS'
31926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31929
31930
31931 fi
31932
31933 fi
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31935 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31936
31937 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31938 for ac_func in atan2l
31939 do :
31940 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31941 if test "x$ac_cv_func_atan2l" = x""yes; then :
31942 cat >>confdefs.h <<_ACEOF
31943 #define HAVE_ATAN2L 1
31944 _ACEOF
31945
31946 fi
31947 done
31948
31949 else
31950
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31952 $as_echo_n "checking for _atan2l declaration... " >&6; }
31953 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31954 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31955 $as_echo_n "(cached) " >&6
31956 else
31957
31958
31959 ac_ext=cpp
31960 ac_cpp='$CXXCPP $CPPFLAGS'
31961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31964
31965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31966 /* end confdefs.h. */
31967 #include <math.h>
31968 int
31969 main ()
31970 {
31971 _atan2l(0, 0);
31972 ;
31973 return 0;
31974 }
31975 _ACEOF
31976 if ac_fn_cxx_try_compile "$LINENO"; then :
31977 glibcxx_cv_func__atan2l_use=yes
31978 else
31979 glibcxx_cv_func__atan2l_use=no
31980 fi
31981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31982 ac_ext=c
31983 ac_cpp='$CPP $CPPFLAGS'
31984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31987
31988
31989 fi
31990
31991 fi
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31993 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31994
31995 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31996 for ac_func in _atan2l
31997 do :
31998 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31999 if test "x$ac_cv_func__atan2l" = x""yes; then :
32000 cat >>confdefs.h <<_ACEOF
32001 #define HAVE__ATAN2L 1
32002 _ACEOF
32003
32004 fi
32005 done
32006
32007 fi
32008 fi
32009
32010
32011
32012
32013
32014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32015 $as_echo_n "checking for expl declaration... " >&6; }
32016 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32017 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32018 $as_echo_n "(cached) " >&6
32019 else
32020
32021
32022 ac_ext=cpp
32023 ac_cpp='$CXXCPP $CPPFLAGS'
32024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32027
32028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32029 /* end confdefs.h. */
32030 #include <math.h>
32031 #ifdef HAVE_IEEEFP_H
32032 #include <ieeefp.h>
32033 #endif
32034
32035 int
32036 main ()
32037 {
32038 expl(0);
32039 ;
32040 return 0;
32041 }
32042 _ACEOF
32043 if ac_fn_cxx_try_compile "$LINENO"; then :
32044 glibcxx_cv_func_expl_use=yes
32045 else
32046 glibcxx_cv_func_expl_use=no
32047 fi
32048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32049 ac_ext=c
32050 ac_cpp='$CPP $CPPFLAGS'
32051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32054
32055
32056 fi
32057
32058 fi
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32060 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32061
32062 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32063 for ac_func in expl
32064 do :
32065 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32066 if test "x$ac_cv_func_expl" = x""yes; then :
32067 cat >>confdefs.h <<_ACEOF
32068 #define HAVE_EXPL 1
32069 _ACEOF
32070
32071 fi
32072 done
32073
32074 else
32075
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32077 $as_echo_n "checking for _expl declaration... " >&6; }
32078 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32079 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32080 $as_echo_n "(cached) " >&6
32081 else
32082
32083
32084 ac_ext=cpp
32085 ac_cpp='$CXXCPP $CPPFLAGS'
32086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32089
32090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32091 /* end confdefs.h. */
32092 #include <math.h>
32093 #ifdef HAVE_IEEEFP_H
32094 #include <ieeefp.h>
32095 #endif
32096
32097 int
32098 main ()
32099 {
32100 _expl(0);
32101 ;
32102 return 0;
32103 }
32104 _ACEOF
32105 if ac_fn_cxx_try_compile "$LINENO"; then :
32106 glibcxx_cv_func__expl_use=yes
32107 else
32108 glibcxx_cv_func__expl_use=no
32109 fi
32110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32111 ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116
32117
32118 fi
32119
32120 fi
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32122 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32123
32124 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32125 for ac_func in _expl
32126 do :
32127 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32128 if test "x$ac_cv_func__expl" = x""yes; then :
32129 cat >>confdefs.h <<_ACEOF
32130 #define HAVE__EXPL 1
32131 _ACEOF
32132
32133 fi
32134 done
32135
32136 fi
32137 fi
32138
32139
32140
32141
32142
32143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32144 $as_echo_n "checking for fabsl declaration... " >&6; }
32145 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32146 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32147 $as_echo_n "(cached) " >&6
32148 else
32149
32150
32151 ac_ext=cpp
32152 ac_cpp='$CXXCPP $CPPFLAGS'
32153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32156
32157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32158 /* end confdefs.h. */
32159 #include <math.h>
32160 #ifdef HAVE_IEEEFP_H
32161 #include <ieeefp.h>
32162 #endif
32163
32164 int
32165 main ()
32166 {
32167 fabsl(0);
32168 ;
32169 return 0;
32170 }
32171 _ACEOF
32172 if ac_fn_cxx_try_compile "$LINENO"; then :
32173 glibcxx_cv_func_fabsl_use=yes
32174 else
32175 glibcxx_cv_func_fabsl_use=no
32176 fi
32177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32178 ac_ext=c
32179 ac_cpp='$CPP $CPPFLAGS'
32180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32183
32184
32185 fi
32186
32187 fi
32188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32189 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32190
32191 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32192 for ac_func in fabsl
32193 do :
32194 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32195 if test "x$ac_cv_func_fabsl" = x""yes; then :
32196 cat >>confdefs.h <<_ACEOF
32197 #define HAVE_FABSL 1
32198 _ACEOF
32199
32200 fi
32201 done
32202
32203 else
32204
32205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32206 $as_echo_n "checking for _fabsl declaration... " >&6; }
32207 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32208 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32209 $as_echo_n "(cached) " >&6
32210 else
32211
32212
32213 ac_ext=cpp
32214 ac_cpp='$CXXCPP $CPPFLAGS'
32215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32218
32219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32220 /* end confdefs.h. */
32221 #include <math.h>
32222 #ifdef HAVE_IEEEFP_H
32223 #include <ieeefp.h>
32224 #endif
32225
32226 int
32227 main ()
32228 {
32229 _fabsl(0);
32230 ;
32231 return 0;
32232 }
32233 _ACEOF
32234 if ac_fn_cxx_try_compile "$LINENO"; then :
32235 glibcxx_cv_func__fabsl_use=yes
32236 else
32237 glibcxx_cv_func__fabsl_use=no
32238 fi
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245
32246
32247 fi
32248
32249 fi
32250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32251 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32252
32253 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32254 for ac_func in _fabsl
32255 do :
32256 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32257 if test "x$ac_cv_func__fabsl" = x""yes; then :
32258 cat >>confdefs.h <<_ACEOF
32259 #define HAVE__FABSL 1
32260 _ACEOF
32261
32262 fi
32263 done
32264
32265 fi
32266 fi
32267
32268
32269
32270
32271
32272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32273 $as_echo_n "checking for fmodl declaration... " >&6; }
32274 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32275 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32276 $as_echo_n "(cached) " >&6
32277 else
32278
32279
32280 ac_ext=cpp
32281 ac_cpp='$CXXCPP $CPPFLAGS'
32282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32285
32286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32287 /* end confdefs.h. */
32288 #include <math.h>
32289 int
32290 main ()
32291 {
32292 fmodl(0, 0);
32293 ;
32294 return 0;
32295 }
32296 _ACEOF
32297 if ac_fn_cxx_try_compile "$LINENO"; then :
32298 glibcxx_cv_func_fmodl_use=yes
32299 else
32300 glibcxx_cv_func_fmodl_use=no
32301 fi
32302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32303 ac_ext=c
32304 ac_cpp='$CPP $CPPFLAGS'
32305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32308
32309
32310 fi
32311
32312 fi
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32314 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32315
32316 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32317 for ac_func in fmodl
32318 do :
32319 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32320 if test "x$ac_cv_func_fmodl" = x""yes; then :
32321 cat >>confdefs.h <<_ACEOF
32322 #define HAVE_FMODL 1
32323 _ACEOF
32324
32325 fi
32326 done
32327
32328 else
32329
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32331 $as_echo_n "checking for _fmodl declaration... " >&6; }
32332 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32333 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32334 $as_echo_n "(cached) " >&6
32335 else
32336
32337
32338 ac_ext=cpp
32339 ac_cpp='$CXXCPP $CPPFLAGS'
32340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32343
32344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32345 /* end confdefs.h. */
32346 #include <math.h>
32347 int
32348 main ()
32349 {
32350 _fmodl(0, 0);
32351 ;
32352 return 0;
32353 }
32354 _ACEOF
32355 if ac_fn_cxx_try_compile "$LINENO"; then :
32356 glibcxx_cv_func__fmodl_use=yes
32357 else
32358 glibcxx_cv_func__fmodl_use=no
32359 fi
32360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32361 ac_ext=c
32362 ac_cpp='$CPP $CPPFLAGS'
32363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32366
32367
32368 fi
32369
32370 fi
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32372 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32373
32374 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32375 for ac_func in _fmodl
32376 do :
32377 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32378 if test "x$ac_cv_func__fmodl" = x""yes; then :
32379 cat >>confdefs.h <<_ACEOF
32380 #define HAVE__FMODL 1
32381 _ACEOF
32382
32383 fi
32384 done
32385
32386 fi
32387 fi
32388
32389
32390
32391
32392
32393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32394 $as_echo_n "checking for frexpl declaration... " >&6; }
32395 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32396 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32397 $as_echo_n "(cached) " >&6
32398 else
32399
32400
32401 ac_ext=cpp
32402 ac_cpp='$CXXCPP $CPPFLAGS'
32403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32406
32407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32408 /* end confdefs.h. */
32409 #include <math.h>
32410 int
32411 main ()
32412 {
32413 frexpl(0, 0);
32414 ;
32415 return 0;
32416 }
32417 _ACEOF
32418 if ac_fn_cxx_try_compile "$LINENO"; then :
32419 glibcxx_cv_func_frexpl_use=yes
32420 else
32421 glibcxx_cv_func_frexpl_use=no
32422 fi
32423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32424 ac_ext=c
32425 ac_cpp='$CPP $CPPFLAGS'
32426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32429
32430
32431 fi
32432
32433 fi
32434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32435 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32436
32437 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32438 for ac_func in frexpl
32439 do :
32440 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32441 if test "x$ac_cv_func_frexpl" = x""yes; then :
32442 cat >>confdefs.h <<_ACEOF
32443 #define HAVE_FREXPL 1
32444 _ACEOF
32445
32446 fi
32447 done
32448
32449 else
32450
32451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32452 $as_echo_n "checking for _frexpl declaration... " >&6; }
32453 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32454 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32455 $as_echo_n "(cached) " >&6
32456 else
32457
32458
32459 ac_ext=cpp
32460 ac_cpp='$CXXCPP $CPPFLAGS'
32461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32464
32465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32466 /* end confdefs.h. */
32467 #include <math.h>
32468 int
32469 main ()
32470 {
32471 _frexpl(0, 0);
32472 ;
32473 return 0;
32474 }
32475 _ACEOF
32476 if ac_fn_cxx_try_compile "$LINENO"; then :
32477 glibcxx_cv_func__frexpl_use=yes
32478 else
32479 glibcxx_cv_func__frexpl_use=no
32480 fi
32481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32482 ac_ext=c
32483 ac_cpp='$CPP $CPPFLAGS'
32484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32487
32488
32489 fi
32490
32491 fi
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32493 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32494
32495 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32496 for ac_func in _frexpl
32497 do :
32498 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32499 if test "x$ac_cv_func__frexpl" = x""yes; then :
32500 cat >>confdefs.h <<_ACEOF
32501 #define HAVE__FREXPL 1
32502 _ACEOF
32503
32504 fi
32505 done
32506
32507 fi
32508 fi
32509
32510
32511
32512
32513
32514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32515 $as_echo_n "checking for hypotl declaration... " >&6; }
32516 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32517 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32518 $as_echo_n "(cached) " >&6
32519 else
32520
32521
32522 ac_ext=cpp
32523 ac_cpp='$CXXCPP $CPPFLAGS'
32524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32527
32528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32529 /* end confdefs.h. */
32530 #include <math.h>
32531 int
32532 main ()
32533 {
32534 hypotl(0, 0);
32535 ;
32536 return 0;
32537 }
32538 _ACEOF
32539 if ac_fn_cxx_try_compile "$LINENO"; then :
32540 glibcxx_cv_func_hypotl_use=yes
32541 else
32542 glibcxx_cv_func_hypotl_use=no
32543 fi
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545 ac_ext=c
32546 ac_cpp='$CPP $CPPFLAGS'
32547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32550
32551
32552 fi
32553
32554 fi
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32556 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32557
32558 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32559 for ac_func in hypotl
32560 do :
32561 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32562 if test "x$ac_cv_func_hypotl" = x""yes; then :
32563 cat >>confdefs.h <<_ACEOF
32564 #define HAVE_HYPOTL 1
32565 _ACEOF
32566
32567 fi
32568 done
32569
32570 else
32571
32572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32573 $as_echo_n "checking for _hypotl declaration... " >&6; }
32574 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32575 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32576 $as_echo_n "(cached) " >&6
32577 else
32578
32579
32580 ac_ext=cpp
32581 ac_cpp='$CXXCPP $CPPFLAGS'
32582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32585
32586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32587 /* end confdefs.h. */
32588 #include <math.h>
32589 int
32590 main ()
32591 {
32592 _hypotl(0, 0);
32593 ;
32594 return 0;
32595 }
32596 _ACEOF
32597 if ac_fn_cxx_try_compile "$LINENO"; then :
32598 glibcxx_cv_func__hypotl_use=yes
32599 else
32600 glibcxx_cv_func__hypotl_use=no
32601 fi
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603 ac_ext=c
32604 ac_cpp='$CPP $CPPFLAGS'
32605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32608
32609
32610 fi
32611
32612 fi
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32614 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32615
32616 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32617 for ac_func in _hypotl
32618 do :
32619 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32620 if test "x$ac_cv_func__hypotl" = x""yes; then :
32621 cat >>confdefs.h <<_ACEOF
32622 #define HAVE__HYPOTL 1
32623 _ACEOF
32624
32625 fi
32626 done
32627
32628 fi
32629 fi
32630
32631
32632
32633
32634
32635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32636 $as_echo_n "checking for ldexpl declaration... " >&6; }
32637 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32638 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32639 $as_echo_n "(cached) " >&6
32640 else
32641
32642
32643 ac_ext=cpp
32644 ac_cpp='$CXXCPP $CPPFLAGS'
32645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32648
32649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32650 /* end confdefs.h. */
32651 #include <math.h>
32652 int
32653 main ()
32654 {
32655 ldexpl(0, 0);
32656 ;
32657 return 0;
32658 }
32659 _ACEOF
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661 glibcxx_cv_func_ldexpl_use=yes
32662 else
32663 glibcxx_cv_func_ldexpl_use=no
32664 fi
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32666 ac_ext=c
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32671
32672
32673 fi
32674
32675 fi
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32677 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32678
32679 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32680 for ac_func in ldexpl
32681 do :
32682 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32683 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE_LDEXPL 1
32686 _ACEOF
32687
32688 fi
32689 done
32690
32691 else
32692
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32694 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32695 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32696 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32697 $as_echo_n "(cached) " >&6
32698 else
32699
32700
32701 ac_ext=cpp
32702 ac_cpp='$CXXCPP $CPPFLAGS'
32703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32706
32707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32708 /* end confdefs.h. */
32709 #include <math.h>
32710 int
32711 main ()
32712 {
32713 _ldexpl(0, 0);
32714 ;
32715 return 0;
32716 }
32717 _ACEOF
32718 if ac_fn_cxx_try_compile "$LINENO"; then :
32719 glibcxx_cv_func__ldexpl_use=yes
32720 else
32721 glibcxx_cv_func__ldexpl_use=no
32722 fi
32723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32724 ac_ext=c
32725 ac_cpp='$CPP $CPPFLAGS'
32726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32729
32730
32731 fi
32732
32733 fi
32734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32735 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32736
32737 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32738 for ac_func in _ldexpl
32739 do :
32740 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32741 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32742 cat >>confdefs.h <<_ACEOF
32743 #define HAVE__LDEXPL 1
32744 _ACEOF
32745
32746 fi
32747 done
32748
32749 fi
32750 fi
32751
32752
32753
32754
32755
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32757 $as_echo_n "checking for logl declaration... " >&6; }
32758 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32759 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32760 $as_echo_n "(cached) " >&6
32761 else
32762
32763
32764 ac_ext=cpp
32765 ac_cpp='$CXXCPP $CPPFLAGS'
32766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32769
32770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32771 /* end confdefs.h. */
32772 #include <math.h>
32773 #ifdef HAVE_IEEEFP_H
32774 #include <ieeefp.h>
32775 #endif
32776
32777 int
32778 main ()
32779 {
32780 logl(0);
32781 ;
32782 return 0;
32783 }
32784 _ACEOF
32785 if ac_fn_cxx_try_compile "$LINENO"; then :
32786 glibcxx_cv_func_logl_use=yes
32787 else
32788 glibcxx_cv_func_logl_use=no
32789 fi
32790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32791 ac_ext=c
32792 ac_cpp='$CPP $CPPFLAGS'
32793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32796
32797
32798 fi
32799
32800 fi
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32802 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32803
32804 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32805 for ac_func in logl
32806 do :
32807 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32808 if test "x$ac_cv_func_logl" = x""yes; then :
32809 cat >>confdefs.h <<_ACEOF
32810 #define HAVE_LOGL 1
32811 _ACEOF
32812
32813 fi
32814 done
32815
32816 else
32817
32818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32819 $as_echo_n "checking for _logl declaration... " >&6; }
32820 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32821 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32822 $as_echo_n "(cached) " >&6
32823 else
32824
32825
32826 ac_ext=cpp
32827 ac_cpp='$CXXCPP $CPPFLAGS'
32828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32831
32832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32833 /* end confdefs.h. */
32834 #include <math.h>
32835 #ifdef HAVE_IEEEFP_H
32836 #include <ieeefp.h>
32837 #endif
32838
32839 int
32840 main ()
32841 {
32842 _logl(0);
32843 ;
32844 return 0;
32845 }
32846 _ACEOF
32847 if ac_fn_cxx_try_compile "$LINENO"; then :
32848 glibcxx_cv_func__logl_use=yes
32849 else
32850 glibcxx_cv_func__logl_use=no
32851 fi
32852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32853 ac_ext=c
32854 ac_cpp='$CPP $CPPFLAGS'
32855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32858
32859
32860 fi
32861
32862 fi
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32864 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32865
32866 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32867 for ac_func in _logl
32868 do :
32869 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32870 if test "x$ac_cv_func__logl" = x""yes; then :
32871 cat >>confdefs.h <<_ACEOF
32872 #define HAVE__LOGL 1
32873 _ACEOF
32874
32875 fi
32876 done
32877
32878 fi
32879 fi
32880
32881
32882
32883
32884
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32886 $as_echo_n "checking for log10l declaration... " >&6; }
32887 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32888 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32889 $as_echo_n "(cached) " >&6
32890 else
32891
32892
32893 ac_ext=cpp
32894 ac_cpp='$CXXCPP $CPPFLAGS'
32895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32898
32899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32900 /* end confdefs.h. */
32901 #include <math.h>
32902 #ifdef HAVE_IEEEFP_H
32903 #include <ieeefp.h>
32904 #endif
32905
32906 int
32907 main ()
32908 {
32909 log10l(0);
32910 ;
32911 return 0;
32912 }
32913 _ACEOF
32914 if ac_fn_cxx_try_compile "$LINENO"; then :
32915 glibcxx_cv_func_log10l_use=yes
32916 else
32917 glibcxx_cv_func_log10l_use=no
32918 fi
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920 ac_ext=c
32921 ac_cpp='$CPP $CPPFLAGS'
32922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32925
32926
32927 fi
32928
32929 fi
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32931 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32932
32933 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32934 for ac_func in log10l
32935 do :
32936 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32937 if test "x$ac_cv_func_log10l" = x""yes; then :
32938 cat >>confdefs.h <<_ACEOF
32939 #define HAVE_LOG10L 1
32940 _ACEOF
32941
32942 fi
32943 done
32944
32945 else
32946
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32948 $as_echo_n "checking for _log10l declaration... " >&6; }
32949 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32950 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32951 $as_echo_n "(cached) " >&6
32952 else
32953
32954
32955 ac_ext=cpp
32956 ac_cpp='$CXXCPP $CPPFLAGS'
32957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32960
32961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32962 /* end confdefs.h. */
32963 #include <math.h>
32964 #ifdef HAVE_IEEEFP_H
32965 #include <ieeefp.h>
32966 #endif
32967
32968 int
32969 main ()
32970 {
32971 _log10l(0);
32972 ;
32973 return 0;
32974 }
32975 _ACEOF
32976 if ac_fn_cxx_try_compile "$LINENO"; then :
32977 glibcxx_cv_func__log10l_use=yes
32978 else
32979 glibcxx_cv_func__log10l_use=no
32980 fi
32981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982 ac_ext=c
32983 ac_cpp='$CPP $CPPFLAGS'
32984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32987
32988
32989 fi
32990
32991 fi
32992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32993 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32994
32995 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32996 for ac_func in _log10l
32997 do :
32998 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32999 if test "x$ac_cv_func__log10l" = x""yes; then :
33000 cat >>confdefs.h <<_ACEOF
33001 #define HAVE__LOG10L 1
33002 _ACEOF
33003
33004 fi
33005 done
33006
33007 fi
33008 fi
33009
33010
33011
33012
33013
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33015 $as_echo_n "checking for modfl declaration... " >&6; }
33016 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33017 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33018 $as_echo_n "(cached) " >&6
33019 else
33020
33021
33022 ac_ext=cpp
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33027
33028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h. */
33030 #include <math.h>
33031 int
33032 main ()
33033 {
33034 modfl(0, 0);
33035 ;
33036 return 0;
33037 }
33038 _ACEOF
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func_modfl_use=yes
33041 else
33042 glibcxx_cv_func_modfl_use=no
33043 fi
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33050
33051
33052 fi
33053
33054 fi
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33056 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33057
33058 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33059 for ac_func in modfl
33060 do :
33061 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33062 if test "x$ac_cv_func_modfl" = x""yes; then :
33063 cat >>confdefs.h <<_ACEOF
33064 #define HAVE_MODFL 1
33065 _ACEOF
33066
33067 fi
33068 done
33069
33070 else
33071
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33073 $as_echo_n "checking for _modfl declaration... " >&6; }
33074 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33075 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33076 $as_echo_n "(cached) " >&6
33077 else
33078
33079
33080 ac_ext=cpp
33081 ac_cpp='$CXXCPP $CPPFLAGS'
33082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33085
33086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33087 /* end confdefs.h. */
33088 #include <math.h>
33089 int
33090 main ()
33091 {
33092 _modfl(0, 0);
33093 ;
33094 return 0;
33095 }
33096 _ACEOF
33097 if ac_fn_cxx_try_compile "$LINENO"; then :
33098 glibcxx_cv_func__modfl_use=yes
33099 else
33100 glibcxx_cv_func__modfl_use=no
33101 fi
33102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33103 ac_ext=c
33104 ac_cpp='$CPP $CPPFLAGS'
33105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33108
33109
33110 fi
33111
33112 fi
33113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33114 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33115
33116 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33117 for ac_func in _modfl
33118 do :
33119 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33120 if test "x$ac_cv_func__modfl" = x""yes; then :
33121 cat >>confdefs.h <<_ACEOF
33122 #define HAVE__MODFL 1
33123 _ACEOF
33124
33125 fi
33126 done
33127
33128 fi
33129 fi
33130
33131
33132
33133
33134
33135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33136 $as_echo_n "checking for powl declaration... " >&6; }
33137 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33138 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33139 $as_echo_n "(cached) " >&6
33140 else
33141
33142
33143 ac_ext=cpp
33144 ac_cpp='$CXXCPP $CPPFLAGS'
33145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33148
33149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33150 /* end confdefs.h. */
33151 #include <math.h>
33152 int
33153 main ()
33154 {
33155 powl(0, 0);
33156 ;
33157 return 0;
33158 }
33159 _ACEOF
33160 if ac_fn_cxx_try_compile "$LINENO"; then :
33161 glibcxx_cv_func_powl_use=yes
33162 else
33163 glibcxx_cv_func_powl_use=no
33164 fi
33165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33166 ac_ext=c
33167 ac_cpp='$CPP $CPPFLAGS'
33168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33171
33172
33173 fi
33174
33175 fi
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33177 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33178
33179 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33180 for ac_func in powl
33181 do :
33182 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33183 if test "x$ac_cv_func_powl" = x""yes; then :
33184 cat >>confdefs.h <<_ACEOF
33185 #define HAVE_POWL 1
33186 _ACEOF
33187
33188 fi
33189 done
33190
33191 else
33192
33193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33194 $as_echo_n "checking for _powl declaration... " >&6; }
33195 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33196 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33197 $as_echo_n "(cached) " >&6
33198 else
33199
33200
33201 ac_ext=cpp
33202 ac_cpp='$CXXCPP $CPPFLAGS'
33203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33206
33207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33208 /* end confdefs.h. */
33209 #include <math.h>
33210 int
33211 main ()
33212 {
33213 _powl(0, 0);
33214 ;
33215 return 0;
33216 }
33217 _ACEOF
33218 if ac_fn_cxx_try_compile "$LINENO"; then :
33219 glibcxx_cv_func__powl_use=yes
33220 else
33221 glibcxx_cv_func__powl_use=no
33222 fi
33223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33224 ac_ext=c
33225 ac_cpp='$CPP $CPPFLAGS'
33226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33229
33230
33231 fi
33232
33233 fi
33234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33235 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33236
33237 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33238 for ac_func in _powl
33239 do :
33240 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33241 if test "x$ac_cv_func__powl" = x""yes; then :
33242 cat >>confdefs.h <<_ACEOF
33243 #define HAVE__POWL 1
33244 _ACEOF
33245
33246 fi
33247 done
33248
33249 fi
33250 fi
33251
33252
33253
33254
33255
33256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33257 $as_echo_n "checking for sqrtl declaration... " >&6; }
33258 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33259 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33260 $as_echo_n "(cached) " >&6
33261 else
33262
33263
33264 ac_ext=cpp
33265 ac_cpp='$CXXCPP $CPPFLAGS'
33266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33269
33270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33271 /* end confdefs.h. */
33272 #include <math.h>
33273 #ifdef HAVE_IEEEFP_H
33274 #include <ieeefp.h>
33275 #endif
33276
33277 int
33278 main ()
33279 {
33280 sqrtl(0);
33281 ;
33282 return 0;
33283 }
33284 _ACEOF
33285 if ac_fn_cxx_try_compile "$LINENO"; then :
33286 glibcxx_cv_func_sqrtl_use=yes
33287 else
33288 glibcxx_cv_func_sqrtl_use=no
33289 fi
33290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33291 ac_ext=c
33292 ac_cpp='$CPP $CPPFLAGS'
33293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33296
33297
33298 fi
33299
33300 fi
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33302 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33303
33304 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33305 for ac_func in sqrtl
33306 do :
33307 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33308 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33309 cat >>confdefs.h <<_ACEOF
33310 #define HAVE_SQRTL 1
33311 _ACEOF
33312
33313 fi
33314 done
33315
33316 else
33317
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33319 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33320 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33321 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33322 $as_echo_n "(cached) " >&6
33323 else
33324
33325
33326 ac_ext=cpp
33327 ac_cpp='$CXXCPP $CPPFLAGS'
33328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33331
33332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33333 /* end confdefs.h. */
33334 #include <math.h>
33335 #ifdef HAVE_IEEEFP_H
33336 #include <ieeefp.h>
33337 #endif
33338
33339 int
33340 main ()
33341 {
33342 _sqrtl(0);
33343 ;
33344 return 0;
33345 }
33346 _ACEOF
33347 if ac_fn_cxx_try_compile "$LINENO"; then :
33348 glibcxx_cv_func__sqrtl_use=yes
33349 else
33350 glibcxx_cv_func__sqrtl_use=no
33351 fi
33352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33353 ac_ext=c
33354 ac_cpp='$CPP $CPPFLAGS'
33355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33358
33359
33360 fi
33361
33362 fi
33363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33364 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33365
33366 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33367 for ac_func in _sqrtl
33368 do :
33369 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33370 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33371 cat >>confdefs.h <<_ACEOF
33372 #define HAVE__SQRTL 1
33373 _ACEOF
33374
33375 fi
33376 done
33377
33378 fi
33379 fi
33380
33381
33382
33383
33384
33385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33386 $as_echo_n "checking for sincosl declaration... " >&6; }
33387 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33388 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33389 $as_echo_n "(cached) " >&6
33390 else
33391
33392
33393 ac_ext=cpp
33394 ac_cpp='$CXXCPP $CPPFLAGS'
33395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33398
33399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33400 /* end confdefs.h. */
33401 #include <math.h>
33402 int
33403 main ()
33404 {
33405 sincosl(0, 0, 0);
33406 ;
33407 return 0;
33408 }
33409 _ACEOF
33410 if ac_fn_cxx_try_compile "$LINENO"; then :
33411 glibcxx_cv_func_sincosl_use=yes
33412 else
33413 glibcxx_cv_func_sincosl_use=no
33414 fi
33415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33416 ac_ext=c
33417 ac_cpp='$CPP $CPPFLAGS'
33418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33421
33422
33423 fi
33424
33425 fi
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33427 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33428
33429 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33430 for ac_func in sincosl
33431 do :
33432 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33433 if test "x$ac_cv_func_sincosl" = x""yes; then :
33434 cat >>confdefs.h <<_ACEOF
33435 #define HAVE_SINCOSL 1
33436 _ACEOF
33437
33438 fi
33439 done
33440
33441 else
33442
33443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33444 $as_echo_n "checking for _sincosl declaration... " >&6; }
33445 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33446 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33447 $as_echo_n "(cached) " >&6
33448 else
33449
33450
33451 ac_ext=cpp
33452 ac_cpp='$CXXCPP $CPPFLAGS'
33453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33456
33457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33458 /* end confdefs.h. */
33459 #include <math.h>
33460 int
33461 main ()
33462 {
33463 _sincosl(0, 0, 0);
33464 ;
33465 return 0;
33466 }
33467 _ACEOF
33468 if ac_fn_cxx_try_compile "$LINENO"; then :
33469 glibcxx_cv_func__sincosl_use=yes
33470 else
33471 glibcxx_cv_func__sincosl_use=no
33472 fi
33473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33474 ac_ext=c
33475 ac_cpp='$CPP $CPPFLAGS'
33476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33479
33480
33481 fi
33482
33483 fi
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33485 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33486
33487 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33488 for ac_func in _sincosl
33489 do :
33490 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33491 if test "x$ac_cv_func__sincosl" = x""yes; then :
33492 cat >>confdefs.h <<_ACEOF
33493 #define HAVE__SINCOSL 1
33494 _ACEOF
33495
33496 fi
33497 done
33498
33499 fi
33500 fi
33501
33502
33503
33504
33505
33506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33507 $as_echo_n "checking for finitel declaration... " >&6; }
33508 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33509 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33510 $as_echo_n "(cached) " >&6
33511 else
33512
33513
33514 ac_ext=cpp
33515 ac_cpp='$CXXCPP $CPPFLAGS'
33516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33519
33520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33521 /* end confdefs.h. */
33522 #include <math.h>
33523 #ifdef HAVE_IEEEFP_H
33524 #include <ieeefp.h>
33525 #endif
33526
33527 int
33528 main ()
33529 {
33530 finitel(0);
33531 ;
33532 return 0;
33533 }
33534 _ACEOF
33535 if ac_fn_cxx_try_compile "$LINENO"; then :
33536 glibcxx_cv_func_finitel_use=yes
33537 else
33538 glibcxx_cv_func_finitel_use=no
33539 fi
33540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33541 ac_ext=c
33542 ac_cpp='$CPP $CPPFLAGS'
33543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33546
33547
33548 fi
33549
33550 fi
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33552 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33553
33554 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33555 for ac_func in finitel
33556 do :
33557 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33558 if test "x$ac_cv_func_finitel" = x""yes; then :
33559 cat >>confdefs.h <<_ACEOF
33560 #define HAVE_FINITEL 1
33561 _ACEOF
33562
33563 fi
33564 done
33565
33566 else
33567
33568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33569 $as_echo_n "checking for _finitel declaration... " >&6; }
33570 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33571 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33572 $as_echo_n "(cached) " >&6
33573 else
33574
33575
33576 ac_ext=cpp
33577 ac_cpp='$CXXCPP $CPPFLAGS'
33578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33581
33582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33583 /* end confdefs.h. */
33584 #include <math.h>
33585 #ifdef HAVE_IEEEFP_H
33586 #include <ieeefp.h>
33587 #endif
33588
33589 int
33590 main ()
33591 {
33592 _finitel(0);
33593 ;
33594 return 0;
33595 }
33596 _ACEOF
33597 if ac_fn_cxx_try_compile "$LINENO"; then :
33598 glibcxx_cv_func__finitel_use=yes
33599 else
33600 glibcxx_cv_func__finitel_use=no
33601 fi
33602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33603 ac_ext=c
33604 ac_cpp='$CPP $CPPFLAGS'
33605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33608
33609
33610 fi
33611
33612 fi
33613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33614 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33615
33616 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33617 for ac_func in _finitel
33618 do :
33619 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33620 if test "x$ac_cv_func__finitel" = x""yes; then :
33621 cat >>confdefs.h <<_ACEOF
33622 #define HAVE__FINITEL 1
33623 _ACEOF
33624
33625 fi
33626 done
33627
33628 fi
33629 fi
33630
33631
33632
33633
33634 LIBS="$ac_save_LIBS"
33635 CXXFLAGS="$ac_save_CXXFLAGS"
33636
33637
33638 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33639 ac_save_CXXFLAGS="$CXXFLAGS"
33640 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33641
33642
33643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33644 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33645 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33646 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33647 $as_echo_n "(cached) " >&6
33648 else
33649
33650
33651 ac_ext=cpp
33652 ac_cpp='$CXXCPP $CPPFLAGS'
33653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33656
33657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33658 /* end confdefs.h. */
33659 #include <stdlib.h>
33660 int
33661 main ()
33662 {
33663 at_quick_exit(0);
33664 ;
33665 return 0;
33666 }
33667 _ACEOF
33668 if ac_fn_cxx_try_compile "$LINENO"; then :
33669 glibcxx_cv_func_at_quick_exit_use=yes
33670 else
33671 glibcxx_cv_func_at_quick_exit_use=no
33672 fi
33673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33674 ac_ext=c
33675 ac_cpp='$CPP $CPPFLAGS'
33676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33679
33680
33681 fi
33682
33683 fi
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33685 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33686 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33687 for ac_func in at_quick_exit
33688 do :
33689 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33690 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33691 cat >>confdefs.h <<_ACEOF
33692 #define HAVE_AT_QUICK_EXIT 1
33693 _ACEOF
33694
33695 fi
33696 done
33697
33698 fi
33699
33700
33701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33702 $as_echo_n "checking for quick_exit declaration... " >&6; }
33703 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33704 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33705 $as_echo_n "(cached) " >&6
33706 else
33707
33708
33709 ac_ext=cpp
33710 ac_cpp='$CXXCPP $CPPFLAGS'
33711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33714
33715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33716 /* end confdefs.h. */
33717 #include <stdlib.h>
33718 int
33719 main ()
33720 {
33721 quick_exit(0);
33722 ;
33723 return 0;
33724 }
33725 _ACEOF
33726 if ac_fn_cxx_try_compile "$LINENO"; then :
33727 glibcxx_cv_func_quick_exit_use=yes
33728 else
33729 glibcxx_cv_func_quick_exit_use=no
33730 fi
33731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33732 ac_ext=c
33733 ac_cpp='$CPP $CPPFLAGS'
33734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33737
33738
33739 fi
33740
33741 fi
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33743 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33744 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33745 for ac_func in quick_exit
33746 do :
33747 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33748 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33749 cat >>confdefs.h <<_ACEOF
33750 #define HAVE_QUICK_EXIT 1
33751 _ACEOF
33752
33753 fi
33754 done
33755
33756 fi
33757
33758
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33760 $as_echo_n "checking for strtold declaration... " >&6; }
33761 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33762 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33763 $as_echo_n "(cached) " >&6
33764 else
33765
33766
33767 ac_ext=cpp
33768 ac_cpp='$CXXCPP $CPPFLAGS'
33769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33772
33773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33774 /* end confdefs.h. */
33775 #include <stdlib.h>
33776 int
33777 main ()
33778 {
33779 strtold(0, 0);
33780 ;
33781 return 0;
33782 }
33783 _ACEOF
33784 if ac_fn_cxx_try_compile "$LINENO"; then :
33785 glibcxx_cv_func_strtold_use=yes
33786 else
33787 glibcxx_cv_func_strtold_use=no
33788 fi
33789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33790 ac_ext=c
33791 ac_cpp='$CPP $CPPFLAGS'
33792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33795
33796
33797 fi
33798
33799 fi
33800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33801 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33802 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33803 for ac_func in strtold
33804 do :
33805 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33806 if test "x$ac_cv_func_strtold" = x""yes; then :
33807 cat >>confdefs.h <<_ACEOF
33808 #define HAVE_STRTOLD 1
33809 _ACEOF
33810
33811 fi
33812 done
33813
33814 fi
33815
33816
33817
33818
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33820 $as_echo_n "checking for strtof declaration... " >&6; }
33821 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33822 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33823 $as_echo_n "(cached) " >&6
33824 else
33825
33826
33827 ac_ext=cpp
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33832
33833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33834 /* end confdefs.h. */
33835 #include <stdlib.h>
33836 int
33837 main ()
33838 {
33839 strtof(0, 0);
33840 ;
33841 return 0;
33842 }
33843 _ACEOF
33844 if ac_fn_cxx_try_compile "$LINENO"; then :
33845 glibcxx_cv_func_strtof_use=yes
33846 else
33847 glibcxx_cv_func_strtof_use=no
33848 fi
33849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33850 ac_ext=c
33851 ac_cpp='$CPP $CPPFLAGS'
33852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33855
33856
33857 fi
33858
33859 fi
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33861 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33862 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33863 for ac_func in strtof
33864 do :
33865 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33866 if test "x$ac_cv_func_strtof" = x""yes; then :
33867 cat >>confdefs.h <<_ACEOF
33868 #define HAVE_STRTOF 1
33869 _ACEOF
33870
33871 fi
33872 done
33873
33874 fi
33875
33876
33877
33878
33879 CXXFLAGS="$ac_save_CXXFLAGS"
33880
33881
33882 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33883
33884 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33885
33886 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33887
33888 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33889
33890
33891 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33892
33893 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33894
33895 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33896
33897 ;;
33898
33899 spu-*-elf*)
33900
33901 # All these tests are for C++; save the language and the compiler flags.
33902 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33903 # found in GLIBCXX_CONFIGURE.
33904
33905 ac_ext=cpp
33906 ac_cpp='$CXXCPP $CPPFLAGS'
33907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33910
33911 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33912 ac_save_CXXFLAGS="$CXXFLAGS"
33913
33914 # Check for maintainer-mode bits.
33915 if test x"$USE_MAINTAINER_MODE" = xno; then
33916 WERROR=''
33917 else
33918 WERROR='-Werror'
33919 fi
33920
33921 # Check for -ffunction-sections -fdata-sections
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33923 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33924 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33926 /* end confdefs.h. */
33927 int foo; void bar() { };
33928 int
33929 main ()
33930 {
33931
33932 ;
33933 return 0;
33934 }
33935 _ACEOF
33936 if ac_fn_cxx_try_compile "$LINENO"; then :
33937 ac_fdsections=yes
33938 else
33939 ac_fdsections=no
33940 fi
33941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33942 if test "$ac_test_CXXFLAGS" = set; then
33943 CXXFLAGS="$ac_save_CXXFLAGS"
33944 else
33945 # this is the suspicious part
33946 CXXFLAGS=''
33947 fi
33948 if test x"$ac_fdsections" = x"yes"; then
33949 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33950 fi
33951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33952 $as_echo "$ac_fdsections" >&6; }
33953
33954 ac_ext=c
33955 ac_cpp='$CPP $CPPFLAGS'
33956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33959
33960
33961
33962
33963
33964 # If we're not using GNU ld, then there's no point in even trying these
33965 # tests. Check for that first. We should have already tested for gld
33966 # by now (in libtool), but require it now just to be safe...
33967 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33968 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33969
33970
33971
33972 # The name set by libtool depends on the version of libtool. Shame on us
33973 # for depending on an impl detail, but c'est la vie. Older versions used
33974 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33975 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33976 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33977 # set (hence we're using an older libtool), then set it.
33978 if test x${with_gnu_ld+set} != xset; then
33979 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33980 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33981 with_gnu_ld=no
33982 else
33983 with_gnu_ld=$ac_cv_prog_gnu_ld
33984 fi
33985 fi
33986
33987 # Start by getting the version number. I think the libtool test already
33988 # does some of this, but throws away the result.
33989 glibcxx_ld_is_gold=no
33990 if test x"$with_gnu_ld" = x"yes"; then
33991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33992 $as_echo_n "checking for ld version... " >&6; }
33993
33994 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33995 glibcxx_ld_is_gold=yes
33996 fi
33997 ldver=`$LD --version 2>/dev/null |
33998 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
33999
34000 glibcxx_gnu_ld_version=`echo $ldver | \
34001 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34003 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34004 fi
34005
34006 # Set --gc-sections.
34007 glibcxx_have_gc_sections=no
34008 if test "$glibcxx_ld_is_gold" = "yes"; then
34009 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34010 glibcxx_have_gc_sections=yes
34011 fi
34012 else
34013 glibcxx_gcsections_min_ld=21602
34014 if test x"$with_gnu_ld" = x"yes" &&
34015 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34016 glibcxx_have_gc_sections=yes
34017 fi
34018 fi
34019 if test "$glibcxx_have_gc_sections" = "yes"; then
34020 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34021 # NB: This flag only works reliably after 2.16.1. Configure tests
34022 # for this are difficult, so hard wire a value that should work.
34023
34024 ac_test_CFLAGS="${CFLAGS+set}"
34025 ac_save_CFLAGS="$CFLAGS"
34026 CFLAGS='-Wl,--gc-sections'
34027
34028 # Check for -Wl,--gc-sections
34029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34030 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34031 if test x$gcc_no_link = xyes; then
34032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34033 fi
34034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34035 /* end confdefs.h. */
34036 int one(void) { return 1; }
34037 int two(void) { return 2; }
34038
34039 int
34040 main ()
34041 {
34042 two();
34043 ;
34044 return 0;
34045 }
34046 _ACEOF
34047 if ac_fn_c_try_link "$LINENO"; then :
34048 ac_gcsections=yes
34049 else
34050 ac_gcsections=no
34051 fi
34052 rm -f core conftest.err conftest.$ac_objext \
34053 conftest$ac_exeext conftest.$ac_ext
34054 if test "$ac_gcsections" = "yes"; then
34055 rm -f conftest.c
34056 touch conftest.c
34057 if $CC -c conftest.c; then
34058 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34059 grep "Warning: gc-sections option ignored" > /dev/null; then
34060 ac_gcsections=no
34061 fi
34062 fi
34063 rm -f conftest.c conftest.o conftest
34064 fi
34065 if test "$ac_gcsections" = "yes"; then
34066 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34067 fi
34068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34069 $as_echo "$ac_gcsections" >&6; }
34070
34071 if test "$ac_test_CFLAGS" = set; then
34072 CFLAGS="$ac_save_CFLAGS"
34073 else
34074 # this is the suspicious part
34075 CFLAGS=''
34076 fi
34077 fi
34078
34079 # Set -z,relro.
34080 # Note this is only for shared objects.
34081 ac_ld_relro=no
34082 if test x"$with_gnu_ld" = x"yes"; then
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34084 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34085 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34086 if test -n "$cxx_z_relo"; then
34087 OPT_LDFLAGS="-Wl,-z,relro"
34088 ac_ld_relro=yes
34089 fi
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34091 $as_echo "$ac_ld_relro" >&6; }
34092 fi
34093
34094 # Set linker optimization flags.
34095 if test x"$with_gnu_ld" = x"yes"; then
34096 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34097 fi
34098
34099
34100
34101
34102
34103 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34104 ac_save_CXXFLAGS="$CXXFLAGS"
34105 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34106
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34108 $as_echo_n "checking for sin in -lm... " >&6; }
34109 if test "${ac_cv_lib_m_sin+set}" = set; then :
34110 $as_echo_n "(cached) " >&6
34111 else
34112 ac_check_lib_save_LIBS=$LIBS
34113 LIBS="-lm $LIBS"
34114 if test x$gcc_no_link = xyes; then
34115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34116 fi
34117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34118 /* end confdefs.h. */
34119
34120 /* Override any GCC internal prototype to avoid an error.
34121 Use char because int might match the return type of a GCC
34122 builtin and then its argument prototype would still apply. */
34123 #ifdef __cplusplus
34124 extern "C"
34125 #endif
34126 char sin ();
34127 int
34128 main ()
34129 {
34130 return sin ();
34131 ;
34132 return 0;
34133 }
34134 _ACEOF
34135 if ac_fn_c_try_link "$LINENO"; then :
34136 ac_cv_lib_m_sin=yes
34137 else
34138 ac_cv_lib_m_sin=no
34139 fi
34140 rm -f core conftest.err conftest.$ac_objext \
34141 conftest$ac_exeext conftest.$ac_ext
34142 LIBS=$ac_check_lib_save_LIBS
34143 fi
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34145 $as_echo "$ac_cv_lib_m_sin" >&6; }
34146 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34147 libm="-lm"
34148 fi
34149
34150 ac_save_LIBS="$LIBS"
34151 LIBS="$LIBS $libm"
34152
34153
34154
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34156 $as_echo_n "checking for isinf declaration... " >&6; }
34157 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34158 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34159 $as_echo_n "(cached) " >&6
34160 else
34161
34162
34163 ac_ext=cpp
34164 ac_cpp='$CXXCPP $CPPFLAGS'
34165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34168
34169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34170 /* end confdefs.h. */
34171 #include <math.h>
34172 #ifdef HAVE_IEEEFP_H
34173 #include <ieeefp.h>
34174 #endif
34175
34176 int
34177 main ()
34178 {
34179 isinf(0);
34180 ;
34181 return 0;
34182 }
34183 _ACEOF
34184 if ac_fn_cxx_try_compile "$LINENO"; then :
34185 glibcxx_cv_func_isinf_use=yes
34186 else
34187 glibcxx_cv_func_isinf_use=no
34188 fi
34189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34190 ac_ext=c
34191 ac_cpp='$CPP $CPPFLAGS'
34192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34195
34196
34197 fi
34198
34199 fi
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34201 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34202
34203 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34204 for ac_func in isinf
34205 do :
34206 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34207 if test "x$ac_cv_func_isinf" = x""yes; then :
34208 cat >>confdefs.h <<_ACEOF
34209 #define HAVE_ISINF 1
34210 _ACEOF
34211
34212 fi
34213 done
34214
34215 else
34216
34217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34218 $as_echo_n "checking for _isinf declaration... " >&6; }
34219 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34220 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34221 $as_echo_n "(cached) " >&6
34222 else
34223
34224
34225 ac_ext=cpp
34226 ac_cpp='$CXXCPP $CPPFLAGS'
34227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34230
34231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34232 /* end confdefs.h. */
34233 #include <math.h>
34234 #ifdef HAVE_IEEEFP_H
34235 #include <ieeefp.h>
34236 #endif
34237
34238 int
34239 main ()
34240 {
34241 _isinf(0);
34242 ;
34243 return 0;
34244 }
34245 _ACEOF
34246 if ac_fn_cxx_try_compile "$LINENO"; then :
34247 glibcxx_cv_func__isinf_use=yes
34248 else
34249 glibcxx_cv_func__isinf_use=no
34250 fi
34251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34252 ac_ext=c
34253 ac_cpp='$CPP $CPPFLAGS'
34254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34257
34258
34259 fi
34260
34261 fi
34262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34263 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34264
34265 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34266 for ac_func in _isinf
34267 do :
34268 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34269 if test "x$ac_cv_func__isinf" = x""yes; then :
34270 cat >>confdefs.h <<_ACEOF
34271 #define HAVE__ISINF 1
34272 _ACEOF
34273
34274 fi
34275 done
34276
34277 fi
34278 fi
34279
34280
34281
34282
34283
34284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34285 $as_echo_n "checking for isnan declaration... " >&6; }
34286 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34287 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34288 $as_echo_n "(cached) " >&6
34289 else
34290
34291
34292 ac_ext=cpp
34293 ac_cpp='$CXXCPP $CPPFLAGS'
34294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34297
34298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34299 /* end confdefs.h. */
34300 #include <math.h>
34301 #ifdef HAVE_IEEEFP_H
34302 #include <ieeefp.h>
34303 #endif
34304
34305 int
34306 main ()
34307 {
34308 isnan(0);
34309 ;
34310 return 0;
34311 }
34312 _ACEOF
34313 if ac_fn_cxx_try_compile "$LINENO"; then :
34314 glibcxx_cv_func_isnan_use=yes
34315 else
34316 glibcxx_cv_func_isnan_use=no
34317 fi
34318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34319 ac_ext=c
34320 ac_cpp='$CPP $CPPFLAGS'
34321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34324
34325
34326 fi
34327
34328 fi
34329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34330 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34331
34332 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34333 for ac_func in isnan
34334 do :
34335 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34336 if test "x$ac_cv_func_isnan" = x""yes; then :
34337 cat >>confdefs.h <<_ACEOF
34338 #define HAVE_ISNAN 1
34339 _ACEOF
34340
34341 fi
34342 done
34343
34344 else
34345
34346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34347 $as_echo_n "checking for _isnan declaration... " >&6; }
34348 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34349 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34350 $as_echo_n "(cached) " >&6
34351 else
34352
34353
34354 ac_ext=cpp
34355 ac_cpp='$CXXCPP $CPPFLAGS'
34356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34359
34360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34361 /* end confdefs.h. */
34362 #include <math.h>
34363 #ifdef HAVE_IEEEFP_H
34364 #include <ieeefp.h>
34365 #endif
34366
34367 int
34368 main ()
34369 {
34370 _isnan(0);
34371 ;
34372 return 0;
34373 }
34374 _ACEOF
34375 if ac_fn_cxx_try_compile "$LINENO"; then :
34376 glibcxx_cv_func__isnan_use=yes
34377 else
34378 glibcxx_cv_func__isnan_use=no
34379 fi
34380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34381 ac_ext=c
34382 ac_cpp='$CPP $CPPFLAGS'
34383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34386
34387
34388 fi
34389
34390 fi
34391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34392 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34393
34394 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34395 for ac_func in _isnan
34396 do :
34397 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34398 if test "x$ac_cv_func__isnan" = x""yes; then :
34399 cat >>confdefs.h <<_ACEOF
34400 #define HAVE__ISNAN 1
34401 _ACEOF
34402
34403 fi
34404 done
34405
34406 fi
34407 fi
34408
34409
34410
34411
34412
34413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34414 $as_echo_n "checking for finite declaration... " >&6; }
34415 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34416 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34417 $as_echo_n "(cached) " >&6
34418 else
34419
34420
34421 ac_ext=cpp
34422 ac_cpp='$CXXCPP $CPPFLAGS'
34423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34426
34427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34428 /* end confdefs.h. */
34429 #include <math.h>
34430 #ifdef HAVE_IEEEFP_H
34431 #include <ieeefp.h>
34432 #endif
34433
34434 int
34435 main ()
34436 {
34437 finite(0);
34438 ;
34439 return 0;
34440 }
34441 _ACEOF
34442 if ac_fn_cxx_try_compile "$LINENO"; then :
34443 glibcxx_cv_func_finite_use=yes
34444 else
34445 glibcxx_cv_func_finite_use=no
34446 fi
34447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34448 ac_ext=c
34449 ac_cpp='$CPP $CPPFLAGS'
34450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34453
34454
34455 fi
34456
34457 fi
34458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34459 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34460
34461 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34462 for ac_func in finite
34463 do :
34464 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34465 if test "x$ac_cv_func_finite" = x""yes; then :
34466 cat >>confdefs.h <<_ACEOF
34467 #define HAVE_FINITE 1
34468 _ACEOF
34469
34470 fi
34471 done
34472
34473 else
34474
34475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34476 $as_echo_n "checking for _finite declaration... " >&6; }
34477 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34478 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34479 $as_echo_n "(cached) " >&6
34480 else
34481
34482
34483 ac_ext=cpp
34484 ac_cpp='$CXXCPP $CPPFLAGS'
34485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34488
34489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34490 /* end confdefs.h. */
34491 #include <math.h>
34492 #ifdef HAVE_IEEEFP_H
34493 #include <ieeefp.h>
34494 #endif
34495
34496 int
34497 main ()
34498 {
34499 _finite(0);
34500 ;
34501 return 0;
34502 }
34503 _ACEOF
34504 if ac_fn_cxx_try_compile "$LINENO"; then :
34505 glibcxx_cv_func__finite_use=yes
34506 else
34507 glibcxx_cv_func__finite_use=no
34508 fi
34509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34510 ac_ext=c
34511 ac_cpp='$CPP $CPPFLAGS'
34512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34515
34516
34517 fi
34518
34519 fi
34520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34521 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34522
34523 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34524 for ac_func in _finite
34525 do :
34526 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34527 if test "x$ac_cv_func__finite" = x""yes; then :
34528 cat >>confdefs.h <<_ACEOF
34529 #define HAVE__FINITE 1
34530 _ACEOF
34531
34532 fi
34533 done
34534
34535 fi
34536 fi
34537
34538
34539
34540
34541
34542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34543 $as_echo_n "checking for sincos declaration... " >&6; }
34544 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34545 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34546 $as_echo_n "(cached) " >&6
34547 else
34548
34549
34550 ac_ext=cpp
34551 ac_cpp='$CXXCPP $CPPFLAGS'
34552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34555
34556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34557 /* end confdefs.h. */
34558 #include <math.h>
34559 int
34560 main ()
34561 {
34562 sincos(0, 0, 0);
34563 ;
34564 return 0;
34565 }
34566 _ACEOF
34567 if ac_fn_cxx_try_compile "$LINENO"; then :
34568 glibcxx_cv_func_sincos_use=yes
34569 else
34570 glibcxx_cv_func_sincos_use=no
34571 fi
34572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34573 ac_ext=c
34574 ac_cpp='$CPP $CPPFLAGS'
34575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34578
34579
34580 fi
34581
34582 fi
34583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34584 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34585
34586 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34587 for ac_func in sincos
34588 do :
34589 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34590 if test "x$ac_cv_func_sincos" = x""yes; then :
34591 cat >>confdefs.h <<_ACEOF
34592 #define HAVE_SINCOS 1
34593 _ACEOF
34594
34595 fi
34596 done
34597
34598 else
34599
34600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34601 $as_echo_n "checking for _sincos declaration... " >&6; }
34602 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34603 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34604 $as_echo_n "(cached) " >&6
34605 else
34606
34607
34608 ac_ext=cpp
34609 ac_cpp='$CXXCPP $CPPFLAGS'
34610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34613
34614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34615 /* end confdefs.h. */
34616 #include <math.h>
34617 int
34618 main ()
34619 {
34620 _sincos(0, 0, 0);
34621 ;
34622 return 0;
34623 }
34624 _ACEOF
34625 if ac_fn_cxx_try_compile "$LINENO"; then :
34626 glibcxx_cv_func__sincos_use=yes
34627 else
34628 glibcxx_cv_func__sincos_use=no
34629 fi
34630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34631 ac_ext=c
34632 ac_cpp='$CPP $CPPFLAGS'
34633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34636
34637
34638 fi
34639
34640 fi
34641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34642 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34643
34644 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34645 for ac_func in _sincos
34646 do :
34647 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34648 if test "x$ac_cv_func__sincos" = x""yes; then :
34649 cat >>confdefs.h <<_ACEOF
34650 #define HAVE__SINCOS 1
34651 _ACEOF
34652
34653 fi
34654 done
34655
34656 fi
34657 fi
34658
34659
34660
34661
34662
34663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34664 $as_echo_n "checking for fpclass declaration... " >&6; }
34665 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34666 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34667 $as_echo_n "(cached) " >&6
34668 else
34669
34670
34671 ac_ext=cpp
34672 ac_cpp='$CXXCPP $CPPFLAGS'
34673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34676
34677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34678 /* end confdefs.h. */
34679 #include <math.h>
34680 #ifdef HAVE_IEEEFP_H
34681 #include <ieeefp.h>
34682 #endif
34683
34684 int
34685 main ()
34686 {
34687 fpclass(0);
34688 ;
34689 return 0;
34690 }
34691 _ACEOF
34692 if ac_fn_cxx_try_compile "$LINENO"; then :
34693 glibcxx_cv_func_fpclass_use=yes
34694 else
34695 glibcxx_cv_func_fpclass_use=no
34696 fi
34697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34698 ac_ext=c
34699 ac_cpp='$CPP $CPPFLAGS'
34700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34703
34704
34705 fi
34706
34707 fi
34708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34709 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34710
34711 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34712 for ac_func in fpclass
34713 do :
34714 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34715 if test "x$ac_cv_func_fpclass" = x""yes; then :
34716 cat >>confdefs.h <<_ACEOF
34717 #define HAVE_FPCLASS 1
34718 _ACEOF
34719
34720 fi
34721 done
34722
34723 else
34724
34725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34726 $as_echo_n "checking for _fpclass declaration... " >&6; }
34727 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34728 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34729 $as_echo_n "(cached) " >&6
34730 else
34731
34732
34733 ac_ext=cpp
34734 ac_cpp='$CXXCPP $CPPFLAGS'
34735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34738
34739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34740 /* end confdefs.h. */
34741 #include <math.h>
34742 #ifdef HAVE_IEEEFP_H
34743 #include <ieeefp.h>
34744 #endif
34745
34746 int
34747 main ()
34748 {
34749 _fpclass(0);
34750 ;
34751 return 0;
34752 }
34753 _ACEOF
34754 if ac_fn_cxx_try_compile "$LINENO"; then :
34755 glibcxx_cv_func__fpclass_use=yes
34756 else
34757 glibcxx_cv_func__fpclass_use=no
34758 fi
34759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34760 ac_ext=c
34761 ac_cpp='$CPP $CPPFLAGS'
34762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34765
34766
34767 fi
34768
34769 fi
34770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34771 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34772
34773 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34774 for ac_func in _fpclass
34775 do :
34776 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34777 if test "x$ac_cv_func__fpclass" = x""yes; then :
34778 cat >>confdefs.h <<_ACEOF
34779 #define HAVE__FPCLASS 1
34780 _ACEOF
34781
34782 fi
34783 done
34784
34785 fi
34786 fi
34787
34788
34789
34790
34791
34792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34793 $as_echo_n "checking for qfpclass declaration... " >&6; }
34794 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34795 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34796 $as_echo_n "(cached) " >&6
34797 else
34798
34799
34800 ac_ext=cpp
34801 ac_cpp='$CXXCPP $CPPFLAGS'
34802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34805
34806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34807 /* end confdefs.h. */
34808 #include <math.h>
34809 #ifdef HAVE_IEEEFP_H
34810 #include <ieeefp.h>
34811 #endif
34812
34813 int
34814 main ()
34815 {
34816 qfpclass(0);
34817 ;
34818 return 0;
34819 }
34820 _ACEOF
34821 if ac_fn_cxx_try_compile "$LINENO"; then :
34822 glibcxx_cv_func_qfpclass_use=yes
34823 else
34824 glibcxx_cv_func_qfpclass_use=no
34825 fi
34826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34827 ac_ext=c
34828 ac_cpp='$CPP $CPPFLAGS'
34829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34832
34833
34834 fi
34835
34836 fi
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34838 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34839
34840 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34841 for ac_func in qfpclass
34842 do :
34843 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34844 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34845 cat >>confdefs.h <<_ACEOF
34846 #define HAVE_QFPCLASS 1
34847 _ACEOF
34848
34849 fi
34850 done
34851
34852 else
34853
34854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34855 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34856 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34857 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34858 $as_echo_n "(cached) " >&6
34859 else
34860
34861
34862 ac_ext=cpp
34863 ac_cpp='$CXXCPP $CPPFLAGS'
34864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34867
34868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34869 /* end confdefs.h. */
34870 #include <math.h>
34871 #ifdef HAVE_IEEEFP_H
34872 #include <ieeefp.h>
34873 #endif
34874
34875 int
34876 main ()
34877 {
34878 _qfpclass(0);
34879 ;
34880 return 0;
34881 }
34882 _ACEOF
34883 if ac_fn_cxx_try_compile "$LINENO"; then :
34884 glibcxx_cv_func__qfpclass_use=yes
34885 else
34886 glibcxx_cv_func__qfpclass_use=no
34887 fi
34888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34889 ac_ext=c
34890 ac_cpp='$CPP $CPPFLAGS'
34891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34894
34895
34896 fi
34897
34898 fi
34899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34900 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34901
34902 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34903 for ac_func in _qfpclass
34904 do :
34905 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34906 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34907 cat >>confdefs.h <<_ACEOF
34908 #define HAVE__QFPCLASS 1
34909 _ACEOF
34910
34911 fi
34912 done
34913
34914 fi
34915 fi
34916
34917
34918
34919
34920
34921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34922 $as_echo_n "checking for hypot declaration... " >&6; }
34923 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34924 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34925 $as_echo_n "(cached) " >&6
34926 else
34927
34928
34929 ac_ext=cpp
34930 ac_cpp='$CXXCPP $CPPFLAGS'
34931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34934
34935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34936 /* end confdefs.h. */
34937 #include <math.h>
34938 int
34939 main ()
34940 {
34941 hypot(0, 0);
34942 ;
34943 return 0;
34944 }
34945 _ACEOF
34946 if ac_fn_cxx_try_compile "$LINENO"; then :
34947 glibcxx_cv_func_hypot_use=yes
34948 else
34949 glibcxx_cv_func_hypot_use=no
34950 fi
34951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34952 ac_ext=c
34953 ac_cpp='$CPP $CPPFLAGS'
34954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34957
34958
34959 fi
34960
34961 fi
34962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34963 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34964
34965 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34966 for ac_func in hypot
34967 do :
34968 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34969 if test "x$ac_cv_func_hypot" = x""yes; then :
34970 cat >>confdefs.h <<_ACEOF
34971 #define HAVE_HYPOT 1
34972 _ACEOF
34973
34974 fi
34975 done
34976
34977 else
34978
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34980 $as_echo_n "checking for _hypot declaration... " >&6; }
34981 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34982 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34983 $as_echo_n "(cached) " >&6
34984 else
34985
34986
34987 ac_ext=cpp
34988 ac_cpp='$CXXCPP $CPPFLAGS'
34989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34992
34993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34994 /* end confdefs.h. */
34995 #include <math.h>
34996 int
34997 main ()
34998 {
34999 _hypot(0, 0);
35000 ;
35001 return 0;
35002 }
35003 _ACEOF
35004 if ac_fn_cxx_try_compile "$LINENO"; then :
35005 glibcxx_cv_func__hypot_use=yes
35006 else
35007 glibcxx_cv_func__hypot_use=no
35008 fi
35009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35010 ac_ext=c
35011 ac_cpp='$CPP $CPPFLAGS'
35012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35015
35016
35017 fi
35018
35019 fi
35020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35021 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35022
35023 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35024 for ac_func in _hypot
35025 do :
35026 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35027 if test "x$ac_cv_func__hypot" = x""yes; then :
35028 cat >>confdefs.h <<_ACEOF
35029 #define HAVE__HYPOT 1
35030 _ACEOF
35031
35032 fi
35033 done
35034
35035 fi
35036 fi
35037
35038
35039
35040
35041
35042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35043 $as_echo_n "checking for float trig functions... " >&6; }
35044 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35045 $as_echo_n "(cached) " >&6
35046 else
35047
35048
35049 ac_ext=cpp
35050 ac_cpp='$CXXCPP $CPPFLAGS'
35051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35054
35055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35056 /* end confdefs.h. */
35057 #include <math.h>
35058 int
35059 main ()
35060 {
35061 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35062 ;
35063 return 0;
35064 }
35065 _ACEOF
35066 if ac_fn_cxx_try_compile "$LINENO"; then :
35067 glibcxx_cv_func_float_trig_use=yes
35068 else
35069 glibcxx_cv_func_float_trig_use=no
35070 fi
35071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35072 ac_ext=c
35073 ac_cpp='$CPP $CPPFLAGS'
35074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35077
35078 fi
35079
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35081 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35082 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35083 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35084 do :
35085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35087 eval as_val=\$$as_ac_var
35088 if test "x$as_val" = x""yes; then :
35089 cat >>confdefs.h <<_ACEOF
35090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35091 _ACEOF
35092
35093 fi
35094 done
35095
35096 else
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35098 $as_echo_n "checking for _float trig functions... " >&6; }
35099 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35100 $as_echo_n "(cached) " >&6
35101 else
35102
35103
35104 ac_ext=cpp
35105 ac_cpp='$CXXCPP $CPPFLAGS'
35106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35109
35110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35111 /* end confdefs.h. */
35112 #include <math.h>
35113 int
35114 main ()
35115 {
35116 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35117 ;
35118 return 0;
35119 }
35120 _ACEOF
35121 if ac_fn_cxx_try_compile "$LINENO"; then :
35122 glibcxx_cv_func__float_trig_use=yes
35123 else
35124 glibcxx_cv_func__float_trig_use=no
35125 fi
35126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35127 ac_ext=c
35128 ac_cpp='$CPP $CPPFLAGS'
35129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35132
35133 fi
35134
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35136 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35137 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35138 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35139 do :
35140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35142 eval as_val=\$$as_ac_var
35143 if test "x$as_val" = x""yes; then :
35144 cat >>confdefs.h <<_ACEOF
35145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35146 _ACEOF
35147
35148 fi
35149 done
35150
35151 fi
35152 fi
35153
35154
35155
35156
35157
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35159 $as_echo_n "checking for float round functions... " >&6; }
35160 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35161 $as_echo_n "(cached) " >&6
35162 else
35163
35164
35165 ac_ext=cpp
35166 ac_cpp='$CXXCPP $CPPFLAGS'
35167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35170
35171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35172 /* end confdefs.h. */
35173 #include <math.h>
35174 int
35175 main ()
35176 {
35177 ceilf (0); floorf (0);
35178 ;
35179 return 0;
35180 }
35181 _ACEOF
35182 if ac_fn_cxx_try_compile "$LINENO"; then :
35183 glibcxx_cv_func_float_round_use=yes
35184 else
35185 glibcxx_cv_func_float_round_use=no
35186 fi
35187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35188 ac_ext=c
35189 ac_cpp='$CPP $CPPFLAGS'
35190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35193
35194 fi
35195
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35197 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35198 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35199 for ac_func in ceilf floorf
35200 do :
35201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35203 eval as_val=\$$as_ac_var
35204 if test "x$as_val" = x""yes; then :
35205 cat >>confdefs.h <<_ACEOF
35206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35207 _ACEOF
35208
35209 fi
35210 done
35211
35212 else
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35214 $as_echo_n "checking for _float round functions... " >&6; }
35215 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35216 $as_echo_n "(cached) " >&6
35217 else
35218
35219
35220 ac_ext=cpp
35221 ac_cpp='$CXXCPP $CPPFLAGS'
35222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35225
35226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35227 /* end confdefs.h. */
35228 #include <math.h>
35229 int
35230 main ()
35231 {
35232 _ceilf (0); _floorf (0);
35233 ;
35234 return 0;
35235 }
35236 _ACEOF
35237 if ac_fn_cxx_try_compile "$LINENO"; then :
35238 glibcxx_cv_func__float_round_use=yes
35239 else
35240 glibcxx_cv_func__float_round_use=no
35241 fi
35242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35243 ac_ext=c
35244 ac_cpp='$CPP $CPPFLAGS'
35245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35248
35249 fi
35250
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35252 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35253 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35254 for ac_func in _ceilf _floorf
35255 do :
35256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35258 eval as_val=\$$as_ac_var
35259 if test "x$as_val" = x""yes; then :
35260 cat >>confdefs.h <<_ACEOF
35261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35262 _ACEOF
35263
35264 fi
35265 done
35266
35267 fi
35268 fi
35269
35270
35271
35272
35273
35274
35275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35276 $as_echo_n "checking for expf declaration... " >&6; }
35277 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35278 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35279 $as_echo_n "(cached) " >&6
35280 else
35281
35282
35283 ac_ext=cpp
35284 ac_cpp='$CXXCPP $CPPFLAGS'
35285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35288
35289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35290 /* end confdefs.h. */
35291 #include <math.h>
35292 #ifdef HAVE_IEEEFP_H
35293 #include <ieeefp.h>
35294 #endif
35295
35296 int
35297 main ()
35298 {
35299 expf(0);
35300 ;
35301 return 0;
35302 }
35303 _ACEOF
35304 if ac_fn_cxx_try_compile "$LINENO"; then :
35305 glibcxx_cv_func_expf_use=yes
35306 else
35307 glibcxx_cv_func_expf_use=no
35308 fi
35309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35310 ac_ext=c
35311 ac_cpp='$CPP $CPPFLAGS'
35312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35315
35316
35317 fi
35318
35319 fi
35320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35321 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35322
35323 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35324 for ac_func in expf
35325 do :
35326 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35327 if test "x$ac_cv_func_expf" = x""yes; then :
35328 cat >>confdefs.h <<_ACEOF
35329 #define HAVE_EXPF 1
35330 _ACEOF
35331
35332 fi
35333 done
35334
35335 else
35336
35337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35338 $as_echo_n "checking for _expf declaration... " >&6; }
35339 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35340 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35341 $as_echo_n "(cached) " >&6
35342 else
35343
35344
35345 ac_ext=cpp
35346 ac_cpp='$CXXCPP $CPPFLAGS'
35347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35350
35351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35352 /* end confdefs.h. */
35353 #include <math.h>
35354 #ifdef HAVE_IEEEFP_H
35355 #include <ieeefp.h>
35356 #endif
35357
35358 int
35359 main ()
35360 {
35361 _expf(0);
35362 ;
35363 return 0;
35364 }
35365 _ACEOF
35366 if ac_fn_cxx_try_compile "$LINENO"; then :
35367 glibcxx_cv_func__expf_use=yes
35368 else
35369 glibcxx_cv_func__expf_use=no
35370 fi
35371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35372 ac_ext=c
35373 ac_cpp='$CPP $CPPFLAGS'
35374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35377
35378
35379 fi
35380
35381 fi
35382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35383 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35384
35385 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35386 for ac_func in _expf
35387 do :
35388 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35389 if test "x$ac_cv_func__expf" = x""yes; then :
35390 cat >>confdefs.h <<_ACEOF
35391 #define HAVE__EXPF 1
35392 _ACEOF
35393
35394 fi
35395 done
35396
35397 fi
35398 fi
35399
35400
35401
35402
35403
35404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35405 $as_echo_n "checking for isnanf declaration... " >&6; }
35406 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35407 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35408 $as_echo_n "(cached) " >&6
35409 else
35410
35411
35412 ac_ext=cpp
35413 ac_cpp='$CXXCPP $CPPFLAGS'
35414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35417
35418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35419 /* end confdefs.h. */
35420 #include <math.h>
35421 #ifdef HAVE_IEEEFP_H
35422 #include <ieeefp.h>
35423 #endif
35424
35425 int
35426 main ()
35427 {
35428 isnanf(0);
35429 ;
35430 return 0;
35431 }
35432 _ACEOF
35433 if ac_fn_cxx_try_compile "$LINENO"; then :
35434 glibcxx_cv_func_isnanf_use=yes
35435 else
35436 glibcxx_cv_func_isnanf_use=no
35437 fi
35438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35439 ac_ext=c
35440 ac_cpp='$CPP $CPPFLAGS'
35441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35444
35445
35446 fi
35447
35448 fi
35449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35450 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35451
35452 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35453 for ac_func in isnanf
35454 do :
35455 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35456 if test "x$ac_cv_func_isnanf" = x""yes; then :
35457 cat >>confdefs.h <<_ACEOF
35458 #define HAVE_ISNANF 1
35459 _ACEOF
35460
35461 fi
35462 done
35463
35464 else
35465
35466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35467 $as_echo_n "checking for _isnanf declaration... " >&6; }
35468 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35469 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35470 $as_echo_n "(cached) " >&6
35471 else
35472
35473
35474 ac_ext=cpp
35475 ac_cpp='$CXXCPP $CPPFLAGS'
35476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35479
35480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35481 /* end confdefs.h. */
35482 #include <math.h>
35483 #ifdef HAVE_IEEEFP_H
35484 #include <ieeefp.h>
35485 #endif
35486
35487 int
35488 main ()
35489 {
35490 _isnanf(0);
35491 ;
35492 return 0;
35493 }
35494 _ACEOF
35495 if ac_fn_cxx_try_compile "$LINENO"; then :
35496 glibcxx_cv_func__isnanf_use=yes
35497 else
35498 glibcxx_cv_func__isnanf_use=no
35499 fi
35500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35501 ac_ext=c
35502 ac_cpp='$CPP $CPPFLAGS'
35503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35506
35507
35508 fi
35509
35510 fi
35511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35512 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35513
35514 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35515 for ac_func in _isnanf
35516 do :
35517 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35518 if test "x$ac_cv_func__isnanf" = x""yes; then :
35519 cat >>confdefs.h <<_ACEOF
35520 #define HAVE__ISNANF 1
35521 _ACEOF
35522
35523 fi
35524 done
35525
35526 fi
35527 fi
35528
35529
35530
35531
35532
35533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35534 $as_echo_n "checking for isinff declaration... " >&6; }
35535 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35536 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35537 $as_echo_n "(cached) " >&6
35538 else
35539
35540
35541 ac_ext=cpp
35542 ac_cpp='$CXXCPP $CPPFLAGS'
35543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35546
35547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35548 /* end confdefs.h. */
35549 #include <math.h>
35550 #ifdef HAVE_IEEEFP_H
35551 #include <ieeefp.h>
35552 #endif
35553
35554 int
35555 main ()
35556 {
35557 isinff(0);
35558 ;
35559 return 0;
35560 }
35561 _ACEOF
35562 if ac_fn_cxx_try_compile "$LINENO"; then :
35563 glibcxx_cv_func_isinff_use=yes
35564 else
35565 glibcxx_cv_func_isinff_use=no
35566 fi
35567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35568 ac_ext=c
35569 ac_cpp='$CPP $CPPFLAGS'
35570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35573
35574
35575 fi
35576
35577 fi
35578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35579 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35580
35581 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35582 for ac_func in isinff
35583 do :
35584 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35585 if test "x$ac_cv_func_isinff" = x""yes; then :
35586 cat >>confdefs.h <<_ACEOF
35587 #define HAVE_ISINFF 1
35588 _ACEOF
35589
35590 fi
35591 done
35592
35593 else
35594
35595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35596 $as_echo_n "checking for _isinff declaration... " >&6; }
35597 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35598 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35599 $as_echo_n "(cached) " >&6
35600 else
35601
35602
35603 ac_ext=cpp
35604 ac_cpp='$CXXCPP $CPPFLAGS'
35605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35608
35609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35610 /* end confdefs.h. */
35611 #include <math.h>
35612 #ifdef HAVE_IEEEFP_H
35613 #include <ieeefp.h>
35614 #endif
35615
35616 int
35617 main ()
35618 {
35619 _isinff(0);
35620 ;
35621 return 0;
35622 }
35623 _ACEOF
35624 if ac_fn_cxx_try_compile "$LINENO"; then :
35625 glibcxx_cv_func__isinff_use=yes
35626 else
35627 glibcxx_cv_func__isinff_use=no
35628 fi
35629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35630 ac_ext=c
35631 ac_cpp='$CPP $CPPFLAGS'
35632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35635
35636
35637 fi
35638
35639 fi
35640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35641 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35642
35643 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35644 for ac_func in _isinff
35645 do :
35646 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35647 if test "x$ac_cv_func__isinff" = x""yes; then :
35648 cat >>confdefs.h <<_ACEOF
35649 #define HAVE__ISINFF 1
35650 _ACEOF
35651
35652 fi
35653 done
35654
35655 fi
35656 fi
35657
35658
35659
35660
35661
35662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35663 $as_echo_n "checking for atan2f declaration... " >&6; }
35664 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35665 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35666 $as_echo_n "(cached) " >&6
35667 else
35668
35669
35670 ac_ext=cpp
35671 ac_cpp='$CXXCPP $CPPFLAGS'
35672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35675
35676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35677 /* end confdefs.h. */
35678 #include <math.h>
35679 int
35680 main ()
35681 {
35682 atan2f(0, 0);
35683 ;
35684 return 0;
35685 }
35686 _ACEOF
35687 if ac_fn_cxx_try_compile "$LINENO"; then :
35688 glibcxx_cv_func_atan2f_use=yes
35689 else
35690 glibcxx_cv_func_atan2f_use=no
35691 fi
35692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35693 ac_ext=c
35694 ac_cpp='$CPP $CPPFLAGS'
35695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35698
35699
35700 fi
35701
35702 fi
35703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35704 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35705
35706 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35707 for ac_func in atan2f
35708 do :
35709 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35710 if test "x$ac_cv_func_atan2f" = x""yes; then :
35711 cat >>confdefs.h <<_ACEOF
35712 #define HAVE_ATAN2F 1
35713 _ACEOF
35714
35715 fi
35716 done
35717
35718 else
35719
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35721 $as_echo_n "checking for _atan2f declaration... " >&6; }
35722 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35723 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35724 $as_echo_n "(cached) " >&6
35725 else
35726
35727
35728 ac_ext=cpp
35729 ac_cpp='$CXXCPP $CPPFLAGS'
35730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35733
35734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35735 /* end confdefs.h. */
35736 #include <math.h>
35737 int
35738 main ()
35739 {
35740 _atan2f(0, 0);
35741 ;
35742 return 0;
35743 }
35744 _ACEOF
35745 if ac_fn_cxx_try_compile "$LINENO"; then :
35746 glibcxx_cv_func__atan2f_use=yes
35747 else
35748 glibcxx_cv_func__atan2f_use=no
35749 fi
35750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35751 ac_ext=c
35752 ac_cpp='$CPP $CPPFLAGS'
35753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35756
35757
35758 fi
35759
35760 fi
35761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35762 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35763
35764 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35765 for ac_func in _atan2f
35766 do :
35767 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35768 if test "x$ac_cv_func__atan2f" = x""yes; then :
35769 cat >>confdefs.h <<_ACEOF
35770 #define HAVE__ATAN2F 1
35771 _ACEOF
35772
35773 fi
35774 done
35775
35776 fi
35777 fi
35778
35779
35780
35781
35782
35783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35784 $as_echo_n "checking for fabsf declaration... " >&6; }
35785 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35786 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35787 $as_echo_n "(cached) " >&6
35788 else
35789
35790
35791 ac_ext=cpp
35792 ac_cpp='$CXXCPP $CPPFLAGS'
35793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35796
35797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35798 /* end confdefs.h. */
35799 #include <math.h>
35800 #ifdef HAVE_IEEEFP_H
35801 #include <ieeefp.h>
35802 #endif
35803
35804 int
35805 main ()
35806 {
35807 fabsf(0);
35808 ;
35809 return 0;
35810 }
35811 _ACEOF
35812 if ac_fn_cxx_try_compile "$LINENO"; then :
35813 glibcxx_cv_func_fabsf_use=yes
35814 else
35815 glibcxx_cv_func_fabsf_use=no
35816 fi
35817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35818 ac_ext=c
35819 ac_cpp='$CPP $CPPFLAGS'
35820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35823
35824
35825 fi
35826
35827 fi
35828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35829 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35830
35831 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35832 for ac_func in fabsf
35833 do :
35834 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35835 if test "x$ac_cv_func_fabsf" = x""yes; then :
35836 cat >>confdefs.h <<_ACEOF
35837 #define HAVE_FABSF 1
35838 _ACEOF
35839
35840 fi
35841 done
35842
35843 else
35844
35845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35846 $as_echo_n "checking for _fabsf declaration... " >&6; }
35847 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35848 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35849 $as_echo_n "(cached) " >&6
35850 else
35851
35852
35853 ac_ext=cpp
35854 ac_cpp='$CXXCPP $CPPFLAGS'
35855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35858
35859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35860 /* end confdefs.h. */
35861 #include <math.h>
35862 #ifdef HAVE_IEEEFP_H
35863 #include <ieeefp.h>
35864 #endif
35865
35866 int
35867 main ()
35868 {
35869 _fabsf(0);
35870 ;
35871 return 0;
35872 }
35873 _ACEOF
35874 if ac_fn_cxx_try_compile "$LINENO"; then :
35875 glibcxx_cv_func__fabsf_use=yes
35876 else
35877 glibcxx_cv_func__fabsf_use=no
35878 fi
35879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35880 ac_ext=c
35881 ac_cpp='$CPP $CPPFLAGS'
35882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35885
35886
35887 fi
35888
35889 fi
35890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35891 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35892
35893 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35894 for ac_func in _fabsf
35895 do :
35896 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35897 if test "x$ac_cv_func__fabsf" = x""yes; then :
35898 cat >>confdefs.h <<_ACEOF
35899 #define HAVE__FABSF 1
35900 _ACEOF
35901
35902 fi
35903 done
35904
35905 fi
35906 fi
35907
35908
35909
35910
35911
35912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35913 $as_echo_n "checking for fmodf declaration... " >&6; }
35914 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35915 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35916 $as_echo_n "(cached) " >&6
35917 else
35918
35919
35920 ac_ext=cpp
35921 ac_cpp='$CXXCPP $CPPFLAGS'
35922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35925
35926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35927 /* end confdefs.h. */
35928 #include <math.h>
35929 int
35930 main ()
35931 {
35932 fmodf(0, 0);
35933 ;
35934 return 0;
35935 }
35936 _ACEOF
35937 if ac_fn_cxx_try_compile "$LINENO"; then :
35938 glibcxx_cv_func_fmodf_use=yes
35939 else
35940 glibcxx_cv_func_fmodf_use=no
35941 fi
35942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35943 ac_ext=c
35944 ac_cpp='$CPP $CPPFLAGS'
35945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35948
35949
35950 fi
35951
35952 fi
35953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35954 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35955
35956 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35957 for ac_func in fmodf
35958 do :
35959 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35960 if test "x$ac_cv_func_fmodf" = x""yes; then :
35961 cat >>confdefs.h <<_ACEOF
35962 #define HAVE_FMODF 1
35963 _ACEOF
35964
35965 fi
35966 done
35967
35968 else
35969
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35971 $as_echo_n "checking for _fmodf declaration... " >&6; }
35972 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35973 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35974 $as_echo_n "(cached) " >&6
35975 else
35976
35977
35978 ac_ext=cpp
35979 ac_cpp='$CXXCPP $CPPFLAGS'
35980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35983
35984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35985 /* end confdefs.h. */
35986 #include <math.h>
35987 int
35988 main ()
35989 {
35990 _fmodf(0, 0);
35991 ;
35992 return 0;
35993 }
35994 _ACEOF
35995 if ac_fn_cxx_try_compile "$LINENO"; then :
35996 glibcxx_cv_func__fmodf_use=yes
35997 else
35998 glibcxx_cv_func__fmodf_use=no
35999 fi
36000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36001 ac_ext=c
36002 ac_cpp='$CPP $CPPFLAGS'
36003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36006
36007
36008 fi
36009
36010 fi
36011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36012 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36013
36014 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36015 for ac_func in _fmodf
36016 do :
36017 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36018 if test "x$ac_cv_func__fmodf" = x""yes; then :
36019 cat >>confdefs.h <<_ACEOF
36020 #define HAVE__FMODF 1
36021 _ACEOF
36022
36023 fi
36024 done
36025
36026 fi
36027 fi
36028
36029
36030
36031
36032
36033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36034 $as_echo_n "checking for frexpf declaration... " >&6; }
36035 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36036 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36037 $as_echo_n "(cached) " >&6
36038 else
36039
36040
36041 ac_ext=cpp
36042 ac_cpp='$CXXCPP $CPPFLAGS'
36043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36046
36047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36048 /* end confdefs.h. */
36049 #include <math.h>
36050 int
36051 main ()
36052 {
36053 frexpf(0, 0);
36054 ;
36055 return 0;
36056 }
36057 _ACEOF
36058 if ac_fn_cxx_try_compile "$LINENO"; then :
36059 glibcxx_cv_func_frexpf_use=yes
36060 else
36061 glibcxx_cv_func_frexpf_use=no
36062 fi
36063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36064 ac_ext=c
36065 ac_cpp='$CPP $CPPFLAGS'
36066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36069
36070
36071 fi
36072
36073 fi
36074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36075 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36076
36077 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36078 for ac_func in frexpf
36079 do :
36080 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36081 if test "x$ac_cv_func_frexpf" = x""yes; then :
36082 cat >>confdefs.h <<_ACEOF
36083 #define HAVE_FREXPF 1
36084 _ACEOF
36085
36086 fi
36087 done
36088
36089 else
36090
36091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36092 $as_echo_n "checking for _frexpf declaration... " >&6; }
36093 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36094 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36095 $as_echo_n "(cached) " >&6
36096 else
36097
36098
36099 ac_ext=cpp
36100 ac_cpp='$CXXCPP $CPPFLAGS'
36101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36104
36105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36106 /* end confdefs.h. */
36107 #include <math.h>
36108 int
36109 main ()
36110 {
36111 _frexpf(0, 0);
36112 ;
36113 return 0;
36114 }
36115 _ACEOF
36116 if ac_fn_cxx_try_compile "$LINENO"; then :
36117 glibcxx_cv_func__frexpf_use=yes
36118 else
36119 glibcxx_cv_func__frexpf_use=no
36120 fi
36121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36122 ac_ext=c
36123 ac_cpp='$CPP $CPPFLAGS'
36124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36127
36128
36129 fi
36130
36131 fi
36132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36133 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36134
36135 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36136 for ac_func in _frexpf
36137 do :
36138 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36139 if test "x$ac_cv_func__frexpf" = x""yes; then :
36140 cat >>confdefs.h <<_ACEOF
36141 #define HAVE__FREXPF 1
36142 _ACEOF
36143
36144 fi
36145 done
36146
36147 fi
36148 fi
36149
36150
36151
36152
36153
36154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36155 $as_echo_n "checking for hypotf declaration... " >&6; }
36156 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36157 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36158 $as_echo_n "(cached) " >&6
36159 else
36160
36161
36162 ac_ext=cpp
36163 ac_cpp='$CXXCPP $CPPFLAGS'
36164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36167
36168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36169 /* end confdefs.h. */
36170 #include <math.h>
36171 int
36172 main ()
36173 {
36174 hypotf(0, 0);
36175 ;
36176 return 0;
36177 }
36178 _ACEOF
36179 if ac_fn_cxx_try_compile "$LINENO"; then :
36180 glibcxx_cv_func_hypotf_use=yes
36181 else
36182 glibcxx_cv_func_hypotf_use=no
36183 fi
36184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36185 ac_ext=c
36186 ac_cpp='$CPP $CPPFLAGS'
36187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36190
36191
36192 fi
36193
36194 fi
36195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36196 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36197
36198 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36199 for ac_func in hypotf
36200 do :
36201 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36202 if test "x$ac_cv_func_hypotf" = x""yes; then :
36203 cat >>confdefs.h <<_ACEOF
36204 #define HAVE_HYPOTF 1
36205 _ACEOF
36206
36207 fi
36208 done
36209
36210 else
36211
36212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36213 $as_echo_n "checking for _hypotf declaration... " >&6; }
36214 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36215 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36216 $as_echo_n "(cached) " >&6
36217 else
36218
36219
36220 ac_ext=cpp
36221 ac_cpp='$CXXCPP $CPPFLAGS'
36222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36225
36226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36227 /* end confdefs.h. */
36228 #include <math.h>
36229 int
36230 main ()
36231 {
36232 _hypotf(0, 0);
36233 ;
36234 return 0;
36235 }
36236 _ACEOF
36237 if ac_fn_cxx_try_compile "$LINENO"; then :
36238 glibcxx_cv_func__hypotf_use=yes
36239 else
36240 glibcxx_cv_func__hypotf_use=no
36241 fi
36242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36243 ac_ext=c
36244 ac_cpp='$CPP $CPPFLAGS'
36245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36248
36249
36250 fi
36251
36252 fi
36253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36254 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36255
36256 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36257 for ac_func in _hypotf
36258 do :
36259 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36260 if test "x$ac_cv_func__hypotf" = x""yes; then :
36261 cat >>confdefs.h <<_ACEOF
36262 #define HAVE__HYPOTF 1
36263 _ACEOF
36264
36265 fi
36266 done
36267
36268 fi
36269 fi
36270
36271
36272
36273
36274
36275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36276 $as_echo_n "checking for ldexpf declaration... " >&6; }
36277 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36278 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36279 $as_echo_n "(cached) " >&6
36280 else
36281
36282
36283 ac_ext=cpp
36284 ac_cpp='$CXXCPP $CPPFLAGS'
36285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36288
36289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36290 /* end confdefs.h. */
36291 #include <math.h>
36292 int
36293 main ()
36294 {
36295 ldexpf(0, 0);
36296 ;
36297 return 0;
36298 }
36299 _ACEOF
36300 if ac_fn_cxx_try_compile "$LINENO"; then :
36301 glibcxx_cv_func_ldexpf_use=yes
36302 else
36303 glibcxx_cv_func_ldexpf_use=no
36304 fi
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36306 ac_ext=c
36307 ac_cpp='$CPP $CPPFLAGS'
36308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36311
36312
36313 fi
36314
36315 fi
36316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36317 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36318
36319 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36320 for ac_func in ldexpf
36321 do :
36322 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36323 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36324 cat >>confdefs.h <<_ACEOF
36325 #define HAVE_LDEXPF 1
36326 _ACEOF
36327
36328 fi
36329 done
36330
36331 else
36332
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36334 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36335 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36336 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36337 $as_echo_n "(cached) " >&6
36338 else
36339
36340
36341 ac_ext=cpp
36342 ac_cpp='$CXXCPP $CPPFLAGS'
36343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36346
36347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36348 /* end confdefs.h. */
36349 #include <math.h>
36350 int
36351 main ()
36352 {
36353 _ldexpf(0, 0);
36354 ;
36355 return 0;
36356 }
36357 _ACEOF
36358 if ac_fn_cxx_try_compile "$LINENO"; then :
36359 glibcxx_cv_func__ldexpf_use=yes
36360 else
36361 glibcxx_cv_func__ldexpf_use=no
36362 fi
36363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36364 ac_ext=c
36365 ac_cpp='$CPP $CPPFLAGS'
36366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36369
36370
36371 fi
36372
36373 fi
36374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36375 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36376
36377 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36378 for ac_func in _ldexpf
36379 do :
36380 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36381 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36382 cat >>confdefs.h <<_ACEOF
36383 #define HAVE__LDEXPF 1
36384 _ACEOF
36385
36386 fi
36387 done
36388
36389 fi
36390 fi
36391
36392
36393
36394
36395
36396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36397 $as_echo_n "checking for logf declaration... " >&6; }
36398 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36399 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36400 $as_echo_n "(cached) " >&6
36401 else
36402
36403
36404 ac_ext=cpp
36405 ac_cpp='$CXXCPP $CPPFLAGS'
36406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36409
36410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36411 /* end confdefs.h. */
36412 #include <math.h>
36413 #ifdef HAVE_IEEEFP_H
36414 #include <ieeefp.h>
36415 #endif
36416
36417 int
36418 main ()
36419 {
36420 logf(0);
36421 ;
36422 return 0;
36423 }
36424 _ACEOF
36425 if ac_fn_cxx_try_compile "$LINENO"; then :
36426 glibcxx_cv_func_logf_use=yes
36427 else
36428 glibcxx_cv_func_logf_use=no
36429 fi
36430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36431 ac_ext=c
36432 ac_cpp='$CPP $CPPFLAGS'
36433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36436
36437
36438 fi
36439
36440 fi
36441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36442 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36443
36444 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36445 for ac_func in logf
36446 do :
36447 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36448 if test "x$ac_cv_func_logf" = x""yes; then :
36449 cat >>confdefs.h <<_ACEOF
36450 #define HAVE_LOGF 1
36451 _ACEOF
36452
36453 fi
36454 done
36455
36456 else
36457
36458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36459 $as_echo_n "checking for _logf declaration... " >&6; }
36460 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36461 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36462 $as_echo_n "(cached) " >&6
36463 else
36464
36465
36466 ac_ext=cpp
36467 ac_cpp='$CXXCPP $CPPFLAGS'
36468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36471
36472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36473 /* end confdefs.h. */
36474 #include <math.h>
36475 #ifdef HAVE_IEEEFP_H
36476 #include <ieeefp.h>
36477 #endif
36478
36479 int
36480 main ()
36481 {
36482 _logf(0);
36483 ;
36484 return 0;
36485 }
36486 _ACEOF
36487 if ac_fn_cxx_try_compile "$LINENO"; then :
36488 glibcxx_cv_func__logf_use=yes
36489 else
36490 glibcxx_cv_func__logf_use=no
36491 fi
36492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36493 ac_ext=c
36494 ac_cpp='$CPP $CPPFLAGS'
36495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36498
36499
36500 fi
36501
36502 fi
36503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36504 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36505
36506 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36507 for ac_func in _logf
36508 do :
36509 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36510 if test "x$ac_cv_func__logf" = x""yes; then :
36511 cat >>confdefs.h <<_ACEOF
36512 #define HAVE__LOGF 1
36513 _ACEOF
36514
36515 fi
36516 done
36517
36518 fi
36519 fi
36520
36521
36522
36523
36524
36525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36526 $as_echo_n "checking for log10f declaration... " >&6; }
36527 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36528 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36529 $as_echo_n "(cached) " >&6
36530 else
36531
36532
36533 ac_ext=cpp
36534 ac_cpp='$CXXCPP $CPPFLAGS'
36535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36538
36539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36540 /* end confdefs.h. */
36541 #include <math.h>
36542 #ifdef HAVE_IEEEFP_H
36543 #include <ieeefp.h>
36544 #endif
36545
36546 int
36547 main ()
36548 {
36549 log10f(0);
36550 ;
36551 return 0;
36552 }
36553 _ACEOF
36554 if ac_fn_cxx_try_compile "$LINENO"; then :
36555 glibcxx_cv_func_log10f_use=yes
36556 else
36557 glibcxx_cv_func_log10f_use=no
36558 fi
36559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36560 ac_ext=c
36561 ac_cpp='$CPP $CPPFLAGS'
36562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36565
36566
36567 fi
36568
36569 fi
36570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36571 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36572
36573 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36574 for ac_func in log10f
36575 do :
36576 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36577 if test "x$ac_cv_func_log10f" = x""yes; then :
36578 cat >>confdefs.h <<_ACEOF
36579 #define HAVE_LOG10F 1
36580 _ACEOF
36581
36582 fi
36583 done
36584
36585 else
36586
36587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36588 $as_echo_n "checking for _log10f declaration... " >&6; }
36589 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36590 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36591 $as_echo_n "(cached) " >&6
36592 else
36593
36594
36595 ac_ext=cpp
36596 ac_cpp='$CXXCPP $CPPFLAGS'
36597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36600
36601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36602 /* end confdefs.h. */
36603 #include <math.h>
36604 #ifdef HAVE_IEEEFP_H
36605 #include <ieeefp.h>
36606 #endif
36607
36608 int
36609 main ()
36610 {
36611 _log10f(0);
36612 ;
36613 return 0;
36614 }
36615 _ACEOF
36616 if ac_fn_cxx_try_compile "$LINENO"; then :
36617 glibcxx_cv_func__log10f_use=yes
36618 else
36619 glibcxx_cv_func__log10f_use=no
36620 fi
36621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36622 ac_ext=c
36623 ac_cpp='$CPP $CPPFLAGS'
36624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36627
36628
36629 fi
36630
36631 fi
36632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36633 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36634
36635 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36636 for ac_func in _log10f
36637 do :
36638 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36639 if test "x$ac_cv_func__log10f" = x""yes; then :
36640 cat >>confdefs.h <<_ACEOF
36641 #define HAVE__LOG10F 1
36642 _ACEOF
36643
36644 fi
36645 done
36646
36647 fi
36648 fi
36649
36650
36651
36652
36653
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36655 $as_echo_n "checking for modff declaration... " >&6; }
36656 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36657 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36658 $as_echo_n "(cached) " >&6
36659 else
36660
36661
36662 ac_ext=cpp
36663 ac_cpp='$CXXCPP $CPPFLAGS'
36664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36667
36668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36669 /* end confdefs.h. */
36670 #include <math.h>
36671 int
36672 main ()
36673 {
36674 modff(0, 0);
36675 ;
36676 return 0;
36677 }
36678 _ACEOF
36679 if ac_fn_cxx_try_compile "$LINENO"; then :
36680 glibcxx_cv_func_modff_use=yes
36681 else
36682 glibcxx_cv_func_modff_use=no
36683 fi
36684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36685 ac_ext=c
36686 ac_cpp='$CPP $CPPFLAGS'
36687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36690
36691
36692 fi
36693
36694 fi
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36696 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36697
36698 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36699 for ac_func in modff
36700 do :
36701 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36702 if test "x$ac_cv_func_modff" = x""yes; then :
36703 cat >>confdefs.h <<_ACEOF
36704 #define HAVE_MODFF 1
36705 _ACEOF
36706
36707 fi
36708 done
36709
36710 else
36711
36712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36713 $as_echo_n "checking for _modff declaration... " >&6; }
36714 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36715 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36716 $as_echo_n "(cached) " >&6
36717 else
36718
36719
36720 ac_ext=cpp
36721 ac_cpp='$CXXCPP $CPPFLAGS'
36722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36725
36726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36727 /* end confdefs.h. */
36728 #include <math.h>
36729 int
36730 main ()
36731 {
36732 _modff(0, 0);
36733 ;
36734 return 0;
36735 }
36736 _ACEOF
36737 if ac_fn_cxx_try_compile "$LINENO"; then :
36738 glibcxx_cv_func__modff_use=yes
36739 else
36740 glibcxx_cv_func__modff_use=no
36741 fi
36742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36743 ac_ext=c
36744 ac_cpp='$CPP $CPPFLAGS'
36745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36748
36749
36750 fi
36751
36752 fi
36753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36754 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36755
36756 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36757 for ac_func in _modff
36758 do :
36759 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36760 if test "x$ac_cv_func__modff" = x""yes; then :
36761 cat >>confdefs.h <<_ACEOF
36762 #define HAVE__MODFF 1
36763 _ACEOF
36764
36765 fi
36766 done
36767
36768 fi
36769 fi
36770
36771
36772
36773
36774
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36776 $as_echo_n "checking for modf declaration... " >&6; }
36777 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36778 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36779 $as_echo_n "(cached) " >&6
36780 else
36781
36782
36783 ac_ext=cpp
36784 ac_cpp='$CXXCPP $CPPFLAGS'
36785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36788
36789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36790 /* end confdefs.h. */
36791 #include <math.h>
36792 int
36793 main ()
36794 {
36795 modf(0, 0);
36796 ;
36797 return 0;
36798 }
36799 _ACEOF
36800 if ac_fn_cxx_try_compile "$LINENO"; then :
36801 glibcxx_cv_func_modf_use=yes
36802 else
36803 glibcxx_cv_func_modf_use=no
36804 fi
36805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36806 ac_ext=c
36807 ac_cpp='$CPP $CPPFLAGS'
36808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36811
36812
36813 fi
36814
36815 fi
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36817 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36818
36819 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36820 for ac_func in modf
36821 do :
36822 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36823 if test "x$ac_cv_func_modf" = x""yes; then :
36824 cat >>confdefs.h <<_ACEOF
36825 #define HAVE_MODF 1
36826 _ACEOF
36827
36828 fi
36829 done
36830
36831 else
36832
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36834 $as_echo_n "checking for _modf declaration... " >&6; }
36835 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36836 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36837 $as_echo_n "(cached) " >&6
36838 else
36839
36840
36841 ac_ext=cpp
36842 ac_cpp='$CXXCPP $CPPFLAGS'
36843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36846
36847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36848 /* end confdefs.h. */
36849 #include <math.h>
36850 int
36851 main ()
36852 {
36853 _modf(0, 0);
36854 ;
36855 return 0;
36856 }
36857 _ACEOF
36858 if ac_fn_cxx_try_compile "$LINENO"; then :
36859 glibcxx_cv_func__modf_use=yes
36860 else
36861 glibcxx_cv_func__modf_use=no
36862 fi
36863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36864 ac_ext=c
36865 ac_cpp='$CPP $CPPFLAGS'
36866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36869
36870
36871 fi
36872
36873 fi
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36875 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36876
36877 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36878 for ac_func in _modf
36879 do :
36880 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36881 if test "x$ac_cv_func__modf" = x""yes; then :
36882 cat >>confdefs.h <<_ACEOF
36883 #define HAVE__MODF 1
36884 _ACEOF
36885
36886 fi
36887 done
36888
36889 fi
36890 fi
36891
36892
36893
36894
36895
36896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36897 $as_echo_n "checking for powf declaration... " >&6; }
36898 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36899 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36900 $as_echo_n "(cached) " >&6
36901 else
36902
36903
36904 ac_ext=cpp
36905 ac_cpp='$CXXCPP $CPPFLAGS'
36906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36909
36910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36911 /* end confdefs.h. */
36912 #include <math.h>
36913 int
36914 main ()
36915 {
36916 powf(0, 0);
36917 ;
36918 return 0;
36919 }
36920 _ACEOF
36921 if ac_fn_cxx_try_compile "$LINENO"; then :
36922 glibcxx_cv_func_powf_use=yes
36923 else
36924 glibcxx_cv_func_powf_use=no
36925 fi
36926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36927 ac_ext=c
36928 ac_cpp='$CPP $CPPFLAGS'
36929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36932
36933
36934 fi
36935
36936 fi
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36938 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36939
36940 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36941 for ac_func in powf
36942 do :
36943 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36944 if test "x$ac_cv_func_powf" = x""yes; then :
36945 cat >>confdefs.h <<_ACEOF
36946 #define HAVE_POWF 1
36947 _ACEOF
36948
36949 fi
36950 done
36951
36952 else
36953
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36955 $as_echo_n "checking for _powf declaration... " >&6; }
36956 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36957 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36958 $as_echo_n "(cached) " >&6
36959 else
36960
36961
36962 ac_ext=cpp
36963 ac_cpp='$CXXCPP $CPPFLAGS'
36964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36967
36968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36969 /* end confdefs.h. */
36970 #include <math.h>
36971 int
36972 main ()
36973 {
36974 _powf(0, 0);
36975 ;
36976 return 0;
36977 }
36978 _ACEOF
36979 if ac_fn_cxx_try_compile "$LINENO"; then :
36980 glibcxx_cv_func__powf_use=yes
36981 else
36982 glibcxx_cv_func__powf_use=no
36983 fi
36984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36985 ac_ext=c
36986 ac_cpp='$CPP $CPPFLAGS'
36987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36990
36991
36992 fi
36993
36994 fi
36995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36996 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36997
36998 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36999 for ac_func in _powf
37000 do :
37001 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37002 if test "x$ac_cv_func__powf" = x""yes; then :
37003 cat >>confdefs.h <<_ACEOF
37004 #define HAVE__POWF 1
37005 _ACEOF
37006
37007 fi
37008 done
37009
37010 fi
37011 fi
37012
37013
37014
37015
37016
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37018 $as_echo_n "checking for sqrtf declaration... " >&6; }
37019 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37020 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37021 $as_echo_n "(cached) " >&6
37022 else
37023
37024
37025 ac_ext=cpp
37026 ac_cpp='$CXXCPP $CPPFLAGS'
37027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37030
37031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37032 /* end confdefs.h. */
37033 #include <math.h>
37034 #ifdef HAVE_IEEEFP_H
37035 #include <ieeefp.h>
37036 #endif
37037
37038 int
37039 main ()
37040 {
37041 sqrtf(0);
37042 ;
37043 return 0;
37044 }
37045 _ACEOF
37046 if ac_fn_cxx_try_compile "$LINENO"; then :
37047 glibcxx_cv_func_sqrtf_use=yes
37048 else
37049 glibcxx_cv_func_sqrtf_use=no
37050 fi
37051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37052 ac_ext=c
37053 ac_cpp='$CPP $CPPFLAGS'
37054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37057
37058
37059 fi
37060
37061 fi
37062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37063 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37064
37065 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37066 for ac_func in sqrtf
37067 do :
37068 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37069 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37070 cat >>confdefs.h <<_ACEOF
37071 #define HAVE_SQRTF 1
37072 _ACEOF
37073
37074 fi
37075 done
37076
37077 else
37078
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37080 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37081 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37082 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37083 $as_echo_n "(cached) " >&6
37084 else
37085
37086
37087 ac_ext=cpp
37088 ac_cpp='$CXXCPP $CPPFLAGS'
37089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37092
37093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37094 /* end confdefs.h. */
37095 #include <math.h>
37096 #ifdef HAVE_IEEEFP_H
37097 #include <ieeefp.h>
37098 #endif
37099
37100 int
37101 main ()
37102 {
37103 _sqrtf(0);
37104 ;
37105 return 0;
37106 }
37107 _ACEOF
37108 if ac_fn_cxx_try_compile "$LINENO"; then :
37109 glibcxx_cv_func__sqrtf_use=yes
37110 else
37111 glibcxx_cv_func__sqrtf_use=no
37112 fi
37113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37114 ac_ext=c
37115 ac_cpp='$CPP $CPPFLAGS'
37116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37119
37120
37121 fi
37122
37123 fi
37124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37125 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37126
37127 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37128 for ac_func in _sqrtf
37129 do :
37130 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37131 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37132 cat >>confdefs.h <<_ACEOF
37133 #define HAVE__SQRTF 1
37134 _ACEOF
37135
37136 fi
37137 done
37138
37139 fi
37140 fi
37141
37142
37143
37144
37145
37146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37147 $as_echo_n "checking for sincosf declaration... " >&6; }
37148 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37149 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37150 $as_echo_n "(cached) " >&6
37151 else
37152
37153
37154 ac_ext=cpp
37155 ac_cpp='$CXXCPP $CPPFLAGS'
37156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37159
37160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37161 /* end confdefs.h. */
37162 #include <math.h>
37163 int
37164 main ()
37165 {
37166 sincosf(0, 0, 0);
37167 ;
37168 return 0;
37169 }
37170 _ACEOF
37171 if ac_fn_cxx_try_compile "$LINENO"; then :
37172 glibcxx_cv_func_sincosf_use=yes
37173 else
37174 glibcxx_cv_func_sincosf_use=no
37175 fi
37176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37177 ac_ext=c
37178 ac_cpp='$CPP $CPPFLAGS'
37179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37182
37183
37184 fi
37185
37186 fi
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37188 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37189
37190 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37191 for ac_func in sincosf
37192 do :
37193 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37194 if test "x$ac_cv_func_sincosf" = x""yes; then :
37195 cat >>confdefs.h <<_ACEOF
37196 #define HAVE_SINCOSF 1
37197 _ACEOF
37198
37199 fi
37200 done
37201
37202 else
37203
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37205 $as_echo_n "checking for _sincosf declaration... " >&6; }
37206 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37207 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37208 $as_echo_n "(cached) " >&6
37209 else
37210
37211
37212 ac_ext=cpp
37213 ac_cpp='$CXXCPP $CPPFLAGS'
37214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37217
37218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37219 /* end confdefs.h. */
37220 #include <math.h>
37221 int
37222 main ()
37223 {
37224 _sincosf(0, 0, 0);
37225 ;
37226 return 0;
37227 }
37228 _ACEOF
37229 if ac_fn_cxx_try_compile "$LINENO"; then :
37230 glibcxx_cv_func__sincosf_use=yes
37231 else
37232 glibcxx_cv_func__sincosf_use=no
37233 fi
37234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37235 ac_ext=c
37236 ac_cpp='$CPP $CPPFLAGS'
37237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37240
37241
37242 fi
37243
37244 fi
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37246 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37247
37248 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37249 for ac_func in _sincosf
37250 do :
37251 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37252 if test "x$ac_cv_func__sincosf" = x""yes; then :
37253 cat >>confdefs.h <<_ACEOF
37254 #define HAVE__SINCOSF 1
37255 _ACEOF
37256
37257 fi
37258 done
37259
37260 fi
37261 fi
37262
37263
37264
37265
37266
37267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37268 $as_echo_n "checking for finitef declaration... " >&6; }
37269 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37270 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37271 $as_echo_n "(cached) " >&6
37272 else
37273
37274
37275 ac_ext=cpp
37276 ac_cpp='$CXXCPP $CPPFLAGS'
37277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37280
37281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37282 /* end confdefs.h. */
37283 #include <math.h>
37284 #ifdef HAVE_IEEEFP_H
37285 #include <ieeefp.h>
37286 #endif
37287
37288 int
37289 main ()
37290 {
37291 finitef(0);
37292 ;
37293 return 0;
37294 }
37295 _ACEOF
37296 if ac_fn_cxx_try_compile "$LINENO"; then :
37297 glibcxx_cv_func_finitef_use=yes
37298 else
37299 glibcxx_cv_func_finitef_use=no
37300 fi
37301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37302 ac_ext=c
37303 ac_cpp='$CPP $CPPFLAGS'
37304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37307
37308
37309 fi
37310
37311 fi
37312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37313 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37314
37315 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37316 for ac_func in finitef
37317 do :
37318 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37319 if test "x$ac_cv_func_finitef" = x""yes; then :
37320 cat >>confdefs.h <<_ACEOF
37321 #define HAVE_FINITEF 1
37322 _ACEOF
37323
37324 fi
37325 done
37326
37327 else
37328
37329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37330 $as_echo_n "checking for _finitef declaration... " >&6; }
37331 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37332 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37333 $as_echo_n "(cached) " >&6
37334 else
37335
37336
37337 ac_ext=cpp
37338 ac_cpp='$CXXCPP $CPPFLAGS'
37339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37342
37343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37344 /* end confdefs.h. */
37345 #include <math.h>
37346 #ifdef HAVE_IEEEFP_H
37347 #include <ieeefp.h>
37348 #endif
37349
37350 int
37351 main ()
37352 {
37353 _finitef(0);
37354 ;
37355 return 0;
37356 }
37357 _ACEOF
37358 if ac_fn_cxx_try_compile "$LINENO"; then :
37359 glibcxx_cv_func__finitef_use=yes
37360 else
37361 glibcxx_cv_func__finitef_use=no
37362 fi
37363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37364 ac_ext=c
37365 ac_cpp='$CPP $CPPFLAGS'
37366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37369
37370
37371 fi
37372
37373 fi
37374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37375 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37376
37377 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37378 for ac_func in _finitef
37379 do :
37380 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37381 if test "x$ac_cv_func__finitef" = x""yes; then :
37382 cat >>confdefs.h <<_ACEOF
37383 #define HAVE__FINITEF 1
37384 _ACEOF
37385
37386 fi
37387 done
37388
37389 fi
37390 fi
37391
37392
37393
37394
37395
37396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37397 $as_echo_n "checking for long double trig functions... " >&6; }
37398 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37399 $as_echo_n "(cached) " >&6
37400 else
37401
37402
37403 ac_ext=cpp
37404 ac_cpp='$CXXCPP $CPPFLAGS'
37405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37408
37409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37410 /* end confdefs.h. */
37411 #include <math.h>
37412 int
37413 main ()
37414 {
37415 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37416 ;
37417 return 0;
37418 }
37419 _ACEOF
37420 if ac_fn_cxx_try_compile "$LINENO"; then :
37421 glibcxx_cv_func_long_double_trig_use=yes
37422 else
37423 glibcxx_cv_func_long_double_trig_use=no
37424 fi
37425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37426 ac_ext=c
37427 ac_cpp='$CPP $CPPFLAGS'
37428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37431
37432 fi
37433
37434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37435 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37436 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37437 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37438 do :
37439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37441 eval as_val=\$$as_ac_var
37442 if test "x$as_val" = x""yes; then :
37443 cat >>confdefs.h <<_ACEOF
37444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37445 _ACEOF
37446
37447 fi
37448 done
37449
37450 else
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37452 $as_echo_n "checking for _long double trig functions... " >&6; }
37453 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37454 $as_echo_n "(cached) " >&6
37455 else
37456
37457
37458 ac_ext=cpp
37459 ac_cpp='$CXXCPP $CPPFLAGS'
37460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37463
37464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37465 /* end confdefs.h. */
37466 #include <math.h>
37467 int
37468 main ()
37469 {
37470 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37471 ;
37472 return 0;
37473 }
37474 _ACEOF
37475 if ac_fn_cxx_try_compile "$LINENO"; then :
37476 glibcxx_cv_func__long_double_trig_use=yes
37477 else
37478 glibcxx_cv_func__long_double_trig_use=no
37479 fi
37480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37481 ac_ext=c
37482 ac_cpp='$CPP $CPPFLAGS'
37483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37486
37487 fi
37488
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37490 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37491 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37492 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37493 do :
37494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37496 eval as_val=\$$as_ac_var
37497 if test "x$as_val" = x""yes; then :
37498 cat >>confdefs.h <<_ACEOF
37499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37500 _ACEOF
37501
37502 fi
37503 done
37504
37505 fi
37506 fi
37507
37508
37509
37510
37511
37512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37513 $as_echo_n "checking for long double round functions... " >&6; }
37514 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37515 $as_echo_n "(cached) " >&6
37516 else
37517
37518
37519 ac_ext=cpp
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37524
37525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37526 /* end confdefs.h. */
37527 #include <math.h>
37528 int
37529 main ()
37530 {
37531 ceill (0); floorl (0);
37532 ;
37533 return 0;
37534 }
37535 _ACEOF
37536 if ac_fn_cxx_try_compile "$LINENO"; then :
37537 glibcxx_cv_func_long_double_round_use=yes
37538 else
37539 glibcxx_cv_func_long_double_round_use=no
37540 fi
37541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37542 ac_ext=c
37543 ac_cpp='$CPP $CPPFLAGS'
37544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37547
37548 fi
37549
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37551 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37552 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37553 for ac_func in ceill floorl
37554 do :
37555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37557 eval as_val=\$$as_ac_var
37558 if test "x$as_val" = x""yes; then :
37559 cat >>confdefs.h <<_ACEOF
37560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37561 _ACEOF
37562
37563 fi
37564 done
37565
37566 else
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37568 $as_echo_n "checking for _long double round functions... " >&6; }
37569 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37570 $as_echo_n "(cached) " >&6
37571 else
37572
37573
37574 ac_ext=cpp
37575 ac_cpp='$CXXCPP $CPPFLAGS'
37576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37579
37580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37581 /* end confdefs.h. */
37582 #include <math.h>
37583 int
37584 main ()
37585 {
37586 _ceill (0); _floorl (0);
37587 ;
37588 return 0;
37589 }
37590 _ACEOF
37591 if ac_fn_cxx_try_compile "$LINENO"; then :
37592 glibcxx_cv_func__long_double_round_use=yes
37593 else
37594 glibcxx_cv_func__long_double_round_use=no
37595 fi
37596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37597 ac_ext=c
37598 ac_cpp='$CPP $CPPFLAGS'
37599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37602
37603 fi
37604
37605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37606 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37607 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37608 for ac_func in _ceill _floorl
37609 do :
37610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37612 eval as_val=\$$as_ac_var
37613 if test "x$as_val" = x""yes; then :
37614 cat >>confdefs.h <<_ACEOF
37615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37616 _ACEOF
37617
37618 fi
37619 done
37620
37621 fi
37622 fi
37623
37624
37625
37626
37627
37628
37629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37630 $as_echo_n "checking for isnanl declaration... " >&6; }
37631 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37632 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37633 $as_echo_n "(cached) " >&6
37634 else
37635
37636
37637 ac_ext=cpp
37638 ac_cpp='$CXXCPP $CPPFLAGS'
37639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37642
37643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37644 /* end confdefs.h. */
37645 #include <math.h>
37646 #ifdef HAVE_IEEEFP_H
37647 #include <ieeefp.h>
37648 #endif
37649
37650 int
37651 main ()
37652 {
37653 isnanl(0);
37654 ;
37655 return 0;
37656 }
37657 _ACEOF
37658 if ac_fn_cxx_try_compile "$LINENO"; then :
37659 glibcxx_cv_func_isnanl_use=yes
37660 else
37661 glibcxx_cv_func_isnanl_use=no
37662 fi
37663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37664 ac_ext=c
37665 ac_cpp='$CPP $CPPFLAGS'
37666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37669
37670
37671 fi
37672
37673 fi
37674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37675 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37676
37677 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37678 for ac_func in isnanl
37679 do :
37680 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37681 if test "x$ac_cv_func_isnanl" = x""yes; then :
37682 cat >>confdefs.h <<_ACEOF
37683 #define HAVE_ISNANL 1
37684 _ACEOF
37685
37686 fi
37687 done
37688
37689 else
37690
37691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37692 $as_echo_n "checking for _isnanl declaration... " >&6; }
37693 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37694 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37695 $as_echo_n "(cached) " >&6
37696 else
37697
37698
37699 ac_ext=cpp
37700 ac_cpp='$CXXCPP $CPPFLAGS'
37701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37704
37705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37706 /* end confdefs.h. */
37707 #include <math.h>
37708 #ifdef HAVE_IEEEFP_H
37709 #include <ieeefp.h>
37710 #endif
37711
37712 int
37713 main ()
37714 {
37715 _isnanl(0);
37716 ;
37717 return 0;
37718 }
37719 _ACEOF
37720 if ac_fn_cxx_try_compile "$LINENO"; then :
37721 glibcxx_cv_func__isnanl_use=yes
37722 else
37723 glibcxx_cv_func__isnanl_use=no
37724 fi
37725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37726 ac_ext=c
37727 ac_cpp='$CPP $CPPFLAGS'
37728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37731
37732
37733 fi
37734
37735 fi
37736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37737 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37738
37739 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37740 for ac_func in _isnanl
37741 do :
37742 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37743 if test "x$ac_cv_func__isnanl" = x""yes; then :
37744 cat >>confdefs.h <<_ACEOF
37745 #define HAVE__ISNANL 1
37746 _ACEOF
37747
37748 fi
37749 done
37750
37751 fi
37752 fi
37753
37754
37755
37756
37757
37758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37759 $as_echo_n "checking for isinfl declaration... " >&6; }
37760 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37761 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37762 $as_echo_n "(cached) " >&6
37763 else
37764
37765
37766 ac_ext=cpp
37767 ac_cpp='$CXXCPP $CPPFLAGS'
37768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37771
37772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37773 /* end confdefs.h. */
37774 #include <math.h>
37775 #ifdef HAVE_IEEEFP_H
37776 #include <ieeefp.h>
37777 #endif
37778
37779 int
37780 main ()
37781 {
37782 isinfl(0);
37783 ;
37784 return 0;
37785 }
37786 _ACEOF
37787 if ac_fn_cxx_try_compile "$LINENO"; then :
37788 glibcxx_cv_func_isinfl_use=yes
37789 else
37790 glibcxx_cv_func_isinfl_use=no
37791 fi
37792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37793 ac_ext=c
37794 ac_cpp='$CPP $CPPFLAGS'
37795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37798
37799
37800 fi
37801
37802 fi
37803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37804 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37805
37806 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37807 for ac_func in isinfl
37808 do :
37809 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37810 if test "x$ac_cv_func_isinfl" = x""yes; then :
37811 cat >>confdefs.h <<_ACEOF
37812 #define HAVE_ISINFL 1
37813 _ACEOF
37814
37815 fi
37816 done
37817
37818 else
37819
37820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37821 $as_echo_n "checking for _isinfl declaration... " >&6; }
37822 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37823 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37824 $as_echo_n "(cached) " >&6
37825 else
37826
37827
37828 ac_ext=cpp
37829 ac_cpp='$CXXCPP $CPPFLAGS'
37830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37833
37834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37835 /* end confdefs.h. */
37836 #include <math.h>
37837 #ifdef HAVE_IEEEFP_H
37838 #include <ieeefp.h>
37839 #endif
37840
37841 int
37842 main ()
37843 {
37844 _isinfl(0);
37845 ;
37846 return 0;
37847 }
37848 _ACEOF
37849 if ac_fn_cxx_try_compile "$LINENO"; then :
37850 glibcxx_cv_func__isinfl_use=yes
37851 else
37852 glibcxx_cv_func__isinfl_use=no
37853 fi
37854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37855 ac_ext=c
37856 ac_cpp='$CPP $CPPFLAGS'
37857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37860
37861
37862 fi
37863
37864 fi
37865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37866 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37867
37868 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37869 for ac_func in _isinfl
37870 do :
37871 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37872 if test "x$ac_cv_func__isinfl" = x""yes; then :
37873 cat >>confdefs.h <<_ACEOF
37874 #define HAVE__ISINFL 1
37875 _ACEOF
37876
37877 fi
37878 done
37879
37880 fi
37881 fi
37882
37883
37884
37885
37886
37887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37888 $as_echo_n "checking for atan2l declaration... " >&6; }
37889 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37890 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37891 $as_echo_n "(cached) " >&6
37892 else
37893
37894
37895 ac_ext=cpp
37896 ac_cpp='$CXXCPP $CPPFLAGS'
37897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37900
37901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37902 /* end confdefs.h. */
37903 #include <math.h>
37904 int
37905 main ()
37906 {
37907 atan2l(0, 0);
37908 ;
37909 return 0;
37910 }
37911 _ACEOF
37912 if ac_fn_cxx_try_compile "$LINENO"; then :
37913 glibcxx_cv_func_atan2l_use=yes
37914 else
37915 glibcxx_cv_func_atan2l_use=no
37916 fi
37917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37918 ac_ext=c
37919 ac_cpp='$CPP $CPPFLAGS'
37920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37923
37924
37925 fi
37926
37927 fi
37928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37929 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37930
37931 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37932 for ac_func in atan2l
37933 do :
37934 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37935 if test "x$ac_cv_func_atan2l" = x""yes; then :
37936 cat >>confdefs.h <<_ACEOF
37937 #define HAVE_ATAN2L 1
37938 _ACEOF
37939
37940 fi
37941 done
37942
37943 else
37944
37945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37946 $as_echo_n "checking for _atan2l declaration... " >&6; }
37947 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37948 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37949 $as_echo_n "(cached) " >&6
37950 else
37951
37952
37953 ac_ext=cpp
37954 ac_cpp='$CXXCPP $CPPFLAGS'
37955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37958
37959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37960 /* end confdefs.h. */
37961 #include <math.h>
37962 int
37963 main ()
37964 {
37965 _atan2l(0, 0);
37966 ;
37967 return 0;
37968 }
37969 _ACEOF
37970 if ac_fn_cxx_try_compile "$LINENO"; then :
37971 glibcxx_cv_func__atan2l_use=yes
37972 else
37973 glibcxx_cv_func__atan2l_use=no
37974 fi
37975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37976 ac_ext=c
37977 ac_cpp='$CPP $CPPFLAGS'
37978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37981
37982
37983 fi
37984
37985 fi
37986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37987 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37988
37989 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37990 for ac_func in _atan2l
37991 do :
37992 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37993 if test "x$ac_cv_func__atan2l" = x""yes; then :
37994 cat >>confdefs.h <<_ACEOF
37995 #define HAVE__ATAN2L 1
37996 _ACEOF
37997
37998 fi
37999 done
38000
38001 fi
38002 fi
38003
38004
38005
38006
38007
38008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38009 $as_echo_n "checking for expl declaration... " >&6; }
38010 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38011 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38012 $as_echo_n "(cached) " >&6
38013 else
38014
38015
38016 ac_ext=cpp
38017 ac_cpp='$CXXCPP $CPPFLAGS'
38018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38021
38022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38023 /* end confdefs.h. */
38024 #include <math.h>
38025 #ifdef HAVE_IEEEFP_H
38026 #include <ieeefp.h>
38027 #endif
38028
38029 int
38030 main ()
38031 {
38032 expl(0);
38033 ;
38034 return 0;
38035 }
38036 _ACEOF
38037 if ac_fn_cxx_try_compile "$LINENO"; then :
38038 glibcxx_cv_func_expl_use=yes
38039 else
38040 glibcxx_cv_func_expl_use=no
38041 fi
38042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38043 ac_ext=c
38044 ac_cpp='$CPP $CPPFLAGS'
38045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38048
38049
38050 fi
38051
38052 fi
38053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38054 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38055
38056 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38057 for ac_func in expl
38058 do :
38059 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38060 if test "x$ac_cv_func_expl" = x""yes; then :
38061 cat >>confdefs.h <<_ACEOF
38062 #define HAVE_EXPL 1
38063 _ACEOF
38064
38065 fi
38066 done
38067
38068 else
38069
38070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38071 $as_echo_n "checking for _expl declaration... " >&6; }
38072 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38073 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38074 $as_echo_n "(cached) " >&6
38075 else
38076
38077
38078 ac_ext=cpp
38079 ac_cpp='$CXXCPP $CPPFLAGS'
38080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38083
38084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38085 /* end confdefs.h. */
38086 #include <math.h>
38087 #ifdef HAVE_IEEEFP_H
38088 #include <ieeefp.h>
38089 #endif
38090
38091 int
38092 main ()
38093 {
38094 _expl(0);
38095 ;
38096 return 0;
38097 }
38098 _ACEOF
38099 if ac_fn_cxx_try_compile "$LINENO"; then :
38100 glibcxx_cv_func__expl_use=yes
38101 else
38102 glibcxx_cv_func__expl_use=no
38103 fi
38104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38105 ac_ext=c
38106 ac_cpp='$CPP $CPPFLAGS'
38107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38110
38111
38112 fi
38113
38114 fi
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38116 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38117
38118 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38119 for ac_func in _expl
38120 do :
38121 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38122 if test "x$ac_cv_func__expl" = x""yes; then :
38123 cat >>confdefs.h <<_ACEOF
38124 #define HAVE__EXPL 1
38125 _ACEOF
38126
38127 fi
38128 done
38129
38130 fi
38131 fi
38132
38133
38134
38135
38136
38137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38138 $as_echo_n "checking for fabsl declaration... " >&6; }
38139 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38140 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38141 $as_echo_n "(cached) " >&6
38142 else
38143
38144
38145 ac_ext=cpp
38146 ac_cpp='$CXXCPP $CPPFLAGS'
38147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38150
38151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38152 /* end confdefs.h. */
38153 #include <math.h>
38154 #ifdef HAVE_IEEEFP_H
38155 #include <ieeefp.h>
38156 #endif
38157
38158 int
38159 main ()
38160 {
38161 fabsl(0);
38162 ;
38163 return 0;
38164 }
38165 _ACEOF
38166 if ac_fn_cxx_try_compile "$LINENO"; then :
38167 glibcxx_cv_func_fabsl_use=yes
38168 else
38169 glibcxx_cv_func_fabsl_use=no
38170 fi
38171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38172 ac_ext=c
38173 ac_cpp='$CPP $CPPFLAGS'
38174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38177
38178
38179 fi
38180
38181 fi
38182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38183 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38184
38185 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38186 for ac_func in fabsl
38187 do :
38188 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38189 if test "x$ac_cv_func_fabsl" = x""yes; then :
38190 cat >>confdefs.h <<_ACEOF
38191 #define HAVE_FABSL 1
38192 _ACEOF
38193
38194 fi
38195 done
38196
38197 else
38198
38199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38200 $as_echo_n "checking for _fabsl declaration... " >&6; }
38201 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38202 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38203 $as_echo_n "(cached) " >&6
38204 else
38205
38206
38207 ac_ext=cpp
38208 ac_cpp='$CXXCPP $CPPFLAGS'
38209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38212
38213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38214 /* end confdefs.h. */
38215 #include <math.h>
38216 #ifdef HAVE_IEEEFP_H
38217 #include <ieeefp.h>
38218 #endif
38219
38220 int
38221 main ()
38222 {
38223 _fabsl(0);
38224 ;
38225 return 0;
38226 }
38227 _ACEOF
38228 if ac_fn_cxx_try_compile "$LINENO"; then :
38229 glibcxx_cv_func__fabsl_use=yes
38230 else
38231 glibcxx_cv_func__fabsl_use=no
38232 fi
38233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38234 ac_ext=c
38235 ac_cpp='$CPP $CPPFLAGS'
38236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38239
38240
38241 fi
38242
38243 fi
38244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38245 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38246
38247 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38248 for ac_func in _fabsl
38249 do :
38250 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38251 if test "x$ac_cv_func__fabsl" = x""yes; then :
38252 cat >>confdefs.h <<_ACEOF
38253 #define HAVE__FABSL 1
38254 _ACEOF
38255
38256 fi
38257 done
38258
38259 fi
38260 fi
38261
38262
38263
38264
38265
38266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38267 $as_echo_n "checking for fmodl declaration... " >&6; }
38268 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38269 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38270 $as_echo_n "(cached) " >&6
38271 else
38272
38273
38274 ac_ext=cpp
38275 ac_cpp='$CXXCPP $CPPFLAGS'
38276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38279
38280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38281 /* end confdefs.h. */
38282 #include <math.h>
38283 int
38284 main ()
38285 {
38286 fmodl(0, 0);
38287 ;
38288 return 0;
38289 }
38290 _ACEOF
38291 if ac_fn_cxx_try_compile "$LINENO"; then :
38292 glibcxx_cv_func_fmodl_use=yes
38293 else
38294 glibcxx_cv_func_fmodl_use=no
38295 fi
38296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38297 ac_ext=c
38298 ac_cpp='$CPP $CPPFLAGS'
38299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38302
38303
38304 fi
38305
38306 fi
38307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38308 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38309
38310 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38311 for ac_func in fmodl
38312 do :
38313 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38314 if test "x$ac_cv_func_fmodl" = x""yes; then :
38315 cat >>confdefs.h <<_ACEOF
38316 #define HAVE_FMODL 1
38317 _ACEOF
38318
38319 fi
38320 done
38321
38322 else
38323
38324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38325 $as_echo_n "checking for _fmodl declaration... " >&6; }
38326 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38327 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38328 $as_echo_n "(cached) " >&6
38329 else
38330
38331
38332 ac_ext=cpp
38333 ac_cpp='$CXXCPP $CPPFLAGS'
38334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38337
38338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38339 /* end confdefs.h. */
38340 #include <math.h>
38341 int
38342 main ()
38343 {
38344 _fmodl(0, 0);
38345 ;
38346 return 0;
38347 }
38348 _ACEOF
38349 if ac_fn_cxx_try_compile "$LINENO"; then :
38350 glibcxx_cv_func__fmodl_use=yes
38351 else
38352 glibcxx_cv_func__fmodl_use=no
38353 fi
38354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38355 ac_ext=c
38356 ac_cpp='$CPP $CPPFLAGS'
38357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38360
38361
38362 fi
38363
38364 fi
38365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38366 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38367
38368 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38369 for ac_func in _fmodl
38370 do :
38371 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38372 if test "x$ac_cv_func__fmodl" = x""yes; then :
38373 cat >>confdefs.h <<_ACEOF
38374 #define HAVE__FMODL 1
38375 _ACEOF
38376
38377 fi
38378 done
38379
38380 fi
38381 fi
38382
38383
38384
38385
38386
38387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38388 $as_echo_n "checking for frexpl declaration... " >&6; }
38389 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38390 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38391 $as_echo_n "(cached) " >&6
38392 else
38393
38394
38395 ac_ext=cpp
38396 ac_cpp='$CXXCPP $CPPFLAGS'
38397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38400
38401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38402 /* end confdefs.h. */
38403 #include <math.h>
38404 int
38405 main ()
38406 {
38407 frexpl(0, 0);
38408 ;
38409 return 0;
38410 }
38411 _ACEOF
38412 if ac_fn_cxx_try_compile "$LINENO"; then :
38413 glibcxx_cv_func_frexpl_use=yes
38414 else
38415 glibcxx_cv_func_frexpl_use=no
38416 fi
38417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38418 ac_ext=c
38419 ac_cpp='$CPP $CPPFLAGS'
38420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38423
38424
38425 fi
38426
38427 fi
38428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38429 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38430
38431 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38432 for ac_func in frexpl
38433 do :
38434 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38435 if test "x$ac_cv_func_frexpl" = x""yes; then :
38436 cat >>confdefs.h <<_ACEOF
38437 #define HAVE_FREXPL 1
38438 _ACEOF
38439
38440 fi
38441 done
38442
38443 else
38444
38445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38446 $as_echo_n "checking for _frexpl declaration... " >&6; }
38447 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38448 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38449 $as_echo_n "(cached) " >&6
38450 else
38451
38452
38453 ac_ext=cpp
38454 ac_cpp='$CXXCPP $CPPFLAGS'
38455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38458
38459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38460 /* end confdefs.h. */
38461 #include <math.h>
38462 int
38463 main ()
38464 {
38465 _frexpl(0, 0);
38466 ;
38467 return 0;
38468 }
38469 _ACEOF
38470 if ac_fn_cxx_try_compile "$LINENO"; then :
38471 glibcxx_cv_func__frexpl_use=yes
38472 else
38473 glibcxx_cv_func__frexpl_use=no
38474 fi
38475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38476 ac_ext=c
38477 ac_cpp='$CPP $CPPFLAGS'
38478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38481
38482
38483 fi
38484
38485 fi
38486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38487 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38488
38489 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38490 for ac_func in _frexpl
38491 do :
38492 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38493 if test "x$ac_cv_func__frexpl" = x""yes; then :
38494 cat >>confdefs.h <<_ACEOF
38495 #define HAVE__FREXPL 1
38496 _ACEOF
38497
38498 fi
38499 done
38500
38501 fi
38502 fi
38503
38504
38505
38506
38507
38508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38509 $as_echo_n "checking for hypotl declaration... " >&6; }
38510 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38511 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38512 $as_echo_n "(cached) " >&6
38513 else
38514
38515
38516 ac_ext=cpp
38517 ac_cpp='$CXXCPP $CPPFLAGS'
38518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38521
38522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38523 /* end confdefs.h. */
38524 #include <math.h>
38525 int
38526 main ()
38527 {
38528 hypotl(0, 0);
38529 ;
38530 return 0;
38531 }
38532 _ACEOF
38533 if ac_fn_cxx_try_compile "$LINENO"; then :
38534 glibcxx_cv_func_hypotl_use=yes
38535 else
38536 glibcxx_cv_func_hypotl_use=no
38537 fi
38538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38539 ac_ext=c
38540 ac_cpp='$CPP $CPPFLAGS'
38541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38544
38545
38546 fi
38547
38548 fi
38549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38550 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38551
38552 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38553 for ac_func in hypotl
38554 do :
38555 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38556 if test "x$ac_cv_func_hypotl" = x""yes; then :
38557 cat >>confdefs.h <<_ACEOF
38558 #define HAVE_HYPOTL 1
38559 _ACEOF
38560
38561 fi
38562 done
38563
38564 else
38565
38566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38567 $as_echo_n "checking for _hypotl declaration... " >&6; }
38568 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38569 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38570 $as_echo_n "(cached) " >&6
38571 else
38572
38573
38574 ac_ext=cpp
38575 ac_cpp='$CXXCPP $CPPFLAGS'
38576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38579
38580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38581 /* end confdefs.h. */
38582 #include <math.h>
38583 int
38584 main ()
38585 {
38586 _hypotl(0, 0);
38587 ;
38588 return 0;
38589 }
38590 _ACEOF
38591 if ac_fn_cxx_try_compile "$LINENO"; then :
38592 glibcxx_cv_func__hypotl_use=yes
38593 else
38594 glibcxx_cv_func__hypotl_use=no
38595 fi
38596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38597 ac_ext=c
38598 ac_cpp='$CPP $CPPFLAGS'
38599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38602
38603
38604 fi
38605
38606 fi
38607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38608 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38609
38610 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38611 for ac_func in _hypotl
38612 do :
38613 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38614 if test "x$ac_cv_func__hypotl" = x""yes; then :
38615 cat >>confdefs.h <<_ACEOF
38616 #define HAVE__HYPOTL 1
38617 _ACEOF
38618
38619 fi
38620 done
38621
38622 fi
38623 fi
38624
38625
38626
38627
38628
38629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38630 $as_echo_n "checking for ldexpl declaration... " >&6; }
38631 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38632 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38633 $as_echo_n "(cached) " >&6
38634 else
38635
38636
38637 ac_ext=cpp
38638 ac_cpp='$CXXCPP $CPPFLAGS'
38639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38642
38643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38644 /* end confdefs.h. */
38645 #include <math.h>
38646 int
38647 main ()
38648 {
38649 ldexpl(0, 0);
38650 ;
38651 return 0;
38652 }
38653 _ACEOF
38654 if ac_fn_cxx_try_compile "$LINENO"; then :
38655 glibcxx_cv_func_ldexpl_use=yes
38656 else
38657 glibcxx_cv_func_ldexpl_use=no
38658 fi
38659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38660 ac_ext=c
38661 ac_cpp='$CPP $CPPFLAGS'
38662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38665
38666
38667 fi
38668
38669 fi
38670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38671 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38672
38673 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38674 for ac_func in ldexpl
38675 do :
38676 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38677 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38678 cat >>confdefs.h <<_ACEOF
38679 #define HAVE_LDEXPL 1
38680 _ACEOF
38681
38682 fi
38683 done
38684
38685 else
38686
38687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38688 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38689 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38690 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38691 $as_echo_n "(cached) " >&6
38692 else
38693
38694
38695 ac_ext=cpp
38696 ac_cpp='$CXXCPP $CPPFLAGS'
38697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38700
38701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38702 /* end confdefs.h. */
38703 #include <math.h>
38704 int
38705 main ()
38706 {
38707 _ldexpl(0, 0);
38708 ;
38709 return 0;
38710 }
38711 _ACEOF
38712 if ac_fn_cxx_try_compile "$LINENO"; then :
38713 glibcxx_cv_func__ldexpl_use=yes
38714 else
38715 glibcxx_cv_func__ldexpl_use=no
38716 fi
38717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38718 ac_ext=c
38719 ac_cpp='$CPP $CPPFLAGS'
38720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38723
38724
38725 fi
38726
38727 fi
38728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38729 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38730
38731 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38732 for ac_func in _ldexpl
38733 do :
38734 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38735 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38736 cat >>confdefs.h <<_ACEOF
38737 #define HAVE__LDEXPL 1
38738 _ACEOF
38739
38740 fi
38741 done
38742
38743 fi
38744 fi
38745
38746
38747
38748
38749
38750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38751 $as_echo_n "checking for logl declaration... " >&6; }
38752 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38753 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38754 $as_echo_n "(cached) " >&6
38755 else
38756
38757
38758 ac_ext=cpp
38759 ac_cpp='$CXXCPP $CPPFLAGS'
38760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38763
38764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38765 /* end confdefs.h. */
38766 #include <math.h>
38767 #ifdef HAVE_IEEEFP_H
38768 #include <ieeefp.h>
38769 #endif
38770
38771 int
38772 main ()
38773 {
38774 logl(0);
38775 ;
38776 return 0;
38777 }
38778 _ACEOF
38779 if ac_fn_cxx_try_compile "$LINENO"; then :
38780 glibcxx_cv_func_logl_use=yes
38781 else
38782 glibcxx_cv_func_logl_use=no
38783 fi
38784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38785 ac_ext=c
38786 ac_cpp='$CPP $CPPFLAGS'
38787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38790
38791
38792 fi
38793
38794 fi
38795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38796 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38797
38798 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38799 for ac_func in logl
38800 do :
38801 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38802 if test "x$ac_cv_func_logl" = x""yes; then :
38803 cat >>confdefs.h <<_ACEOF
38804 #define HAVE_LOGL 1
38805 _ACEOF
38806
38807 fi
38808 done
38809
38810 else
38811
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38813 $as_echo_n "checking for _logl declaration... " >&6; }
38814 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38815 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38816 $as_echo_n "(cached) " >&6
38817 else
38818
38819
38820 ac_ext=cpp
38821 ac_cpp='$CXXCPP $CPPFLAGS'
38822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38825
38826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38827 /* end confdefs.h. */
38828 #include <math.h>
38829 #ifdef HAVE_IEEEFP_H
38830 #include <ieeefp.h>
38831 #endif
38832
38833 int
38834 main ()
38835 {
38836 _logl(0);
38837 ;
38838 return 0;
38839 }
38840 _ACEOF
38841 if ac_fn_cxx_try_compile "$LINENO"; then :
38842 glibcxx_cv_func__logl_use=yes
38843 else
38844 glibcxx_cv_func__logl_use=no
38845 fi
38846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38847 ac_ext=c
38848 ac_cpp='$CPP $CPPFLAGS'
38849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38852
38853
38854 fi
38855
38856 fi
38857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38858 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38859
38860 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38861 for ac_func in _logl
38862 do :
38863 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38864 if test "x$ac_cv_func__logl" = x""yes; then :
38865 cat >>confdefs.h <<_ACEOF
38866 #define HAVE__LOGL 1
38867 _ACEOF
38868
38869 fi
38870 done
38871
38872 fi
38873 fi
38874
38875
38876
38877
38878
38879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38880 $as_echo_n "checking for log10l declaration... " >&6; }
38881 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38882 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38883 $as_echo_n "(cached) " >&6
38884 else
38885
38886
38887 ac_ext=cpp
38888 ac_cpp='$CXXCPP $CPPFLAGS'
38889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38892
38893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38894 /* end confdefs.h. */
38895 #include <math.h>
38896 #ifdef HAVE_IEEEFP_H
38897 #include <ieeefp.h>
38898 #endif
38899
38900 int
38901 main ()
38902 {
38903 log10l(0);
38904 ;
38905 return 0;
38906 }
38907 _ACEOF
38908 if ac_fn_cxx_try_compile "$LINENO"; then :
38909 glibcxx_cv_func_log10l_use=yes
38910 else
38911 glibcxx_cv_func_log10l_use=no
38912 fi
38913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38914 ac_ext=c
38915 ac_cpp='$CPP $CPPFLAGS'
38916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38919
38920
38921 fi
38922
38923 fi
38924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38925 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38926
38927 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38928 for ac_func in log10l
38929 do :
38930 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38931 if test "x$ac_cv_func_log10l" = x""yes; then :
38932 cat >>confdefs.h <<_ACEOF
38933 #define HAVE_LOG10L 1
38934 _ACEOF
38935
38936 fi
38937 done
38938
38939 else
38940
38941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38942 $as_echo_n "checking for _log10l declaration... " >&6; }
38943 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38944 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38945 $as_echo_n "(cached) " >&6
38946 else
38947
38948
38949 ac_ext=cpp
38950 ac_cpp='$CXXCPP $CPPFLAGS'
38951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38954
38955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38956 /* end confdefs.h. */
38957 #include <math.h>
38958 #ifdef HAVE_IEEEFP_H
38959 #include <ieeefp.h>
38960 #endif
38961
38962 int
38963 main ()
38964 {
38965 _log10l(0);
38966 ;
38967 return 0;
38968 }
38969 _ACEOF
38970 if ac_fn_cxx_try_compile "$LINENO"; then :
38971 glibcxx_cv_func__log10l_use=yes
38972 else
38973 glibcxx_cv_func__log10l_use=no
38974 fi
38975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38976 ac_ext=c
38977 ac_cpp='$CPP $CPPFLAGS'
38978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38981
38982
38983 fi
38984
38985 fi
38986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38987 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38988
38989 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38990 for ac_func in _log10l
38991 do :
38992 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38993 if test "x$ac_cv_func__log10l" = x""yes; then :
38994 cat >>confdefs.h <<_ACEOF
38995 #define HAVE__LOG10L 1
38996 _ACEOF
38997
38998 fi
38999 done
39000
39001 fi
39002 fi
39003
39004
39005
39006
39007
39008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39009 $as_echo_n "checking for modfl declaration... " >&6; }
39010 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39011 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39012 $as_echo_n "(cached) " >&6
39013 else
39014
39015
39016 ac_ext=cpp
39017 ac_cpp='$CXXCPP $CPPFLAGS'
39018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39021
39022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39023 /* end confdefs.h. */
39024 #include <math.h>
39025 int
39026 main ()
39027 {
39028 modfl(0, 0);
39029 ;
39030 return 0;
39031 }
39032 _ACEOF
39033 if ac_fn_cxx_try_compile "$LINENO"; then :
39034 glibcxx_cv_func_modfl_use=yes
39035 else
39036 glibcxx_cv_func_modfl_use=no
39037 fi
39038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39039 ac_ext=c
39040 ac_cpp='$CPP $CPPFLAGS'
39041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39044
39045
39046 fi
39047
39048 fi
39049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39050 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39051
39052 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39053 for ac_func in modfl
39054 do :
39055 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39056 if test "x$ac_cv_func_modfl" = x""yes; then :
39057 cat >>confdefs.h <<_ACEOF
39058 #define HAVE_MODFL 1
39059 _ACEOF
39060
39061 fi
39062 done
39063
39064 else
39065
39066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39067 $as_echo_n "checking for _modfl declaration... " >&6; }
39068 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39069 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39070 $as_echo_n "(cached) " >&6
39071 else
39072
39073
39074 ac_ext=cpp
39075 ac_cpp='$CXXCPP $CPPFLAGS'
39076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39079
39080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39081 /* end confdefs.h. */
39082 #include <math.h>
39083 int
39084 main ()
39085 {
39086 _modfl(0, 0);
39087 ;
39088 return 0;
39089 }
39090 _ACEOF
39091 if ac_fn_cxx_try_compile "$LINENO"; then :
39092 glibcxx_cv_func__modfl_use=yes
39093 else
39094 glibcxx_cv_func__modfl_use=no
39095 fi
39096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39097 ac_ext=c
39098 ac_cpp='$CPP $CPPFLAGS'
39099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39102
39103
39104 fi
39105
39106 fi
39107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39108 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39109
39110 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39111 for ac_func in _modfl
39112 do :
39113 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39114 if test "x$ac_cv_func__modfl" = x""yes; then :
39115 cat >>confdefs.h <<_ACEOF
39116 #define HAVE__MODFL 1
39117 _ACEOF
39118
39119 fi
39120 done
39121
39122 fi
39123 fi
39124
39125
39126
39127
39128
39129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39130 $as_echo_n "checking for powl declaration... " >&6; }
39131 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39132 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39133 $as_echo_n "(cached) " >&6
39134 else
39135
39136
39137 ac_ext=cpp
39138 ac_cpp='$CXXCPP $CPPFLAGS'
39139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39142
39143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39144 /* end confdefs.h. */
39145 #include <math.h>
39146 int
39147 main ()
39148 {
39149 powl(0, 0);
39150 ;
39151 return 0;
39152 }
39153 _ACEOF
39154 if ac_fn_cxx_try_compile "$LINENO"; then :
39155 glibcxx_cv_func_powl_use=yes
39156 else
39157 glibcxx_cv_func_powl_use=no
39158 fi
39159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39160 ac_ext=c
39161 ac_cpp='$CPP $CPPFLAGS'
39162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39165
39166
39167 fi
39168
39169 fi
39170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39171 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39172
39173 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39174 for ac_func in powl
39175 do :
39176 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39177 if test "x$ac_cv_func_powl" = x""yes; then :
39178 cat >>confdefs.h <<_ACEOF
39179 #define HAVE_POWL 1
39180 _ACEOF
39181
39182 fi
39183 done
39184
39185 else
39186
39187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39188 $as_echo_n "checking for _powl declaration... " >&6; }
39189 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39190 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39191 $as_echo_n "(cached) " >&6
39192 else
39193
39194
39195 ac_ext=cpp
39196 ac_cpp='$CXXCPP $CPPFLAGS'
39197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39200
39201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39202 /* end confdefs.h. */
39203 #include <math.h>
39204 int
39205 main ()
39206 {
39207 _powl(0, 0);
39208 ;
39209 return 0;
39210 }
39211 _ACEOF
39212 if ac_fn_cxx_try_compile "$LINENO"; then :
39213 glibcxx_cv_func__powl_use=yes
39214 else
39215 glibcxx_cv_func__powl_use=no
39216 fi
39217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39218 ac_ext=c
39219 ac_cpp='$CPP $CPPFLAGS'
39220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39223
39224
39225 fi
39226
39227 fi
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39229 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39230
39231 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39232 for ac_func in _powl
39233 do :
39234 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39235 if test "x$ac_cv_func__powl" = x""yes; then :
39236 cat >>confdefs.h <<_ACEOF
39237 #define HAVE__POWL 1
39238 _ACEOF
39239
39240 fi
39241 done
39242
39243 fi
39244 fi
39245
39246
39247
39248
39249
39250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39251 $as_echo_n "checking for sqrtl declaration... " >&6; }
39252 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39253 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39254 $as_echo_n "(cached) " >&6
39255 else
39256
39257
39258 ac_ext=cpp
39259 ac_cpp='$CXXCPP $CPPFLAGS'
39260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39263
39264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39265 /* end confdefs.h. */
39266 #include <math.h>
39267 #ifdef HAVE_IEEEFP_H
39268 #include <ieeefp.h>
39269 #endif
39270
39271 int
39272 main ()
39273 {
39274 sqrtl(0);
39275 ;
39276 return 0;
39277 }
39278 _ACEOF
39279 if ac_fn_cxx_try_compile "$LINENO"; then :
39280 glibcxx_cv_func_sqrtl_use=yes
39281 else
39282 glibcxx_cv_func_sqrtl_use=no
39283 fi
39284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39285 ac_ext=c
39286 ac_cpp='$CPP $CPPFLAGS'
39287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39290
39291
39292 fi
39293
39294 fi
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39296 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39297
39298 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39299 for ac_func in sqrtl
39300 do :
39301 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39302 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39303 cat >>confdefs.h <<_ACEOF
39304 #define HAVE_SQRTL 1
39305 _ACEOF
39306
39307 fi
39308 done
39309
39310 else
39311
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39313 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39314 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39315 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39316 $as_echo_n "(cached) " >&6
39317 else
39318
39319
39320 ac_ext=cpp
39321 ac_cpp='$CXXCPP $CPPFLAGS'
39322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39325
39326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39327 /* end confdefs.h. */
39328 #include <math.h>
39329 #ifdef HAVE_IEEEFP_H
39330 #include <ieeefp.h>
39331 #endif
39332
39333 int
39334 main ()
39335 {
39336 _sqrtl(0);
39337 ;
39338 return 0;
39339 }
39340 _ACEOF
39341 if ac_fn_cxx_try_compile "$LINENO"; then :
39342 glibcxx_cv_func__sqrtl_use=yes
39343 else
39344 glibcxx_cv_func__sqrtl_use=no
39345 fi
39346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39347 ac_ext=c
39348 ac_cpp='$CPP $CPPFLAGS'
39349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39352
39353
39354 fi
39355
39356 fi
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39358 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39359
39360 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39361 for ac_func in _sqrtl
39362 do :
39363 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39364 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39365 cat >>confdefs.h <<_ACEOF
39366 #define HAVE__SQRTL 1
39367 _ACEOF
39368
39369 fi
39370 done
39371
39372 fi
39373 fi
39374
39375
39376
39377
39378
39379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39380 $as_echo_n "checking for sincosl declaration... " >&6; }
39381 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39382 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39383 $as_echo_n "(cached) " >&6
39384 else
39385
39386
39387 ac_ext=cpp
39388 ac_cpp='$CXXCPP $CPPFLAGS'
39389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39392
39393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39394 /* end confdefs.h. */
39395 #include <math.h>
39396 int
39397 main ()
39398 {
39399 sincosl(0, 0, 0);
39400 ;
39401 return 0;
39402 }
39403 _ACEOF
39404 if ac_fn_cxx_try_compile "$LINENO"; then :
39405 glibcxx_cv_func_sincosl_use=yes
39406 else
39407 glibcxx_cv_func_sincosl_use=no
39408 fi
39409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39410 ac_ext=c
39411 ac_cpp='$CPP $CPPFLAGS'
39412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39415
39416
39417 fi
39418
39419 fi
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39421 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39422
39423 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39424 for ac_func in sincosl
39425 do :
39426 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39427 if test "x$ac_cv_func_sincosl" = x""yes; then :
39428 cat >>confdefs.h <<_ACEOF
39429 #define HAVE_SINCOSL 1
39430 _ACEOF
39431
39432 fi
39433 done
39434
39435 else
39436
39437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39438 $as_echo_n "checking for _sincosl declaration... " >&6; }
39439 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39440 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39441 $as_echo_n "(cached) " >&6
39442 else
39443
39444
39445 ac_ext=cpp
39446 ac_cpp='$CXXCPP $CPPFLAGS'
39447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39450
39451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39452 /* end confdefs.h. */
39453 #include <math.h>
39454 int
39455 main ()
39456 {
39457 _sincosl(0, 0, 0);
39458 ;
39459 return 0;
39460 }
39461 _ACEOF
39462 if ac_fn_cxx_try_compile "$LINENO"; then :
39463 glibcxx_cv_func__sincosl_use=yes
39464 else
39465 glibcxx_cv_func__sincosl_use=no
39466 fi
39467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39468 ac_ext=c
39469 ac_cpp='$CPP $CPPFLAGS'
39470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39473
39474
39475 fi
39476
39477 fi
39478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39479 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39480
39481 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39482 for ac_func in _sincosl
39483 do :
39484 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39485 if test "x$ac_cv_func__sincosl" = x""yes; then :
39486 cat >>confdefs.h <<_ACEOF
39487 #define HAVE__SINCOSL 1
39488 _ACEOF
39489
39490 fi
39491 done
39492
39493 fi
39494 fi
39495
39496
39497
39498
39499
39500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39501 $as_echo_n "checking for finitel declaration... " >&6; }
39502 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39503 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39504 $as_echo_n "(cached) " >&6
39505 else
39506
39507
39508 ac_ext=cpp
39509 ac_cpp='$CXXCPP $CPPFLAGS'
39510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39513
39514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39515 /* end confdefs.h. */
39516 #include <math.h>
39517 #ifdef HAVE_IEEEFP_H
39518 #include <ieeefp.h>
39519 #endif
39520
39521 int
39522 main ()
39523 {
39524 finitel(0);
39525 ;
39526 return 0;
39527 }
39528 _ACEOF
39529 if ac_fn_cxx_try_compile "$LINENO"; then :
39530 glibcxx_cv_func_finitel_use=yes
39531 else
39532 glibcxx_cv_func_finitel_use=no
39533 fi
39534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39535 ac_ext=c
39536 ac_cpp='$CPP $CPPFLAGS'
39537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39540
39541
39542 fi
39543
39544 fi
39545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39546 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39547
39548 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39549 for ac_func in finitel
39550 do :
39551 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39552 if test "x$ac_cv_func_finitel" = x""yes; then :
39553 cat >>confdefs.h <<_ACEOF
39554 #define HAVE_FINITEL 1
39555 _ACEOF
39556
39557 fi
39558 done
39559
39560 else
39561
39562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39563 $as_echo_n "checking for _finitel declaration... " >&6; }
39564 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39565 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39566 $as_echo_n "(cached) " >&6
39567 else
39568
39569
39570 ac_ext=cpp
39571 ac_cpp='$CXXCPP $CPPFLAGS'
39572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39575
39576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39577 /* end confdefs.h. */
39578 #include <math.h>
39579 #ifdef HAVE_IEEEFP_H
39580 #include <ieeefp.h>
39581 #endif
39582
39583 int
39584 main ()
39585 {
39586 _finitel(0);
39587 ;
39588 return 0;
39589 }
39590 _ACEOF
39591 if ac_fn_cxx_try_compile "$LINENO"; then :
39592 glibcxx_cv_func__finitel_use=yes
39593 else
39594 glibcxx_cv_func__finitel_use=no
39595 fi
39596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39597 ac_ext=c
39598 ac_cpp='$CPP $CPPFLAGS'
39599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39602
39603
39604 fi
39605
39606 fi
39607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39608 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39609
39610 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39611 for ac_func in _finitel
39612 do :
39613 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39614 if test "x$ac_cv_func__finitel" = x""yes; then :
39615 cat >>confdefs.h <<_ACEOF
39616 #define HAVE__FINITEL 1
39617 _ACEOF
39618
39619 fi
39620 done
39621
39622 fi
39623 fi
39624
39625
39626
39627
39628 LIBS="$ac_save_LIBS"
39629 CXXFLAGS="$ac_save_CXXFLAGS"
39630
39631
39632 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39633 ac_save_CXXFLAGS="$CXXFLAGS"
39634 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39635
39636
39637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39638 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39639 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39640 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39641 $as_echo_n "(cached) " >&6
39642 else
39643
39644
39645 ac_ext=cpp
39646 ac_cpp='$CXXCPP $CPPFLAGS'
39647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39650
39651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39652 /* end confdefs.h. */
39653 #include <stdlib.h>
39654 int
39655 main ()
39656 {
39657 at_quick_exit(0);
39658 ;
39659 return 0;
39660 }
39661 _ACEOF
39662 if ac_fn_cxx_try_compile "$LINENO"; then :
39663 glibcxx_cv_func_at_quick_exit_use=yes
39664 else
39665 glibcxx_cv_func_at_quick_exit_use=no
39666 fi
39667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39668 ac_ext=c
39669 ac_cpp='$CPP $CPPFLAGS'
39670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39673
39674
39675 fi
39676
39677 fi
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39679 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39680 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39681 for ac_func in at_quick_exit
39682 do :
39683 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39684 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39685 cat >>confdefs.h <<_ACEOF
39686 #define HAVE_AT_QUICK_EXIT 1
39687 _ACEOF
39688
39689 fi
39690 done
39691
39692 fi
39693
39694
39695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39696 $as_echo_n "checking for quick_exit declaration... " >&6; }
39697 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39698 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39699 $as_echo_n "(cached) " >&6
39700 else
39701
39702
39703 ac_ext=cpp
39704 ac_cpp='$CXXCPP $CPPFLAGS'
39705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39708
39709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39710 /* end confdefs.h. */
39711 #include <stdlib.h>
39712 int
39713 main ()
39714 {
39715 quick_exit(0);
39716 ;
39717 return 0;
39718 }
39719 _ACEOF
39720 if ac_fn_cxx_try_compile "$LINENO"; then :
39721 glibcxx_cv_func_quick_exit_use=yes
39722 else
39723 glibcxx_cv_func_quick_exit_use=no
39724 fi
39725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39726 ac_ext=c
39727 ac_cpp='$CPP $CPPFLAGS'
39728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39731
39732
39733 fi
39734
39735 fi
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39737 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39738 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39739 for ac_func in quick_exit
39740 do :
39741 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39742 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39743 cat >>confdefs.h <<_ACEOF
39744 #define HAVE_QUICK_EXIT 1
39745 _ACEOF
39746
39747 fi
39748 done
39749
39750 fi
39751
39752
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39754 $as_echo_n "checking for strtold declaration... " >&6; }
39755 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39756 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39757 $as_echo_n "(cached) " >&6
39758 else
39759
39760
39761 ac_ext=cpp
39762 ac_cpp='$CXXCPP $CPPFLAGS'
39763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39766
39767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39768 /* end confdefs.h. */
39769 #include <stdlib.h>
39770 int
39771 main ()
39772 {
39773 strtold(0, 0);
39774 ;
39775 return 0;
39776 }
39777 _ACEOF
39778 if ac_fn_cxx_try_compile "$LINENO"; then :
39779 glibcxx_cv_func_strtold_use=yes
39780 else
39781 glibcxx_cv_func_strtold_use=no
39782 fi
39783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39784 ac_ext=c
39785 ac_cpp='$CPP $CPPFLAGS'
39786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39789
39790
39791 fi
39792
39793 fi
39794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39795 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39796 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39797 for ac_func in strtold
39798 do :
39799 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39800 if test "x$ac_cv_func_strtold" = x""yes; then :
39801 cat >>confdefs.h <<_ACEOF
39802 #define HAVE_STRTOLD 1
39803 _ACEOF
39804
39805 fi
39806 done
39807
39808 fi
39809
39810
39811
39812
39813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39814 $as_echo_n "checking for strtof declaration... " >&6; }
39815 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39816 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39817 $as_echo_n "(cached) " >&6
39818 else
39819
39820
39821 ac_ext=cpp
39822 ac_cpp='$CXXCPP $CPPFLAGS'
39823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39826
39827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39828 /* end confdefs.h. */
39829 #include <stdlib.h>
39830 int
39831 main ()
39832 {
39833 strtof(0, 0);
39834 ;
39835 return 0;
39836 }
39837 _ACEOF
39838 if ac_fn_cxx_try_compile "$LINENO"; then :
39839 glibcxx_cv_func_strtof_use=yes
39840 else
39841 glibcxx_cv_func_strtof_use=no
39842 fi
39843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39844 ac_ext=c
39845 ac_cpp='$CPP $CPPFLAGS'
39846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39849
39850
39851 fi
39852
39853 fi
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39855 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39856 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39857 for ac_func in strtof
39858 do :
39859 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39860 if test "x$ac_cv_func_strtof" = x""yes; then :
39861 cat >>confdefs.h <<_ACEOF
39862 #define HAVE_STRTOF 1
39863 _ACEOF
39864
39865 fi
39866 done
39867
39868 fi
39869
39870
39871
39872
39873 CXXFLAGS="$ac_save_CXXFLAGS"
39874
39875
39876
39877
39878
39879
39880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39881 $as_echo_n "checking for iconv... " >&6; }
39882 if test "${am_cv_func_iconv+set}" = set; then :
39883 $as_echo_n "(cached) " >&6
39884 else
39885
39886 am_cv_func_iconv="no, consider installing GNU libiconv"
39887 am_cv_lib_iconv=no
39888 am_save_CPPFLAGS="$CPPFLAGS"
39889 CPPFLAGS="$CPPFLAGS $INCICONV"
39890 if test x$gcc_no_link = xyes; then
39891 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39892 fi
39893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39894 /* end confdefs.h. */
39895 #include <stdlib.h>
39896 #include <iconv.h>
39897 int
39898 main ()
39899 {
39900 iconv_t cd = iconv_open("","");
39901 iconv(cd,NULL,NULL,NULL,NULL);
39902 iconv_close(cd);
39903 ;
39904 return 0;
39905 }
39906 _ACEOF
39907 if ac_fn_c_try_link "$LINENO"; then :
39908 am_cv_func_iconv=yes
39909 fi
39910 rm -f core conftest.err conftest.$ac_objext \
39911 conftest$ac_exeext conftest.$ac_ext
39912 CPPFLAGS="$am_save_CPPFLAGS"
39913
39914 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
39915 for _libs in .libs _libs; do
39916 am_save_CPPFLAGS="$CPPFLAGS"
39917 am_save_LIBS="$LIBS"
39918 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
39919 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
39920 if test x$gcc_no_link = xyes; then
39921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39922 fi
39923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39924 /* end confdefs.h. */
39925 #include <stdlib.h>
39926 #include <iconv.h>
39927 int
39928 main ()
39929 {
39930 iconv_t cd = iconv_open("","");
39931 iconv(cd,NULL,NULL,NULL,NULL);
39932 iconv_close(cd);
39933 ;
39934 return 0;
39935 }
39936 _ACEOF
39937 if ac_fn_c_try_link "$LINENO"; then :
39938 INCICONV="-I../libiconv/include"
39939 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
39940 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
39941 am_cv_lib_iconv=yes
39942 am_cv_func_iconv=yes
39943 fi
39944 rm -f core conftest.err conftest.$ac_objext \
39945 conftest$ac_exeext conftest.$ac_ext
39946 CPPFLAGS="$am_save_CPPFLAGS"
39947 LIBS="$am_save_LIBS"
39948 if test "$am_cv_func_iconv" = "yes"; then
39949 break
39950 fi
39951 done
39952 fi
39953
39954 if test "$am_cv_func_iconv" != yes; then
39955 am_save_CPPFLAGS="$CPPFLAGS"
39956 am_save_LIBS="$LIBS"
39957 CPPFLAGS="$LIBS $INCICONV"
39958 LIBS="$LIBS $LIBICONV"
39959 if test x$gcc_no_link = xyes; then
39960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39961 fi
39962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39963 /* end confdefs.h. */
39964 #include <stdlib.h>
39965 #include <iconv.h>
39966 int
39967 main ()
39968 {
39969 iconv_t cd = iconv_open("","");
39970 iconv(cd,NULL,NULL,NULL,NULL);
39971 iconv_close(cd);
39972 ;
39973 return 0;
39974 }
39975 _ACEOF
39976 if ac_fn_c_try_link "$LINENO"; then :
39977 am_cv_lib_iconv=yes
39978 am_cv_func_iconv=yes
39979 fi
39980 rm -f core conftest.err conftest.$ac_objext \
39981 conftest$ac_exeext conftest.$ac_ext
39982 CPPFLAGS="$am_save_CPPFLAGS"
39983 LIBS="$am_save_LIBS"
39984 fi
39985
39986 fi
39987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39988 $as_echo "$am_cv_func_iconv" >&6; }
39989 if test "$am_cv_func_iconv" = yes; then
39990
39991 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39992
39993 fi
39994 if test "$am_cv_lib_iconv" = yes; then
39995
39996 for element in $INCICONV; do
39997 haveit=
39998 for x in $CPPFLAGS; do
39999
40000 acl_save_prefix="$prefix"
40001 prefix="$acl_final_prefix"
40002 acl_save_exec_prefix="$exec_prefix"
40003 exec_prefix="$acl_final_exec_prefix"
40004 eval x=\"$x\"
40005 exec_prefix="$acl_save_exec_prefix"
40006 prefix="$acl_save_prefix"
40007
40008 if test "X$x" = "X$element"; then
40009 haveit=yes
40010 break
40011 fi
40012 done
40013 if test -z "$haveit"; then
40014 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40015 fi
40016 done
40017
40018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40019 $as_echo_n "checking how to link with libiconv... " >&6; }
40020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40021 $as_echo "$LIBICONV" >&6; }
40022 else
40023 LIBICONV=
40024 LTLIBICONV=
40025 fi
40026
40027
40028
40029 if test "$am_cv_func_iconv" = yes; then
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40031 $as_echo_n "checking for iconv declaration... " >&6; }
40032 if test "${am_cv_proto_iconv+set}" = set; then :
40033 $as_echo_n "(cached) " >&6
40034 else
40035
40036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40037 /* end confdefs.h. */
40038
40039 #include <stdlib.h>
40040 #include <iconv.h>
40041 extern
40042 #ifdef __cplusplus
40043 "C"
40044 #endif
40045 #if defined(__STDC__) || defined(__cplusplus)
40046 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40047 #else
40048 size_t iconv();
40049 #endif
40050
40051 int
40052 main ()
40053 {
40054
40055 ;
40056 return 0;
40057 }
40058 _ACEOF
40059 if ac_fn_c_try_compile "$LINENO"; then :
40060 am_cv_proto_iconv_arg1=""
40061 else
40062 am_cv_proto_iconv_arg1="const"
40063 fi
40064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40065 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);"
40066 fi
40067
40068 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40070 }$am_cv_proto_iconv" >&5
40071 $as_echo "${ac_t:-
40072 }$am_cv_proto_iconv" >&6; }
40073
40074 cat >>confdefs.h <<_ACEOF
40075 #define ICONV_CONST $am_cv_proto_iconv_arg1
40076 _ACEOF
40077
40078 fi
40079
40080 ;;
40081
40082 *-aix*)
40083
40084 # If we're not using GNU ld, then there's no point in even trying these
40085 # tests. Check for that first. We should have already tested for gld
40086 # by now (in libtool), but require it now just to be safe...
40087 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40088 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40089
40090
40091
40092 # The name set by libtool depends on the version of libtool. Shame on us
40093 # for depending on an impl detail, but c'est la vie. Older versions used
40094 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40095 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40096 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40097 # set (hence we're using an older libtool), then set it.
40098 if test x${with_gnu_ld+set} != xset; then
40099 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40100 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40101 with_gnu_ld=no
40102 else
40103 with_gnu_ld=$ac_cv_prog_gnu_ld
40104 fi
40105 fi
40106
40107 # Start by getting the version number. I think the libtool test already
40108 # does some of this, but throws away the result.
40109 glibcxx_ld_is_gold=no
40110 if test x"$with_gnu_ld" = x"yes"; then
40111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40112 $as_echo_n "checking for ld version... " >&6; }
40113
40114 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40115 glibcxx_ld_is_gold=yes
40116 fi
40117 ldver=`$LD --version 2>/dev/null |
40118 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
40119
40120 glibcxx_gnu_ld_version=`echo $ldver | \
40121 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40123 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40124 fi
40125
40126 # Set --gc-sections.
40127 glibcxx_have_gc_sections=no
40128 if test "$glibcxx_ld_is_gold" = "yes"; then
40129 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40130 glibcxx_have_gc_sections=yes
40131 fi
40132 else
40133 glibcxx_gcsections_min_ld=21602
40134 if test x"$with_gnu_ld" = x"yes" &&
40135 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40136 glibcxx_have_gc_sections=yes
40137 fi
40138 fi
40139 if test "$glibcxx_have_gc_sections" = "yes"; then
40140 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40141 # NB: This flag only works reliably after 2.16.1. Configure tests
40142 # for this are difficult, so hard wire a value that should work.
40143
40144 ac_test_CFLAGS="${CFLAGS+set}"
40145 ac_save_CFLAGS="$CFLAGS"
40146 CFLAGS='-Wl,--gc-sections'
40147
40148 # Check for -Wl,--gc-sections
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40150 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40151 if test x$gcc_no_link = xyes; then
40152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40153 fi
40154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40155 /* end confdefs.h. */
40156 int one(void) { return 1; }
40157 int two(void) { return 2; }
40158
40159 int
40160 main ()
40161 {
40162 two();
40163 ;
40164 return 0;
40165 }
40166 _ACEOF
40167 if ac_fn_c_try_link "$LINENO"; then :
40168 ac_gcsections=yes
40169 else
40170 ac_gcsections=no
40171 fi
40172 rm -f core conftest.err conftest.$ac_objext \
40173 conftest$ac_exeext conftest.$ac_ext
40174 if test "$ac_gcsections" = "yes"; then
40175 rm -f conftest.c
40176 touch conftest.c
40177 if $CC -c conftest.c; then
40178 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40179 grep "Warning: gc-sections option ignored" > /dev/null; then
40180 ac_gcsections=no
40181 fi
40182 fi
40183 rm -f conftest.c conftest.o conftest
40184 fi
40185 if test "$ac_gcsections" = "yes"; then
40186 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40187 fi
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40189 $as_echo "$ac_gcsections" >&6; }
40190
40191 if test "$ac_test_CFLAGS" = set; then
40192 CFLAGS="$ac_save_CFLAGS"
40193 else
40194 # this is the suspicious part
40195 CFLAGS=''
40196 fi
40197 fi
40198
40199 # Set -z,relro.
40200 # Note this is only for shared objects.
40201 ac_ld_relro=no
40202 if test x"$with_gnu_ld" = x"yes"; then
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40204 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40205 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40206 if test -n "$cxx_z_relo"; then
40207 OPT_LDFLAGS="-Wl,-z,relro"
40208 ac_ld_relro=yes
40209 fi
40210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40211 $as_echo "$ac_ld_relro" >&6; }
40212 fi
40213
40214 # Set linker optimization flags.
40215 if test x"$with_gnu_ld" = x"yes"; then
40216 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40217 fi
40218
40219
40220
40221
40222
40223 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40224 ac_save_CXXFLAGS="$CXXFLAGS"
40225 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40226
40227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40228 $as_echo_n "checking for sin in -lm... " >&6; }
40229 if test "${ac_cv_lib_m_sin+set}" = set; then :
40230 $as_echo_n "(cached) " >&6
40231 else
40232 ac_check_lib_save_LIBS=$LIBS
40233 LIBS="-lm $LIBS"
40234 if test x$gcc_no_link = xyes; then
40235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40236 fi
40237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40238 /* end confdefs.h. */
40239
40240 /* Override any GCC internal prototype to avoid an error.
40241 Use char because int might match the return type of a GCC
40242 builtin and then its argument prototype would still apply. */
40243 #ifdef __cplusplus
40244 extern "C"
40245 #endif
40246 char sin ();
40247 int
40248 main ()
40249 {
40250 return sin ();
40251 ;
40252 return 0;
40253 }
40254 _ACEOF
40255 if ac_fn_c_try_link "$LINENO"; then :
40256 ac_cv_lib_m_sin=yes
40257 else
40258 ac_cv_lib_m_sin=no
40259 fi
40260 rm -f core conftest.err conftest.$ac_objext \
40261 conftest$ac_exeext conftest.$ac_ext
40262 LIBS=$ac_check_lib_save_LIBS
40263 fi
40264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40265 $as_echo "$ac_cv_lib_m_sin" >&6; }
40266 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40267 libm="-lm"
40268 fi
40269
40270 ac_save_LIBS="$LIBS"
40271 LIBS="$LIBS $libm"
40272
40273
40274
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40276 $as_echo_n "checking for isinf declaration... " >&6; }
40277 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40278 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40279 $as_echo_n "(cached) " >&6
40280 else
40281
40282
40283 ac_ext=cpp
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40288
40289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40290 /* end confdefs.h. */
40291 #include <math.h>
40292 #ifdef HAVE_IEEEFP_H
40293 #include <ieeefp.h>
40294 #endif
40295
40296 int
40297 main ()
40298 {
40299 isinf(0);
40300 ;
40301 return 0;
40302 }
40303 _ACEOF
40304 if ac_fn_cxx_try_compile "$LINENO"; then :
40305 glibcxx_cv_func_isinf_use=yes
40306 else
40307 glibcxx_cv_func_isinf_use=no
40308 fi
40309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40310 ac_ext=c
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40315
40316
40317 fi
40318
40319 fi
40320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40321 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40322
40323 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40324 for ac_func in isinf
40325 do :
40326 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40327 if test "x$ac_cv_func_isinf" = x""yes; then :
40328 cat >>confdefs.h <<_ACEOF
40329 #define HAVE_ISINF 1
40330 _ACEOF
40331
40332 fi
40333 done
40334
40335 else
40336
40337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40338 $as_echo_n "checking for _isinf declaration... " >&6; }
40339 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40340 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40341 $as_echo_n "(cached) " >&6
40342 else
40343
40344
40345 ac_ext=cpp
40346 ac_cpp='$CXXCPP $CPPFLAGS'
40347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40350
40351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40352 /* end confdefs.h. */
40353 #include <math.h>
40354 #ifdef HAVE_IEEEFP_H
40355 #include <ieeefp.h>
40356 #endif
40357
40358 int
40359 main ()
40360 {
40361 _isinf(0);
40362 ;
40363 return 0;
40364 }
40365 _ACEOF
40366 if ac_fn_cxx_try_compile "$LINENO"; then :
40367 glibcxx_cv_func__isinf_use=yes
40368 else
40369 glibcxx_cv_func__isinf_use=no
40370 fi
40371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40372 ac_ext=c
40373 ac_cpp='$CPP $CPPFLAGS'
40374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40377
40378
40379 fi
40380
40381 fi
40382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40383 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40384
40385 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40386 for ac_func in _isinf
40387 do :
40388 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40389 if test "x$ac_cv_func__isinf" = x""yes; then :
40390 cat >>confdefs.h <<_ACEOF
40391 #define HAVE__ISINF 1
40392 _ACEOF
40393
40394 fi
40395 done
40396
40397 fi
40398 fi
40399
40400
40401
40402
40403
40404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40405 $as_echo_n "checking for isnan declaration... " >&6; }
40406 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40407 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40408 $as_echo_n "(cached) " >&6
40409 else
40410
40411
40412 ac_ext=cpp
40413 ac_cpp='$CXXCPP $CPPFLAGS'
40414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40417
40418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40419 /* end confdefs.h. */
40420 #include <math.h>
40421 #ifdef HAVE_IEEEFP_H
40422 #include <ieeefp.h>
40423 #endif
40424
40425 int
40426 main ()
40427 {
40428 isnan(0);
40429 ;
40430 return 0;
40431 }
40432 _ACEOF
40433 if ac_fn_cxx_try_compile "$LINENO"; then :
40434 glibcxx_cv_func_isnan_use=yes
40435 else
40436 glibcxx_cv_func_isnan_use=no
40437 fi
40438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40439 ac_ext=c
40440 ac_cpp='$CPP $CPPFLAGS'
40441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40444
40445
40446 fi
40447
40448 fi
40449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40450 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40451
40452 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40453 for ac_func in isnan
40454 do :
40455 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40456 if test "x$ac_cv_func_isnan" = x""yes; then :
40457 cat >>confdefs.h <<_ACEOF
40458 #define HAVE_ISNAN 1
40459 _ACEOF
40460
40461 fi
40462 done
40463
40464 else
40465
40466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40467 $as_echo_n "checking for _isnan declaration... " >&6; }
40468 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40469 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40470 $as_echo_n "(cached) " >&6
40471 else
40472
40473
40474 ac_ext=cpp
40475 ac_cpp='$CXXCPP $CPPFLAGS'
40476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40479
40480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40481 /* end confdefs.h. */
40482 #include <math.h>
40483 #ifdef HAVE_IEEEFP_H
40484 #include <ieeefp.h>
40485 #endif
40486
40487 int
40488 main ()
40489 {
40490 _isnan(0);
40491 ;
40492 return 0;
40493 }
40494 _ACEOF
40495 if ac_fn_cxx_try_compile "$LINENO"; then :
40496 glibcxx_cv_func__isnan_use=yes
40497 else
40498 glibcxx_cv_func__isnan_use=no
40499 fi
40500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40501 ac_ext=c
40502 ac_cpp='$CPP $CPPFLAGS'
40503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40506
40507
40508 fi
40509
40510 fi
40511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40512 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40513
40514 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40515 for ac_func in _isnan
40516 do :
40517 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40518 if test "x$ac_cv_func__isnan" = x""yes; then :
40519 cat >>confdefs.h <<_ACEOF
40520 #define HAVE__ISNAN 1
40521 _ACEOF
40522
40523 fi
40524 done
40525
40526 fi
40527 fi
40528
40529
40530
40531
40532
40533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40534 $as_echo_n "checking for finite declaration... " >&6; }
40535 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40536 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40537 $as_echo_n "(cached) " >&6
40538 else
40539
40540
40541 ac_ext=cpp
40542 ac_cpp='$CXXCPP $CPPFLAGS'
40543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40546
40547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40548 /* end confdefs.h. */
40549 #include <math.h>
40550 #ifdef HAVE_IEEEFP_H
40551 #include <ieeefp.h>
40552 #endif
40553
40554 int
40555 main ()
40556 {
40557 finite(0);
40558 ;
40559 return 0;
40560 }
40561 _ACEOF
40562 if ac_fn_cxx_try_compile "$LINENO"; then :
40563 glibcxx_cv_func_finite_use=yes
40564 else
40565 glibcxx_cv_func_finite_use=no
40566 fi
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568 ac_ext=c
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40573
40574
40575 fi
40576
40577 fi
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40579 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40580
40581 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40582 for ac_func in finite
40583 do :
40584 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40585 if test "x$ac_cv_func_finite" = x""yes; then :
40586 cat >>confdefs.h <<_ACEOF
40587 #define HAVE_FINITE 1
40588 _ACEOF
40589
40590 fi
40591 done
40592
40593 else
40594
40595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40596 $as_echo_n "checking for _finite declaration... " >&6; }
40597 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40598 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40599 $as_echo_n "(cached) " >&6
40600 else
40601
40602
40603 ac_ext=cpp
40604 ac_cpp='$CXXCPP $CPPFLAGS'
40605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40608
40609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40610 /* end confdefs.h. */
40611 #include <math.h>
40612 #ifdef HAVE_IEEEFP_H
40613 #include <ieeefp.h>
40614 #endif
40615
40616 int
40617 main ()
40618 {
40619 _finite(0);
40620 ;
40621 return 0;
40622 }
40623 _ACEOF
40624 if ac_fn_cxx_try_compile "$LINENO"; then :
40625 glibcxx_cv_func__finite_use=yes
40626 else
40627 glibcxx_cv_func__finite_use=no
40628 fi
40629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40630 ac_ext=c
40631 ac_cpp='$CPP $CPPFLAGS'
40632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40635
40636
40637 fi
40638
40639 fi
40640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40641 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40642
40643 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40644 for ac_func in _finite
40645 do :
40646 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40647 if test "x$ac_cv_func__finite" = x""yes; then :
40648 cat >>confdefs.h <<_ACEOF
40649 #define HAVE__FINITE 1
40650 _ACEOF
40651
40652 fi
40653 done
40654
40655 fi
40656 fi
40657
40658
40659
40660
40661
40662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40663 $as_echo_n "checking for sincos declaration... " >&6; }
40664 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40665 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40666 $as_echo_n "(cached) " >&6
40667 else
40668
40669
40670 ac_ext=cpp
40671 ac_cpp='$CXXCPP $CPPFLAGS'
40672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40675
40676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40677 /* end confdefs.h. */
40678 #include <math.h>
40679 int
40680 main ()
40681 {
40682 sincos(0, 0, 0);
40683 ;
40684 return 0;
40685 }
40686 _ACEOF
40687 if ac_fn_cxx_try_compile "$LINENO"; then :
40688 glibcxx_cv_func_sincos_use=yes
40689 else
40690 glibcxx_cv_func_sincos_use=no
40691 fi
40692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40693 ac_ext=c
40694 ac_cpp='$CPP $CPPFLAGS'
40695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40698
40699
40700 fi
40701
40702 fi
40703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40704 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40705
40706 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40707 for ac_func in sincos
40708 do :
40709 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40710 if test "x$ac_cv_func_sincos" = x""yes; then :
40711 cat >>confdefs.h <<_ACEOF
40712 #define HAVE_SINCOS 1
40713 _ACEOF
40714
40715 fi
40716 done
40717
40718 else
40719
40720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40721 $as_echo_n "checking for _sincos declaration... " >&6; }
40722 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40723 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40724 $as_echo_n "(cached) " >&6
40725 else
40726
40727
40728 ac_ext=cpp
40729 ac_cpp='$CXXCPP $CPPFLAGS'
40730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40733
40734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40735 /* end confdefs.h. */
40736 #include <math.h>
40737 int
40738 main ()
40739 {
40740 _sincos(0, 0, 0);
40741 ;
40742 return 0;
40743 }
40744 _ACEOF
40745 if ac_fn_cxx_try_compile "$LINENO"; then :
40746 glibcxx_cv_func__sincos_use=yes
40747 else
40748 glibcxx_cv_func__sincos_use=no
40749 fi
40750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40751 ac_ext=c
40752 ac_cpp='$CPP $CPPFLAGS'
40753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40756
40757
40758 fi
40759
40760 fi
40761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40762 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40763
40764 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40765 for ac_func in _sincos
40766 do :
40767 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40768 if test "x$ac_cv_func__sincos" = x""yes; then :
40769 cat >>confdefs.h <<_ACEOF
40770 #define HAVE__SINCOS 1
40771 _ACEOF
40772
40773 fi
40774 done
40775
40776 fi
40777 fi
40778
40779
40780
40781
40782
40783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40784 $as_echo_n "checking for fpclass declaration... " >&6; }
40785 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40786 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40787 $as_echo_n "(cached) " >&6
40788 else
40789
40790
40791 ac_ext=cpp
40792 ac_cpp='$CXXCPP $CPPFLAGS'
40793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40796
40797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40798 /* end confdefs.h. */
40799 #include <math.h>
40800 #ifdef HAVE_IEEEFP_H
40801 #include <ieeefp.h>
40802 #endif
40803
40804 int
40805 main ()
40806 {
40807 fpclass(0);
40808 ;
40809 return 0;
40810 }
40811 _ACEOF
40812 if ac_fn_cxx_try_compile "$LINENO"; then :
40813 glibcxx_cv_func_fpclass_use=yes
40814 else
40815 glibcxx_cv_func_fpclass_use=no
40816 fi
40817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40818 ac_ext=c
40819 ac_cpp='$CPP $CPPFLAGS'
40820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40823
40824
40825 fi
40826
40827 fi
40828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40829 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40830
40831 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40832 for ac_func in fpclass
40833 do :
40834 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40835 if test "x$ac_cv_func_fpclass" = x""yes; then :
40836 cat >>confdefs.h <<_ACEOF
40837 #define HAVE_FPCLASS 1
40838 _ACEOF
40839
40840 fi
40841 done
40842
40843 else
40844
40845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40846 $as_echo_n "checking for _fpclass declaration... " >&6; }
40847 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40848 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40849 $as_echo_n "(cached) " >&6
40850 else
40851
40852
40853 ac_ext=cpp
40854 ac_cpp='$CXXCPP $CPPFLAGS'
40855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40858
40859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40860 /* end confdefs.h. */
40861 #include <math.h>
40862 #ifdef HAVE_IEEEFP_H
40863 #include <ieeefp.h>
40864 #endif
40865
40866 int
40867 main ()
40868 {
40869 _fpclass(0);
40870 ;
40871 return 0;
40872 }
40873 _ACEOF
40874 if ac_fn_cxx_try_compile "$LINENO"; then :
40875 glibcxx_cv_func__fpclass_use=yes
40876 else
40877 glibcxx_cv_func__fpclass_use=no
40878 fi
40879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40880 ac_ext=c
40881 ac_cpp='$CPP $CPPFLAGS'
40882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40885
40886
40887 fi
40888
40889 fi
40890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40891 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40892
40893 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40894 for ac_func in _fpclass
40895 do :
40896 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40897 if test "x$ac_cv_func__fpclass" = x""yes; then :
40898 cat >>confdefs.h <<_ACEOF
40899 #define HAVE__FPCLASS 1
40900 _ACEOF
40901
40902 fi
40903 done
40904
40905 fi
40906 fi
40907
40908
40909
40910
40911
40912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40913 $as_echo_n "checking for qfpclass declaration... " >&6; }
40914 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40915 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40916 $as_echo_n "(cached) " >&6
40917 else
40918
40919
40920 ac_ext=cpp
40921 ac_cpp='$CXXCPP $CPPFLAGS'
40922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40925
40926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40927 /* end confdefs.h. */
40928 #include <math.h>
40929 #ifdef HAVE_IEEEFP_H
40930 #include <ieeefp.h>
40931 #endif
40932
40933 int
40934 main ()
40935 {
40936 qfpclass(0);
40937 ;
40938 return 0;
40939 }
40940 _ACEOF
40941 if ac_fn_cxx_try_compile "$LINENO"; then :
40942 glibcxx_cv_func_qfpclass_use=yes
40943 else
40944 glibcxx_cv_func_qfpclass_use=no
40945 fi
40946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40947 ac_ext=c
40948 ac_cpp='$CPP $CPPFLAGS'
40949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40952
40953
40954 fi
40955
40956 fi
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40958 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40959
40960 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40961 for ac_func in qfpclass
40962 do :
40963 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40964 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40965 cat >>confdefs.h <<_ACEOF
40966 #define HAVE_QFPCLASS 1
40967 _ACEOF
40968
40969 fi
40970 done
40971
40972 else
40973
40974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40975 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40976 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40977 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40978 $as_echo_n "(cached) " >&6
40979 else
40980
40981
40982 ac_ext=cpp
40983 ac_cpp='$CXXCPP $CPPFLAGS'
40984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40987
40988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40989 /* end confdefs.h. */
40990 #include <math.h>
40991 #ifdef HAVE_IEEEFP_H
40992 #include <ieeefp.h>
40993 #endif
40994
40995 int
40996 main ()
40997 {
40998 _qfpclass(0);
40999 ;
41000 return 0;
41001 }
41002 _ACEOF
41003 if ac_fn_cxx_try_compile "$LINENO"; then :
41004 glibcxx_cv_func__qfpclass_use=yes
41005 else
41006 glibcxx_cv_func__qfpclass_use=no
41007 fi
41008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41009 ac_ext=c
41010 ac_cpp='$CPP $CPPFLAGS'
41011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41014
41015
41016 fi
41017
41018 fi
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41020 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41021
41022 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41023 for ac_func in _qfpclass
41024 do :
41025 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41026 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41027 cat >>confdefs.h <<_ACEOF
41028 #define HAVE__QFPCLASS 1
41029 _ACEOF
41030
41031 fi
41032 done
41033
41034 fi
41035 fi
41036
41037
41038
41039
41040
41041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41042 $as_echo_n "checking for hypot declaration... " >&6; }
41043 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41044 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41045 $as_echo_n "(cached) " >&6
41046 else
41047
41048
41049 ac_ext=cpp
41050 ac_cpp='$CXXCPP $CPPFLAGS'
41051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41054
41055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41056 /* end confdefs.h. */
41057 #include <math.h>
41058 int
41059 main ()
41060 {
41061 hypot(0, 0);
41062 ;
41063 return 0;
41064 }
41065 _ACEOF
41066 if ac_fn_cxx_try_compile "$LINENO"; then :
41067 glibcxx_cv_func_hypot_use=yes
41068 else
41069 glibcxx_cv_func_hypot_use=no
41070 fi
41071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41072 ac_ext=c
41073 ac_cpp='$CPP $CPPFLAGS'
41074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41077
41078
41079 fi
41080
41081 fi
41082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41083 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41084
41085 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41086 for ac_func in hypot
41087 do :
41088 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41089 if test "x$ac_cv_func_hypot" = x""yes; then :
41090 cat >>confdefs.h <<_ACEOF
41091 #define HAVE_HYPOT 1
41092 _ACEOF
41093
41094 fi
41095 done
41096
41097 else
41098
41099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41100 $as_echo_n "checking for _hypot declaration... " >&6; }
41101 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41102 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41103 $as_echo_n "(cached) " >&6
41104 else
41105
41106
41107 ac_ext=cpp
41108 ac_cpp='$CXXCPP $CPPFLAGS'
41109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41112
41113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41114 /* end confdefs.h. */
41115 #include <math.h>
41116 int
41117 main ()
41118 {
41119 _hypot(0, 0);
41120 ;
41121 return 0;
41122 }
41123 _ACEOF
41124 if ac_fn_cxx_try_compile "$LINENO"; then :
41125 glibcxx_cv_func__hypot_use=yes
41126 else
41127 glibcxx_cv_func__hypot_use=no
41128 fi
41129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41130 ac_ext=c
41131 ac_cpp='$CPP $CPPFLAGS'
41132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41135
41136
41137 fi
41138
41139 fi
41140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41141 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41142
41143 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41144 for ac_func in _hypot
41145 do :
41146 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41147 if test "x$ac_cv_func__hypot" = x""yes; then :
41148 cat >>confdefs.h <<_ACEOF
41149 #define HAVE__HYPOT 1
41150 _ACEOF
41151
41152 fi
41153 done
41154
41155 fi
41156 fi
41157
41158
41159
41160
41161
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41163 $as_echo_n "checking for float trig functions... " >&6; }
41164 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41165 $as_echo_n "(cached) " >&6
41166 else
41167
41168
41169 ac_ext=cpp
41170 ac_cpp='$CXXCPP $CPPFLAGS'
41171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41174
41175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41176 /* end confdefs.h. */
41177 #include <math.h>
41178 int
41179 main ()
41180 {
41181 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41182 ;
41183 return 0;
41184 }
41185 _ACEOF
41186 if ac_fn_cxx_try_compile "$LINENO"; then :
41187 glibcxx_cv_func_float_trig_use=yes
41188 else
41189 glibcxx_cv_func_float_trig_use=no
41190 fi
41191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41192 ac_ext=c
41193 ac_cpp='$CPP $CPPFLAGS'
41194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41197
41198 fi
41199
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41201 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41202 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41203 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41204 do :
41205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41207 eval as_val=\$$as_ac_var
41208 if test "x$as_val" = x""yes; then :
41209 cat >>confdefs.h <<_ACEOF
41210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41211 _ACEOF
41212
41213 fi
41214 done
41215
41216 else
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41218 $as_echo_n "checking for _float trig functions... " >&6; }
41219 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41220 $as_echo_n "(cached) " >&6
41221 else
41222
41223
41224 ac_ext=cpp
41225 ac_cpp='$CXXCPP $CPPFLAGS'
41226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41229
41230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41231 /* end confdefs.h. */
41232 #include <math.h>
41233 int
41234 main ()
41235 {
41236 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41237 ;
41238 return 0;
41239 }
41240 _ACEOF
41241 if ac_fn_cxx_try_compile "$LINENO"; then :
41242 glibcxx_cv_func__float_trig_use=yes
41243 else
41244 glibcxx_cv_func__float_trig_use=no
41245 fi
41246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41247 ac_ext=c
41248 ac_cpp='$CPP $CPPFLAGS'
41249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41252
41253 fi
41254
41255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41256 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41257 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41258 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41259 do :
41260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41262 eval as_val=\$$as_ac_var
41263 if test "x$as_val" = x""yes; then :
41264 cat >>confdefs.h <<_ACEOF
41265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41266 _ACEOF
41267
41268 fi
41269 done
41270
41271 fi
41272 fi
41273
41274
41275
41276
41277
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41279 $as_echo_n "checking for float round functions... " >&6; }
41280 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41281 $as_echo_n "(cached) " >&6
41282 else
41283
41284
41285 ac_ext=cpp
41286 ac_cpp='$CXXCPP $CPPFLAGS'
41287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41290
41291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41292 /* end confdefs.h. */
41293 #include <math.h>
41294 int
41295 main ()
41296 {
41297 ceilf (0); floorf (0);
41298 ;
41299 return 0;
41300 }
41301 _ACEOF
41302 if ac_fn_cxx_try_compile "$LINENO"; then :
41303 glibcxx_cv_func_float_round_use=yes
41304 else
41305 glibcxx_cv_func_float_round_use=no
41306 fi
41307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41308 ac_ext=c
41309 ac_cpp='$CPP $CPPFLAGS'
41310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41313
41314 fi
41315
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41317 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41318 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41319 for ac_func in ceilf floorf
41320 do :
41321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41323 eval as_val=\$$as_ac_var
41324 if test "x$as_val" = x""yes; then :
41325 cat >>confdefs.h <<_ACEOF
41326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41327 _ACEOF
41328
41329 fi
41330 done
41331
41332 else
41333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41334 $as_echo_n "checking for _float round functions... " >&6; }
41335 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41336 $as_echo_n "(cached) " >&6
41337 else
41338
41339
41340 ac_ext=cpp
41341 ac_cpp='$CXXCPP $CPPFLAGS'
41342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41345
41346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41347 /* end confdefs.h. */
41348 #include <math.h>
41349 int
41350 main ()
41351 {
41352 _ceilf (0); _floorf (0);
41353 ;
41354 return 0;
41355 }
41356 _ACEOF
41357 if ac_fn_cxx_try_compile "$LINENO"; then :
41358 glibcxx_cv_func__float_round_use=yes
41359 else
41360 glibcxx_cv_func__float_round_use=no
41361 fi
41362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41363 ac_ext=c
41364 ac_cpp='$CPP $CPPFLAGS'
41365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41368
41369 fi
41370
41371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41372 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41373 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41374 for ac_func in _ceilf _floorf
41375 do :
41376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41378 eval as_val=\$$as_ac_var
41379 if test "x$as_val" = x""yes; then :
41380 cat >>confdefs.h <<_ACEOF
41381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41382 _ACEOF
41383
41384 fi
41385 done
41386
41387 fi
41388 fi
41389
41390
41391
41392
41393
41394
41395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41396 $as_echo_n "checking for expf declaration... " >&6; }
41397 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41398 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41399 $as_echo_n "(cached) " >&6
41400 else
41401
41402
41403 ac_ext=cpp
41404 ac_cpp='$CXXCPP $CPPFLAGS'
41405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41408
41409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41410 /* end confdefs.h. */
41411 #include <math.h>
41412 #ifdef HAVE_IEEEFP_H
41413 #include <ieeefp.h>
41414 #endif
41415
41416 int
41417 main ()
41418 {
41419 expf(0);
41420 ;
41421 return 0;
41422 }
41423 _ACEOF
41424 if ac_fn_cxx_try_compile "$LINENO"; then :
41425 glibcxx_cv_func_expf_use=yes
41426 else
41427 glibcxx_cv_func_expf_use=no
41428 fi
41429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41430 ac_ext=c
41431 ac_cpp='$CPP $CPPFLAGS'
41432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41435
41436
41437 fi
41438
41439 fi
41440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41441 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41442
41443 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41444 for ac_func in expf
41445 do :
41446 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41447 if test "x$ac_cv_func_expf" = x""yes; then :
41448 cat >>confdefs.h <<_ACEOF
41449 #define HAVE_EXPF 1
41450 _ACEOF
41451
41452 fi
41453 done
41454
41455 else
41456
41457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41458 $as_echo_n "checking for _expf declaration... " >&6; }
41459 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41460 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41461 $as_echo_n "(cached) " >&6
41462 else
41463
41464
41465 ac_ext=cpp
41466 ac_cpp='$CXXCPP $CPPFLAGS'
41467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41470
41471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41472 /* end confdefs.h. */
41473 #include <math.h>
41474 #ifdef HAVE_IEEEFP_H
41475 #include <ieeefp.h>
41476 #endif
41477
41478 int
41479 main ()
41480 {
41481 _expf(0);
41482 ;
41483 return 0;
41484 }
41485 _ACEOF
41486 if ac_fn_cxx_try_compile "$LINENO"; then :
41487 glibcxx_cv_func__expf_use=yes
41488 else
41489 glibcxx_cv_func__expf_use=no
41490 fi
41491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41492 ac_ext=c
41493 ac_cpp='$CPP $CPPFLAGS'
41494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41497
41498
41499 fi
41500
41501 fi
41502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41503 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41504
41505 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41506 for ac_func in _expf
41507 do :
41508 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41509 if test "x$ac_cv_func__expf" = x""yes; then :
41510 cat >>confdefs.h <<_ACEOF
41511 #define HAVE__EXPF 1
41512 _ACEOF
41513
41514 fi
41515 done
41516
41517 fi
41518 fi
41519
41520
41521
41522
41523
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41525 $as_echo_n "checking for isnanf declaration... " >&6; }
41526 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41527 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41528 $as_echo_n "(cached) " >&6
41529 else
41530
41531
41532 ac_ext=cpp
41533 ac_cpp='$CXXCPP $CPPFLAGS'
41534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41537
41538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41539 /* end confdefs.h. */
41540 #include <math.h>
41541 #ifdef HAVE_IEEEFP_H
41542 #include <ieeefp.h>
41543 #endif
41544
41545 int
41546 main ()
41547 {
41548 isnanf(0);
41549 ;
41550 return 0;
41551 }
41552 _ACEOF
41553 if ac_fn_cxx_try_compile "$LINENO"; then :
41554 glibcxx_cv_func_isnanf_use=yes
41555 else
41556 glibcxx_cv_func_isnanf_use=no
41557 fi
41558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41559 ac_ext=c
41560 ac_cpp='$CPP $CPPFLAGS'
41561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41564
41565
41566 fi
41567
41568 fi
41569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41570 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41571
41572 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41573 for ac_func in isnanf
41574 do :
41575 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41576 if test "x$ac_cv_func_isnanf" = x""yes; then :
41577 cat >>confdefs.h <<_ACEOF
41578 #define HAVE_ISNANF 1
41579 _ACEOF
41580
41581 fi
41582 done
41583
41584 else
41585
41586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41587 $as_echo_n "checking for _isnanf declaration... " >&6; }
41588 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41589 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41590 $as_echo_n "(cached) " >&6
41591 else
41592
41593
41594 ac_ext=cpp
41595 ac_cpp='$CXXCPP $CPPFLAGS'
41596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41599
41600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41601 /* end confdefs.h. */
41602 #include <math.h>
41603 #ifdef HAVE_IEEEFP_H
41604 #include <ieeefp.h>
41605 #endif
41606
41607 int
41608 main ()
41609 {
41610 _isnanf(0);
41611 ;
41612 return 0;
41613 }
41614 _ACEOF
41615 if ac_fn_cxx_try_compile "$LINENO"; then :
41616 glibcxx_cv_func__isnanf_use=yes
41617 else
41618 glibcxx_cv_func__isnanf_use=no
41619 fi
41620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41621 ac_ext=c
41622 ac_cpp='$CPP $CPPFLAGS'
41623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41626
41627
41628 fi
41629
41630 fi
41631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41632 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41633
41634 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41635 for ac_func in _isnanf
41636 do :
41637 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41638 if test "x$ac_cv_func__isnanf" = x""yes; then :
41639 cat >>confdefs.h <<_ACEOF
41640 #define HAVE__ISNANF 1
41641 _ACEOF
41642
41643 fi
41644 done
41645
41646 fi
41647 fi
41648
41649
41650
41651
41652
41653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41654 $as_echo_n "checking for isinff declaration... " >&6; }
41655 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41656 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41657 $as_echo_n "(cached) " >&6
41658 else
41659
41660
41661 ac_ext=cpp
41662 ac_cpp='$CXXCPP $CPPFLAGS'
41663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41666
41667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41668 /* end confdefs.h. */
41669 #include <math.h>
41670 #ifdef HAVE_IEEEFP_H
41671 #include <ieeefp.h>
41672 #endif
41673
41674 int
41675 main ()
41676 {
41677 isinff(0);
41678 ;
41679 return 0;
41680 }
41681 _ACEOF
41682 if ac_fn_cxx_try_compile "$LINENO"; then :
41683 glibcxx_cv_func_isinff_use=yes
41684 else
41685 glibcxx_cv_func_isinff_use=no
41686 fi
41687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41688 ac_ext=c
41689 ac_cpp='$CPP $CPPFLAGS'
41690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41693
41694
41695 fi
41696
41697 fi
41698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41699 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41700
41701 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41702 for ac_func in isinff
41703 do :
41704 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41705 if test "x$ac_cv_func_isinff" = x""yes; then :
41706 cat >>confdefs.h <<_ACEOF
41707 #define HAVE_ISINFF 1
41708 _ACEOF
41709
41710 fi
41711 done
41712
41713 else
41714
41715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41716 $as_echo_n "checking for _isinff declaration... " >&6; }
41717 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41718 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41719 $as_echo_n "(cached) " >&6
41720 else
41721
41722
41723 ac_ext=cpp
41724 ac_cpp='$CXXCPP $CPPFLAGS'
41725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41728
41729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41730 /* end confdefs.h. */
41731 #include <math.h>
41732 #ifdef HAVE_IEEEFP_H
41733 #include <ieeefp.h>
41734 #endif
41735
41736 int
41737 main ()
41738 {
41739 _isinff(0);
41740 ;
41741 return 0;
41742 }
41743 _ACEOF
41744 if ac_fn_cxx_try_compile "$LINENO"; then :
41745 glibcxx_cv_func__isinff_use=yes
41746 else
41747 glibcxx_cv_func__isinff_use=no
41748 fi
41749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41750 ac_ext=c
41751 ac_cpp='$CPP $CPPFLAGS'
41752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41755
41756
41757 fi
41758
41759 fi
41760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41761 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41762
41763 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41764 for ac_func in _isinff
41765 do :
41766 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41767 if test "x$ac_cv_func__isinff" = x""yes; then :
41768 cat >>confdefs.h <<_ACEOF
41769 #define HAVE__ISINFF 1
41770 _ACEOF
41771
41772 fi
41773 done
41774
41775 fi
41776 fi
41777
41778
41779
41780
41781
41782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41783 $as_echo_n "checking for atan2f declaration... " >&6; }
41784 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41785 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41786 $as_echo_n "(cached) " >&6
41787 else
41788
41789
41790 ac_ext=cpp
41791 ac_cpp='$CXXCPP $CPPFLAGS'
41792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41795
41796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41797 /* end confdefs.h. */
41798 #include <math.h>
41799 int
41800 main ()
41801 {
41802 atan2f(0, 0);
41803 ;
41804 return 0;
41805 }
41806 _ACEOF
41807 if ac_fn_cxx_try_compile "$LINENO"; then :
41808 glibcxx_cv_func_atan2f_use=yes
41809 else
41810 glibcxx_cv_func_atan2f_use=no
41811 fi
41812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41813 ac_ext=c
41814 ac_cpp='$CPP $CPPFLAGS'
41815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41818
41819
41820 fi
41821
41822 fi
41823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41824 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41825
41826 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41827 for ac_func in atan2f
41828 do :
41829 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41830 if test "x$ac_cv_func_atan2f" = x""yes; then :
41831 cat >>confdefs.h <<_ACEOF
41832 #define HAVE_ATAN2F 1
41833 _ACEOF
41834
41835 fi
41836 done
41837
41838 else
41839
41840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41841 $as_echo_n "checking for _atan2f declaration... " >&6; }
41842 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41843 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41844 $as_echo_n "(cached) " >&6
41845 else
41846
41847
41848 ac_ext=cpp
41849 ac_cpp='$CXXCPP $CPPFLAGS'
41850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41853
41854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41855 /* end confdefs.h. */
41856 #include <math.h>
41857 int
41858 main ()
41859 {
41860 _atan2f(0, 0);
41861 ;
41862 return 0;
41863 }
41864 _ACEOF
41865 if ac_fn_cxx_try_compile "$LINENO"; then :
41866 glibcxx_cv_func__atan2f_use=yes
41867 else
41868 glibcxx_cv_func__atan2f_use=no
41869 fi
41870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41871 ac_ext=c
41872 ac_cpp='$CPP $CPPFLAGS'
41873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41876
41877
41878 fi
41879
41880 fi
41881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41882 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41883
41884 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41885 for ac_func in _atan2f
41886 do :
41887 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41888 if test "x$ac_cv_func__atan2f" = x""yes; then :
41889 cat >>confdefs.h <<_ACEOF
41890 #define HAVE__ATAN2F 1
41891 _ACEOF
41892
41893 fi
41894 done
41895
41896 fi
41897 fi
41898
41899
41900
41901
41902
41903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41904 $as_echo_n "checking for fabsf declaration... " >&6; }
41905 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41906 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41907 $as_echo_n "(cached) " >&6
41908 else
41909
41910
41911 ac_ext=cpp
41912 ac_cpp='$CXXCPP $CPPFLAGS'
41913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41916
41917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41918 /* end confdefs.h. */
41919 #include <math.h>
41920 #ifdef HAVE_IEEEFP_H
41921 #include <ieeefp.h>
41922 #endif
41923
41924 int
41925 main ()
41926 {
41927 fabsf(0);
41928 ;
41929 return 0;
41930 }
41931 _ACEOF
41932 if ac_fn_cxx_try_compile "$LINENO"; then :
41933 glibcxx_cv_func_fabsf_use=yes
41934 else
41935 glibcxx_cv_func_fabsf_use=no
41936 fi
41937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41938 ac_ext=c
41939 ac_cpp='$CPP $CPPFLAGS'
41940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41943
41944
41945 fi
41946
41947 fi
41948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41949 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41950
41951 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41952 for ac_func in fabsf
41953 do :
41954 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41955 if test "x$ac_cv_func_fabsf" = x""yes; then :
41956 cat >>confdefs.h <<_ACEOF
41957 #define HAVE_FABSF 1
41958 _ACEOF
41959
41960 fi
41961 done
41962
41963 else
41964
41965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41966 $as_echo_n "checking for _fabsf declaration... " >&6; }
41967 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41968 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41969 $as_echo_n "(cached) " >&6
41970 else
41971
41972
41973 ac_ext=cpp
41974 ac_cpp='$CXXCPP $CPPFLAGS'
41975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41978
41979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41980 /* end confdefs.h. */
41981 #include <math.h>
41982 #ifdef HAVE_IEEEFP_H
41983 #include <ieeefp.h>
41984 #endif
41985
41986 int
41987 main ()
41988 {
41989 _fabsf(0);
41990 ;
41991 return 0;
41992 }
41993 _ACEOF
41994 if ac_fn_cxx_try_compile "$LINENO"; then :
41995 glibcxx_cv_func__fabsf_use=yes
41996 else
41997 glibcxx_cv_func__fabsf_use=no
41998 fi
41999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42000 ac_ext=c
42001 ac_cpp='$CPP $CPPFLAGS'
42002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42005
42006
42007 fi
42008
42009 fi
42010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42011 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42012
42013 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42014 for ac_func in _fabsf
42015 do :
42016 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42017 if test "x$ac_cv_func__fabsf" = x""yes; then :
42018 cat >>confdefs.h <<_ACEOF
42019 #define HAVE__FABSF 1
42020 _ACEOF
42021
42022 fi
42023 done
42024
42025 fi
42026 fi
42027
42028
42029
42030
42031
42032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42033 $as_echo_n "checking for fmodf declaration... " >&6; }
42034 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42035 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42036 $as_echo_n "(cached) " >&6
42037 else
42038
42039
42040 ac_ext=cpp
42041 ac_cpp='$CXXCPP $CPPFLAGS'
42042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42045
42046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42047 /* end confdefs.h. */
42048 #include <math.h>
42049 int
42050 main ()
42051 {
42052 fmodf(0, 0);
42053 ;
42054 return 0;
42055 }
42056 _ACEOF
42057 if ac_fn_cxx_try_compile "$LINENO"; then :
42058 glibcxx_cv_func_fmodf_use=yes
42059 else
42060 glibcxx_cv_func_fmodf_use=no
42061 fi
42062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42063 ac_ext=c
42064 ac_cpp='$CPP $CPPFLAGS'
42065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42068
42069
42070 fi
42071
42072 fi
42073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42074 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42075
42076 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42077 for ac_func in fmodf
42078 do :
42079 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42080 if test "x$ac_cv_func_fmodf" = x""yes; then :
42081 cat >>confdefs.h <<_ACEOF
42082 #define HAVE_FMODF 1
42083 _ACEOF
42084
42085 fi
42086 done
42087
42088 else
42089
42090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42091 $as_echo_n "checking for _fmodf declaration... " >&6; }
42092 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42093 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42094 $as_echo_n "(cached) " >&6
42095 else
42096
42097
42098 ac_ext=cpp
42099 ac_cpp='$CXXCPP $CPPFLAGS'
42100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42103
42104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42105 /* end confdefs.h. */
42106 #include <math.h>
42107 int
42108 main ()
42109 {
42110 _fmodf(0, 0);
42111 ;
42112 return 0;
42113 }
42114 _ACEOF
42115 if ac_fn_cxx_try_compile "$LINENO"; then :
42116 glibcxx_cv_func__fmodf_use=yes
42117 else
42118 glibcxx_cv_func__fmodf_use=no
42119 fi
42120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42121 ac_ext=c
42122 ac_cpp='$CPP $CPPFLAGS'
42123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42126
42127
42128 fi
42129
42130 fi
42131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42132 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42133
42134 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42135 for ac_func in _fmodf
42136 do :
42137 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42138 if test "x$ac_cv_func__fmodf" = x""yes; then :
42139 cat >>confdefs.h <<_ACEOF
42140 #define HAVE__FMODF 1
42141 _ACEOF
42142
42143 fi
42144 done
42145
42146 fi
42147 fi
42148
42149
42150
42151
42152
42153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42154 $as_echo_n "checking for frexpf declaration... " >&6; }
42155 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42156 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42157 $as_echo_n "(cached) " >&6
42158 else
42159
42160
42161 ac_ext=cpp
42162 ac_cpp='$CXXCPP $CPPFLAGS'
42163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42166
42167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42168 /* end confdefs.h. */
42169 #include <math.h>
42170 int
42171 main ()
42172 {
42173 frexpf(0, 0);
42174 ;
42175 return 0;
42176 }
42177 _ACEOF
42178 if ac_fn_cxx_try_compile "$LINENO"; then :
42179 glibcxx_cv_func_frexpf_use=yes
42180 else
42181 glibcxx_cv_func_frexpf_use=no
42182 fi
42183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42184 ac_ext=c
42185 ac_cpp='$CPP $CPPFLAGS'
42186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42189
42190
42191 fi
42192
42193 fi
42194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42195 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42196
42197 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42198 for ac_func in frexpf
42199 do :
42200 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42201 if test "x$ac_cv_func_frexpf" = x""yes; then :
42202 cat >>confdefs.h <<_ACEOF
42203 #define HAVE_FREXPF 1
42204 _ACEOF
42205
42206 fi
42207 done
42208
42209 else
42210
42211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42212 $as_echo_n "checking for _frexpf declaration... " >&6; }
42213 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42214 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42215 $as_echo_n "(cached) " >&6
42216 else
42217
42218
42219 ac_ext=cpp
42220 ac_cpp='$CXXCPP $CPPFLAGS'
42221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42224
42225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42226 /* end confdefs.h. */
42227 #include <math.h>
42228 int
42229 main ()
42230 {
42231 _frexpf(0, 0);
42232 ;
42233 return 0;
42234 }
42235 _ACEOF
42236 if ac_fn_cxx_try_compile "$LINENO"; then :
42237 glibcxx_cv_func__frexpf_use=yes
42238 else
42239 glibcxx_cv_func__frexpf_use=no
42240 fi
42241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42242 ac_ext=c
42243 ac_cpp='$CPP $CPPFLAGS'
42244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42247
42248
42249 fi
42250
42251 fi
42252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42253 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42254
42255 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42256 for ac_func in _frexpf
42257 do :
42258 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42259 if test "x$ac_cv_func__frexpf" = x""yes; then :
42260 cat >>confdefs.h <<_ACEOF
42261 #define HAVE__FREXPF 1
42262 _ACEOF
42263
42264 fi
42265 done
42266
42267 fi
42268 fi
42269
42270
42271
42272
42273
42274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42275 $as_echo_n "checking for hypotf declaration... " >&6; }
42276 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42277 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42278 $as_echo_n "(cached) " >&6
42279 else
42280
42281
42282 ac_ext=cpp
42283 ac_cpp='$CXXCPP $CPPFLAGS'
42284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42287
42288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42289 /* end confdefs.h. */
42290 #include <math.h>
42291 int
42292 main ()
42293 {
42294 hypotf(0, 0);
42295 ;
42296 return 0;
42297 }
42298 _ACEOF
42299 if ac_fn_cxx_try_compile "$LINENO"; then :
42300 glibcxx_cv_func_hypotf_use=yes
42301 else
42302 glibcxx_cv_func_hypotf_use=no
42303 fi
42304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42305 ac_ext=c
42306 ac_cpp='$CPP $CPPFLAGS'
42307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42310
42311
42312 fi
42313
42314 fi
42315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42316 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42317
42318 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42319 for ac_func in hypotf
42320 do :
42321 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42322 if test "x$ac_cv_func_hypotf" = x""yes; then :
42323 cat >>confdefs.h <<_ACEOF
42324 #define HAVE_HYPOTF 1
42325 _ACEOF
42326
42327 fi
42328 done
42329
42330 else
42331
42332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42333 $as_echo_n "checking for _hypotf declaration... " >&6; }
42334 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42335 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42336 $as_echo_n "(cached) " >&6
42337 else
42338
42339
42340 ac_ext=cpp
42341 ac_cpp='$CXXCPP $CPPFLAGS'
42342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42345
42346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42347 /* end confdefs.h. */
42348 #include <math.h>
42349 int
42350 main ()
42351 {
42352 _hypotf(0, 0);
42353 ;
42354 return 0;
42355 }
42356 _ACEOF
42357 if ac_fn_cxx_try_compile "$LINENO"; then :
42358 glibcxx_cv_func__hypotf_use=yes
42359 else
42360 glibcxx_cv_func__hypotf_use=no
42361 fi
42362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42363 ac_ext=c
42364 ac_cpp='$CPP $CPPFLAGS'
42365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42368
42369
42370 fi
42371
42372 fi
42373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42374 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42375
42376 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42377 for ac_func in _hypotf
42378 do :
42379 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42380 if test "x$ac_cv_func__hypotf" = x""yes; then :
42381 cat >>confdefs.h <<_ACEOF
42382 #define HAVE__HYPOTF 1
42383 _ACEOF
42384
42385 fi
42386 done
42387
42388 fi
42389 fi
42390
42391
42392
42393
42394
42395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42396 $as_echo_n "checking for ldexpf declaration... " >&6; }
42397 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42398 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42399 $as_echo_n "(cached) " >&6
42400 else
42401
42402
42403 ac_ext=cpp
42404 ac_cpp='$CXXCPP $CPPFLAGS'
42405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42408
42409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42410 /* end confdefs.h. */
42411 #include <math.h>
42412 int
42413 main ()
42414 {
42415 ldexpf(0, 0);
42416 ;
42417 return 0;
42418 }
42419 _ACEOF
42420 if ac_fn_cxx_try_compile "$LINENO"; then :
42421 glibcxx_cv_func_ldexpf_use=yes
42422 else
42423 glibcxx_cv_func_ldexpf_use=no
42424 fi
42425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42426 ac_ext=c
42427 ac_cpp='$CPP $CPPFLAGS'
42428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42431
42432
42433 fi
42434
42435 fi
42436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42437 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42438
42439 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42440 for ac_func in ldexpf
42441 do :
42442 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42443 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42444 cat >>confdefs.h <<_ACEOF
42445 #define HAVE_LDEXPF 1
42446 _ACEOF
42447
42448 fi
42449 done
42450
42451 else
42452
42453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42454 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42455 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42456 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42457 $as_echo_n "(cached) " >&6
42458 else
42459
42460
42461 ac_ext=cpp
42462 ac_cpp='$CXXCPP $CPPFLAGS'
42463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42466
42467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42468 /* end confdefs.h. */
42469 #include <math.h>
42470 int
42471 main ()
42472 {
42473 _ldexpf(0, 0);
42474 ;
42475 return 0;
42476 }
42477 _ACEOF
42478 if ac_fn_cxx_try_compile "$LINENO"; then :
42479 glibcxx_cv_func__ldexpf_use=yes
42480 else
42481 glibcxx_cv_func__ldexpf_use=no
42482 fi
42483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42484 ac_ext=c
42485 ac_cpp='$CPP $CPPFLAGS'
42486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42489
42490
42491 fi
42492
42493 fi
42494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42495 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42496
42497 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42498 for ac_func in _ldexpf
42499 do :
42500 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42501 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42502 cat >>confdefs.h <<_ACEOF
42503 #define HAVE__LDEXPF 1
42504 _ACEOF
42505
42506 fi
42507 done
42508
42509 fi
42510 fi
42511
42512
42513
42514
42515
42516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42517 $as_echo_n "checking for logf declaration... " >&6; }
42518 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42519 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42520 $as_echo_n "(cached) " >&6
42521 else
42522
42523
42524 ac_ext=cpp
42525 ac_cpp='$CXXCPP $CPPFLAGS'
42526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42529
42530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42531 /* end confdefs.h. */
42532 #include <math.h>
42533 #ifdef HAVE_IEEEFP_H
42534 #include <ieeefp.h>
42535 #endif
42536
42537 int
42538 main ()
42539 {
42540 logf(0);
42541 ;
42542 return 0;
42543 }
42544 _ACEOF
42545 if ac_fn_cxx_try_compile "$LINENO"; then :
42546 glibcxx_cv_func_logf_use=yes
42547 else
42548 glibcxx_cv_func_logf_use=no
42549 fi
42550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42551 ac_ext=c
42552 ac_cpp='$CPP $CPPFLAGS'
42553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42556
42557
42558 fi
42559
42560 fi
42561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42562 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42563
42564 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42565 for ac_func in logf
42566 do :
42567 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42568 if test "x$ac_cv_func_logf" = x""yes; then :
42569 cat >>confdefs.h <<_ACEOF
42570 #define HAVE_LOGF 1
42571 _ACEOF
42572
42573 fi
42574 done
42575
42576 else
42577
42578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42579 $as_echo_n "checking for _logf declaration... " >&6; }
42580 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42581 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42582 $as_echo_n "(cached) " >&6
42583 else
42584
42585
42586 ac_ext=cpp
42587 ac_cpp='$CXXCPP $CPPFLAGS'
42588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42591
42592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42593 /* end confdefs.h. */
42594 #include <math.h>
42595 #ifdef HAVE_IEEEFP_H
42596 #include <ieeefp.h>
42597 #endif
42598
42599 int
42600 main ()
42601 {
42602 _logf(0);
42603 ;
42604 return 0;
42605 }
42606 _ACEOF
42607 if ac_fn_cxx_try_compile "$LINENO"; then :
42608 glibcxx_cv_func__logf_use=yes
42609 else
42610 glibcxx_cv_func__logf_use=no
42611 fi
42612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42613 ac_ext=c
42614 ac_cpp='$CPP $CPPFLAGS'
42615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42618
42619
42620 fi
42621
42622 fi
42623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42624 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42625
42626 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42627 for ac_func in _logf
42628 do :
42629 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42630 if test "x$ac_cv_func__logf" = x""yes; then :
42631 cat >>confdefs.h <<_ACEOF
42632 #define HAVE__LOGF 1
42633 _ACEOF
42634
42635 fi
42636 done
42637
42638 fi
42639 fi
42640
42641
42642
42643
42644
42645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42646 $as_echo_n "checking for log10f declaration... " >&6; }
42647 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42648 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42649 $as_echo_n "(cached) " >&6
42650 else
42651
42652
42653 ac_ext=cpp
42654 ac_cpp='$CXXCPP $CPPFLAGS'
42655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42658
42659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42660 /* end confdefs.h. */
42661 #include <math.h>
42662 #ifdef HAVE_IEEEFP_H
42663 #include <ieeefp.h>
42664 #endif
42665
42666 int
42667 main ()
42668 {
42669 log10f(0);
42670 ;
42671 return 0;
42672 }
42673 _ACEOF
42674 if ac_fn_cxx_try_compile "$LINENO"; then :
42675 glibcxx_cv_func_log10f_use=yes
42676 else
42677 glibcxx_cv_func_log10f_use=no
42678 fi
42679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42680 ac_ext=c
42681 ac_cpp='$CPP $CPPFLAGS'
42682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42685
42686
42687 fi
42688
42689 fi
42690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42691 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42692
42693 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42694 for ac_func in log10f
42695 do :
42696 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42697 if test "x$ac_cv_func_log10f" = x""yes; then :
42698 cat >>confdefs.h <<_ACEOF
42699 #define HAVE_LOG10F 1
42700 _ACEOF
42701
42702 fi
42703 done
42704
42705 else
42706
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42708 $as_echo_n "checking for _log10f declaration... " >&6; }
42709 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42710 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42711 $as_echo_n "(cached) " >&6
42712 else
42713
42714
42715 ac_ext=cpp
42716 ac_cpp='$CXXCPP $CPPFLAGS'
42717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42720
42721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42722 /* end confdefs.h. */
42723 #include <math.h>
42724 #ifdef HAVE_IEEEFP_H
42725 #include <ieeefp.h>
42726 #endif
42727
42728 int
42729 main ()
42730 {
42731 _log10f(0);
42732 ;
42733 return 0;
42734 }
42735 _ACEOF
42736 if ac_fn_cxx_try_compile "$LINENO"; then :
42737 glibcxx_cv_func__log10f_use=yes
42738 else
42739 glibcxx_cv_func__log10f_use=no
42740 fi
42741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42742 ac_ext=c
42743 ac_cpp='$CPP $CPPFLAGS'
42744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42747
42748
42749 fi
42750
42751 fi
42752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42753 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42754
42755 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42756 for ac_func in _log10f
42757 do :
42758 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42759 if test "x$ac_cv_func__log10f" = x""yes; then :
42760 cat >>confdefs.h <<_ACEOF
42761 #define HAVE__LOG10F 1
42762 _ACEOF
42763
42764 fi
42765 done
42766
42767 fi
42768 fi
42769
42770
42771
42772
42773
42774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42775 $as_echo_n "checking for modff declaration... " >&6; }
42776 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42777 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42778 $as_echo_n "(cached) " >&6
42779 else
42780
42781
42782 ac_ext=cpp
42783 ac_cpp='$CXXCPP $CPPFLAGS'
42784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42787
42788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42789 /* end confdefs.h. */
42790 #include <math.h>
42791 int
42792 main ()
42793 {
42794 modff(0, 0);
42795 ;
42796 return 0;
42797 }
42798 _ACEOF
42799 if ac_fn_cxx_try_compile "$LINENO"; then :
42800 glibcxx_cv_func_modff_use=yes
42801 else
42802 glibcxx_cv_func_modff_use=no
42803 fi
42804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42805 ac_ext=c
42806 ac_cpp='$CPP $CPPFLAGS'
42807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42810
42811
42812 fi
42813
42814 fi
42815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42816 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42817
42818 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42819 for ac_func in modff
42820 do :
42821 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42822 if test "x$ac_cv_func_modff" = x""yes; then :
42823 cat >>confdefs.h <<_ACEOF
42824 #define HAVE_MODFF 1
42825 _ACEOF
42826
42827 fi
42828 done
42829
42830 else
42831
42832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42833 $as_echo_n "checking for _modff declaration... " >&6; }
42834 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42835 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42836 $as_echo_n "(cached) " >&6
42837 else
42838
42839
42840 ac_ext=cpp
42841 ac_cpp='$CXXCPP $CPPFLAGS'
42842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42845
42846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42847 /* end confdefs.h. */
42848 #include <math.h>
42849 int
42850 main ()
42851 {
42852 _modff(0, 0);
42853 ;
42854 return 0;
42855 }
42856 _ACEOF
42857 if ac_fn_cxx_try_compile "$LINENO"; then :
42858 glibcxx_cv_func__modff_use=yes
42859 else
42860 glibcxx_cv_func__modff_use=no
42861 fi
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863 ac_ext=c
42864 ac_cpp='$CPP $CPPFLAGS'
42865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42868
42869
42870 fi
42871
42872 fi
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42874 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42875
42876 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42877 for ac_func in _modff
42878 do :
42879 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42880 if test "x$ac_cv_func__modff" = x""yes; then :
42881 cat >>confdefs.h <<_ACEOF
42882 #define HAVE__MODFF 1
42883 _ACEOF
42884
42885 fi
42886 done
42887
42888 fi
42889 fi
42890
42891
42892
42893
42894
42895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42896 $as_echo_n "checking for modf declaration... " >&6; }
42897 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42898 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42899 $as_echo_n "(cached) " >&6
42900 else
42901
42902
42903 ac_ext=cpp
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42908
42909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42910 /* end confdefs.h. */
42911 #include <math.h>
42912 int
42913 main ()
42914 {
42915 modf(0, 0);
42916 ;
42917 return 0;
42918 }
42919 _ACEOF
42920 if ac_fn_cxx_try_compile "$LINENO"; then :
42921 glibcxx_cv_func_modf_use=yes
42922 else
42923 glibcxx_cv_func_modf_use=no
42924 fi
42925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42926 ac_ext=c
42927 ac_cpp='$CPP $CPPFLAGS'
42928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42931
42932
42933 fi
42934
42935 fi
42936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42937 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42938
42939 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42940 for ac_func in modf
42941 do :
42942 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42943 if test "x$ac_cv_func_modf" = x""yes; then :
42944 cat >>confdefs.h <<_ACEOF
42945 #define HAVE_MODF 1
42946 _ACEOF
42947
42948 fi
42949 done
42950
42951 else
42952
42953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42954 $as_echo_n "checking for _modf declaration... " >&6; }
42955 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42956 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42957 $as_echo_n "(cached) " >&6
42958 else
42959
42960
42961 ac_ext=cpp
42962 ac_cpp='$CXXCPP $CPPFLAGS'
42963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42966
42967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42968 /* end confdefs.h. */
42969 #include <math.h>
42970 int
42971 main ()
42972 {
42973 _modf(0, 0);
42974 ;
42975 return 0;
42976 }
42977 _ACEOF
42978 if ac_fn_cxx_try_compile "$LINENO"; then :
42979 glibcxx_cv_func__modf_use=yes
42980 else
42981 glibcxx_cv_func__modf_use=no
42982 fi
42983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42984 ac_ext=c
42985 ac_cpp='$CPP $CPPFLAGS'
42986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42989
42990
42991 fi
42992
42993 fi
42994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42995 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42996
42997 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42998 for ac_func in _modf
42999 do :
43000 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43001 if test "x$ac_cv_func__modf" = x""yes; then :
43002 cat >>confdefs.h <<_ACEOF
43003 #define HAVE__MODF 1
43004 _ACEOF
43005
43006 fi
43007 done
43008
43009 fi
43010 fi
43011
43012
43013
43014
43015
43016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43017 $as_echo_n "checking for powf declaration... " >&6; }
43018 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43019 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43020 $as_echo_n "(cached) " >&6
43021 else
43022
43023
43024 ac_ext=cpp
43025 ac_cpp='$CXXCPP $CPPFLAGS'
43026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43029
43030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43031 /* end confdefs.h. */
43032 #include <math.h>
43033 int
43034 main ()
43035 {
43036 powf(0, 0);
43037 ;
43038 return 0;
43039 }
43040 _ACEOF
43041 if ac_fn_cxx_try_compile "$LINENO"; then :
43042 glibcxx_cv_func_powf_use=yes
43043 else
43044 glibcxx_cv_func_powf_use=no
43045 fi
43046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43047 ac_ext=c
43048 ac_cpp='$CPP $CPPFLAGS'
43049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43052
43053
43054 fi
43055
43056 fi
43057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43058 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43059
43060 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43061 for ac_func in powf
43062 do :
43063 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43064 if test "x$ac_cv_func_powf" = x""yes; then :
43065 cat >>confdefs.h <<_ACEOF
43066 #define HAVE_POWF 1
43067 _ACEOF
43068
43069 fi
43070 done
43071
43072 else
43073
43074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43075 $as_echo_n "checking for _powf declaration... " >&6; }
43076 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43077 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43078 $as_echo_n "(cached) " >&6
43079 else
43080
43081
43082 ac_ext=cpp
43083 ac_cpp='$CXXCPP $CPPFLAGS'
43084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43087
43088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43089 /* end confdefs.h. */
43090 #include <math.h>
43091 int
43092 main ()
43093 {
43094 _powf(0, 0);
43095 ;
43096 return 0;
43097 }
43098 _ACEOF
43099 if ac_fn_cxx_try_compile "$LINENO"; then :
43100 glibcxx_cv_func__powf_use=yes
43101 else
43102 glibcxx_cv_func__powf_use=no
43103 fi
43104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43105 ac_ext=c
43106 ac_cpp='$CPP $CPPFLAGS'
43107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43110
43111
43112 fi
43113
43114 fi
43115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43116 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43117
43118 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43119 for ac_func in _powf
43120 do :
43121 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43122 if test "x$ac_cv_func__powf" = x""yes; then :
43123 cat >>confdefs.h <<_ACEOF
43124 #define HAVE__POWF 1
43125 _ACEOF
43126
43127 fi
43128 done
43129
43130 fi
43131 fi
43132
43133
43134
43135
43136
43137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43138 $as_echo_n "checking for sqrtf declaration... " >&6; }
43139 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43140 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43141 $as_echo_n "(cached) " >&6
43142 else
43143
43144
43145 ac_ext=cpp
43146 ac_cpp='$CXXCPP $CPPFLAGS'
43147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43150
43151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43152 /* end confdefs.h. */
43153 #include <math.h>
43154 #ifdef HAVE_IEEEFP_H
43155 #include <ieeefp.h>
43156 #endif
43157
43158 int
43159 main ()
43160 {
43161 sqrtf(0);
43162 ;
43163 return 0;
43164 }
43165 _ACEOF
43166 if ac_fn_cxx_try_compile "$LINENO"; then :
43167 glibcxx_cv_func_sqrtf_use=yes
43168 else
43169 glibcxx_cv_func_sqrtf_use=no
43170 fi
43171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43172 ac_ext=c
43173 ac_cpp='$CPP $CPPFLAGS'
43174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43177
43178
43179 fi
43180
43181 fi
43182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43183 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43184
43185 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43186 for ac_func in sqrtf
43187 do :
43188 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43189 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43190 cat >>confdefs.h <<_ACEOF
43191 #define HAVE_SQRTF 1
43192 _ACEOF
43193
43194 fi
43195 done
43196
43197 else
43198
43199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43200 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43201 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43202 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43203 $as_echo_n "(cached) " >&6
43204 else
43205
43206
43207 ac_ext=cpp
43208 ac_cpp='$CXXCPP $CPPFLAGS'
43209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43212
43213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43214 /* end confdefs.h. */
43215 #include <math.h>
43216 #ifdef HAVE_IEEEFP_H
43217 #include <ieeefp.h>
43218 #endif
43219
43220 int
43221 main ()
43222 {
43223 _sqrtf(0);
43224 ;
43225 return 0;
43226 }
43227 _ACEOF
43228 if ac_fn_cxx_try_compile "$LINENO"; then :
43229 glibcxx_cv_func__sqrtf_use=yes
43230 else
43231 glibcxx_cv_func__sqrtf_use=no
43232 fi
43233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43234 ac_ext=c
43235 ac_cpp='$CPP $CPPFLAGS'
43236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43239
43240
43241 fi
43242
43243 fi
43244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43245 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43246
43247 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43248 for ac_func in _sqrtf
43249 do :
43250 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43251 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43252 cat >>confdefs.h <<_ACEOF
43253 #define HAVE__SQRTF 1
43254 _ACEOF
43255
43256 fi
43257 done
43258
43259 fi
43260 fi
43261
43262
43263
43264
43265
43266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43267 $as_echo_n "checking for sincosf declaration... " >&6; }
43268 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43269 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43270 $as_echo_n "(cached) " >&6
43271 else
43272
43273
43274 ac_ext=cpp
43275 ac_cpp='$CXXCPP $CPPFLAGS'
43276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43279
43280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43281 /* end confdefs.h. */
43282 #include <math.h>
43283 int
43284 main ()
43285 {
43286 sincosf(0, 0, 0);
43287 ;
43288 return 0;
43289 }
43290 _ACEOF
43291 if ac_fn_cxx_try_compile "$LINENO"; then :
43292 glibcxx_cv_func_sincosf_use=yes
43293 else
43294 glibcxx_cv_func_sincosf_use=no
43295 fi
43296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43297 ac_ext=c
43298 ac_cpp='$CPP $CPPFLAGS'
43299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43302
43303
43304 fi
43305
43306 fi
43307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43308 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43309
43310 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43311 for ac_func in sincosf
43312 do :
43313 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43314 if test "x$ac_cv_func_sincosf" = x""yes; then :
43315 cat >>confdefs.h <<_ACEOF
43316 #define HAVE_SINCOSF 1
43317 _ACEOF
43318
43319 fi
43320 done
43321
43322 else
43323
43324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43325 $as_echo_n "checking for _sincosf declaration... " >&6; }
43326 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43327 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43328 $as_echo_n "(cached) " >&6
43329 else
43330
43331
43332 ac_ext=cpp
43333 ac_cpp='$CXXCPP $CPPFLAGS'
43334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43337
43338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43339 /* end confdefs.h. */
43340 #include <math.h>
43341 int
43342 main ()
43343 {
43344 _sincosf(0, 0, 0);
43345 ;
43346 return 0;
43347 }
43348 _ACEOF
43349 if ac_fn_cxx_try_compile "$LINENO"; then :
43350 glibcxx_cv_func__sincosf_use=yes
43351 else
43352 glibcxx_cv_func__sincosf_use=no
43353 fi
43354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43355 ac_ext=c
43356 ac_cpp='$CPP $CPPFLAGS'
43357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43360
43361
43362 fi
43363
43364 fi
43365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43366 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43367
43368 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43369 for ac_func in _sincosf
43370 do :
43371 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43372 if test "x$ac_cv_func__sincosf" = x""yes; then :
43373 cat >>confdefs.h <<_ACEOF
43374 #define HAVE__SINCOSF 1
43375 _ACEOF
43376
43377 fi
43378 done
43379
43380 fi
43381 fi
43382
43383
43384
43385
43386
43387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43388 $as_echo_n "checking for finitef declaration... " >&6; }
43389 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43390 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43391 $as_echo_n "(cached) " >&6
43392 else
43393
43394
43395 ac_ext=cpp
43396 ac_cpp='$CXXCPP $CPPFLAGS'
43397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43400
43401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43402 /* end confdefs.h. */
43403 #include <math.h>
43404 #ifdef HAVE_IEEEFP_H
43405 #include <ieeefp.h>
43406 #endif
43407
43408 int
43409 main ()
43410 {
43411 finitef(0);
43412 ;
43413 return 0;
43414 }
43415 _ACEOF
43416 if ac_fn_cxx_try_compile "$LINENO"; then :
43417 glibcxx_cv_func_finitef_use=yes
43418 else
43419 glibcxx_cv_func_finitef_use=no
43420 fi
43421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43422 ac_ext=c
43423 ac_cpp='$CPP $CPPFLAGS'
43424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43427
43428
43429 fi
43430
43431 fi
43432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43433 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43434
43435 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43436 for ac_func in finitef
43437 do :
43438 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43439 if test "x$ac_cv_func_finitef" = x""yes; then :
43440 cat >>confdefs.h <<_ACEOF
43441 #define HAVE_FINITEF 1
43442 _ACEOF
43443
43444 fi
43445 done
43446
43447 else
43448
43449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43450 $as_echo_n "checking for _finitef declaration... " >&6; }
43451 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43452 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43453 $as_echo_n "(cached) " >&6
43454 else
43455
43456
43457 ac_ext=cpp
43458 ac_cpp='$CXXCPP $CPPFLAGS'
43459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43462
43463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43464 /* end confdefs.h. */
43465 #include <math.h>
43466 #ifdef HAVE_IEEEFP_H
43467 #include <ieeefp.h>
43468 #endif
43469
43470 int
43471 main ()
43472 {
43473 _finitef(0);
43474 ;
43475 return 0;
43476 }
43477 _ACEOF
43478 if ac_fn_cxx_try_compile "$LINENO"; then :
43479 glibcxx_cv_func__finitef_use=yes
43480 else
43481 glibcxx_cv_func__finitef_use=no
43482 fi
43483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43484 ac_ext=c
43485 ac_cpp='$CPP $CPPFLAGS'
43486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43489
43490
43491 fi
43492
43493 fi
43494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43495 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43496
43497 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43498 for ac_func in _finitef
43499 do :
43500 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43501 if test "x$ac_cv_func__finitef" = x""yes; then :
43502 cat >>confdefs.h <<_ACEOF
43503 #define HAVE__FINITEF 1
43504 _ACEOF
43505
43506 fi
43507 done
43508
43509 fi
43510 fi
43511
43512
43513
43514
43515
43516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43517 $as_echo_n "checking for long double trig functions... " >&6; }
43518 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43519 $as_echo_n "(cached) " >&6
43520 else
43521
43522
43523 ac_ext=cpp
43524 ac_cpp='$CXXCPP $CPPFLAGS'
43525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43528
43529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43530 /* end confdefs.h. */
43531 #include <math.h>
43532 int
43533 main ()
43534 {
43535 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43536 ;
43537 return 0;
43538 }
43539 _ACEOF
43540 if ac_fn_cxx_try_compile "$LINENO"; then :
43541 glibcxx_cv_func_long_double_trig_use=yes
43542 else
43543 glibcxx_cv_func_long_double_trig_use=no
43544 fi
43545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43546 ac_ext=c
43547 ac_cpp='$CPP $CPPFLAGS'
43548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43551
43552 fi
43553
43554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43555 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43556 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43557 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43558 do :
43559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43561 eval as_val=\$$as_ac_var
43562 if test "x$as_val" = x""yes; then :
43563 cat >>confdefs.h <<_ACEOF
43564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43565 _ACEOF
43566
43567 fi
43568 done
43569
43570 else
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43572 $as_echo_n "checking for _long double trig functions... " >&6; }
43573 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43574 $as_echo_n "(cached) " >&6
43575 else
43576
43577
43578 ac_ext=cpp
43579 ac_cpp='$CXXCPP $CPPFLAGS'
43580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43583
43584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43585 /* end confdefs.h. */
43586 #include <math.h>
43587 int
43588 main ()
43589 {
43590 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43591 ;
43592 return 0;
43593 }
43594 _ACEOF
43595 if ac_fn_cxx_try_compile "$LINENO"; then :
43596 glibcxx_cv_func__long_double_trig_use=yes
43597 else
43598 glibcxx_cv_func__long_double_trig_use=no
43599 fi
43600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43601 ac_ext=c
43602 ac_cpp='$CPP $CPPFLAGS'
43603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43606
43607 fi
43608
43609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43610 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43611 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43612 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43613 do :
43614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43616 eval as_val=\$$as_ac_var
43617 if test "x$as_val" = x""yes; then :
43618 cat >>confdefs.h <<_ACEOF
43619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43620 _ACEOF
43621
43622 fi
43623 done
43624
43625 fi
43626 fi
43627
43628
43629
43630
43631
43632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43633 $as_echo_n "checking for long double round functions... " >&6; }
43634 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43635 $as_echo_n "(cached) " >&6
43636 else
43637
43638
43639 ac_ext=cpp
43640 ac_cpp='$CXXCPP $CPPFLAGS'
43641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43644
43645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43646 /* end confdefs.h. */
43647 #include <math.h>
43648 int
43649 main ()
43650 {
43651 ceill (0); floorl (0);
43652 ;
43653 return 0;
43654 }
43655 _ACEOF
43656 if ac_fn_cxx_try_compile "$LINENO"; then :
43657 glibcxx_cv_func_long_double_round_use=yes
43658 else
43659 glibcxx_cv_func_long_double_round_use=no
43660 fi
43661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43662 ac_ext=c
43663 ac_cpp='$CPP $CPPFLAGS'
43664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43667
43668 fi
43669
43670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43671 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43672 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43673 for ac_func in ceill floorl
43674 do :
43675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43677 eval as_val=\$$as_ac_var
43678 if test "x$as_val" = x""yes; then :
43679 cat >>confdefs.h <<_ACEOF
43680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43681 _ACEOF
43682
43683 fi
43684 done
43685
43686 else
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43688 $as_echo_n "checking for _long double round functions... " >&6; }
43689 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43690 $as_echo_n "(cached) " >&6
43691 else
43692
43693
43694 ac_ext=cpp
43695 ac_cpp='$CXXCPP $CPPFLAGS'
43696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43699
43700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43701 /* end confdefs.h. */
43702 #include <math.h>
43703 int
43704 main ()
43705 {
43706 _ceill (0); _floorl (0);
43707 ;
43708 return 0;
43709 }
43710 _ACEOF
43711 if ac_fn_cxx_try_compile "$LINENO"; then :
43712 glibcxx_cv_func__long_double_round_use=yes
43713 else
43714 glibcxx_cv_func__long_double_round_use=no
43715 fi
43716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43717 ac_ext=c
43718 ac_cpp='$CPP $CPPFLAGS'
43719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43722
43723 fi
43724
43725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43726 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43727 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43728 for ac_func in _ceill _floorl
43729 do :
43730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43732 eval as_val=\$$as_ac_var
43733 if test "x$as_val" = x""yes; then :
43734 cat >>confdefs.h <<_ACEOF
43735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43736 _ACEOF
43737
43738 fi
43739 done
43740
43741 fi
43742 fi
43743
43744
43745
43746
43747
43748
43749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43750 $as_echo_n "checking for isnanl declaration... " >&6; }
43751 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43752 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43753 $as_echo_n "(cached) " >&6
43754 else
43755
43756
43757 ac_ext=cpp
43758 ac_cpp='$CXXCPP $CPPFLAGS'
43759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43762
43763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43764 /* end confdefs.h. */
43765 #include <math.h>
43766 #ifdef HAVE_IEEEFP_H
43767 #include <ieeefp.h>
43768 #endif
43769
43770 int
43771 main ()
43772 {
43773 isnanl(0);
43774 ;
43775 return 0;
43776 }
43777 _ACEOF
43778 if ac_fn_cxx_try_compile "$LINENO"; then :
43779 glibcxx_cv_func_isnanl_use=yes
43780 else
43781 glibcxx_cv_func_isnanl_use=no
43782 fi
43783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43784 ac_ext=c
43785 ac_cpp='$CPP $CPPFLAGS'
43786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43789
43790
43791 fi
43792
43793 fi
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43795 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43796
43797 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43798 for ac_func in isnanl
43799 do :
43800 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43801 if test "x$ac_cv_func_isnanl" = x""yes; then :
43802 cat >>confdefs.h <<_ACEOF
43803 #define HAVE_ISNANL 1
43804 _ACEOF
43805
43806 fi
43807 done
43808
43809 else
43810
43811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43812 $as_echo_n "checking for _isnanl declaration... " >&6; }
43813 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43814 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43815 $as_echo_n "(cached) " >&6
43816 else
43817
43818
43819 ac_ext=cpp
43820 ac_cpp='$CXXCPP $CPPFLAGS'
43821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43824
43825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43826 /* end confdefs.h. */
43827 #include <math.h>
43828 #ifdef HAVE_IEEEFP_H
43829 #include <ieeefp.h>
43830 #endif
43831
43832 int
43833 main ()
43834 {
43835 _isnanl(0);
43836 ;
43837 return 0;
43838 }
43839 _ACEOF
43840 if ac_fn_cxx_try_compile "$LINENO"; then :
43841 glibcxx_cv_func__isnanl_use=yes
43842 else
43843 glibcxx_cv_func__isnanl_use=no
43844 fi
43845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43846 ac_ext=c
43847 ac_cpp='$CPP $CPPFLAGS'
43848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43851
43852
43853 fi
43854
43855 fi
43856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43857 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43858
43859 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43860 for ac_func in _isnanl
43861 do :
43862 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43863 if test "x$ac_cv_func__isnanl" = x""yes; then :
43864 cat >>confdefs.h <<_ACEOF
43865 #define HAVE__ISNANL 1
43866 _ACEOF
43867
43868 fi
43869 done
43870
43871 fi
43872 fi
43873
43874
43875
43876
43877
43878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43879 $as_echo_n "checking for isinfl declaration... " >&6; }
43880 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43881 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43882 $as_echo_n "(cached) " >&6
43883 else
43884
43885
43886 ac_ext=cpp
43887 ac_cpp='$CXXCPP $CPPFLAGS'
43888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43891
43892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43893 /* end confdefs.h. */
43894 #include <math.h>
43895 #ifdef HAVE_IEEEFP_H
43896 #include <ieeefp.h>
43897 #endif
43898
43899 int
43900 main ()
43901 {
43902 isinfl(0);
43903 ;
43904 return 0;
43905 }
43906 _ACEOF
43907 if ac_fn_cxx_try_compile "$LINENO"; then :
43908 glibcxx_cv_func_isinfl_use=yes
43909 else
43910 glibcxx_cv_func_isinfl_use=no
43911 fi
43912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43913 ac_ext=c
43914 ac_cpp='$CPP $CPPFLAGS'
43915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43918
43919
43920 fi
43921
43922 fi
43923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43924 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43925
43926 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43927 for ac_func in isinfl
43928 do :
43929 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43930 if test "x$ac_cv_func_isinfl" = x""yes; then :
43931 cat >>confdefs.h <<_ACEOF
43932 #define HAVE_ISINFL 1
43933 _ACEOF
43934
43935 fi
43936 done
43937
43938 else
43939
43940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43941 $as_echo_n "checking for _isinfl declaration... " >&6; }
43942 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43943 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43944 $as_echo_n "(cached) " >&6
43945 else
43946
43947
43948 ac_ext=cpp
43949 ac_cpp='$CXXCPP $CPPFLAGS'
43950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43953
43954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43955 /* end confdefs.h. */
43956 #include <math.h>
43957 #ifdef HAVE_IEEEFP_H
43958 #include <ieeefp.h>
43959 #endif
43960
43961 int
43962 main ()
43963 {
43964 _isinfl(0);
43965 ;
43966 return 0;
43967 }
43968 _ACEOF
43969 if ac_fn_cxx_try_compile "$LINENO"; then :
43970 glibcxx_cv_func__isinfl_use=yes
43971 else
43972 glibcxx_cv_func__isinfl_use=no
43973 fi
43974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43975 ac_ext=c
43976 ac_cpp='$CPP $CPPFLAGS'
43977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43980
43981
43982 fi
43983
43984 fi
43985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43986 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43987
43988 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43989 for ac_func in _isinfl
43990 do :
43991 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43992 if test "x$ac_cv_func__isinfl" = x""yes; then :
43993 cat >>confdefs.h <<_ACEOF
43994 #define HAVE__ISINFL 1
43995 _ACEOF
43996
43997 fi
43998 done
43999
44000 fi
44001 fi
44002
44003
44004
44005
44006
44007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44008 $as_echo_n "checking for atan2l declaration... " >&6; }
44009 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44010 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44011 $as_echo_n "(cached) " >&6
44012 else
44013
44014
44015 ac_ext=cpp
44016 ac_cpp='$CXXCPP $CPPFLAGS'
44017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44020
44021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44022 /* end confdefs.h. */
44023 #include <math.h>
44024 int
44025 main ()
44026 {
44027 atan2l(0, 0);
44028 ;
44029 return 0;
44030 }
44031 _ACEOF
44032 if ac_fn_cxx_try_compile "$LINENO"; then :
44033 glibcxx_cv_func_atan2l_use=yes
44034 else
44035 glibcxx_cv_func_atan2l_use=no
44036 fi
44037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44038 ac_ext=c
44039 ac_cpp='$CPP $CPPFLAGS'
44040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44043
44044
44045 fi
44046
44047 fi
44048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44049 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44050
44051 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44052 for ac_func in atan2l
44053 do :
44054 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44055 if test "x$ac_cv_func_atan2l" = x""yes; then :
44056 cat >>confdefs.h <<_ACEOF
44057 #define HAVE_ATAN2L 1
44058 _ACEOF
44059
44060 fi
44061 done
44062
44063 else
44064
44065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44066 $as_echo_n "checking for _atan2l declaration... " >&6; }
44067 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44068 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44069 $as_echo_n "(cached) " >&6
44070 else
44071
44072
44073 ac_ext=cpp
44074 ac_cpp='$CXXCPP $CPPFLAGS'
44075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44078
44079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44080 /* end confdefs.h. */
44081 #include <math.h>
44082 int
44083 main ()
44084 {
44085 _atan2l(0, 0);
44086 ;
44087 return 0;
44088 }
44089 _ACEOF
44090 if ac_fn_cxx_try_compile "$LINENO"; then :
44091 glibcxx_cv_func__atan2l_use=yes
44092 else
44093 glibcxx_cv_func__atan2l_use=no
44094 fi
44095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44096 ac_ext=c
44097 ac_cpp='$CPP $CPPFLAGS'
44098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44101
44102
44103 fi
44104
44105 fi
44106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44107 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44108
44109 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44110 for ac_func in _atan2l
44111 do :
44112 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44113 if test "x$ac_cv_func__atan2l" = x""yes; then :
44114 cat >>confdefs.h <<_ACEOF
44115 #define HAVE__ATAN2L 1
44116 _ACEOF
44117
44118 fi
44119 done
44120
44121 fi
44122 fi
44123
44124
44125
44126
44127
44128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44129 $as_echo_n "checking for expl declaration... " >&6; }
44130 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44131 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44132 $as_echo_n "(cached) " >&6
44133 else
44134
44135
44136 ac_ext=cpp
44137 ac_cpp='$CXXCPP $CPPFLAGS'
44138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44141
44142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44143 /* end confdefs.h. */
44144 #include <math.h>
44145 #ifdef HAVE_IEEEFP_H
44146 #include <ieeefp.h>
44147 #endif
44148
44149 int
44150 main ()
44151 {
44152 expl(0);
44153 ;
44154 return 0;
44155 }
44156 _ACEOF
44157 if ac_fn_cxx_try_compile "$LINENO"; then :
44158 glibcxx_cv_func_expl_use=yes
44159 else
44160 glibcxx_cv_func_expl_use=no
44161 fi
44162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44163 ac_ext=c
44164 ac_cpp='$CPP $CPPFLAGS'
44165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44168
44169
44170 fi
44171
44172 fi
44173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44174 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44175
44176 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44177 for ac_func in expl
44178 do :
44179 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44180 if test "x$ac_cv_func_expl" = x""yes; then :
44181 cat >>confdefs.h <<_ACEOF
44182 #define HAVE_EXPL 1
44183 _ACEOF
44184
44185 fi
44186 done
44187
44188 else
44189
44190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44191 $as_echo_n "checking for _expl declaration... " >&6; }
44192 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44193 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44194 $as_echo_n "(cached) " >&6
44195 else
44196
44197
44198 ac_ext=cpp
44199 ac_cpp='$CXXCPP $CPPFLAGS'
44200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44203
44204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44205 /* end confdefs.h. */
44206 #include <math.h>
44207 #ifdef HAVE_IEEEFP_H
44208 #include <ieeefp.h>
44209 #endif
44210
44211 int
44212 main ()
44213 {
44214 _expl(0);
44215 ;
44216 return 0;
44217 }
44218 _ACEOF
44219 if ac_fn_cxx_try_compile "$LINENO"; then :
44220 glibcxx_cv_func__expl_use=yes
44221 else
44222 glibcxx_cv_func__expl_use=no
44223 fi
44224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44225 ac_ext=c
44226 ac_cpp='$CPP $CPPFLAGS'
44227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44230
44231
44232 fi
44233
44234 fi
44235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44236 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44237
44238 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44239 for ac_func in _expl
44240 do :
44241 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44242 if test "x$ac_cv_func__expl" = x""yes; then :
44243 cat >>confdefs.h <<_ACEOF
44244 #define HAVE__EXPL 1
44245 _ACEOF
44246
44247 fi
44248 done
44249
44250 fi
44251 fi
44252
44253
44254
44255
44256
44257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44258 $as_echo_n "checking for fabsl declaration... " >&6; }
44259 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44260 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44261 $as_echo_n "(cached) " >&6
44262 else
44263
44264
44265 ac_ext=cpp
44266 ac_cpp='$CXXCPP $CPPFLAGS'
44267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44270
44271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44272 /* end confdefs.h. */
44273 #include <math.h>
44274 #ifdef HAVE_IEEEFP_H
44275 #include <ieeefp.h>
44276 #endif
44277
44278 int
44279 main ()
44280 {
44281 fabsl(0);
44282 ;
44283 return 0;
44284 }
44285 _ACEOF
44286 if ac_fn_cxx_try_compile "$LINENO"; then :
44287 glibcxx_cv_func_fabsl_use=yes
44288 else
44289 glibcxx_cv_func_fabsl_use=no
44290 fi
44291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44292 ac_ext=c
44293 ac_cpp='$CPP $CPPFLAGS'
44294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44297
44298
44299 fi
44300
44301 fi
44302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44303 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44304
44305 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44306 for ac_func in fabsl
44307 do :
44308 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44309 if test "x$ac_cv_func_fabsl" = x""yes; then :
44310 cat >>confdefs.h <<_ACEOF
44311 #define HAVE_FABSL 1
44312 _ACEOF
44313
44314 fi
44315 done
44316
44317 else
44318
44319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44320 $as_echo_n "checking for _fabsl declaration... " >&6; }
44321 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44322 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44323 $as_echo_n "(cached) " >&6
44324 else
44325
44326
44327 ac_ext=cpp
44328 ac_cpp='$CXXCPP $CPPFLAGS'
44329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44332
44333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44334 /* end confdefs.h. */
44335 #include <math.h>
44336 #ifdef HAVE_IEEEFP_H
44337 #include <ieeefp.h>
44338 #endif
44339
44340 int
44341 main ()
44342 {
44343 _fabsl(0);
44344 ;
44345 return 0;
44346 }
44347 _ACEOF
44348 if ac_fn_cxx_try_compile "$LINENO"; then :
44349 glibcxx_cv_func__fabsl_use=yes
44350 else
44351 glibcxx_cv_func__fabsl_use=no
44352 fi
44353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44354 ac_ext=c
44355 ac_cpp='$CPP $CPPFLAGS'
44356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44359
44360
44361 fi
44362
44363 fi
44364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44365 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44366
44367 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44368 for ac_func in _fabsl
44369 do :
44370 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44371 if test "x$ac_cv_func__fabsl" = x""yes; then :
44372 cat >>confdefs.h <<_ACEOF
44373 #define HAVE__FABSL 1
44374 _ACEOF
44375
44376 fi
44377 done
44378
44379 fi
44380 fi
44381
44382
44383
44384
44385
44386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44387 $as_echo_n "checking for fmodl declaration... " >&6; }
44388 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44389 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44390 $as_echo_n "(cached) " >&6
44391 else
44392
44393
44394 ac_ext=cpp
44395 ac_cpp='$CXXCPP $CPPFLAGS'
44396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44399
44400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44401 /* end confdefs.h. */
44402 #include <math.h>
44403 int
44404 main ()
44405 {
44406 fmodl(0, 0);
44407 ;
44408 return 0;
44409 }
44410 _ACEOF
44411 if ac_fn_cxx_try_compile "$LINENO"; then :
44412 glibcxx_cv_func_fmodl_use=yes
44413 else
44414 glibcxx_cv_func_fmodl_use=no
44415 fi
44416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44417 ac_ext=c
44418 ac_cpp='$CPP $CPPFLAGS'
44419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44422
44423
44424 fi
44425
44426 fi
44427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44428 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44429
44430 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44431 for ac_func in fmodl
44432 do :
44433 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44434 if test "x$ac_cv_func_fmodl" = x""yes; then :
44435 cat >>confdefs.h <<_ACEOF
44436 #define HAVE_FMODL 1
44437 _ACEOF
44438
44439 fi
44440 done
44441
44442 else
44443
44444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44445 $as_echo_n "checking for _fmodl declaration... " >&6; }
44446 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44447 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44448 $as_echo_n "(cached) " >&6
44449 else
44450
44451
44452 ac_ext=cpp
44453 ac_cpp='$CXXCPP $CPPFLAGS'
44454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44457
44458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44459 /* end confdefs.h. */
44460 #include <math.h>
44461 int
44462 main ()
44463 {
44464 _fmodl(0, 0);
44465 ;
44466 return 0;
44467 }
44468 _ACEOF
44469 if ac_fn_cxx_try_compile "$LINENO"; then :
44470 glibcxx_cv_func__fmodl_use=yes
44471 else
44472 glibcxx_cv_func__fmodl_use=no
44473 fi
44474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44475 ac_ext=c
44476 ac_cpp='$CPP $CPPFLAGS'
44477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44480
44481
44482 fi
44483
44484 fi
44485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44486 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44487
44488 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44489 for ac_func in _fmodl
44490 do :
44491 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44492 if test "x$ac_cv_func__fmodl" = x""yes; then :
44493 cat >>confdefs.h <<_ACEOF
44494 #define HAVE__FMODL 1
44495 _ACEOF
44496
44497 fi
44498 done
44499
44500 fi
44501 fi
44502
44503
44504
44505
44506
44507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44508 $as_echo_n "checking for frexpl declaration... " >&6; }
44509 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44510 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44511 $as_echo_n "(cached) " >&6
44512 else
44513
44514
44515 ac_ext=cpp
44516 ac_cpp='$CXXCPP $CPPFLAGS'
44517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44520
44521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44522 /* end confdefs.h. */
44523 #include <math.h>
44524 int
44525 main ()
44526 {
44527 frexpl(0, 0);
44528 ;
44529 return 0;
44530 }
44531 _ACEOF
44532 if ac_fn_cxx_try_compile "$LINENO"; then :
44533 glibcxx_cv_func_frexpl_use=yes
44534 else
44535 glibcxx_cv_func_frexpl_use=no
44536 fi
44537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44538 ac_ext=c
44539 ac_cpp='$CPP $CPPFLAGS'
44540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44543
44544
44545 fi
44546
44547 fi
44548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44549 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44550
44551 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44552 for ac_func in frexpl
44553 do :
44554 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44555 if test "x$ac_cv_func_frexpl" = x""yes; then :
44556 cat >>confdefs.h <<_ACEOF
44557 #define HAVE_FREXPL 1
44558 _ACEOF
44559
44560 fi
44561 done
44562
44563 else
44564
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44566 $as_echo_n "checking for _frexpl declaration... " >&6; }
44567 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44568 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44569 $as_echo_n "(cached) " >&6
44570 else
44571
44572
44573 ac_ext=cpp
44574 ac_cpp='$CXXCPP $CPPFLAGS'
44575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44578
44579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44580 /* end confdefs.h. */
44581 #include <math.h>
44582 int
44583 main ()
44584 {
44585 _frexpl(0, 0);
44586 ;
44587 return 0;
44588 }
44589 _ACEOF
44590 if ac_fn_cxx_try_compile "$LINENO"; then :
44591 glibcxx_cv_func__frexpl_use=yes
44592 else
44593 glibcxx_cv_func__frexpl_use=no
44594 fi
44595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44596 ac_ext=c
44597 ac_cpp='$CPP $CPPFLAGS'
44598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44601
44602
44603 fi
44604
44605 fi
44606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44607 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44608
44609 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44610 for ac_func in _frexpl
44611 do :
44612 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44613 if test "x$ac_cv_func__frexpl" = x""yes; then :
44614 cat >>confdefs.h <<_ACEOF
44615 #define HAVE__FREXPL 1
44616 _ACEOF
44617
44618 fi
44619 done
44620
44621 fi
44622 fi
44623
44624
44625
44626
44627
44628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44629 $as_echo_n "checking for hypotl declaration... " >&6; }
44630 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44631 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44632 $as_echo_n "(cached) " >&6
44633 else
44634
44635
44636 ac_ext=cpp
44637 ac_cpp='$CXXCPP $CPPFLAGS'
44638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44641
44642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44643 /* end confdefs.h. */
44644 #include <math.h>
44645 int
44646 main ()
44647 {
44648 hypotl(0, 0);
44649 ;
44650 return 0;
44651 }
44652 _ACEOF
44653 if ac_fn_cxx_try_compile "$LINENO"; then :
44654 glibcxx_cv_func_hypotl_use=yes
44655 else
44656 glibcxx_cv_func_hypotl_use=no
44657 fi
44658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44659 ac_ext=c
44660 ac_cpp='$CPP $CPPFLAGS'
44661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44664
44665
44666 fi
44667
44668 fi
44669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44670 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44671
44672 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44673 for ac_func in hypotl
44674 do :
44675 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44676 if test "x$ac_cv_func_hypotl" = x""yes; then :
44677 cat >>confdefs.h <<_ACEOF
44678 #define HAVE_HYPOTL 1
44679 _ACEOF
44680
44681 fi
44682 done
44683
44684 else
44685
44686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44687 $as_echo_n "checking for _hypotl declaration... " >&6; }
44688 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44689 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44690 $as_echo_n "(cached) " >&6
44691 else
44692
44693
44694 ac_ext=cpp
44695 ac_cpp='$CXXCPP $CPPFLAGS'
44696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44699
44700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44701 /* end confdefs.h. */
44702 #include <math.h>
44703 int
44704 main ()
44705 {
44706 _hypotl(0, 0);
44707 ;
44708 return 0;
44709 }
44710 _ACEOF
44711 if ac_fn_cxx_try_compile "$LINENO"; then :
44712 glibcxx_cv_func__hypotl_use=yes
44713 else
44714 glibcxx_cv_func__hypotl_use=no
44715 fi
44716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44717 ac_ext=c
44718 ac_cpp='$CPP $CPPFLAGS'
44719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44722
44723
44724 fi
44725
44726 fi
44727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44728 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44729
44730 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44731 for ac_func in _hypotl
44732 do :
44733 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44734 if test "x$ac_cv_func__hypotl" = x""yes; then :
44735 cat >>confdefs.h <<_ACEOF
44736 #define HAVE__HYPOTL 1
44737 _ACEOF
44738
44739 fi
44740 done
44741
44742 fi
44743 fi
44744
44745
44746
44747
44748
44749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44750 $as_echo_n "checking for ldexpl declaration... " >&6; }
44751 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44752 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44753 $as_echo_n "(cached) " >&6
44754 else
44755
44756
44757 ac_ext=cpp
44758 ac_cpp='$CXXCPP $CPPFLAGS'
44759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44762
44763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44764 /* end confdefs.h. */
44765 #include <math.h>
44766 int
44767 main ()
44768 {
44769 ldexpl(0, 0);
44770 ;
44771 return 0;
44772 }
44773 _ACEOF
44774 if ac_fn_cxx_try_compile "$LINENO"; then :
44775 glibcxx_cv_func_ldexpl_use=yes
44776 else
44777 glibcxx_cv_func_ldexpl_use=no
44778 fi
44779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44780 ac_ext=c
44781 ac_cpp='$CPP $CPPFLAGS'
44782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44785
44786
44787 fi
44788
44789 fi
44790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44791 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44792
44793 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44794 for ac_func in ldexpl
44795 do :
44796 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44797 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44798 cat >>confdefs.h <<_ACEOF
44799 #define HAVE_LDEXPL 1
44800 _ACEOF
44801
44802 fi
44803 done
44804
44805 else
44806
44807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44808 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44809 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44810 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44811 $as_echo_n "(cached) " >&6
44812 else
44813
44814
44815 ac_ext=cpp
44816 ac_cpp='$CXXCPP $CPPFLAGS'
44817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44820
44821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44822 /* end confdefs.h. */
44823 #include <math.h>
44824 int
44825 main ()
44826 {
44827 _ldexpl(0, 0);
44828 ;
44829 return 0;
44830 }
44831 _ACEOF
44832 if ac_fn_cxx_try_compile "$LINENO"; then :
44833 glibcxx_cv_func__ldexpl_use=yes
44834 else
44835 glibcxx_cv_func__ldexpl_use=no
44836 fi
44837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44838 ac_ext=c
44839 ac_cpp='$CPP $CPPFLAGS'
44840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44843
44844
44845 fi
44846
44847 fi
44848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44849 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44850
44851 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44852 for ac_func in _ldexpl
44853 do :
44854 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44855 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44856 cat >>confdefs.h <<_ACEOF
44857 #define HAVE__LDEXPL 1
44858 _ACEOF
44859
44860 fi
44861 done
44862
44863 fi
44864 fi
44865
44866
44867
44868
44869
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44871 $as_echo_n "checking for logl declaration... " >&6; }
44872 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44873 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44874 $as_echo_n "(cached) " >&6
44875 else
44876
44877
44878 ac_ext=cpp
44879 ac_cpp='$CXXCPP $CPPFLAGS'
44880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44883
44884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44885 /* end confdefs.h. */
44886 #include <math.h>
44887 #ifdef HAVE_IEEEFP_H
44888 #include <ieeefp.h>
44889 #endif
44890
44891 int
44892 main ()
44893 {
44894 logl(0);
44895 ;
44896 return 0;
44897 }
44898 _ACEOF
44899 if ac_fn_cxx_try_compile "$LINENO"; then :
44900 glibcxx_cv_func_logl_use=yes
44901 else
44902 glibcxx_cv_func_logl_use=no
44903 fi
44904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44905 ac_ext=c
44906 ac_cpp='$CPP $CPPFLAGS'
44907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44910
44911
44912 fi
44913
44914 fi
44915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44916 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44917
44918 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44919 for ac_func in logl
44920 do :
44921 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44922 if test "x$ac_cv_func_logl" = x""yes; then :
44923 cat >>confdefs.h <<_ACEOF
44924 #define HAVE_LOGL 1
44925 _ACEOF
44926
44927 fi
44928 done
44929
44930 else
44931
44932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44933 $as_echo_n "checking for _logl declaration... " >&6; }
44934 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44935 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44936 $as_echo_n "(cached) " >&6
44937 else
44938
44939
44940 ac_ext=cpp
44941 ac_cpp='$CXXCPP $CPPFLAGS'
44942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44945
44946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44947 /* end confdefs.h. */
44948 #include <math.h>
44949 #ifdef HAVE_IEEEFP_H
44950 #include <ieeefp.h>
44951 #endif
44952
44953 int
44954 main ()
44955 {
44956 _logl(0);
44957 ;
44958 return 0;
44959 }
44960 _ACEOF
44961 if ac_fn_cxx_try_compile "$LINENO"; then :
44962 glibcxx_cv_func__logl_use=yes
44963 else
44964 glibcxx_cv_func__logl_use=no
44965 fi
44966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44967 ac_ext=c
44968 ac_cpp='$CPP $CPPFLAGS'
44969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44972
44973
44974 fi
44975
44976 fi
44977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44978 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44979
44980 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44981 for ac_func in _logl
44982 do :
44983 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44984 if test "x$ac_cv_func__logl" = x""yes; then :
44985 cat >>confdefs.h <<_ACEOF
44986 #define HAVE__LOGL 1
44987 _ACEOF
44988
44989 fi
44990 done
44991
44992 fi
44993 fi
44994
44995
44996
44997
44998
44999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45000 $as_echo_n "checking for log10l declaration... " >&6; }
45001 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45002 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45003 $as_echo_n "(cached) " >&6
45004 else
45005
45006
45007 ac_ext=cpp
45008 ac_cpp='$CXXCPP $CPPFLAGS'
45009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45012
45013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45014 /* end confdefs.h. */
45015 #include <math.h>
45016 #ifdef HAVE_IEEEFP_H
45017 #include <ieeefp.h>
45018 #endif
45019
45020 int
45021 main ()
45022 {
45023 log10l(0);
45024 ;
45025 return 0;
45026 }
45027 _ACEOF
45028 if ac_fn_cxx_try_compile "$LINENO"; then :
45029 glibcxx_cv_func_log10l_use=yes
45030 else
45031 glibcxx_cv_func_log10l_use=no
45032 fi
45033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45034 ac_ext=c
45035 ac_cpp='$CPP $CPPFLAGS'
45036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45039
45040
45041 fi
45042
45043 fi
45044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45045 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45046
45047 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45048 for ac_func in log10l
45049 do :
45050 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45051 if test "x$ac_cv_func_log10l" = x""yes; then :
45052 cat >>confdefs.h <<_ACEOF
45053 #define HAVE_LOG10L 1
45054 _ACEOF
45055
45056 fi
45057 done
45058
45059 else
45060
45061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45062 $as_echo_n "checking for _log10l declaration... " >&6; }
45063 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45064 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45065 $as_echo_n "(cached) " >&6
45066 else
45067
45068
45069 ac_ext=cpp
45070 ac_cpp='$CXXCPP $CPPFLAGS'
45071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45074
45075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45076 /* end confdefs.h. */
45077 #include <math.h>
45078 #ifdef HAVE_IEEEFP_H
45079 #include <ieeefp.h>
45080 #endif
45081
45082 int
45083 main ()
45084 {
45085 _log10l(0);
45086 ;
45087 return 0;
45088 }
45089 _ACEOF
45090 if ac_fn_cxx_try_compile "$LINENO"; then :
45091 glibcxx_cv_func__log10l_use=yes
45092 else
45093 glibcxx_cv_func__log10l_use=no
45094 fi
45095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45096 ac_ext=c
45097 ac_cpp='$CPP $CPPFLAGS'
45098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45101
45102
45103 fi
45104
45105 fi
45106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45107 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45108
45109 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45110 for ac_func in _log10l
45111 do :
45112 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45113 if test "x$ac_cv_func__log10l" = x""yes; then :
45114 cat >>confdefs.h <<_ACEOF
45115 #define HAVE__LOG10L 1
45116 _ACEOF
45117
45118 fi
45119 done
45120
45121 fi
45122 fi
45123
45124
45125
45126
45127
45128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45129 $as_echo_n "checking for modfl declaration... " >&6; }
45130 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45131 if test "${glibcxx_cv_func_modfl_use+set}" = set; 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 int
45146 main ()
45147 {
45148 modfl(0, 0);
45149 ;
45150 return 0;
45151 }
45152 _ACEOF
45153 if ac_fn_cxx_try_compile "$LINENO"; then :
45154 glibcxx_cv_func_modfl_use=yes
45155 else
45156 glibcxx_cv_func_modfl_use=no
45157 fi
45158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45159 ac_ext=c
45160 ac_cpp='$CPP $CPPFLAGS'
45161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45164
45165
45166 fi
45167
45168 fi
45169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45170 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45171
45172 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45173 for ac_func in modfl
45174 do :
45175 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45176 if test "x$ac_cv_func_modfl" = x""yes; then :
45177 cat >>confdefs.h <<_ACEOF
45178 #define HAVE_MODFL 1
45179 _ACEOF
45180
45181 fi
45182 done
45183
45184 else
45185
45186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45187 $as_echo_n "checking for _modfl declaration... " >&6; }
45188 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45189 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45190 $as_echo_n "(cached) " >&6
45191 else
45192
45193
45194 ac_ext=cpp
45195 ac_cpp='$CXXCPP $CPPFLAGS'
45196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45199
45200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45201 /* end confdefs.h. */
45202 #include <math.h>
45203 int
45204 main ()
45205 {
45206 _modfl(0, 0);
45207 ;
45208 return 0;
45209 }
45210 _ACEOF
45211 if ac_fn_cxx_try_compile "$LINENO"; then :
45212 glibcxx_cv_func__modfl_use=yes
45213 else
45214 glibcxx_cv_func__modfl_use=no
45215 fi
45216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45217 ac_ext=c
45218 ac_cpp='$CPP $CPPFLAGS'
45219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45222
45223
45224 fi
45225
45226 fi
45227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45228 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45229
45230 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45231 for ac_func in _modfl
45232 do :
45233 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45234 if test "x$ac_cv_func__modfl" = x""yes; then :
45235 cat >>confdefs.h <<_ACEOF
45236 #define HAVE__MODFL 1
45237 _ACEOF
45238
45239 fi
45240 done
45241
45242 fi
45243 fi
45244
45245
45246
45247
45248
45249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45250 $as_echo_n "checking for powl declaration... " >&6; }
45251 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45252 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45253 $as_echo_n "(cached) " >&6
45254 else
45255
45256
45257 ac_ext=cpp
45258 ac_cpp='$CXXCPP $CPPFLAGS'
45259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45262
45263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45264 /* end confdefs.h. */
45265 #include <math.h>
45266 int
45267 main ()
45268 {
45269 powl(0, 0);
45270 ;
45271 return 0;
45272 }
45273 _ACEOF
45274 if ac_fn_cxx_try_compile "$LINENO"; then :
45275 glibcxx_cv_func_powl_use=yes
45276 else
45277 glibcxx_cv_func_powl_use=no
45278 fi
45279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45280 ac_ext=c
45281 ac_cpp='$CPP $CPPFLAGS'
45282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45285
45286
45287 fi
45288
45289 fi
45290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45291 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45292
45293 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45294 for ac_func in powl
45295 do :
45296 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45297 if test "x$ac_cv_func_powl" = x""yes; then :
45298 cat >>confdefs.h <<_ACEOF
45299 #define HAVE_POWL 1
45300 _ACEOF
45301
45302 fi
45303 done
45304
45305 else
45306
45307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45308 $as_echo_n "checking for _powl declaration... " >&6; }
45309 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45310 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45311 $as_echo_n "(cached) " >&6
45312 else
45313
45314
45315 ac_ext=cpp
45316 ac_cpp='$CXXCPP $CPPFLAGS'
45317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45320
45321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45322 /* end confdefs.h. */
45323 #include <math.h>
45324 int
45325 main ()
45326 {
45327 _powl(0, 0);
45328 ;
45329 return 0;
45330 }
45331 _ACEOF
45332 if ac_fn_cxx_try_compile "$LINENO"; then :
45333 glibcxx_cv_func__powl_use=yes
45334 else
45335 glibcxx_cv_func__powl_use=no
45336 fi
45337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45338 ac_ext=c
45339 ac_cpp='$CPP $CPPFLAGS'
45340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45343
45344
45345 fi
45346
45347 fi
45348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45349 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45350
45351 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45352 for ac_func in _powl
45353 do :
45354 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45355 if test "x$ac_cv_func__powl" = x""yes; then :
45356 cat >>confdefs.h <<_ACEOF
45357 #define HAVE__POWL 1
45358 _ACEOF
45359
45360 fi
45361 done
45362
45363 fi
45364 fi
45365
45366
45367
45368
45369
45370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45371 $as_echo_n "checking for sqrtl declaration... " >&6; }
45372 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45373 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45374 $as_echo_n "(cached) " >&6
45375 else
45376
45377
45378 ac_ext=cpp
45379 ac_cpp='$CXXCPP $CPPFLAGS'
45380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45383
45384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45385 /* end confdefs.h. */
45386 #include <math.h>
45387 #ifdef HAVE_IEEEFP_H
45388 #include <ieeefp.h>
45389 #endif
45390
45391 int
45392 main ()
45393 {
45394 sqrtl(0);
45395 ;
45396 return 0;
45397 }
45398 _ACEOF
45399 if ac_fn_cxx_try_compile "$LINENO"; then :
45400 glibcxx_cv_func_sqrtl_use=yes
45401 else
45402 glibcxx_cv_func_sqrtl_use=no
45403 fi
45404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45405 ac_ext=c
45406 ac_cpp='$CPP $CPPFLAGS'
45407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45410
45411
45412 fi
45413
45414 fi
45415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45416 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45417
45418 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45419 for ac_func in sqrtl
45420 do :
45421 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45422 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45423 cat >>confdefs.h <<_ACEOF
45424 #define HAVE_SQRTL 1
45425 _ACEOF
45426
45427 fi
45428 done
45429
45430 else
45431
45432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45433 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45434 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45435 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45436 $as_echo_n "(cached) " >&6
45437 else
45438
45439
45440 ac_ext=cpp
45441 ac_cpp='$CXXCPP $CPPFLAGS'
45442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45445
45446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45447 /* end confdefs.h. */
45448 #include <math.h>
45449 #ifdef HAVE_IEEEFP_H
45450 #include <ieeefp.h>
45451 #endif
45452
45453 int
45454 main ()
45455 {
45456 _sqrtl(0);
45457 ;
45458 return 0;
45459 }
45460 _ACEOF
45461 if ac_fn_cxx_try_compile "$LINENO"; then :
45462 glibcxx_cv_func__sqrtl_use=yes
45463 else
45464 glibcxx_cv_func__sqrtl_use=no
45465 fi
45466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45467 ac_ext=c
45468 ac_cpp='$CPP $CPPFLAGS'
45469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45472
45473
45474 fi
45475
45476 fi
45477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45478 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45479
45480 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45481 for ac_func in _sqrtl
45482 do :
45483 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45484 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45485 cat >>confdefs.h <<_ACEOF
45486 #define HAVE__SQRTL 1
45487 _ACEOF
45488
45489 fi
45490 done
45491
45492 fi
45493 fi
45494
45495
45496
45497
45498
45499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45500 $as_echo_n "checking for sincosl declaration... " >&6; }
45501 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45502 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45503 $as_echo_n "(cached) " >&6
45504 else
45505
45506
45507 ac_ext=cpp
45508 ac_cpp='$CXXCPP $CPPFLAGS'
45509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45512
45513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45514 /* end confdefs.h. */
45515 #include <math.h>
45516 int
45517 main ()
45518 {
45519 sincosl(0, 0, 0);
45520 ;
45521 return 0;
45522 }
45523 _ACEOF
45524 if ac_fn_cxx_try_compile "$LINENO"; then :
45525 glibcxx_cv_func_sincosl_use=yes
45526 else
45527 glibcxx_cv_func_sincosl_use=no
45528 fi
45529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45530 ac_ext=c
45531 ac_cpp='$CPP $CPPFLAGS'
45532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45535
45536
45537 fi
45538
45539 fi
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45541 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45542
45543 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45544 for ac_func in sincosl
45545 do :
45546 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45547 if test "x$ac_cv_func_sincosl" = x""yes; then :
45548 cat >>confdefs.h <<_ACEOF
45549 #define HAVE_SINCOSL 1
45550 _ACEOF
45551
45552 fi
45553 done
45554
45555 else
45556
45557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45558 $as_echo_n "checking for _sincosl declaration... " >&6; }
45559 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45560 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45561 $as_echo_n "(cached) " >&6
45562 else
45563
45564
45565 ac_ext=cpp
45566 ac_cpp='$CXXCPP $CPPFLAGS'
45567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45570
45571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45572 /* end confdefs.h. */
45573 #include <math.h>
45574 int
45575 main ()
45576 {
45577 _sincosl(0, 0, 0);
45578 ;
45579 return 0;
45580 }
45581 _ACEOF
45582 if ac_fn_cxx_try_compile "$LINENO"; then :
45583 glibcxx_cv_func__sincosl_use=yes
45584 else
45585 glibcxx_cv_func__sincosl_use=no
45586 fi
45587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45588 ac_ext=c
45589 ac_cpp='$CPP $CPPFLAGS'
45590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45593
45594
45595 fi
45596
45597 fi
45598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45599 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45600
45601 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45602 for ac_func in _sincosl
45603 do :
45604 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45605 if test "x$ac_cv_func__sincosl" = x""yes; then :
45606 cat >>confdefs.h <<_ACEOF
45607 #define HAVE__SINCOSL 1
45608 _ACEOF
45609
45610 fi
45611 done
45612
45613 fi
45614 fi
45615
45616
45617
45618
45619
45620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45621 $as_echo_n "checking for finitel declaration... " >&6; }
45622 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45623 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45624 $as_echo_n "(cached) " >&6
45625 else
45626
45627
45628 ac_ext=cpp
45629 ac_cpp='$CXXCPP $CPPFLAGS'
45630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45633
45634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45635 /* end confdefs.h. */
45636 #include <math.h>
45637 #ifdef HAVE_IEEEFP_H
45638 #include <ieeefp.h>
45639 #endif
45640
45641 int
45642 main ()
45643 {
45644 finitel(0);
45645 ;
45646 return 0;
45647 }
45648 _ACEOF
45649 if ac_fn_cxx_try_compile "$LINENO"; then :
45650 glibcxx_cv_func_finitel_use=yes
45651 else
45652 glibcxx_cv_func_finitel_use=no
45653 fi
45654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45655 ac_ext=c
45656 ac_cpp='$CPP $CPPFLAGS'
45657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45660
45661
45662 fi
45663
45664 fi
45665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45666 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45667
45668 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45669 for ac_func in finitel
45670 do :
45671 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45672 if test "x$ac_cv_func_finitel" = x""yes; then :
45673 cat >>confdefs.h <<_ACEOF
45674 #define HAVE_FINITEL 1
45675 _ACEOF
45676
45677 fi
45678 done
45679
45680 else
45681
45682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45683 $as_echo_n "checking for _finitel declaration... " >&6; }
45684 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45685 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45686 $as_echo_n "(cached) " >&6
45687 else
45688
45689
45690 ac_ext=cpp
45691 ac_cpp='$CXXCPP $CPPFLAGS'
45692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45695
45696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45697 /* end confdefs.h. */
45698 #include <math.h>
45699 #ifdef HAVE_IEEEFP_H
45700 #include <ieeefp.h>
45701 #endif
45702
45703 int
45704 main ()
45705 {
45706 _finitel(0);
45707 ;
45708 return 0;
45709 }
45710 _ACEOF
45711 if ac_fn_cxx_try_compile "$LINENO"; then :
45712 glibcxx_cv_func__finitel_use=yes
45713 else
45714 glibcxx_cv_func__finitel_use=no
45715 fi
45716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45717 ac_ext=c
45718 ac_cpp='$CPP $CPPFLAGS'
45719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45722
45723
45724 fi
45725
45726 fi
45727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45728 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45729
45730 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45731 for ac_func in _finitel
45732 do :
45733 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45734 if test "x$ac_cv_func__finitel" = x""yes; then :
45735 cat >>confdefs.h <<_ACEOF
45736 #define HAVE__FINITEL 1
45737 _ACEOF
45738
45739 fi
45740 done
45741
45742 fi
45743 fi
45744
45745
45746
45747
45748 LIBS="$ac_save_LIBS"
45749 CXXFLAGS="$ac_save_CXXFLAGS"
45750
45751
45752 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45753 ac_save_CXXFLAGS="$CXXFLAGS"
45754 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45755
45756
45757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45758 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45759 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45760 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45761 $as_echo_n "(cached) " >&6
45762 else
45763
45764
45765 ac_ext=cpp
45766 ac_cpp='$CXXCPP $CPPFLAGS'
45767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45770
45771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45772 /* end confdefs.h. */
45773 #include <stdlib.h>
45774 int
45775 main ()
45776 {
45777 at_quick_exit(0);
45778 ;
45779 return 0;
45780 }
45781 _ACEOF
45782 if ac_fn_cxx_try_compile "$LINENO"; then :
45783 glibcxx_cv_func_at_quick_exit_use=yes
45784 else
45785 glibcxx_cv_func_at_quick_exit_use=no
45786 fi
45787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45788 ac_ext=c
45789 ac_cpp='$CPP $CPPFLAGS'
45790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45793
45794
45795 fi
45796
45797 fi
45798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45799 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45800 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45801 for ac_func in at_quick_exit
45802 do :
45803 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45804 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_AT_QUICK_EXIT 1
45807 _ACEOF
45808
45809 fi
45810 done
45811
45812 fi
45813
45814
45815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45816 $as_echo_n "checking for quick_exit declaration... " >&6; }
45817 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45818 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45819 $as_echo_n "(cached) " >&6
45820 else
45821
45822
45823 ac_ext=cpp
45824 ac_cpp='$CXXCPP $CPPFLAGS'
45825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45828
45829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45830 /* end confdefs.h. */
45831 #include <stdlib.h>
45832 int
45833 main ()
45834 {
45835 quick_exit(0);
45836 ;
45837 return 0;
45838 }
45839 _ACEOF
45840 if ac_fn_cxx_try_compile "$LINENO"; then :
45841 glibcxx_cv_func_quick_exit_use=yes
45842 else
45843 glibcxx_cv_func_quick_exit_use=no
45844 fi
45845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45846 ac_ext=c
45847 ac_cpp='$CPP $CPPFLAGS'
45848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45851
45852
45853 fi
45854
45855 fi
45856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45857 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45858 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45859 for ac_func in quick_exit
45860 do :
45861 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45862 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define HAVE_QUICK_EXIT 1
45865 _ACEOF
45866
45867 fi
45868 done
45869
45870 fi
45871
45872
45873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45874 $as_echo_n "checking for strtold declaration... " >&6; }
45875 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45876 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45877 $as_echo_n "(cached) " >&6
45878 else
45879
45880
45881 ac_ext=cpp
45882 ac_cpp='$CXXCPP $CPPFLAGS'
45883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45886
45887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45888 /* end confdefs.h. */
45889 #include <stdlib.h>
45890 int
45891 main ()
45892 {
45893 strtold(0, 0);
45894 ;
45895 return 0;
45896 }
45897 _ACEOF
45898 if ac_fn_cxx_try_compile "$LINENO"; then :
45899 glibcxx_cv_func_strtold_use=yes
45900 else
45901 glibcxx_cv_func_strtold_use=no
45902 fi
45903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45904 ac_ext=c
45905 ac_cpp='$CPP $CPPFLAGS'
45906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45909
45910
45911 fi
45912
45913 fi
45914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45915 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45916 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45917 for ac_func in strtold
45918 do :
45919 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45920 if test "x$ac_cv_func_strtold" = x""yes; then :
45921 cat >>confdefs.h <<_ACEOF
45922 #define HAVE_STRTOLD 1
45923 _ACEOF
45924
45925 fi
45926 done
45927
45928 fi
45929
45930
45931
45932
45933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45934 $as_echo_n "checking for strtof declaration... " >&6; }
45935 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45936 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45937 $as_echo_n "(cached) " >&6
45938 else
45939
45940
45941 ac_ext=cpp
45942 ac_cpp='$CXXCPP $CPPFLAGS'
45943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45946
45947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45948 /* end confdefs.h. */
45949 #include <stdlib.h>
45950 int
45951 main ()
45952 {
45953 strtof(0, 0);
45954 ;
45955 return 0;
45956 }
45957 _ACEOF
45958 if ac_fn_cxx_try_compile "$LINENO"; then :
45959 glibcxx_cv_func_strtof_use=yes
45960 else
45961 glibcxx_cv_func_strtof_use=no
45962 fi
45963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45964 ac_ext=c
45965 ac_cpp='$CPP $CPPFLAGS'
45966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45969
45970
45971 fi
45972
45973 fi
45974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45975 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45976 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45977 for ac_func in strtof
45978 do :
45979 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45980 if test "x$ac_cv_func_strtof" = x""yes; then :
45981 cat >>confdefs.h <<_ACEOF
45982 #define HAVE_STRTOF 1
45983 _ACEOF
45984
45985 fi
45986 done
45987
45988 fi
45989
45990
45991
45992
45993 CXXFLAGS="$ac_save_CXXFLAGS"
45994
45995 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45996
45997 # We don't yet support AIX's TLS ABI.
45998 #GCC_CHECK_TLS
45999
46000
46001
46002
46003
46004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46005 $as_echo_n "checking for iconv... " >&6; }
46006 if test "${am_cv_func_iconv+set}" = set; then :
46007 $as_echo_n "(cached) " >&6
46008 else
46009
46010 am_cv_func_iconv="no, consider installing GNU libiconv"
46011 am_cv_lib_iconv=no
46012 am_save_CPPFLAGS="$CPPFLAGS"
46013 CPPFLAGS="$CPPFLAGS $INCICONV"
46014 if test x$gcc_no_link = xyes; then
46015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46016 fi
46017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46018 /* end confdefs.h. */
46019 #include <stdlib.h>
46020 #include <iconv.h>
46021 int
46022 main ()
46023 {
46024 iconv_t cd = iconv_open("","");
46025 iconv(cd,NULL,NULL,NULL,NULL);
46026 iconv_close(cd);
46027 ;
46028 return 0;
46029 }
46030 _ACEOF
46031 if ac_fn_c_try_link "$LINENO"; then :
46032 am_cv_func_iconv=yes
46033 fi
46034 rm -f core conftest.err conftest.$ac_objext \
46035 conftest$ac_exeext conftest.$ac_ext
46036 CPPFLAGS="$am_save_CPPFLAGS"
46037
46038 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46039 for _libs in .libs _libs; do
46040 am_save_CPPFLAGS="$CPPFLAGS"
46041 am_save_LIBS="$LIBS"
46042 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46043 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46044 if test x$gcc_no_link = xyes; then
46045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46046 fi
46047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46048 /* end confdefs.h. */
46049 #include <stdlib.h>
46050 #include <iconv.h>
46051 int
46052 main ()
46053 {
46054 iconv_t cd = iconv_open("","");
46055 iconv(cd,NULL,NULL,NULL,NULL);
46056 iconv_close(cd);
46057 ;
46058 return 0;
46059 }
46060 _ACEOF
46061 if ac_fn_c_try_link "$LINENO"; then :
46062 INCICONV="-I../libiconv/include"
46063 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46064 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46065 am_cv_lib_iconv=yes
46066 am_cv_func_iconv=yes
46067 fi
46068 rm -f core conftest.err conftest.$ac_objext \
46069 conftest$ac_exeext conftest.$ac_ext
46070 CPPFLAGS="$am_save_CPPFLAGS"
46071 LIBS="$am_save_LIBS"
46072 if test "$am_cv_func_iconv" = "yes"; then
46073 break
46074 fi
46075 done
46076 fi
46077
46078 if test "$am_cv_func_iconv" != yes; then
46079 am_save_CPPFLAGS="$CPPFLAGS"
46080 am_save_LIBS="$LIBS"
46081 CPPFLAGS="$LIBS $INCICONV"
46082 LIBS="$LIBS $LIBICONV"
46083 if test x$gcc_no_link = xyes; then
46084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46085 fi
46086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46087 /* end confdefs.h. */
46088 #include <stdlib.h>
46089 #include <iconv.h>
46090 int
46091 main ()
46092 {
46093 iconv_t cd = iconv_open("","");
46094 iconv(cd,NULL,NULL,NULL,NULL);
46095 iconv_close(cd);
46096 ;
46097 return 0;
46098 }
46099 _ACEOF
46100 if ac_fn_c_try_link "$LINENO"; then :
46101 am_cv_lib_iconv=yes
46102 am_cv_func_iconv=yes
46103 fi
46104 rm -f core conftest.err conftest.$ac_objext \
46105 conftest$ac_exeext conftest.$ac_ext
46106 CPPFLAGS="$am_save_CPPFLAGS"
46107 LIBS="$am_save_LIBS"
46108 fi
46109
46110 fi
46111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46112 $as_echo "$am_cv_func_iconv" >&6; }
46113 if test "$am_cv_func_iconv" = yes; then
46114
46115 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46116
46117 fi
46118 if test "$am_cv_lib_iconv" = yes; then
46119
46120 for element in $INCICONV; do
46121 haveit=
46122 for x in $CPPFLAGS; do
46123
46124 acl_save_prefix="$prefix"
46125 prefix="$acl_final_prefix"
46126 acl_save_exec_prefix="$exec_prefix"
46127 exec_prefix="$acl_final_exec_prefix"
46128 eval x=\"$x\"
46129 exec_prefix="$acl_save_exec_prefix"
46130 prefix="$acl_save_prefix"
46131
46132 if test "X$x" = "X$element"; then
46133 haveit=yes
46134 break
46135 fi
46136 done
46137 if test -z "$haveit"; then
46138 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46139 fi
46140 done
46141
46142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46143 $as_echo_n "checking how to link with libiconv... " >&6; }
46144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46145 $as_echo "$LIBICONV" >&6; }
46146 else
46147 LIBICONV=
46148 LTLIBICONV=
46149 fi
46150
46151
46152
46153 if test "$am_cv_func_iconv" = yes; then
46154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46155 $as_echo_n "checking for iconv declaration... " >&6; }
46156 if test "${am_cv_proto_iconv+set}" = set; then :
46157 $as_echo_n "(cached) " >&6
46158 else
46159
46160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46161 /* end confdefs.h. */
46162
46163 #include <stdlib.h>
46164 #include <iconv.h>
46165 extern
46166 #ifdef __cplusplus
46167 "C"
46168 #endif
46169 #if defined(__STDC__) || defined(__cplusplus)
46170 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46171 #else
46172 size_t iconv();
46173 #endif
46174
46175 int
46176 main ()
46177 {
46178
46179 ;
46180 return 0;
46181 }
46182 _ACEOF
46183 if ac_fn_c_try_compile "$LINENO"; then :
46184 am_cv_proto_iconv_arg1=""
46185 else
46186 am_cv_proto_iconv_arg1="const"
46187 fi
46188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46189 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);"
46190 fi
46191
46192 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46194 }$am_cv_proto_iconv" >&5
46195 $as_echo "${ac_t:-
46196 }$am_cv_proto_iconv" >&6; }
46197
46198 cat >>confdefs.h <<_ACEOF
46199 #define ICONV_CONST $am_cv_proto_iconv_arg1
46200 _ACEOF
46201
46202 fi
46203
46204 ;;
46205
46206 *-darwin*)
46207 # Darwin versions vary, but the linker should work in a cross environment,
46208 # so we just check for all the features here.
46209 # Check for available headers.
46210
46211 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46212
46213 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46214 ac_save_CXXFLAGS="$CXXFLAGS"
46215 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46216
46217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46218 $as_echo_n "checking for sin in -lm... " >&6; }
46219 if test "${ac_cv_lib_m_sin+set}" = set; then :
46220 $as_echo_n "(cached) " >&6
46221 else
46222 ac_check_lib_save_LIBS=$LIBS
46223 LIBS="-lm $LIBS"
46224 if test x$gcc_no_link = xyes; then
46225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46226 fi
46227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228 /* end confdefs.h. */
46229
46230 /* Override any GCC internal prototype to avoid an error.
46231 Use char because int might match the return type of a GCC
46232 builtin and then its argument prototype would still apply. */
46233 #ifdef __cplusplus
46234 extern "C"
46235 #endif
46236 char sin ();
46237 int
46238 main ()
46239 {
46240 return sin ();
46241 ;
46242 return 0;
46243 }
46244 _ACEOF
46245 if ac_fn_c_try_link "$LINENO"; then :
46246 ac_cv_lib_m_sin=yes
46247 else
46248 ac_cv_lib_m_sin=no
46249 fi
46250 rm -f core conftest.err conftest.$ac_objext \
46251 conftest$ac_exeext conftest.$ac_ext
46252 LIBS=$ac_check_lib_save_LIBS
46253 fi
46254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46255 $as_echo "$ac_cv_lib_m_sin" >&6; }
46256 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46257 libm="-lm"
46258 fi
46259
46260 ac_save_LIBS="$LIBS"
46261 LIBS="$LIBS $libm"
46262
46263
46264
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46266 $as_echo_n "checking for isinf declaration... " >&6; }
46267 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46268 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46269 $as_echo_n "(cached) " >&6
46270 else
46271
46272
46273 ac_ext=cpp
46274 ac_cpp='$CXXCPP $CPPFLAGS'
46275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46278
46279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46280 /* end confdefs.h. */
46281 #include <math.h>
46282 #ifdef HAVE_IEEEFP_H
46283 #include <ieeefp.h>
46284 #endif
46285
46286 int
46287 main ()
46288 {
46289 isinf(0);
46290 ;
46291 return 0;
46292 }
46293 _ACEOF
46294 if ac_fn_cxx_try_compile "$LINENO"; then :
46295 glibcxx_cv_func_isinf_use=yes
46296 else
46297 glibcxx_cv_func_isinf_use=no
46298 fi
46299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46300 ac_ext=c
46301 ac_cpp='$CPP $CPPFLAGS'
46302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46305
46306
46307 fi
46308
46309 fi
46310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46311 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46312
46313 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46314 for ac_func in isinf
46315 do :
46316 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46317 if test "x$ac_cv_func_isinf" = x""yes; then :
46318 cat >>confdefs.h <<_ACEOF
46319 #define HAVE_ISINF 1
46320 _ACEOF
46321
46322 fi
46323 done
46324
46325 else
46326
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46328 $as_echo_n "checking for _isinf declaration... " >&6; }
46329 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46330 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46331 $as_echo_n "(cached) " >&6
46332 else
46333
46334
46335 ac_ext=cpp
46336 ac_cpp='$CXXCPP $CPPFLAGS'
46337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46340
46341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46342 /* end confdefs.h. */
46343 #include <math.h>
46344 #ifdef HAVE_IEEEFP_H
46345 #include <ieeefp.h>
46346 #endif
46347
46348 int
46349 main ()
46350 {
46351 _isinf(0);
46352 ;
46353 return 0;
46354 }
46355 _ACEOF
46356 if ac_fn_cxx_try_compile "$LINENO"; then :
46357 glibcxx_cv_func__isinf_use=yes
46358 else
46359 glibcxx_cv_func__isinf_use=no
46360 fi
46361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46362 ac_ext=c
46363 ac_cpp='$CPP $CPPFLAGS'
46364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46367
46368
46369 fi
46370
46371 fi
46372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46373 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46374
46375 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46376 for ac_func in _isinf
46377 do :
46378 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46379 if test "x$ac_cv_func__isinf" = x""yes; then :
46380 cat >>confdefs.h <<_ACEOF
46381 #define HAVE__ISINF 1
46382 _ACEOF
46383
46384 fi
46385 done
46386
46387 fi
46388 fi
46389
46390
46391
46392
46393
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46395 $as_echo_n "checking for isnan declaration... " >&6; }
46396 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46397 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46398 $as_echo_n "(cached) " >&6
46399 else
46400
46401
46402 ac_ext=cpp
46403 ac_cpp='$CXXCPP $CPPFLAGS'
46404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46407
46408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46409 /* end confdefs.h. */
46410 #include <math.h>
46411 #ifdef HAVE_IEEEFP_H
46412 #include <ieeefp.h>
46413 #endif
46414
46415 int
46416 main ()
46417 {
46418 isnan(0);
46419 ;
46420 return 0;
46421 }
46422 _ACEOF
46423 if ac_fn_cxx_try_compile "$LINENO"; then :
46424 glibcxx_cv_func_isnan_use=yes
46425 else
46426 glibcxx_cv_func_isnan_use=no
46427 fi
46428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46429 ac_ext=c
46430 ac_cpp='$CPP $CPPFLAGS'
46431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46434
46435
46436 fi
46437
46438 fi
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46440 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46441
46442 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46443 for ac_func in isnan
46444 do :
46445 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46446 if test "x$ac_cv_func_isnan" = x""yes; then :
46447 cat >>confdefs.h <<_ACEOF
46448 #define HAVE_ISNAN 1
46449 _ACEOF
46450
46451 fi
46452 done
46453
46454 else
46455
46456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46457 $as_echo_n "checking for _isnan declaration... " >&6; }
46458 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46459 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46460 $as_echo_n "(cached) " >&6
46461 else
46462
46463
46464 ac_ext=cpp
46465 ac_cpp='$CXXCPP $CPPFLAGS'
46466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46469
46470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46471 /* end confdefs.h. */
46472 #include <math.h>
46473 #ifdef HAVE_IEEEFP_H
46474 #include <ieeefp.h>
46475 #endif
46476
46477 int
46478 main ()
46479 {
46480 _isnan(0);
46481 ;
46482 return 0;
46483 }
46484 _ACEOF
46485 if ac_fn_cxx_try_compile "$LINENO"; then :
46486 glibcxx_cv_func__isnan_use=yes
46487 else
46488 glibcxx_cv_func__isnan_use=no
46489 fi
46490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46491 ac_ext=c
46492 ac_cpp='$CPP $CPPFLAGS'
46493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46496
46497
46498 fi
46499
46500 fi
46501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46502 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46503
46504 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46505 for ac_func in _isnan
46506 do :
46507 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46508 if test "x$ac_cv_func__isnan" = x""yes; then :
46509 cat >>confdefs.h <<_ACEOF
46510 #define HAVE__ISNAN 1
46511 _ACEOF
46512
46513 fi
46514 done
46515
46516 fi
46517 fi
46518
46519
46520
46521
46522
46523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46524 $as_echo_n "checking for finite declaration... " >&6; }
46525 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46526 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46527 $as_echo_n "(cached) " >&6
46528 else
46529
46530
46531 ac_ext=cpp
46532 ac_cpp='$CXXCPP $CPPFLAGS'
46533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46536
46537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46538 /* end confdefs.h. */
46539 #include <math.h>
46540 #ifdef HAVE_IEEEFP_H
46541 #include <ieeefp.h>
46542 #endif
46543
46544 int
46545 main ()
46546 {
46547 finite(0);
46548 ;
46549 return 0;
46550 }
46551 _ACEOF
46552 if ac_fn_cxx_try_compile "$LINENO"; then :
46553 glibcxx_cv_func_finite_use=yes
46554 else
46555 glibcxx_cv_func_finite_use=no
46556 fi
46557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46558 ac_ext=c
46559 ac_cpp='$CPP $CPPFLAGS'
46560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46563
46564
46565 fi
46566
46567 fi
46568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46569 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46570
46571 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46572 for ac_func in finite
46573 do :
46574 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46575 if test "x$ac_cv_func_finite" = x""yes; then :
46576 cat >>confdefs.h <<_ACEOF
46577 #define HAVE_FINITE 1
46578 _ACEOF
46579
46580 fi
46581 done
46582
46583 else
46584
46585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46586 $as_echo_n "checking for _finite declaration... " >&6; }
46587 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46588 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46589 $as_echo_n "(cached) " >&6
46590 else
46591
46592
46593 ac_ext=cpp
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46598
46599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600 /* end confdefs.h. */
46601 #include <math.h>
46602 #ifdef HAVE_IEEEFP_H
46603 #include <ieeefp.h>
46604 #endif
46605
46606 int
46607 main ()
46608 {
46609 _finite(0);
46610 ;
46611 return 0;
46612 }
46613 _ACEOF
46614 if ac_fn_cxx_try_compile "$LINENO"; then :
46615 glibcxx_cv_func__finite_use=yes
46616 else
46617 glibcxx_cv_func__finite_use=no
46618 fi
46619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46620 ac_ext=c
46621 ac_cpp='$CPP $CPPFLAGS'
46622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46625
46626
46627 fi
46628
46629 fi
46630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46631 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46632
46633 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46634 for ac_func in _finite
46635 do :
46636 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46637 if test "x$ac_cv_func__finite" = x""yes; then :
46638 cat >>confdefs.h <<_ACEOF
46639 #define HAVE__FINITE 1
46640 _ACEOF
46641
46642 fi
46643 done
46644
46645 fi
46646 fi
46647
46648
46649
46650
46651
46652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46653 $as_echo_n "checking for sincos declaration... " >&6; }
46654 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46655 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46656 $as_echo_n "(cached) " >&6
46657 else
46658
46659
46660 ac_ext=cpp
46661 ac_cpp='$CXXCPP $CPPFLAGS'
46662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46665
46666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46667 /* end confdefs.h. */
46668 #include <math.h>
46669 int
46670 main ()
46671 {
46672 sincos(0, 0, 0);
46673 ;
46674 return 0;
46675 }
46676 _ACEOF
46677 if ac_fn_cxx_try_compile "$LINENO"; then :
46678 glibcxx_cv_func_sincos_use=yes
46679 else
46680 glibcxx_cv_func_sincos_use=no
46681 fi
46682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46683 ac_ext=c
46684 ac_cpp='$CPP $CPPFLAGS'
46685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46688
46689
46690 fi
46691
46692 fi
46693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46694 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46695
46696 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46697 for ac_func in sincos
46698 do :
46699 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46700 if test "x$ac_cv_func_sincos" = x""yes; then :
46701 cat >>confdefs.h <<_ACEOF
46702 #define HAVE_SINCOS 1
46703 _ACEOF
46704
46705 fi
46706 done
46707
46708 else
46709
46710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46711 $as_echo_n "checking for _sincos declaration... " >&6; }
46712 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46713 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46714 $as_echo_n "(cached) " >&6
46715 else
46716
46717
46718 ac_ext=cpp
46719 ac_cpp='$CXXCPP $CPPFLAGS'
46720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46723
46724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46725 /* end confdefs.h. */
46726 #include <math.h>
46727 int
46728 main ()
46729 {
46730 _sincos(0, 0, 0);
46731 ;
46732 return 0;
46733 }
46734 _ACEOF
46735 if ac_fn_cxx_try_compile "$LINENO"; then :
46736 glibcxx_cv_func__sincos_use=yes
46737 else
46738 glibcxx_cv_func__sincos_use=no
46739 fi
46740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46741 ac_ext=c
46742 ac_cpp='$CPP $CPPFLAGS'
46743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46746
46747
46748 fi
46749
46750 fi
46751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46752 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46753
46754 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46755 for ac_func in _sincos
46756 do :
46757 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46758 if test "x$ac_cv_func__sincos" = x""yes; then :
46759 cat >>confdefs.h <<_ACEOF
46760 #define HAVE__SINCOS 1
46761 _ACEOF
46762
46763 fi
46764 done
46765
46766 fi
46767 fi
46768
46769
46770
46771
46772
46773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46774 $as_echo_n "checking for fpclass declaration... " >&6; }
46775 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46776 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46777 $as_echo_n "(cached) " >&6
46778 else
46779
46780
46781 ac_ext=cpp
46782 ac_cpp='$CXXCPP $CPPFLAGS'
46783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46786
46787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46788 /* end confdefs.h. */
46789 #include <math.h>
46790 #ifdef HAVE_IEEEFP_H
46791 #include <ieeefp.h>
46792 #endif
46793
46794 int
46795 main ()
46796 {
46797 fpclass(0);
46798 ;
46799 return 0;
46800 }
46801 _ACEOF
46802 if ac_fn_cxx_try_compile "$LINENO"; then :
46803 glibcxx_cv_func_fpclass_use=yes
46804 else
46805 glibcxx_cv_func_fpclass_use=no
46806 fi
46807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46808 ac_ext=c
46809 ac_cpp='$CPP $CPPFLAGS'
46810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46813
46814
46815 fi
46816
46817 fi
46818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46819 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46820
46821 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46822 for ac_func in fpclass
46823 do :
46824 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46825 if test "x$ac_cv_func_fpclass" = x""yes; then :
46826 cat >>confdefs.h <<_ACEOF
46827 #define HAVE_FPCLASS 1
46828 _ACEOF
46829
46830 fi
46831 done
46832
46833 else
46834
46835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46836 $as_echo_n "checking for _fpclass declaration... " >&6; }
46837 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46838 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46839 $as_echo_n "(cached) " >&6
46840 else
46841
46842
46843 ac_ext=cpp
46844 ac_cpp='$CXXCPP $CPPFLAGS'
46845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46848
46849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46850 /* end confdefs.h. */
46851 #include <math.h>
46852 #ifdef HAVE_IEEEFP_H
46853 #include <ieeefp.h>
46854 #endif
46855
46856 int
46857 main ()
46858 {
46859 _fpclass(0);
46860 ;
46861 return 0;
46862 }
46863 _ACEOF
46864 if ac_fn_cxx_try_compile "$LINENO"; then :
46865 glibcxx_cv_func__fpclass_use=yes
46866 else
46867 glibcxx_cv_func__fpclass_use=no
46868 fi
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870 ac_ext=c
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46875
46876
46877 fi
46878
46879 fi
46880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46881 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46882
46883 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46884 for ac_func in _fpclass
46885 do :
46886 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46887 if test "x$ac_cv_func__fpclass" = x""yes; then :
46888 cat >>confdefs.h <<_ACEOF
46889 #define HAVE__FPCLASS 1
46890 _ACEOF
46891
46892 fi
46893 done
46894
46895 fi
46896 fi
46897
46898
46899
46900
46901
46902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46903 $as_echo_n "checking for qfpclass declaration... " >&6; }
46904 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46905 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46906 $as_echo_n "(cached) " >&6
46907 else
46908
46909
46910 ac_ext=cpp
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46915
46916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46917 /* end confdefs.h. */
46918 #include <math.h>
46919 #ifdef HAVE_IEEEFP_H
46920 #include <ieeefp.h>
46921 #endif
46922
46923 int
46924 main ()
46925 {
46926 qfpclass(0);
46927 ;
46928 return 0;
46929 }
46930 _ACEOF
46931 if ac_fn_cxx_try_compile "$LINENO"; then :
46932 glibcxx_cv_func_qfpclass_use=yes
46933 else
46934 glibcxx_cv_func_qfpclass_use=no
46935 fi
46936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937 ac_ext=c
46938 ac_cpp='$CPP $CPPFLAGS'
46939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46942
46943
46944 fi
46945
46946 fi
46947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46948 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46949
46950 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46951 for ac_func in qfpclass
46952 do :
46953 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46954 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46955 cat >>confdefs.h <<_ACEOF
46956 #define HAVE_QFPCLASS 1
46957 _ACEOF
46958
46959 fi
46960 done
46961
46962 else
46963
46964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46965 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46966 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46967 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46968 $as_echo_n "(cached) " >&6
46969 else
46970
46971
46972 ac_ext=cpp
46973 ac_cpp='$CXXCPP $CPPFLAGS'
46974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46977
46978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46979 /* end confdefs.h. */
46980 #include <math.h>
46981 #ifdef HAVE_IEEEFP_H
46982 #include <ieeefp.h>
46983 #endif
46984
46985 int
46986 main ()
46987 {
46988 _qfpclass(0);
46989 ;
46990 return 0;
46991 }
46992 _ACEOF
46993 if ac_fn_cxx_try_compile "$LINENO"; then :
46994 glibcxx_cv_func__qfpclass_use=yes
46995 else
46996 glibcxx_cv_func__qfpclass_use=no
46997 fi
46998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46999 ac_ext=c
47000 ac_cpp='$CPP $CPPFLAGS'
47001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47004
47005
47006 fi
47007
47008 fi
47009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47010 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47011
47012 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47013 for ac_func in _qfpclass
47014 do :
47015 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47016 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47017 cat >>confdefs.h <<_ACEOF
47018 #define HAVE__QFPCLASS 1
47019 _ACEOF
47020
47021 fi
47022 done
47023
47024 fi
47025 fi
47026
47027
47028
47029
47030
47031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47032 $as_echo_n "checking for hypot declaration... " >&6; }
47033 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47034 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47035 $as_echo_n "(cached) " >&6
47036 else
47037
47038
47039 ac_ext=cpp
47040 ac_cpp='$CXXCPP $CPPFLAGS'
47041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47044
47045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47046 /* end confdefs.h. */
47047 #include <math.h>
47048 int
47049 main ()
47050 {
47051 hypot(0, 0);
47052 ;
47053 return 0;
47054 }
47055 _ACEOF
47056 if ac_fn_cxx_try_compile "$LINENO"; then :
47057 glibcxx_cv_func_hypot_use=yes
47058 else
47059 glibcxx_cv_func_hypot_use=no
47060 fi
47061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47062 ac_ext=c
47063 ac_cpp='$CPP $CPPFLAGS'
47064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47067
47068
47069 fi
47070
47071 fi
47072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47073 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47074
47075 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47076 for ac_func in hypot
47077 do :
47078 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47079 if test "x$ac_cv_func_hypot" = x""yes; then :
47080 cat >>confdefs.h <<_ACEOF
47081 #define HAVE_HYPOT 1
47082 _ACEOF
47083
47084 fi
47085 done
47086
47087 else
47088
47089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47090 $as_echo_n "checking for _hypot declaration... " >&6; }
47091 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47092 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47093 $as_echo_n "(cached) " >&6
47094 else
47095
47096
47097 ac_ext=cpp
47098 ac_cpp='$CXXCPP $CPPFLAGS'
47099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47102
47103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47104 /* end confdefs.h. */
47105 #include <math.h>
47106 int
47107 main ()
47108 {
47109 _hypot(0, 0);
47110 ;
47111 return 0;
47112 }
47113 _ACEOF
47114 if ac_fn_cxx_try_compile "$LINENO"; then :
47115 glibcxx_cv_func__hypot_use=yes
47116 else
47117 glibcxx_cv_func__hypot_use=no
47118 fi
47119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47120 ac_ext=c
47121 ac_cpp='$CPP $CPPFLAGS'
47122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47125
47126
47127 fi
47128
47129 fi
47130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47131 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47132
47133 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47134 for ac_func in _hypot
47135 do :
47136 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47137 if test "x$ac_cv_func__hypot" = x""yes; then :
47138 cat >>confdefs.h <<_ACEOF
47139 #define HAVE__HYPOT 1
47140 _ACEOF
47141
47142 fi
47143 done
47144
47145 fi
47146 fi
47147
47148
47149
47150
47151
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47153 $as_echo_n "checking for float trig functions... " >&6; }
47154 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47155 $as_echo_n "(cached) " >&6
47156 else
47157
47158
47159 ac_ext=cpp
47160 ac_cpp='$CXXCPP $CPPFLAGS'
47161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47164
47165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47166 /* end confdefs.h. */
47167 #include <math.h>
47168 int
47169 main ()
47170 {
47171 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47172 ;
47173 return 0;
47174 }
47175 _ACEOF
47176 if ac_fn_cxx_try_compile "$LINENO"; then :
47177 glibcxx_cv_func_float_trig_use=yes
47178 else
47179 glibcxx_cv_func_float_trig_use=no
47180 fi
47181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47182 ac_ext=c
47183 ac_cpp='$CPP $CPPFLAGS'
47184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47187
47188 fi
47189
47190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47191 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47192 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47193 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47194 do :
47195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47197 eval as_val=\$$as_ac_var
47198 if test "x$as_val" = x""yes; then :
47199 cat >>confdefs.h <<_ACEOF
47200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47201 _ACEOF
47202
47203 fi
47204 done
47205
47206 else
47207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47208 $as_echo_n "checking for _float trig functions... " >&6; }
47209 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47210 $as_echo_n "(cached) " >&6
47211 else
47212
47213
47214 ac_ext=cpp
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47219
47220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h. */
47222 #include <math.h>
47223 int
47224 main ()
47225 {
47226 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47227 ;
47228 return 0;
47229 }
47230 _ACEOF
47231 if ac_fn_cxx_try_compile "$LINENO"; then :
47232 glibcxx_cv_func__float_trig_use=yes
47233 else
47234 glibcxx_cv_func__float_trig_use=no
47235 fi
47236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47237 ac_ext=c
47238 ac_cpp='$CPP $CPPFLAGS'
47239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47242
47243 fi
47244
47245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47246 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47247 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47248 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47249 do :
47250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47252 eval as_val=\$$as_ac_var
47253 if test "x$as_val" = x""yes; then :
47254 cat >>confdefs.h <<_ACEOF
47255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47256 _ACEOF
47257
47258 fi
47259 done
47260
47261 fi
47262 fi
47263
47264
47265
47266
47267
47268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47269 $as_echo_n "checking for float round functions... " >&6; }
47270 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47271 $as_echo_n "(cached) " >&6
47272 else
47273
47274
47275 ac_ext=cpp
47276 ac_cpp='$CXXCPP $CPPFLAGS'
47277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47280
47281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47282 /* end confdefs.h. */
47283 #include <math.h>
47284 int
47285 main ()
47286 {
47287 ceilf (0); floorf (0);
47288 ;
47289 return 0;
47290 }
47291 _ACEOF
47292 if ac_fn_cxx_try_compile "$LINENO"; then :
47293 glibcxx_cv_func_float_round_use=yes
47294 else
47295 glibcxx_cv_func_float_round_use=no
47296 fi
47297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47298 ac_ext=c
47299 ac_cpp='$CPP $CPPFLAGS'
47300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47303
47304 fi
47305
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47307 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47308 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47309 for ac_func in ceilf floorf
47310 do :
47311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47313 eval as_val=\$$as_ac_var
47314 if test "x$as_val" = x""yes; then :
47315 cat >>confdefs.h <<_ACEOF
47316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47317 _ACEOF
47318
47319 fi
47320 done
47321
47322 else
47323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47324 $as_echo_n "checking for _float round functions... " >&6; }
47325 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47326 $as_echo_n "(cached) " >&6
47327 else
47328
47329
47330 ac_ext=cpp
47331 ac_cpp='$CXXCPP $CPPFLAGS'
47332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47335
47336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47337 /* end confdefs.h. */
47338 #include <math.h>
47339 int
47340 main ()
47341 {
47342 _ceilf (0); _floorf (0);
47343 ;
47344 return 0;
47345 }
47346 _ACEOF
47347 if ac_fn_cxx_try_compile "$LINENO"; then :
47348 glibcxx_cv_func__float_round_use=yes
47349 else
47350 glibcxx_cv_func__float_round_use=no
47351 fi
47352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47353 ac_ext=c
47354 ac_cpp='$CPP $CPPFLAGS'
47355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47358
47359 fi
47360
47361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47362 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47363 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47364 for ac_func in _ceilf _floorf
47365 do :
47366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47368 eval as_val=\$$as_ac_var
47369 if test "x$as_val" = x""yes; then :
47370 cat >>confdefs.h <<_ACEOF
47371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47372 _ACEOF
47373
47374 fi
47375 done
47376
47377 fi
47378 fi
47379
47380
47381
47382
47383
47384
47385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47386 $as_echo_n "checking for expf declaration... " >&6; }
47387 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47388 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47389 $as_echo_n "(cached) " >&6
47390 else
47391
47392
47393 ac_ext=cpp
47394 ac_cpp='$CXXCPP $CPPFLAGS'
47395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47398
47399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47400 /* end confdefs.h. */
47401 #include <math.h>
47402 #ifdef HAVE_IEEEFP_H
47403 #include <ieeefp.h>
47404 #endif
47405
47406 int
47407 main ()
47408 {
47409 expf(0);
47410 ;
47411 return 0;
47412 }
47413 _ACEOF
47414 if ac_fn_cxx_try_compile "$LINENO"; then :
47415 glibcxx_cv_func_expf_use=yes
47416 else
47417 glibcxx_cv_func_expf_use=no
47418 fi
47419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47420 ac_ext=c
47421 ac_cpp='$CPP $CPPFLAGS'
47422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47425
47426
47427 fi
47428
47429 fi
47430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47431 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47432
47433 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47434 for ac_func in expf
47435 do :
47436 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47437 if test "x$ac_cv_func_expf" = x""yes; then :
47438 cat >>confdefs.h <<_ACEOF
47439 #define HAVE_EXPF 1
47440 _ACEOF
47441
47442 fi
47443 done
47444
47445 else
47446
47447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47448 $as_echo_n "checking for _expf declaration... " >&6; }
47449 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47450 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47451 $as_echo_n "(cached) " >&6
47452 else
47453
47454
47455 ac_ext=cpp
47456 ac_cpp='$CXXCPP $CPPFLAGS'
47457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47460
47461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47462 /* end confdefs.h. */
47463 #include <math.h>
47464 #ifdef HAVE_IEEEFP_H
47465 #include <ieeefp.h>
47466 #endif
47467
47468 int
47469 main ()
47470 {
47471 _expf(0);
47472 ;
47473 return 0;
47474 }
47475 _ACEOF
47476 if ac_fn_cxx_try_compile "$LINENO"; then :
47477 glibcxx_cv_func__expf_use=yes
47478 else
47479 glibcxx_cv_func__expf_use=no
47480 fi
47481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47482 ac_ext=c
47483 ac_cpp='$CPP $CPPFLAGS'
47484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47487
47488
47489 fi
47490
47491 fi
47492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47493 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47494
47495 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47496 for ac_func in _expf
47497 do :
47498 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47499 if test "x$ac_cv_func__expf" = x""yes; then :
47500 cat >>confdefs.h <<_ACEOF
47501 #define HAVE__EXPF 1
47502 _ACEOF
47503
47504 fi
47505 done
47506
47507 fi
47508 fi
47509
47510
47511
47512
47513
47514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47515 $as_echo_n "checking for isnanf declaration... " >&6; }
47516 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47517 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47518 $as_echo_n "(cached) " >&6
47519 else
47520
47521
47522 ac_ext=cpp
47523 ac_cpp='$CXXCPP $CPPFLAGS'
47524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47527
47528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47529 /* end confdefs.h. */
47530 #include <math.h>
47531 #ifdef HAVE_IEEEFP_H
47532 #include <ieeefp.h>
47533 #endif
47534
47535 int
47536 main ()
47537 {
47538 isnanf(0);
47539 ;
47540 return 0;
47541 }
47542 _ACEOF
47543 if ac_fn_cxx_try_compile "$LINENO"; then :
47544 glibcxx_cv_func_isnanf_use=yes
47545 else
47546 glibcxx_cv_func_isnanf_use=no
47547 fi
47548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47549 ac_ext=c
47550 ac_cpp='$CPP $CPPFLAGS'
47551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47554
47555
47556 fi
47557
47558 fi
47559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47560 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47561
47562 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47563 for ac_func in isnanf
47564 do :
47565 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47566 if test "x$ac_cv_func_isnanf" = x""yes; then :
47567 cat >>confdefs.h <<_ACEOF
47568 #define HAVE_ISNANF 1
47569 _ACEOF
47570
47571 fi
47572 done
47573
47574 else
47575
47576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47577 $as_echo_n "checking for _isnanf declaration... " >&6; }
47578 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47579 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47580 $as_echo_n "(cached) " >&6
47581 else
47582
47583
47584 ac_ext=cpp
47585 ac_cpp='$CXXCPP $CPPFLAGS'
47586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47589
47590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47591 /* end confdefs.h. */
47592 #include <math.h>
47593 #ifdef HAVE_IEEEFP_H
47594 #include <ieeefp.h>
47595 #endif
47596
47597 int
47598 main ()
47599 {
47600 _isnanf(0);
47601 ;
47602 return 0;
47603 }
47604 _ACEOF
47605 if ac_fn_cxx_try_compile "$LINENO"; then :
47606 glibcxx_cv_func__isnanf_use=yes
47607 else
47608 glibcxx_cv_func__isnanf_use=no
47609 fi
47610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47611 ac_ext=c
47612 ac_cpp='$CPP $CPPFLAGS'
47613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47616
47617
47618 fi
47619
47620 fi
47621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47622 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47623
47624 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47625 for ac_func in _isnanf
47626 do :
47627 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47628 if test "x$ac_cv_func__isnanf" = x""yes; then :
47629 cat >>confdefs.h <<_ACEOF
47630 #define HAVE__ISNANF 1
47631 _ACEOF
47632
47633 fi
47634 done
47635
47636 fi
47637 fi
47638
47639
47640
47641
47642
47643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47644 $as_echo_n "checking for isinff declaration... " >&6; }
47645 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47646 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47647 $as_echo_n "(cached) " >&6
47648 else
47649
47650
47651 ac_ext=cpp
47652 ac_cpp='$CXXCPP $CPPFLAGS'
47653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656
47657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47658 /* end confdefs.h. */
47659 #include <math.h>
47660 #ifdef HAVE_IEEEFP_H
47661 #include <ieeefp.h>
47662 #endif
47663
47664 int
47665 main ()
47666 {
47667 isinff(0);
47668 ;
47669 return 0;
47670 }
47671 _ACEOF
47672 if ac_fn_cxx_try_compile "$LINENO"; then :
47673 glibcxx_cv_func_isinff_use=yes
47674 else
47675 glibcxx_cv_func_isinff_use=no
47676 fi
47677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47678 ac_ext=c
47679 ac_cpp='$CPP $CPPFLAGS'
47680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47683
47684
47685 fi
47686
47687 fi
47688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47689 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47690
47691 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47692 for ac_func in isinff
47693 do :
47694 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47695 if test "x$ac_cv_func_isinff" = x""yes; then :
47696 cat >>confdefs.h <<_ACEOF
47697 #define HAVE_ISINFF 1
47698 _ACEOF
47699
47700 fi
47701 done
47702
47703 else
47704
47705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47706 $as_echo_n "checking for _isinff declaration... " >&6; }
47707 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47708 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47709 $as_echo_n "(cached) " >&6
47710 else
47711
47712
47713 ac_ext=cpp
47714 ac_cpp='$CXXCPP $CPPFLAGS'
47715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47718
47719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47720 /* end confdefs.h. */
47721 #include <math.h>
47722 #ifdef HAVE_IEEEFP_H
47723 #include <ieeefp.h>
47724 #endif
47725
47726 int
47727 main ()
47728 {
47729 _isinff(0);
47730 ;
47731 return 0;
47732 }
47733 _ACEOF
47734 if ac_fn_cxx_try_compile "$LINENO"; then :
47735 glibcxx_cv_func__isinff_use=yes
47736 else
47737 glibcxx_cv_func__isinff_use=no
47738 fi
47739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47740 ac_ext=c
47741 ac_cpp='$CPP $CPPFLAGS'
47742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47745
47746
47747 fi
47748
47749 fi
47750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47751 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47752
47753 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47754 for ac_func in _isinff
47755 do :
47756 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47757 if test "x$ac_cv_func__isinff" = x""yes; then :
47758 cat >>confdefs.h <<_ACEOF
47759 #define HAVE__ISINFF 1
47760 _ACEOF
47761
47762 fi
47763 done
47764
47765 fi
47766 fi
47767
47768
47769
47770
47771
47772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47773 $as_echo_n "checking for atan2f declaration... " >&6; }
47774 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47775 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47776 $as_echo_n "(cached) " >&6
47777 else
47778
47779
47780 ac_ext=cpp
47781 ac_cpp='$CXXCPP $CPPFLAGS'
47782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47785
47786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47787 /* end confdefs.h. */
47788 #include <math.h>
47789 int
47790 main ()
47791 {
47792 atan2f(0, 0);
47793 ;
47794 return 0;
47795 }
47796 _ACEOF
47797 if ac_fn_cxx_try_compile "$LINENO"; then :
47798 glibcxx_cv_func_atan2f_use=yes
47799 else
47800 glibcxx_cv_func_atan2f_use=no
47801 fi
47802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47803 ac_ext=c
47804 ac_cpp='$CPP $CPPFLAGS'
47805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47808
47809
47810 fi
47811
47812 fi
47813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47814 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47815
47816 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47817 for ac_func in atan2f
47818 do :
47819 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47820 if test "x$ac_cv_func_atan2f" = x""yes; then :
47821 cat >>confdefs.h <<_ACEOF
47822 #define HAVE_ATAN2F 1
47823 _ACEOF
47824
47825 fi
47826 done
47827
47828 else
47829
47830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47831 $as_echo_n "checking for _atan2f declaration... " >&6; }
47832 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47833 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47834 $as_echo_n "(cached) " >&6
47835 else
47836
47837
47838 ac_ext=cpp
47839 ac_cpp='$CXXCPP $CPPFLAGS'
47840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47843
47844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47845 /* end confdefs.h. */
47846 #include <math.h>
47847 int
47848 main ()
47849 {
47850 _atan2f(0, 0);
47851 ;
47852 return 0;
47853 }
47854 _ACEOF
47855 if ac_fn_cxx_try_compile "$LINENO"; then :
47856 glibcxx_cv_func__atan2f_use=yes
47857 else
47858 glibcxx_cv_func__atan2f_use=no
47859 fi
47860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47861 ac_ext=c
47862 ac_cpp='$CPP $CPPFLAGS'
47863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47866
47867
47868 fi
47869
47870 fi
47871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47872 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47873
47874 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47875 for ac_func in _atan2f
47876 do :
47877 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47878 if test "x$ac_cv_func__atan2f" = x""yes; then :
47879 cat >>confdefs.h <<_ACEOF
47880 #define HAVE__ATAN2F 1
47881 _ACEOF
47882
47883 fi
47884 done
47885
47886 fi
47887 fi
47888
47889
47890
47891
47892
47893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47894 $as_echo_n "checking for fabsf declaration... " >&6; }
47895 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47896 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47897 $as_echo_n "(cached) " >&6
47898 else
47899
47900
47901 ac_ext=cpp
47902 ac_cpp='$CXXCPP $CPPFLAGS'
47903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47906
47907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47908 /* end confdefs.h. */
47909 #include <math.h>
47910 #ifdef HAVE_IEEEFP_H
47911 #include <ieeefp.h>
47912 #endif
47913
47914 int
47915 main ()
47916 {
47917 fabsf(0);
47918 ;
47919 return 0;
47920 }
47921 _ACEOF
47922 if ac_fn_cxx_try_compile "$LINENO"; then :
47923 glibcxx_cv_func_fabsf_use=yes
47924 else
47925 glibcxx_cv_func_fabsf_use=no
47926 fi
47927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47928 ac_ext=c
47929 ac_cpp='$CPP $CPPFLAGS'
47930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47933
47934
47935 fi
47936
47937 fi
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47939 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47940
47941 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47942 for ac_func in fabsf
47943 do :
47944 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47945 if test "x$ac_cv_func_fabsf" = x""yes; then :
47946 cat >>confdefs.h <<_ACEOF
47947 #define HAVE_FABSF 1
47948 _ACEOF
47949
47950 fi
47951 done
47952
47953 else
47954
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47956 $as_echo_n "checking for _fabsf declaration... " >&6; }
47957 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47958 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47959 $as_echo_n "(cached) " >&6
47960 else
47961
47962
47963 ac_ext=cpp
47964 ac_cpp='$CXXCPP $CPPFLAGS'
47965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47968
47969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47970 /* end confdefs.h. */
47971 #include <math.h>
47972 #ifdef HAVE_IEEEFP_H
47973 #include <ieeefp.h>
47974 #endif
47975
47976 int
47977 main ()
47978 {
47979 _fabsf(0);
47980 ;
47981 return 0;
47982 }
47983 _ACEOF
47984 if ac_fn_cxx_try_compile "$LINENO"; then :
47985 glibcxx_cv_func__fabsf_use=yes
47986 else
47987 glibcxx_cv_func__fabsf_use=no
47988 fi
47989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47990 ac_ext=c
47991 ac_cpp='$CPP $CPPFLAGS'
47992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47995
47996
47997 fi
47998
47999 fi
48000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48001 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48002
48003 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48004 for ac_func in _fabsf
48005 do :
48006 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48007 if test "x$ac_cv_func__fabsf" = x""yes; then :
48008 cat >>confdefs.h <<_ACEOF
48009 #define HAVE__FABSF 1
48010 _ACEOF
48011
48012 fi
48013 done
48014
48015 fi
48016 fi
48017
48018
48019
48020
48021
48022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48023 $as_echo_n "checking for fmodf declaration... " >&6; }
48024 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48025 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48026 $as_echo_n "(cached) " >&6
48027 else
48028
48029
48030 ac_ext=cpp
48031 ac_cpp='$CXXCPP $CPPFLAGS'
48032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48035
48036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48037 /* end confdefs.h. */
48038 #include <math.h>
48039 int
48040 main ()
48041 {
48042 fmodf(0, 0);
48043 ;
48044 return 0;
48045 }
48046 _ACEOF
48047 if ac_fn_cxx_try_compile "$LINENO"; then :
48048 glibcxx_cv_func_fmodf_use=yes
48049 else
48050 glibcxx_cv_func_fmodf_use=no
48051 fi
48052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48053 ac_ext=c
48054 ac_cpp='$CPP $CPPFLAGS'
48055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48058
48059
48060 fi
48061
48062 fi
48063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48064 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48065
48066 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48067 for ac_func in fmodf
48068 do :
48069 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48070 if test "x$ac_cv_func_fmodf" = x""yes; then :
48071 cat >>confdefs.h <<_ACEOF
48072 #define HAVE_FMODF 1
48073 _ACEOF
48074
48075 fi
48076 done
48077
48078 else
48079
48080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48081 $as_echo_n "checking for _fmodf declaration... " >&6; }
48082 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48083 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48084 $as_echo_n "(cached) " >&6
48085 else
48086
48087
48088 ac_ext=cpp
48089 ac_cpp='$CXXCPP $CPPFLAGS'
48090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48093
48094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48095 /* end confdefs.h. */
48096 #include <math.h>
48097 int
48098 main ()
48099 {
48100 _fmodf(0, 0);
48101 ;
48102 return 0;
48103 }
48104 _ACEOF
48105 if ac_fn_cxx_try_compile "$LINENO"; then :
48106 glibcxx_cv_func__fmodf_use=yes
48107 else
48108 glibcxx_cv_func__fmodf_use=no
48109 fi
48110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48111 ac_ext=c
48112 ac_cpp='$CPP $CPPFLAGS'
48113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48116
48117
48118 fi
48119
48120 fi
48121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48122 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48123
48124 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48125 for ac_func in _fmodf
48126 do :
48127 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48128 if test "x$ac_cv_func__fmodf" = x""yes; then :
48129 cat >>confdefs.h <<_ACEOF
48130 #define HAVE__FMODF 1
48131 _ACEOF
48132
48133 fi
48134 done
48135
48136 fi
48137 fi
48138
48139
48140
48141
48142
48143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48144 $as_echo_n "checking for frexpf declaration... " >&6; }
48145 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48146 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48147 $as_echo_n "(cached) " >&6
48148 else
48149
48150
48151 ac_ext=cpp
48152 ac_cpp='$CXXCPP $CPPFLAGS'
48153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48156
48157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48158 /* end confdefs.h. */
48159 #include <math.h>
48160 int
48161 main ()
48162 {
48163 frexpf(0, 0);
48164 ;
48165 return 0;
48166 }
48167 _ACEOF
48168 if ac_fn_cxx_try_compile "$LINENO"; then :
48169 glibcxx_cv_func_frexpf_use=yes
48170 else
48171 glibcxx_cv_func_frexpf_use=no
48172 fi
48173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48174 ac_ext=c
48175 ac_cpp='$CPP $CPPFLAGS'
48176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48179
48180
48181 fi
48182
48183 fi
48184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48185 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48186
48187 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48188 for ac_func in frexpf
48189 do :
48190 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48191 if test "x$ac_cv_func_frexpf" = x""yes; then :
48192 cat >>confdefs.h <<_ACEOF
48193 #define HAVE_FREXPF 1
48194 _ACEOF
48195
48196 fi
48197 done
48198
48199 else
48200
48201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48202 $as_echo_n "checking for _frexpf declaration... " >&6; }
48203 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48204 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48205 $as_echo_n "(cached) " >&6
48206 else
48207
48208
48209 ac_ext=cpp
48210 ac_cpp='$CXXCPP $CPPFLAGS'
48211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48214
48215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48216 /* end confdefs.h. */
48217 #include <math.h>
48218 int
48219 main ()
48220 {
48221 _frexpf(0, 0);
48222 ;
48223 return 0;
48224 }
48225 _ACEOF
48226 if ac_fn_cxx_try_compile "$LINENO"; then :
48227 glibcxx_cv_func__frexpf_use=yes
48228 else
48229 glibcxx_cv_func__frexpf_use=no
48230 fi
48231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48232 ac_ext=c
48233 ac_cpp='$CPP $CPPFLAGS'
48234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48237
48238
48239 fi
48240
48241 fi
48242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48243 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48244
48245 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48246 for ac_func in _frexpf
48247 do :
48248 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48249 if test "x$ac_cv_func__frexpf" = x""yes; then :
48250 cat >>confdefs.h <<_ACEOF
48251 #define HAVE__FREXPF 1
48252 _ACEOF
48253
48254 fi
48255 done
48256
48257 fi
48258 fi
48259
48260
48261
48262
48263
48264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48265 $as_echo_n "checking for hypotf declaration... " >&6; }
48266 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48267 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48268 $as_echo_n "(cached) " >&6
48269 else
48270
48271
48272 ac_ext=cpp
48273 ac_cpp='$CXXCPP $CPPFLAGS'
48274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48277
48278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48279 /* end confdefs.h. */
48280 #include <math.h>
48281 int
48282 main ()
48283 {
48284 hypotf(0, 0);
48285 ;
48286 return 0;
48287 }
48288 _ACEOF
48289 if ac_fn_cxx_try_compile "$LINENO"; then :
48290 glibcxx_cv_func_hypotf_use=yes
48291 else
48292 glibcxx_cv_func_hypotf_use=no
48293 fi
48294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48295 ac_ext=c
48296 ac_cpp='$CPP $CPPFLAGS'
48297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48300
48301
48302 fi
48303
48304 fi
48305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48306 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48307
48308 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48309 for ac_func in hypotf
48310 do :
48311 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48312 if test "x$ac_cv_func_hypotf" = x""yes; then :
48313 cat >>confdefs.h <<_ACEOF
48314 #define HAVE_HYPOTF 1
48315 _ACEOF
48316
48317 fi
48318 done
48319
48320 else
48321
48322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48323 $as_echo_n "checking for _hypotf declaration... " >&6; }
48324 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48325 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48326 $as_echo_n "(cached) " >&6
48327 else
48328
48329
48330 ac_ext=cpp
48331 ac_cpp='$CXXCPP $CPPFLAGS'
48332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48335
48336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48337 /* end confdefs.h. */
48338 #include <math.h>
48339 int
48340 main ()
48341 {
48342 _hypotf(0, 0);
48343 ;
48344 return 0;
48345 }
48346 _ACEOF
48347 if ac_fn_cxx_try_compile "$LINENO"; then :
48348 glibcxx_cv_func__hypotf_use=yes
48349 else
48350 glibcxx_cv_func__hypotf_use=no
48351 fi
48352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48353 ac_ext=c
48354 ac_cpp='$CPP $CPPFLAGS'
48355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48358
48359
48360 fi
48361
48362 fi
48363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48364 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48365
48366 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48367 for ac_func in _hypotf
48368 do :
48369 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48370 if test "x$ac_cv_func__hypotf" = x""yes; then :
48371 cat >>confdefs.h <<_ACEOF
48372 #define HAVE__HYPOTF 1
48373 _ACEOF
48374
48375 fi
48376 done
48377
48378 fi
48379 fi
48380
48381
48382
48383
48384
48385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48386 $as_echo_n "checking for ldexpf declaration... " >&6; }
48387 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48388 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48389 $as_echo_n "(cached) " >&6
48390 else
48391
48392
48393 ac_ext=cpp
48394 ac_cpp='$CXXCPP $CPPFLAGS'
48395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48398
48399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48400 /* end confdefs.h. */
48401 #include <math.h>
48402 int
48403 main ()
48404 {
48405 ldexpf(0, 0);
48406 ;
48407 return 0;
48408 }
48409 _ACEOF
48410 if ac_fn_cxx_try_compile "$LINENO"; then :
48411 glibcxx_cv_func_ldexpf_use=yes
48412 else
48413 glibcxx_cv_func_ldexpf_use=no
48414 fi
48415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48416 ac_ext=c
48417 ac_cpp='$CPP $CPPFLAGS'
48418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48421
48422
48423 fi
48424
48425 fi
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48427 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48428
48429 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48430 for ac_func in ldexpf
48431 do :
48432 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48433 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48434 cat >>confdefs.h <<_ACEOF
48435 #define HAVE_LDEXPF 1
48436 _ACEOF
48437
48438 fi
48439 done
48440
48441 else
48442
48443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48444 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48445 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48446 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48447 $as_echo_n "(cached) " >&6
48448 else
48449
48450
48451 ac_ext=cpp
48452 ac_cpp='$CXXCPP $CPPFLAGS'
48453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48456
48457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48458 /* end confdefs.h. */
48459 #include <math.h>
48460 int
48461 main ()
48462 {
48463 _ldexpf(0, 0);
48464 ;
48465 return 0;
48466 }
48467 _ACEOF
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469 glibcxx_cv_func__ldexpf_use=yes
48470 else
48471 glibcxx_cv_func__ldexpf_use=no
48472 fi
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48474 ac_ext=c
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48479
48480
48481 fi
48482
48483 fi
48484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48485 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48486
48487 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48488 for ac_func in _ldexpf
48489 do :
48490 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48491 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48492 cat >>confdefs.h <<_ACEOF
48493 #define HAVE__LDEXPF 1
48494 _ACEOF
48495
48496 fi
48497 done
48498
48499 fi
48500 fi
48501
48502
48503
48504
48505
48506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48507 $as_echo_n "checking for logf declaration... " >&6; }
48508 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48509 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48510 $as_echo_n "(cached) " >&6
48511 else
48512
48513
48514 ac_ext=cpp
48515 ac_cpp='$CXXCPP $CPPFLAGS'
48516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48519
48520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48521 /* end confdefs.h. */
48522 #include <math.h>
48523 #ifdef HAVE_IEEEFP_H
48524 #include <ieeefp.h>
48525 #endif
48526
48527 int
48528 main ()
48529 {
48530 logf(0);
48531 ;
48532 return 0;
48533 }
48534 _ACEOF
48535 if ac_fn_cxx_try_compile "$LINENO"; then :
48536 glibcxx_cv_func_logf_use=yes
48537 else
48538 glibcxx_cv_func_logf_use=no
48539 fi
48540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48541 ac_ext=c
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546
48547
48548 fi
48549
48550 fi
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48552 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48553
48554 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48555 for ac_func in logf
48556 do :
48557 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48558 if test "x$ac_cv_func_logf" = x""yes; then :
48559 cat >>confdefs.h <<_ACEOF
48560 #define HAVE_LOGF 1
48561 _ACEOF
48562
48563 fi
48564 done
48565
48566 else
48567
48568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48569 $as_echo_n "checking for _logf declaration... " >&6; }
48570 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48571 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48572 $as_echo_n "(cached) " >&6
48573 else
48574
48575
48576 ac_ext=cpp
48577 ac_cpp='$CXXCPP $CPPFLAGS'
48578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48581
48582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48583 /* end confdefs.h. */
48584 #include <math.h>
48585 #ifdef HAVE_IEEEFP_H
48586 #include <ieeefp.h>
48587 #endif
48588
48589 int
48590 main ()
48591 {
48592 _logf(0);
48593 ;
48594 return 0;
48595 }
48596 _ACEOF
48597 if ac_fn_cxx_try_compile "$LINENO"; then :
48598 glibcxx_cv_func__logf_use=yes
48599 else
48600 glibcxx_cv_func__logf_use=no
48601 fi
48602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48603 ac_ext=c
48604 ac_cpp='$CPP $CPPFLAGS'
48605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48608
48609
48610 fi
48611
48612 fi
48613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48614 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48615
48616 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48617 for ac_func in _logf
48618 do :
48619 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48620 if test "x$ac_cv_func__logf" = x""yes; then :
48621 cat >>confdefs.h <<_ACEOF
48622 #define HAVE__LOGF 1
48623 _ACEOF
48624
48625 fi
48626 done
48627
48628 fi
48629 fi
48630
48631
48632
48633
48634
48635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48636 $as_echo_n "checking for log10f declaration... " >&6; }
48637 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48638 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48639 $as_echo_n "(cached) " >&6
48640 else
48641
48642
48643 ac_ext=cpp
48644 ac_cpp='$CXXCPP $CPPFLAGS'
48645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48648
48649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48650 /* end confdefs.h. */
48651 #include <math.h>
48652 #ifdef HAVE_IEEEFP_H
48653 #include <ieeefp.h>
48654 #endif
48655
48656 int
48657 main ()
48658 {
48659 log10f(0);
48660 ;
48661 return 0;
48662 }
48663 _ACEOF
48664 if ac_fn_cxx_try_compile "$LINENO"; then :
48665 glibcxx_cv_func_log10f_use=yes
48666 else
48667 glibcxx_cv_func_log10f_use=no
48668 fi
48669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48670 ac_ext=c
48671 ac_cpp='$CPP $CPPFLAGS'
48672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48675
48676
48677 fi
48678
48679 fi
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48681 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48682
48683 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48684 for ac_func in log10f
48685 do :
48686 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48687 if test "x$ac_cv_func_log10f" = x""yes; then :
48688 cat >>confdefs.h <<_ACEOF
48689 #define HAVE_LOG10F 1
48690 _ACEOF
48691
48692 fi
48693 done
48694
48695 else
48696
48697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48698 $as_echo_n "checking for _log10f declaration... " >&6; }
48699 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48700 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48701 $as_echo_n "(cached) " >&6
48702 else
48703
48704
48705 ac_ext=cpp
48706 ac_cpp='$CXXCPP $CPPFLAGS'
48707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48710
48711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48712 /* end confdefs.h. */
48713 #include <math.h>
48714 #ifdef HAVE_IEEEFP_H
48715 #include <ieeefp.h>
48716 #endif
48717
48718 int
48719 main ()
48720 {
48721 _log10f(0);
48722 ;
48723 return 0;
48724 }
48725 _ACEOF
48726 if ac_fn_cxx_try_compile "$LINENO"; then :
48727 glibcxx_cv_func__log10f_use=yes
48728 else
48729 glibcxx_cv_func__log10f_use=no
48730 fi
48731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48732 ac_ext=c
48733 ac_cpp='$CPP $CPPFLAGS'
48734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48737
48738
48739 fi
48740
48741 fi
48742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48743 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48744
48745 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48746 for ac_func in _log10f
48747 do :
48748 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48749 if test "x$ac_cv_func__log10f" = x""yes; then :
48750 cat >>confdefs.h <<_ACEOF
48751 #define HAVE__LOG10F 1
48752 _ACEOF
48753
48754 fi
48755 done
48756
48757 fi
48758 fi
48759
48760
48761
48762
48763
48764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48765 $as_echo_n "checking for modff declaration... " >&6; }
48766 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48767 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48768 $as_echo_n "(cached) " >&6
48769 else
48770
48771
48772 ac_ext=cpp
48773 ac_cpp='$CXXCPP $CPPFLAGS'
48774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48777
48778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48779 /* end confdefs.h. */
48780 #include <math.h>
48781 int
48782 main ()
48783 {
48784 modff(0, 0);
48785 ;
48786 return 0;
48787 }
48788 _ACEOF
48789 if ac_fn_cxx_try_compile "$LINENO"; then :
48790 glibcxx_cv_func_modff_use=yes
48791 else
48792 glibcxx_cv_func_modff_use=no
48793 fi
48794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48795 ac_ext=c
48796 ac_cpp='$CPP $CPPFLAGS'
48797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48800
48801
48802 fi
48803
48804 fi
48805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48806 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48807
48808 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48809 for ac_func in modff
48810 do :
48811 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48812 if test "x$ac_cv_func_modff" = x""yes; then :
48813 cat >>confdefs.h <<_ACEOF
48814 #define HAVE_MODFF 1
48815 _ACEOF
48816
48817 fi
48818 done
48819
48820 else
48821
48822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48823 $as_echo_n "checking for _modff declaration... " >&6; }
48824 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48825 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48826 $as_echo_n "(cached) " >&6
48827 else
48828
48829
48830 ac_ext=cpp
48831 ac_cpp='$CXXCPP $CPPFLAGS'
48832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48835
48836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48837 /* end confdefs.h. */
48838 #include <math.h>
48839 int
48840 main ()
48841 {
48842 _modff(0, 0);
48843 ;
48844 return 0;
48845 }
48846 _ACEOF
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848 glibcxx_cv_func__modff_use=yes
48849 else
48850 glibcxx_cv_func__modff_use=no
48851 fi
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48853 ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48858
48859
48860 fi
48861
48862 fi
48863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48864 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48865
48866 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48867 for ac_func in _modff
48868 do :
48869 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48870 if test "x$ac_cv_func__modff" = x""yes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE__MODFF 1
48873 _ACEOF
48874
48875 fi
48876 done
48877
48878 fi
48879 fi
48880
48881
48882
48883
48884
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48886 $as_echo_n "checking for modf declaration... " >&6; }
48887 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48888 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48889 $as_echo_n "(cached) " >&6
48890 else
48891
48892
48893 ac_ext=cpp
48894 ac_cpp='$CXXCPP $CPPFLAGS'
48895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48898
48899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48900 /* end confdefs.h. */
48901 #include <math.h>
48902 int
48903 main ()
48904 {
48905 modf(0, 0);
48906 ;
48907 return 0;
48908 }
48909 _ACEOF
48910 if ac_fn_cxx_try_compile "$LINENO"; then :
48911 glibcxx_cv_func_modf_use=yes
48912 else
48913 glibcxx_cv_func_modf_use=no
48914 fi
48915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48916 ac_ext=c
48917 ac_cpp='$CPP $CPPFLAGS'
48918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48921
48922
48923 fi
48924
48925 fi
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48927 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48928
48929 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48930 for ac_func in modf
48931 do :
48932 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48933 if test "x$ac_cv_func_modf" = x""yes; then :
48934 cat >>confdefs.h <<_ACEOF
48935 #define HAVE_MODF 1
48936 _ACEOF
48937
48938 fi
48939 done
48940
48941 else
48942
48943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48944 $as_echo_n "checking for _modf declaration... " >&6; }
48945 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48946 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48947 $as_echo_n "(cached) " >&6
48948 else
48949
48950
48951 ac_ext=cpp
48952 ac_cpp='$CXXCPP $CPPFLAGS'
48953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48956
48957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48958 /* end confdefs.h. */
48959 #include <math.h>
48960 int
48961 main ()
48962 {
48963 _modf(0, 0);
48964 ;
48965 return 0;
48966 }
48967 _ACEOF
48968 if ac_fn_cxx_try_compile "$LINENO"; then :
48969 glibcxx_cv_func__modf_use=yes
48970 else
48971 glibcxx_cv_func__modf_use=no
48972 fi
48973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48974 ac_ext=c
48975 ac_cpp='$CPP $CPPFLAGS'
48976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48979
48980
48981 fi
48982
48983 fi
48984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48985 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48986
48987 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48988 for ac_func in _modf
48989 do :
48990 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48991 if test "x$ac_cv_func__modf" = x""yes; then :
48992 cat >>confdefs.h <<_ACEOF
48993 #define HAVE__MODF 1
48994 _ACEOF
48995
48996 fi
48997 done
48998
48999 fi
49000 fi
49001
49002
49003
49004
49005
49006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49007 $as_echo_n "checking for powf declaration... " >&6; }
49008 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49009 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49010 $as_echo_n "(cached) " >&6
49011 else
49012
49013
49014 ac_ext=cpp
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49019
49020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49021 /* end confdefs.h. */
49022 #include <math.h>
49023 int
49024 main ()
49025 {
49026 powf(0, 0);
49027 ;
49028 return 0;
49029 }
49030 _ACEOF
49031 if ac_fn_cxx_try_compile "$LINENO"; then :
49032 glibcxx_cv_func_powf_use=yes
49033 else
49034 glibcxx_cv_func_powf_use=no
49035 fi
49036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037 ac_ext=c
49038 ac_cpp='$CPP $CPPFLAGS'
49039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49042
49043
49044 fi
49045
49046 fi
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49048 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49049
49050 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49051 for ac_func in powf
49052 do :
49053 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49054 if test "x$ac_cv_func_powf" = x""yes; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define HAVE_POWF 1
49057 _ACEOF
49058
49059 fi
49060 done
49061
49062 else
49063
49064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49065 $as_echo_n "checking for _powf declaration... " >&6; }
49066 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49067 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49068 $as_echo_n "(cached) " >&6
49069 else
49070
49071
49072 ac_ext=cpp
49073 ac_cpp='$CXXCPP $CPPFLAGS'
49074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49077
49078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49079 /* end confdefs.h. */
49080 #include <math.h>
49081 int
49082 main ()
49083 {
49084 _powf(0, 0);
49085 ;
49086 return 0;
49087 }
49088 _ACEOF
49089 if ac_fn_cxx_try_compile "$LINENO"; then :
49090 glibcxx_cv_func__powf_use=yes
49091 else
49092 glibcxx_cv_func__powf_use=no
49093 fi
49094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49095 ac_ext=c
49096 ac_cpp='$CPP $CPPFLAGS'
49097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49100
49101
49102 fi
49103
49104 fi
49105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49106 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49107
49108 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49109 for ac_func in _powf
49110 do :
49111 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49112 if test "x$ac_cv_func__powf" = x""yes; then :
49113 cat >>confdefs.h <<_ACEOF
49114 #define HAVE__POWF 1
49115 _ACEOF
49116
49117 fi
49118 done
49119
49120 fi
49121 fi
49122
49123
49124
49125
49126
49127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49128 $as_echo_n "checking for sqrtf declaration... " >&6; }
49129 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49130 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49131 $as_echo_n "(cached) " >&6
49132 else
49133
49134
49135 ac_ext=cpp
49136 ac_cpp='$CXXCPP $CPPFLAGS'
49137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49140
49141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49142 /* end confdefs.h. */
49143 #include <math.h>
49144 #ifdef HAVE_IEEEFP_H
49145 #include <ieeefp.h>
49146 #endif
49147
49148 int
49149 main ()
49150 {
49151 sqrtf(0);
49152 ;
49153 return 0;
49154 }
49155 _ACEOF
49156 if ac_fn_cxx_try_compile "$LINENO"; then :
49157 glibcxx_cv_func_sqrtf_use=yes
49158 else
49159 glibcxx_cv_func_sqrtf_use=no
49160 fi
49161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49162 ac_ext=c
49163 ac_cpp='$CPP $CPPFLAGS'
49164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49167
49168
49169 fi
49170
49171 fi
49172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49173 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49174
49175 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49176 for ac_func in sqrtf
49177 do :
49178 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49179 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49180 cat >>confdefs.h <<_ACEOF
49181 #define HAVE_SQRTF 1
49182 _ACEOF
49183
49184 fi
49185 done
49186
49187 else
49188
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49190 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49191 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49192 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49193 $as_echo_n "(cached) " >&6
49194 else
49195
49196
49197 ac_ext=cpp
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49202
49203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204 /* end confdefs.h. */
49205 #include <math.h>
49206 #ifdef HAVE_IEEEFP_H
49207 #include <ieeefp.h>
49208 #endif
49209
49210 int
49211 main ()
49212 {
49213 _sqrtf(0);
49214 ;
49215 return 0;
49216 }
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func__sqrtf_use=yes
49220 else
49221 glibcxx_cv_func__sqrtf_use=no
49222 fi
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224 ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49229
49230
49231 fi
49232
49233 fi
49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49235 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49236
49237 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49238 for ac_func in _sqrtf
49239 do :
49240 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49241 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49242 cat >>confdefs.h <<_ACEOF
49243 #define HAVE__SQRTF 1
49244 _ACEOF
49245
49246 fi
49247 done
49248
49249 fi
49250 fi
49251
49252
49253
49254
49255
49256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49257 $as_echo_n "checking for sincosf declaration... " >&6; }
49258 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49259 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49260 $as_echo_n "(cached) " >&6
49261 else
49262
49263
49264 ac_ext=cpp
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49269
49270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49271 /* end confdefs.h. */
49272 #include <math.h>
49273 int
49274 main ()
49275 {
49276 sincosf(0, 0, 0);
49277 ;
49278 return 0;
49279 }
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func_sincosf_use=yes
49283 else
49284 glibcxx_cv_func_sincosf_use=no
49285 fi
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49292
49293
49294 fi
49295
49296 fi
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49298 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49299
49300 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49301 for ac_func in sincosf
49302 do :
49303 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49304 if test "x$ac_cv_func_sincosf" = x""yes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE_SINCOSF 1
49307 _ACEOF
49308
49309 fi
49310 done
49311
49312 else
49313
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49315 $as_echo_n "checking for _sincosf declaration... " >&6; }
49316 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49317 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49319 else
49320
49321
49322 ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49327
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49330 #include <math.h>
49331 int
49332 main ()
49333 {
49334 _sincosf(0, 0, 0);
49335 ;
49336 return 0;
49337 }
49338 _ACEOF
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340 glibcxx_cv_func__sincosf_use=yes
49341 else
49342 glibcxx_cv_func__sincosf_use=no
49343 fi
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49345 ac_ext=c
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49350
49351
49352 fi
49353
49354 fi
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49356 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49357
49358 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49359 for ac_func in _sincosf
49360 do :
49361 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49362 if test "x$ac_cv_func__sincosf" = x""yes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE__SINCOSF 1
49365 _ACEOF
49366
49367 fi
49368 done
49369
49370 fi
49371 fi
49372
49373
49374
49375
49376
49377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49378 $as_echo_n "checking for finitef declaration... " >&6; }
49379 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49380 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49381 $as_echo_n "(cached) " >&6
49382 else
49383
49384
49385 ac_ext=cpp
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49390
49391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h. */
49393 #include <math.h>
49394 #ifdef HAVE_IEEEFP_H
49395 #include <ieeefp.h>
49396 #endif
49397
49398 int
49399 main ()
49400 {
49401 finitef(0);
49402 ;
49403 return 0;
49404 }
49405 _ACEOF
49406 if ac_fn_cxx_try_compile "$LINENO"; then :
49407 glibcxx_cv_func_finitef_use=yes
49408 else
49409 glibcxx_cv_func_finitef_use=no
49410 fi
49411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49412 ac_ext=c
49413 ac_cpp='$CPP $CPPFLAGS'
49414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49417
49418
49419 fi
49420
49421 fi
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49423 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49424
49425 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49426 for ac_func in finitef
49427 do :
49428 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49429 if test "x$ac_cv_func_finitef" = x""yes; then :
49430 cat >>confdefs.h <<_ACEOF
49431 #define HAVE_FINITEF 1
49432 _ACEOF
49433
49434 fi
49435 done
49436
49437 else
49438
49439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49440 $as_echo_n "checking for _finitef declaration... " >&6; }
49441 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49442 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49443 $as_echo_n "(cached) " >&6
49444 else
49445
49446
49447 ac_ext=cpp
49448 ac_cpp='$CXXCPP $CPPFLAGS'
49449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49452
49453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49454 /* end confdefs.h. */
49455 #include <math.h>
49456 #ifdef HAVE_IEEEFP_H
49457 #include <ieeefp.h>
49458 #endif
49459
49460 int
49461 main ()
49462 {
49463 _finitef(0);
49464 ;
49465 return 0;
49466 }
49467 _ACEOF
49468 if ac_fn_cxx_try_compile "$LINENO"; then :
49469 glibcxx_cv_func__finitef_use=yes
49470 else
49471 glibcxx_cv_func__finitef_use=no
49472 fi
49473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49474 ac_ext=c
49475 ac_cpp='$CPP $CPPFLAGS'
49476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49479
49480
49481 fi
49482
49483 fi
49484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49485 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49486
49487 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49488 for ac_func in _finitef
49489 do :
49490 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49491 if test "x$ac_cv_func__finitef" = x""yes; then :
49492 cat >>confdefs.h <<_ACEOF
49493 #define HAVE__FINITEF 1
49494 _ACEOF
49495
49496 fi
49497 done
49498
49499 fi
49500 fi
49501
49502
49503
49504
49505
49506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49507 $as_echo_n "checking for long double trig functions... " >&6; }
49508 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49509 $as_echo_n "(cached) " >&6
49510 else
49511
49512
49513 ac_ext=cpp
49514 ac_cpp='$CXXCPP $CPPFLAGS'
49515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49518
49519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49520 /* end confdefs.h. */
49521 #include <math.h>
49522 int
49523 main ()
49524 {
49525 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49526 ;
49527 return 0;
49528 }
49529 _ACEOF
49530 if ac_fn_cxx_try_compile "$LINENO"; then :
49531 glibcxx_cv_func_long_double_trig_use=yes
49532 else
49533 glibcxx_cv_func_long_double_trig_use=no
49534 fi
49535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49536 ac_ext=c
49537 ac_cpp='$CPP $CPPFLAGS'
49538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49541
49542 fi
49543
49544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49545 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49546 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49547 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49548 do :
49549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49551 eval as_val=\$$as_ac_var
49552 if test "x$as_val" = x""yes; then :
49553 cat >>confdefs.h <<_ACEOF
49554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49555 _ACEOF
49556
49557 fi
49558 done
49559
49560 else
49561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49562 $as_echo_n "checking for _long double trig functions... " >&6; }
49563 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49564 $as_echo_n "(cached) " >&6
49565 else
49566
49567
49568 ac_ext=cpp
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49573
49574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49575 /* end confdefs.h. */
49576 #include <math.h>
49577 int
49578 main ()
49579 {
49580 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49581 ;
49582 return 0;
49583 }
49584 _ACEOF
49585 if ac_fn_cxx_try_compile "$LINENO"; then :
49586 glibcxx_cv_func__long_double_trig_use=yes
49587 else
49588 glibcxx_cv_func__long_double_trig_use=no
49589 fi
49590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49591 ac_ext=c
49592 ac_cpp='$CPP $CPPFLAGS'
49593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49596
49597 fi
49598
49599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49600 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49601 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49602 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49603 do :
49604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49606 eval as_val=\$$as_ac_var
49607 if test "x$as_val" = x""yes; then :
49608 cat >>confdefs.h <<_ACEOF
49609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49610 _ACEOF
49611
49612 fi
49613 done
49614
49615 fi
49616 fi
49617
49618
49619
49620
49621
49622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49623 $as_echo_n "checking for long double round functions... " >&6; }
49624 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49625 $as_echo_n "(cached) " >&6
49626 else
49627
49628
49629 ac_ext=cpp
49630 ac_cpp='$CXXCPP $CPPFLAGS'
49631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49634
49635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49636 /* end confdefs.h. */
49637 #include <math.h>
49638 int
49639 main ()
49640 {
49641 ceill (0); floorl (0);
49642 ;
49643 return 0;
49644 }
49645 _ACEOF
49646 if ac_fn_cxx_try_compile "$LINENO"; then :
49647 glibcxx_cv_func_long_double_round_use=yes
49648 else
49649 glibcxx_cv_func_long_double_round_use=no
49650 fi
49651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49652 ac_ext=c
49653 ac_cpp='$CPP $CPPFLAGS'
49654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49657
49658 fi
49659
49660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49661 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49662 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49663 for ac_func in ceill floorl
49664 do :
49665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49667 eval as_val=\$$as_ac_var
49668 if test "x$as_val" = x""yes; then :
49669 cat >>confdefs.h <<_ACEOF
49670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49671 _ACEOF
49672
49673 fi
49674 done
49675
49676 else
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49678 $as_echo_n "checking for _long double round functions... " >&6; }
49679 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49680 $as_echo_n "(cached) " >&6
49681 else
49682
49683
49684 ac_ext=cpp
49685 ac_cpp='$CXXCPP $CPPFLAGS'
49686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49689
49690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49691 /* end confdefs.h. */
49692 #include <math.h>
49693 int
49694 main ()
49695 {
49696 _ceill (0); _floorl (0);
49697 ;
49698 return 0;
49699 }
49700 _ACEOF
49701 if ac_fn_cxx_try_compile "$LINENO"; then :
49702 glibcxx_cv_func__long_double_round_use=yes
49703 else
49704 glibcxx_cv_func__long_double_round_use=no
49705 fi
49706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49707 ac_ext=c
49708 ac_cpp='$CPP $CPPFLAGS'
49709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49712
49713 fi
49714
49715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49716 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49717 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49718 for ac_func in _ceill _floorl
49719 do :
49720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49722 eval as_val=\$$as_ac_var
49723 if test "x$as_val" = x""yes; then :
49724 cat >>confdefs.h <<_ACEOF
49725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49726 _ACEOF
49727
49728 fi
49729 done
49730
49731 fi
49732 fi
49733
49734
49735
49736
49737
49738
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49740 $as_echo_n "checking for isnanl declaration... " >&6; }
49741 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49742 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49743 $as_echo_n "(cached) " >&6
49744 else
49745
49746
49747 ac_ext=cpp
49748 ac_cpp='$CXXCPP $CPPFLAGS'
49749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49752
49753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49754 /* end confdefs.h. */
49755 #include <math.h>
49756 #ifdef HAVE_IEEEFP_H
49757 #include <ieeefp.h>
49758 #endif
49759
49760 int
49761 main ()
49762 {
49763 isnanl(0);
49764 ;
49765 return 0;
49766 }
49767 _ACEOF
49768 if ac_fn_cxx_try_compile "$LINENO"; then :
49769 glibcxx_cv_func_isnanl_use=yes
49770 else
49771 glibcxx_cv_func_isnanl_use=no
49772 fi
49773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49774 ac_ext=c
49775 ac_cpp='$CPP $CPPFLAGS'
49776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49779
49780
49781 fi
49782
49783 fi
49784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49785 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49786
49787 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49788 for ac_func in isnanl
49789 do :
49790 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49791 if test "x$ac_cv_func_isnanl" = x""yes; then :
49792 cat >>confdefs.h <<_ACEOF
49793 #define HAVE_ISNANL 1
49794 _ACEOF
49795
49796 fi
49797 done
49798
49799 else
49800
49801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49802 $as_echo_n "checking for _isnanl declaration... " >&6; }
49803 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49804 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49805 $as_echo_n "(cached) " >&6
49806 else
49807
49808
49809 ac_ext=cpp
49810 ac_cpp='$CXXCPP $CPPFLAGS'
49811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49814
49815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49816 /* end confdefs.h. */
49817 #include <math.h>
49818 #ifdef HAVE_IEEEFP_H
49819 #include <ieeefp.h>
49820 #endif
49821
49822 int
49823 main ()
49824 {
49825 _isnanl(0);
49826 ;
49827 return 0;
49828 }
49829 _ACEOF
49830 if ac_fn_cxx_try_compile "$LINENO"; then :
49831 glibcxx_cv_func__isnanl_use=yes
49832 else
49833 glibcxx_cv_func__isnanl_use=no
49834 fi
49835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49836 ac_ext=c
49837 ac_cpp='$CPP $CPPFLAGS'
49838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49841
49842
49843 fi
49844
49845 fi
49846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49847 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49848
49849 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49850 for ac_func in _isnanl
49851 do :
49852 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49853 if test "x$ac_cv_func__isnanl" = x""yes; then :
49854 cat >>confdefs.h <<_ACEOF
49855 #define HAVE__ISNANL 1
49856 _ACEOF
49857
49858 fi
49859 done
49860
49861 fi
49862 fi
49863
49864
49865
49866
49867
49868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49869 $as_echo_n "checking for isinfl declaration... " >&6; }
49870 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49871 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49872 $as_echo_n "(cached) " >&6
49873 else
49874
49875
49876 ac_ext=cpp
49877 ac_cpp='$CXXCPP $CPPFLAGS'
49878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49881
49882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49883 /* end confdefs.h. */
49884 #include <math.h>
49885 #ifdef HAVE_IEEEFP_H
49886 #include <ieeefp.h>
49887 #endif
49888
49889 int
49890 main ()
49891 {
49892 isinfl(0);
49893 ;
49894 return 0;
49895 }
49896 _ACEOF
49897 if ac_fn_cxx_try_compile "$LINENO"; then :
49898 glibcxx_cv_func_isinfl_use=yes
49899 else
49900 glibcxx_cv_func_isinfl_use=no
49901 fi
49902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49903 ac_ext=c
49904 ac_cpp='$CPP $CPPFLAGS'
49905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49908
49909
49910 fi
49911
49912 fi
49913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49914 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49915
49916 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49917 for ac_func in isinfl
49918 do :
49919 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49920 if test "x$ac_cv_func_isinfl" = x""yes; then :
49921 cat >>confdefs.h <<_ACEOF
49922 #define HAVE_ISINFL 1
49923 _ACEOF
49924
49925 fi
49926 done
49927
49928 else
49929
49930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49931 $as_echo_n "checking for _isinfl declaration... " >&6; }
49932 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49933 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49934 $as_echo_n "(cached) " >&6
49935 else
49936
49937
49938 ac_ext=cpp
49939 ac_cpp='$CXXCPP $CPPFLAGS'
49940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49943
49944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49945 /* end confdefs.h. */
49946 #include <math.h>
49947 #ifdef HAVE_IEEEFP_H
49948 #include <ieeefp.h>
49949 #endif
49950
49951 int
49952 main ()
49953 {
49954 _isinfl(0);
49955 ;
49956 return 0;
49957 }
49958 _ACEOF
49959 if ac_fn_cxx_try_compile "$LINENO"; then :
49960 glibcxx_cv_func__isinfl_use=yes
49961 else
49962 glibcxx_cv_func__isinfl_use=no
49963 fi
49964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49965 ac_ext=c
49966 ac_cpp='$CPP $CPPFLAGS'
49967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49970
49971
49972 fi
49973
49974 fi
49975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49976 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49977
49978 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49979 for ac_func in _isinfl
49980 do :
49981 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49982 if test "x$ac_cv_func__isinfl" = x""yes; then :
49983 cat >>confdefs.h <<_ACEOF
49984 #define HAVE__ISINFL 1
49985 _ACEOF
49986
49987 fi
49988 done
49989
49990 fi
49991 fi
49992
49993
49994
49995
49996
49997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49998 $as_echo_n "checking for atan2l declaration... " >&6; }
49999 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50000 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50001 $as_echo_n "(cached) " >&6
50002 else
50003
50004
50005 ac_ext=cpp
50006 ac_cpp='$CXXCPP $CPPFLAGS'
50007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50010
50011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50012 /* end confdefs.h. */
50013 #include <math.h>
50014 int
50015 main ()
50016 {
50017 atan2l(0, 0);
50018 ;
50019 return 0;
50020 }
50021 _ACEOF
50022 if ac_fn_cxx_try_compile "$LINENO"; then :
50023 glibcxx_cv_func_atan2l_use=yes
50024 else
50025 glibcxx_cv_func_atan2l_use=no
50026 fi
50027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50028 ac_ext=c
50029 ac_cpp='$CPP $CPPFLAGS'
50030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50033
50034
50035 fi
50036
50037 fi
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50039 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50040
50041 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50042 for ac_func in atan2l
50043 do :
50044 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50045 if test "x$ac_cv_func_atan2l" = x""yes; then :
50046 cat >>confdefs.h <<_ACEOF
50047 #define HAVE_ATAN2L 1
50048 _ACEOF
50049
50050 fi
50051 done
50052
50053 else
50054
50055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50056 $as_echo_n "checking for _atan2l declaration... " >&6; }
50057 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50058 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50059 $as_echo_n "(cached) " >&6
50060 else
50061
50062
50063 ac_ext=cpp
50064 ac_cpp='$CXXCPP $CPPFLAGS'
50065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50068
50069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50070 /* end confdefs.h. */
50071 #include <math.h>
50072 int
50073 main ()
50074 {
50075 _atan2l(0, 0);
50076 ;
50077 return 0;
50078 }
50079 _ACEOF
50080 if ac_fn_cxx_try_compile "$LINENO"; then :
50081 glibcxx_cv_func__atan2l_use=yes
50082 else
50083 glibcxx_cv_func__atan2l_use=no
50084 fi
50085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50086 ac_ext=c
50087 ac_cpp='$CPP $CPPFLAGS'
50088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50091
50092
50093 fi
50094
50095 fi
50096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50097 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50098
50099 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50100 for ac_func in _atan2l
50101 do :
50102 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50103 if test "x$ac_cv_func__atan2l" = x""yes; then :
50104 cat >>confdefs.h <<_ACEOF
50105 #define HAVE__ATAN2L 1
50106 _ACEOF
50107
50108 fi
50109 done
50110
50111 fi
50112 fi
50113
50114
50115
50116
50117
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50119 $as_echo_n "checking for expl declaration... " >&6; }
50120 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50121 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50122 $as_echo_n "(cached) " >&6
50123 else
50124
50125
50126 ac_ext=cpp
50127 ac_cpp='$CXXCPP $CPPFLAGS'
50128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50131
50132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50133 /* end confdefs.h. */
50134 #include <math.h>
50135 #ifdef HAVE_IEEEFP_H
50136 #include <ieeefp.h>
50137 #endif
50138
50139 int
50140 main ()
50141 {
50142 expl(0);
50143 ;
50144 return 0;
50145 }
50146 _ACEOF
50147 if ac_fn_cxx_try_compile "$LINENO"; then :
50148 glibcxx_cv_func_expl_use=yes
50149 else
50150 glibcxx_cv_func_expl_use=no
50151 fi
50152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50153 ac_ext=c
50154 ac_cpp='$CPP $CPPFLAGS'
50155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50158
50159
50160 fi
50161
50162 fi
50163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50164 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50165
50166 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50167 for ac_func in expl
50168 do :
50169 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50170 if test "x$ac_cv_func_expl" = x""yes; then :
50171 cat >>confdefs.h <<_ACEOF
50172 #define HAVE_EXPL 1
50173 _ACEOF
50174
50175 fi
50176 done
50177
50178 else
50179
50180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50181 $as_echo_n "checking for _expl declaration... " >&6; }
50182 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50183 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50184 $as_echo_n "(cached) " >&6
50185 else
50186
50187
50188 ac_ext=cpp
50189 ac_cpp='$CXXCPP $CPPFLAGS'
50190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50193
50194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50195 /* end confdefs.h. */
50196 #include <math.h>
50197 #ifdef HAVE_IEEEFP_H
50198 #include <ieeefp.h>
50199 #endif
50200
50201 int
50202 main ()
50203 {
50204 _expl(0);
50205 ;
50206 return 0;
50207 }
50208 _ACEOF
50209 if ac_fn_cxx_try_compile "$LINENO"; then :
50210 glibcxx_cv_func__expl_use=yes
50211 else
50212 glibcxx_cv_func__expl_use=no
50213 fi
50214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50215 ac_ext=c
50216 ac_cpp='$CPP $CPPFLAGS'
50217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50220
50221
50222 fi
50223
50224 fi
50225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50226 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50227
50228 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50229 for ac_func in _expl
50230 do :
50231 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50232 if test "x$ac_cv_func__expl" = x""yes; then :
50233 cat >>confdefs.h <<_ACEOF
50234 #define HAVE__EXPL 1
50235 _ACEOF
50236
50237 fi
50238 done
50239
50240 fi
50241 fi
50242
50243
50244
50245
50246
50247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50248 $as_echo_n "checking for fabsl declaration... " >&6; }
50249 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50250 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50251 $as_echo_n "(cached) " >&6
50252 else
50253
50254
50255 ac_ext=cpp
50256 ac_cpp='$CXXCPP $CPPFLAGS'
50257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50260
50261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50262 /* end confdefs.h. */
50263 #include <math.h>
50264 #ifdef HAVE_IEEEFP_H
50265 #include <ieeefp.h>
50266 #endif
50267
50268 int
50269 main ()
50270 {
50271 fabsl(0);
50272 ;
50273 return 0;
50274 }
50275 _ACEOF
50276 if ac_fn_cxx_try_compile "$LINENO"; then :
50277 glibcxx_cv_func_fabsl_use=yes
50278 else
50279 glibcxx_cv_func_fabsl_use=no
50280 fi
50281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50282 ac_ext=c
50283 ac_cpp='$CPP $CPPFLAGS'
50284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50287
50288
50289 fi
50290
50291 fi
50292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50293 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50294
50295 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50296 for ac_func in fabsl
50297 do :
50298 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50299 if test "x$ac_cv_func_fabsl" = x""yes; then :
50300 cat >>confdefs.h <<_ACEOF
50301 #define HAVE_FABSL 1
50302 _ACEOF
50303
50304 fi
50305 done
50306
50307 else
50308
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50310 $as_echo_n "checking for _fabsl declaration... " >&6; }
50311 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50312 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50313 $as_echo_n "(cached) " >&6
50314 else
50315
50316
50317 ac_ext=cpp
50318 ac_cpp='$CXXCPP $CPPFLAGS'
50319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50322
50323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324 /* end confdefs.h. */
50325 #include <math.h>
50326 #ifdef HAVE_IEEEFP_H
50327 #include <ieeefp.h>
50328 #endif
50329
50330 int
50331 main ()
50332 {
50333 _fabsl(0);
50334 ;
50335 return 0;
50336 }
50337 _ACEOF
50338 if ac_fn_cxx_try_compile "$LINENO"; then :
50339 glibcxx_cv_func__fabsl_use=yes
50340 else
50341 glibcxx_cv_func__fabsl_use=no
50342 fi
50343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50344 ac_ext=c
50345 ac_cpp='$CPP $CPPFLAGS'
50346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50349
50350
50351 fi
50352
50353 fi
50354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50355 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50356
50357 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50358 for ac_func in _fabsl
50359 do :
50360 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50361 if test "x$ac_cv_func__fabsl" = x""yes; then :
50362 cat >>confdefs.h <<_ACEOF
50363 #define HAVE__FABSL 1
50364 _ACEOF
50365
50366 fi
50367 done
50368
50369 fi
50370 fi
50371
50372
50373
50374
50375
50376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50377 $as_echo_n "checking for fmodl declaration... " >&6; }
50378 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50379 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50380 $as_echo_n "(cached) " >&6
50381 else
50382
50383
50384 ac_ext=cpp
50385 ac_cpp='$CXXCPP $CPPFLAGS'
50386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50389
50390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50391 /* end confdefs.h. */
50392 #include <math.h>
50393 int
50394 main ()
50395 {
50396 fmodl(0, 0);
50397 ;
50398 return 0;
50399 }
50400 _ACEOF
50401 if ac_fn_cxx_try_compile "$LINENO"; then :
50402 glibcxx_cv_func_fmodl_use=yes
50403 else
50404 glibcxx_cv_func_fmodl_use=no
50405 fi
50406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50407 ac_ext=c
50408 ac_cpp='$CPP $CPPFLAGS'
50409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50412
50413
50414 fi
50415
50416 fi
50417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50418 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50419
50420 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50421 for ac_func in fmodl
50422 do :
50423 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50424 if test "x$ac_cv_func_fmodl" = x""yes; then :
50425 cat >>confdefs.h <<_ACEOF
50426 #define HAVE_FMODL 1
50427 _ACEOF
50428
50429 fi
50430 done
50431
50432 else
50433
50434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50435 $as_echo_n "checking for _fmodl declaration... " >&6; }
50436 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50437 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50438 $as_echo_n "(cached) " >&6
50439 else
50440
50441
50442 ac_ext=cpp
50443 ac_cpp='$CXXCPP $CPPFLAGS'
50444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50447
50448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50449 /* end confdefs.h. */
50450 #include <math.h>
50451 int
50452 main ()
50453 {
50454 _fmodl(0, 0);
50455 ;
50456 return 0;
50457 }
50458 _ACEOF
50459 if ac_fn_cxx_try_compile "$LINENO"; then :
50460 glibcxx_cv_func__fmodl_use=yes
50461 else
50462 glibcxx_cv_func__fmodl_use=no
50463 fi
50464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50465 ac_ext=c
50466 ac_cpp='$CPP $CPPFLAGS'
50467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50470
50471
50472 fi
50473
50474 fi
50475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50476 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50477
50478 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50479 for ac_func in _fmodl
50480 do :
50481 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50482 if test "x$ac_cv_func__fmodl" = x""yes; then :
50483 cat >>confdefs.h <<_ACEOF
50484 #define HAVE__FMODL 1
50485 _ACEOF
50486
50487 fi
50488 done
50489
50490 fi
50491 fi
50492
50493
50494
50495
50496
50497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50498 $as_echo_n "checking for frexpl declaration... " >&6; }
50499 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50500 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50501 $as_echo_n "(cached) " >&6
50502 else
50503
50504
50505 ac_ext=cpp
50506 ac_cpp='$CXXCPP $CPPFLAGS'
50507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50510
50511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50512 /* end confdefs.h. */
50513 #include <math.h>
50514 int
50515 main ()
50516 {
50517 frexpl(0, 0);
50518 ;
50519 return 0;
50520 }
50521 _ACEOF
50522 if ac_fn_cxx_try_compile "$LINENO"; then :
50523 glibcxx_cv_func_frexpl_use=yes
50524 else
50525 glibcxx_cv_func_frexpl_use=no
50526 fi
50527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50528 ac_ext=c
50529 ac_cpp='$CPP $CPPFLAGS'
50530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50533
50534
50535 fi
50536
50537 fi
50538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50539 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50540
50541 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50542 for ac_func in frexpl
50543 do :
50544 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50545 if test "x$ac_cv_func_frexpl" = x""yes; then :
50546 cat >>confdefs.h <<_ACEOF
50547 #define HAVE_FREXPL 1
50548 _ACEOF
50549
50550 fi
50551 done
50552
50553 else
50554
50555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50556 $as_echo_n "checking for _frexpl declaration... " >&6; }
50557 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50558 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50559 $as_echo_n "(cached) " >&6
50560 else
50561
50562
50563 ac_ext=cpp
50564 ac_cpp='$CXXCPP $CPPFLAGS'
50565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50568
50569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50570 /* end confdefs.h. */
50571 #include <math.h>
50572 int
50573 main ()
50574 {
50575 _frexpl(0, 0);
50576 ;
50577 return 0;
50578 }
50579 _ACEOF
50580 if ac_fn_cxx_try_compile "$LINENO"; then :
50581 glibcxx_cv_func__frexpl_use=yes
50582 else
50583 glibcxx_cv_func__frexpl_use=no
50584 fi
50585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50586 ac_ext=c
50587 ac_cpp='$CPP $CPPFLAGS'
50588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50591
50592
50593 fi
50594
50595 fi
50596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50597 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50598
50599 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50600 for ac_func in _frexpl
50601 do :
50602 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50603 if test "x$ac_cv_func__frexpl" = x""yes; then :
50604 cat >>confdefs.h <<_ACEOF
50605 #define HAVE__FREXPL 1
50606 _ACEOF
50607
50608 fi
50609 done
50610
50611 fi
50612 fi
50613
50614
50615
50616
50617
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50619 $as_echo_n "checking for hypotl declaration... " >&6; }
50620 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50621 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50622 $as_echo_n "(cached) " >&6
50623 else
50624
50625
50626 ac_ext=cpp
50627 ac_cpp='$CXXCPP $CPPFLAGS'
50628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50631
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h. */
50634 #include <math.h>
50635 int
50636 main ()
50637 {
50638 hypotl(0, 0);
50639 ;
50640 return 0;
50641 }
50642 _ACEOF
50643 if ac_fn_cxx_try_compile "$LINENO"; then :
50644 glibcxx_cv_func_hypotl_use=yes
50645 else
50646 glibcxx_cv_func_hypotl_use=no
50647 fi
50648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50649 ac_ext=c
50650 ac_cpp='$CPP $CPPFLAGS'
50651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50654
50655
50656 fi
50657
50658 fi
50659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50660 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50661
50662 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50663 for ac_func in hypotl
50664 do :
50665 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50666 if test "x$ac_cv_func_hypotl" = x""yes; then :
50667 cat >>confdefs.h <<_ACEOF
50668 #define HAVE_HYPOTL 1
50669 _ACEOF
50670
50671 fi
50672 done
50673
50674 else
50675
50676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50677 $as_echo_n "checking for _hypotl declaration... " >&6; }
50678 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50679 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50680 $as_echo_n "(cached) " >&6
50681 else
50682
50683
50684 ac_ext=cpp
50685 ac_cpp='$CXXCPP $CPPFLAGS'
50686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50689
50690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50691 /* end confdefs.h. */
50692 #include <math.h>
50693 int
50694 main ()
50695 {
50696 _hypotl(0, 0);
50697 ;
50698 return 0;
50699 }
50700 _ACEOF
50701 if ac_fn_cxx_try_compile "$LINENO"; then :
50702 glibcxx_cv_func__hypotl_use=yes
50703 else
50704 glibcxx_cv_func__hypotl_use=no
50705 fi
50706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50707 ac_ext=c
50708 ac_cpp='$CPP $CPPFLAGS'
50709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50712
50713
50714 fi
50715
50716 fi
50717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50718 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50719
50720 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50721 for ac_func in _hypotl
50722 do :
50723 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50724 if test "x$ac_cv_func__hypotl" = x""yes; then :
50725 cat >>confdefs.h <<_ACEOF
50726 #define HAVE__HYPOTL 1
50727 _ACEOF
50728
50729 fi
50730 done
50731
50732 fi
50733 fi
50734
50735
50736
50737
50738
50739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50740 $as_echo_n "checking for ldexpl declaration... " >&6; }
50741 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50742 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50743 $as_echo_n "(cached) " >&6
50744 else
50745
50746
50747 ac_ext=cpp
50748 ac_cpp='$CXXCPP $CPPFLAGS'
50749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50752
50753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50754 /* end confdefs.h. */
50755 #include <math.h>
50756 int
50757 main ()
50758 {
50759 ldexpl(0, 0);
50760 ;
50761 return 0;
50762 }
50763 _ACEOF
50764 if ac_fn_cxx_try_compile "$LINENO"; then :
50765 glibcxx_cv_func_ldexpl_use=yes
50766 else
50767 glibcxx_cv_func_ldexpl_use=no
50768 fi
50769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50770 ac_ext=c
50771 ac_cpp='$CPP $CPPFLAGS'
50772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50775
50776
50777 fi
50778
50779 fi
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50781 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50782
50783 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50784 for ac_func in ldexpl
50785 do :
50786 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50787 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50788 cat >>confdefs.h <<_ACEOF
50789 #define HAVE_LDEXPL 1
50790 _ACEOF
50791
50792 fi
50793 done
50794
50795 else
50796
50797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50798 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50799 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50800 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50801 $as_echo_n "(cached) " >&6
50802 else
50803
50804
50805 ac_ext=cpp
50806 ac_cpp='$CXXCPP $CPPFLAGS'
50807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50810
50811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50812 /* end confdefs.h. */
50813 #include <math.h>
50814 int
50815 main ()
50816 {
50817 _ldexpl(0, 0);
50818 ;
50819 return 0;
50820 }
50821 _ACEOF
50822 if ac_fn_cxx_try_compile "$LINENO"; then :
50823 glibcxx_cv_func__ldexpl_use=yes
50824 else
50825 glibcxx_cv_func__ldexpl_use=no
50826 fi
50827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50828 ac_ext=c
50829 ac_cpp='$CPP $CPPFLAGS'
50830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50833
50834
50835 fi
50836
50837 fi
50838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50839 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50840
50841 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50842 for ac_func in _ldexpl
50843 do :
50844 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50845 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50846 cat >>confdefs.h <<_ACEOF
50847 #define HAVE__LDEXPL 1
50848 _ACEOF
50849
50850 fi
50851 done
50852
50853 fi
50854 fi
50855
50856
50857
50858
50859
50860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50861 $as_echo_n "checking for logl declaration... " >&6; }
50862 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50863 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50864 $as_echo_n "(cached) " >&6
50865 else
50866
50867
50868 ac_ext=cpp
50869 ac_cpp='$CXXCPP $CPPFLAGS'
50870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50873
50874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50875 /* end confdefs.h. */
50876 #include <math.h>
50877 #ifdef HAVE_IEEEFP_H
50878 #include <ieeefp.h>
50879 #endif
50880
50881 int
50882 main ()
50883 {
50884 logl(0);
50885 ;
50886 return 0;
50887 }
50888 _ACEOF
50889 if ac_fn_cxx_try_compile "$LINENO"; then :
50890 glibcxx_cv_func_logl_use=yes
50891 else
50892 glibcxx_cv_func_logl_use=no
50893 fi
50894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50895 ac_ext=c
50896 ac_cpp='$CPP $CPPFLAGS'
50897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50900
50901
50902 fi
50903
50904 fi
50905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50906 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50907
50908 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50909 for ac_func in logl
50910 do :
50911 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50912 if test "x$ac_cv_func_logl" = x""yes; then :
50913 cat >>confdefs.h <<_ACEOF
50914 #define HAVE_LOGL 1
50915 _ACEOF
50916
50917 fi
50918 done
50919
50920 else
50921
50922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50923 $as_echo_n "checking for _logl declaration... " >&6; }
50924 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50925 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50926 $as_echo_n "(cached) " >&6
50927 else
50928
50929
50930 ac_ext=cpp
50931 ac_cpp='$CXXCPP $CPPFLAGS'
50932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50935
50936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50937 /* end confdefs.h. */
50938 #include <math.h>
50939 #ifdef HAVE_IEEEFP_H
50940 #include <ieeefp.h>
50941 #endif
50942
50943 int
50944 main ()
50945 {
50946 _logl(0);
50947 ;
50948 return 0;
50949 }
50950 _ACEOF
50951 if ac_fn_cxx_try_compile "$LINENO"; then :
50952 glibcxx_cv_func__logl_use=yes
50953 else
50954 glibcxx_cv_func__logl_use=no
50955 fi
50956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50957 ac_ext=c
50958 ac_cpp='$CPP $CPPFLAGS'
50959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50962
50963
50964 fi
50965
50966 fi
50967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50968 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50969
50970 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50971 for ac_func in _logl
50972 do :
50973 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50974 if test "x$ac_cv_func__logl" = x""yes; then :
50975 cat >>confdefs.h <<_ACEOF
50976 #define HAVE__LOGL 1
50977 _ACEOF
50978
50979 fi
50980 done
50981
50982 fi
50983 fi
50984
50985
50986
50987
50988
50989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50990 $as_echo_n "checking for log10l declaration... " >&6; }
50991 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50992 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50993 $as_echo_n "(cached) " >&6
50994 else
50995
50996
50997 ac_ext=cpp
50998 ac_cpp='$CXXCPP $CPPFLAGS'
50999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51002
51003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51004 /* end confdefs.h. */
51005 #include <math.h>
51006 #ifdef HAVE_IEEEFP_H
51007 #include <ieeefp.h>
51008 #endif
51009
51010 int
51011 main ()
51012 {
51013 log10l(0);
51014 ;
51015 return 0;
51016 }
51017 _ACEOF
51018 if ac_fn_cxx_try_compile "$LINENO"; then :
51019 glibcxx_cv_func_log10l_use=yes
51020 else
51021 glibcxx_cv_func_log10l_use=no
51022 fi
51023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51024 ac_ext=c
51025 ac_cpp='$CPP $CPPFLAGS'
51026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51029
51030
51031 fi
51032
51033 fi
51034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51035 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51036
51037 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51038 for ac_func in log10l
51039 do :
51040 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51041 if test "x$ac_cv_func_log10l" = x""yes; then :
51042 cat >>confdefs.h <<_ACEOF
51043 #define HAVE_LOG10L 1
51044 _ACEOF
51045
51046 fi
51047 done
51048
51049 else
51050
51051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51052 $as_echo_n "checking for _log10l declaration... " >&6; }
51053 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51054 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51055 $as_echo_n "(cached) " >&6
51056 else
51057
51058
51059 ac_ext=cpp
51060 ac_cpp='$CXXCPP $CPPFLAGS'
51061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51064
51065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51066 /* end confdefs.h. */
51067 #include <math.h>
51068 #ifdef HAVE_IEEEFP_H
51069 #include <ieeefp.h>
51070 #endif
51071
51072 int
51073 main ()
51074 {
51075 _log10l(0);
51076 ;
51077 return 0;
51078 }
51079 _ACEOF
51080 if ac_fn_cxx_try_compile "$LINENO"; then :
51081 glibcxx_cv_func__log10l_use=yes
51082 else
51083 glibcxx_cv_func__log10l_use=no
51084 fi
51085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51086 ac_ext=c
51087 ac_cpp='$CPP $CPPFLAGS'
51088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51091
51092
51093 fi
51094
51095 fi
51096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51097 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51098
51099 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51100 for ac_func in _log10l
51101 do :
51102 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51103 if test "x$ac_cv_func__log10l" = x""yes; then :
51104 cat >>confdefs.h <<_ACEOF
51105 #define HAVE__LOG10L 1
51106 _ACEOF
51107
51108 fi
51109 done
51110
51111 fi
51112 fi
51113
51114
51115
51116
51117
51118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51119 $as_echo_n "checking for modfl declaration... " >&6; }
51120 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51121 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51122 $as_echo_n "(cached) " >&6
51123 else
51124
51125
51126 ac_ext=cpp
51127 ac_cpp='$CXXCPP $CPPFLAGS'
51128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51131
51132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51133 /* end confdefs.h. */
51134 #include <math.h>
51135 int
51136 main ()
51137 {
51138 modfl(0, 0);
51139 ;
51140 return 0;
51141 }
51142 _ACEOF
51143 if ac_fn_cxx_try_compile "$LINENO"; then :
51144 glibcxx_cv_func_modfl_use=yes
51145 else
51146 glibcxx_cv_func_modfl_use=no
51147 fi
51148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51149 ac_ext=c
51150 ac_cpp='$CPP $CPPFLAGS'
51151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51154
51155
51156 fi
51157
51158 fi
51159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51160 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51161
51162 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51163 for ac_func in modfl
51164 do :
51165 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51166 if test "x$ac_cv_func_modfl" = x""yes; then :
51167 cat >>confdefs.h <<_ACEOF
51168 #define HAVE_MODFL 1
51169 _ACEOF
51170
51171 fi
51172 done
51173
51174 else
51175
51176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51177 $as_echo_n "checking for _modfl declaration... " >&6; }
51178 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51179 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51180 $as_echo_n "(cached) " >&6
51181 else
51182
51183
51184 ac_ext=cpp
51185 ac_cpp='$CXXCPP $CPPFLAGS'
51186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51189
51190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51191 /* end confdefs.h. */
51192 #include <math.h>
51193 int
51194 main ()
51195 {
51196 _modfl(0, 0);
51197 ;
51198 return 0;
51199 }
51200 _ACEOF
51201 if ac_fn_cxx_try_compile "$LINENO"; then :
51202 glibcxx_cv_func__modfl_use=yes
51203 else
51204 glibcxx_cv_func__modfl_use=no
51205 fi
51206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51207 ac_ext=c
51208 ac_cpp='$CPP $CPPFLAGS'
51209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51212
51213
51214 fi
51215
51216 fi
51217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51218 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51219
51220 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51221 for ac_func in _modfl
51222 do :
51223 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51224 if test "x$ac_cv_func__modfl" = x""yes; then :
51225 cat >>confdefs.h <<_ACEOF
51226 #define HAVE__MODFL 1
51227 _ACEOF
51228
51229 fi
51230 done
51231
51232 fi
51233 fi
51234
51235
51236
51237
51238
51239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51240 $as_echo_n "checking for powl declaration... " >&6; }
51241 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51242 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51243 $as_echo_n "(cached) " >&6
51244 else
51245
51246
51247 ac_ext=cpp
51248 ac_cpp='$CXXCPP $CPPFLAGS'
51249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51252
51253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51254 /* end confdefs.h. */
51255 #include <math.h>
51256 int
51257 main ()
51258 {
51259 powl(0, 0);
51260 ;
51261 return 0;
51262 }
51263 _ACEOF
51264 if ac_fn_cxx_try_compile "$LINENO"; then :
51265 glibcxx_cv_func_powl_use=yes
51266 else
51267 glibcxx_cv_func_powl_use=no
51268 fi
51269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51270 ac_ext=c
51271 ac_cpp='$CPP $CPPFLAGS'
51272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51275
51276
51277 fi
51278
51279 fi
51280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51281 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51282
51283 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51284 for ac_func in powl
51285 do :
51286 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51287 if test "x$ac_cv_func_powl" = x""yes; then :
51288 cat >>confdefs.h <<_ACEOF
51289 #define HAVE_POWL 1
51290 _ACEOF
51291
51292 fi
51293 done
51294
51295 else
51296
51297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51298 $as_echo_n "checking for _powl declaration... " >&6; }
51299 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51300 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51301 $as_echo_n "(cached) " >&6
51302 else
51303
51304
51305 ac_ext=cpp
51306 ac_cpp='$CXXCPP $CPPFLAGS'
51307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51310
51311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51312 /* end confdefs.h. */
51313 #include <math.h>
51314 int
51315 main ()
51316 {
51317 _powl(0, 0);
51318 ;
51319 return 0;
51320 }
51321 _ACEOF
51322 if ac_fn_cxx_try_compile "$LINENO"; then :
51323 glibcxx_cv_func__powl_use=yes
51324 else
51325 glibcxx_cv_func__powl_use=no
51326 fi
51327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51328 ac_ext=c
51329 ac_cpp='$CPP $CPPFLAGS'
51330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51333
51334
51335 fi
51336
51337 fi
51338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51339 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51340
51341 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51342 for ac_func in _powl
51343 do :
51344 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51345 if test "x$ac_cv_func__powl" = x""yes; then :
51346 cat >>confdefs.h <<_ACEOF
51347 #define HAVE__POWL 1
51348 _ACEOF
51349
51350 fi
51351 done
51352
51353 fi
51354 fi
51355
51356
51357
51358
51359
51360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51361 $as_echo_n "checking for sqrtl declaration... " >&6; }
51362 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51363 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51364 $as_echo_n "(cached) " >&6
51365 else
51366
51367
51368 ac_ext=cpp
51369 ac_cpp='$CXXCPP $CPPFLAGS'
51370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51373
51374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51375 /* end confdefs.h. */
51376 #include <math.h>
51377 #ifdef HAVE_IEEEFP_H
51378 #include <ieeefp.h>
51379 #endif
51380
51381 int
51382 main ()
51383 {
51384 sqrtl(0);
51385 ;
51386 return 0;
51387 }
51388 _ACEOF
51389 if ac_fn_cxx_try_compile "$LINENO"; then :
51390 glibcxx_cv_func_sqrtl_use=yes
51391 else
51392 glibcxx_cv_func_sqrtl_use=no
51393 fi
51394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51395 ac_ext=c
51396 ac_cpp='$CPP $CPPFLAGS'
51397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51400
51401
51402 fi
51403
51404 fi
51405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51406 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51407
51408 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51409 for ac_func in sqrtl
51410 do :
51411 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51412 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51413 cat >>confdefs.h <<_ACEOF
51414 #define HAVE_SQRTL 1
51415 _ACEOF
51416
51417 fi
51418 done
51419
51420 else
51421
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51423 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51424 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51425 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51426 $as_echo_n "(cached) " >&6
51427 else
51428
51429
51430 ac_ext=cpp
51431 ac_cpp='$CXXCPP $CPPFLAGS'
51432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51435
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 #include <math.h>
51439 #ifdef HAVE_IEEEFP_H
51440 #include <ieeefp.h>
51441 #endif
51442
51443 int
51444 main ()
51445 {
51446 _sqrtl(0);
51447 ;
51448 return 0;
51449 }
51450 _ACEOF
51451 if ac_fn_cxx_try_compile "$LINENO"; then :
51452 glibcxx_cv_func__sqrtl_use=yes
51453 else
51454 glibcxx_cv_func__sqrtl_use=no
51455 fi
51456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51457 ac_ext=c
51458 ac_cpp='$CPP $CPPFLAGS'
51459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51462
51463
51464 fi
51465
51466 fi
51467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51468 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51469
51470 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51471 for ac_func in _sqrtl
51472 do :
51473 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51474 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51475 cat >>confdefs.h <<_ACEOF
51476 #define HAVE__SQRTL 1
51477 _ACEOF
51478
51479 fi
51480 done
51481
51482 fi
51483 fi
51484
51485
51486
51487
51488
51489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51490 $as_echo_n "checking for sincosl declaration... " >&6; }
51491 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51492 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51493 $as_echo_n "(cached) " >&6
51494 else
51495
51496
51497 ac_ext=cpp
51498 ac_cpp='$CXXCPP $CPPFLAGS'
51499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51502
51503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51504 /* end confdefs.h. */
51505 #include <math.h>
51506 int
51507 main ()
51508 {
51509 sincosl(0, 0, 0);
51510 ;
51511 return 0;
51512 }
51513 _ACEOF
51514 if ac_fn_cxx_try_compile "$LINENO"; then :
51515 glibcxx_cv_func_sincosl_use=yes
51516 else
51517 glibcxx_cv_func_sincosl_use=no
51518 fi
51519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51520 ac_ext=c
51521 ac_cpp='$CPP $CPPFLAGS'
51522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51525
51526
51527 fi
51528
51529 fi
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51531 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51532
51533 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51534 for ac_func in sincosl
51535 do :
51536 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51537 if test "x$ac_cv_func_sincosl" = x""yes; then :
51538 cat >>confdefs.h <<_ACEOF
51539 #define HAVE_SINCOSL 1
51540 _ACEOF
51541
51542 fi
51543 done
51544
51545 else
51546
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51548 $as_echo_n "checking for _sincosl declaration... " >&6; }
51549 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51550 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51551 $as_echo_n "(cached) " >&6
51552 else
51553
51554
51555 ac_ext=cpp
51556 ac_cpp='$CXXCPP $CPPFLAGS'
51557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51560
51561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51562 /* end confdefs.h. */
51563 #include <math.h>
51564 int
51565 main ()
51566 {
51567 _sincosl(0, 0, 0);
51568 ;
51569 return 0;
51570 }
51571 _ACEOF
51572 if ac_fn_cxx_try_compile "$LINENO"; then :
51573 glibcxx_cv_func__sincosl_use=yes
51574 else
51575 glibcxx_cv_func__sincosl_use=no
51576 fi
51577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51578 ac_ext=c
51579 ac_cpp='$CPP $CPPFLAGS'
51580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51583
51584
51585 fi
51586
51587 fi
51588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51589 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51590
51591 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51592 for ac_func in _sincosl
51593 do :
51594 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51595 if test "x$ac_cv_func__sincosl" = x""yes; then :
51596 cat >>confdefs.h <<_ACEOF
51597 #define HAVE__SINCOSL 1
51598 _ACEOF
51599
51600 fi
51601 done
51602
51603 fi
51604 fi
51605
51606
51607
51608
51609
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51611 $as_echo_n "checking for finitel declaration... " >&6; }
51612 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51613 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51614 $as_echo_n "(cached) " >&6
51615 else
51616
51617
51618 ac_ext=cpp
51619 ac_cpp='$CXXCPP $CPPFLAGS'
51620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51623
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626 #include <math.h>
51627 #ifdef HAVE_IEEEFP_H
51628 #include <ieeefp.h>
51629 #endif
51630
51631 int
51632 main ()
51633 {
51634 finitel(0);
51635 ;
51636 return 0;
51637 }
51638 _ACEOF
51639 if ac_fn_cxx_try_compile "$LINENO"; then :
51640 glibcxx_cv_func_finitel_use=yes
51641 else
51642 glibcxx_cv_func_finitel_use=no
51643 fi
51644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51645 ac_ext=c
51646 ac_cpp='$CPP $CPPFLAGS'
51647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51650
51651
51652 fi
51653
51654 fi
51655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51656 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51657
51658 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51659 for ac_func in finitel
51660 do :
51661 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51662 if test "x$ac_cv_func_finitel" = x""yes; then :
51663 cat >>confdefs.h <<_ACEOF
51664 #define HAVE_FINITEL 1
51665 _ACEOF
51666
51667 fi
51668 done
51669
51670 else
51671
51672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51673 $as_echo_n "checking for _finitel declaration... " >&6; }
51674 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51675 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51676 $as_echo_n "(cached) " >&6
51677 else
51678
51679
51680 ac_ext=cpp
51681 ac_cpp='$CXXCPP $CPPFLAGS'
51682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51685
51686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51687 /* end confdefs.h. */
51688 #include <math.h>
51689 #ifdef HAVE_IEEEFP_H
51690 #include <ieeefp.h>
51691 #endif
51692
51693 int
51694 main ()
51695 {
51696 _finitel(0);
51697 ;
51698 return 0;
51699 }
51700 _ACEOF
51701 if ac_fn_cxx_try_compile "$LINENO"; then :
51702 glibcxx_cv_func__finitel_use=yes
51703 else
51704 glibcxx_cv_func__finitel_use=no
51705 fi
51706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51707 ac_ext=c
51708 ac_cpp='$CPP $CPPFLAGS'
51709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51712
51713
51714 fi
51715
51716 fi
51717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51718 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51719
51720 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51721 for ac_func in _finitel
51722 do :
51723 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51724 if test "x$ac_cv_func__finitel" = x""yes; then :
51725 cat >>confdefs.h <<_ACEOF
51726 #define HAVE__FINITEL 1
51727 _ACEOF
51728
51729 fi
51730 done
51731
51732 fi
51733 fi
51734
51735
51736
51737
51738 LIBS="$ac_save_LIBS"
51739 CXXFLAGS="$ac_save_CXXFLAGS"
51740
51741
51742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51743 ac_save_CXXFLAGS="$CXXFLAGS"
51744 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51745
51746
51747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51748 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51749 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51750 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51751 $as_echo_n "(cached) " >&6
51752 else
51753
51754
51755 ac_ext=cpp
51756 ac_cpp='$CXXCPP $CPPFLAGS'
51757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51760
51761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51762 /* end confdefs.h. */
51763 #include <stdlib.h>
51764 int
51765 main ()
51766 {
51767 at_quick_exit(0);
51768 ;
51769 return 0;
51770 }
51771 _ACEOF
51772 if ac_fn_cxx_try_compile "$LINENO"; then :
51773 glibcxx_cv_func_at_quick_exit_use=yes
51774 else
51775 glibcxx_cv_func_at_quick_exit_use=no
51776 fi
51777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51778 ac_ext=c
51779 ac_cpp='$CPP $CPPFLAGS'
51780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51783
51784
51785 fi
51786
51787 fi
51788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51789 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51790 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51791 for ac_func in at_quick_exit
51792 do :
51793 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51794 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE_AT_QUICK_EXIT 1
51797 _ACEOF
51798
51799 fi
51800 done
51801
51802 fi
51803
51804
51805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51806 $as_echo_n "checking for quick_exit declaration... " >&6; }
51807 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51808 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51809 $as_echo_n "(cached) " >&6
51810 else
51811
51812
51813 ac_ext=cpp
51814 ac_cpp='$CXXCPP $CPPFLAGS'
51815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51818
51819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51820 /* end confdefs.h. */
51821 #include <stdlib.h>
51822 int
51823 main ()
51824 {
51825 quick_exit(0);
51826 ;
51827 return 0;
51828 }
51829 _ACEOF
51830 if ac_fn_cxx_try_compile "$LINENO"; then :
51831 glibcxx_cv_func_quick_exit_use=yes
51832 else
51833 glibcxx_cv_func_quick_exit_use=no
51834 fi
51835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51836 ac_ext=c
51837 ac_cpp='$CPP $CPPFLAGS'
51838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51841
51842
51843 fi
51844
51845 fi
51846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51847 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51848 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51849 for ac_func in quick_exit
51850 do :
51851 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51852 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51853 cat >>confdefs.h <<_ACEOF
51854 #define HAVE_QUICK_EXIT 1
51855 _ACEOF
51856
51857 fi
51858 done
51859
51860 fi
51861
51862
51863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51864 $as_echo_n "checking for strtold declaration... " >&6; }
51865 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51866 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51867 $as_echo_n "(cached) " >&6
51868 else
51869
51870
51871 ac_ext=cpp
51872 ac_cpp='$CXXCPP $CPPFLAGS'
51873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51876
51877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51878 /* end confdefs.h. */
51879 #include <stdlib.h>
51880 int
51881 main ()
51882 {
51883 strtold(0, 0);
51884 ;
51885 return 0;
51886 }
51887 _ACEOF
51888 if ac_fn_cxx_try_compile "$LINENO"; then :
51889 glibcxx_cv_func_strtold_use=yes
51890 else
51891 glibcxx_cv_func_strtold_use=no
51892 fi
51893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51894 ac_ext=c
51895 ac_cpp='$CPP $CPPFLAGS'
51896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51899
51900
51901 fi
51902
51903 fi
51904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51905 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51906 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51907 for ac_func in strtold
51908 do :
51909 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51910 if test "x$ac_cv_func_strtold" = x""yes; then :
51911 cat >>confdefs.h <<_ACEOF
51912 #define HAVE_STRTOLD 1
51913 _ACEOF
51914
51915 fi
51916 done
51917
51918 fi
51919
51920
51921
51922
51923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51924 $as_echo_n "checking for strtof declaration... " >&6; }
51925 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51926 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51927 $as_echo_n "(cached) " >&6
51928 else
51929
51930
51931 ac_ext=cpp
51932 ac_cpp='$CXXCPP $CPPFLAGS'
51933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51936
51937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51938 /* end confdefs.h. */
51939 #include <stdlib.h>
51940 int
51941 main ()
51942 {
51943 strtof(0, 0);
51944 ;
51945 return 0;
51946 }
51947 _ACEOF
51948 if ac_fn_cxx_try_compile "$LINENO"; then :
51949 glibcxx_cv_func_strtof_use=yes
51950 else
51951 glibcxx_cv_func_strtof_use=no
51952 fi
51953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51954 ac_ext=c
51955 ac_cpp='$CPP $CPPFLAGS'
51956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51959
51960
51961 fi
51962
51963 fi
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51965 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51966 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51967 for ac_func in strtof
51968 do :
51969 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51970 if test "x$ac_cv_func_strtof" = x""yes; then :
51971 cat >>confdefs.h <<_ACEOF
51972 #define HAVE_STRTOF 1
51973 _ACEOF
51974
51975 fi
51976 done
51977
51978 fi
51979
51980
51981
51982
51983 CXXFLAGS="$ac_save_CXXFLAGS"
51984
51985 ;;
51986
51987 *djgpp)
51988 # GLIBCXX_CHECK_MATH_SUPPORT
51989 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51990
51991 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51992
51993 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51994
51995 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51996
51997 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51998
51999 ;;
52000
52001 *-freebsd*)
52002 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52003
52004
52005 # If we're not using GNU ld, then there's no point in even trying these
52006 # tests. Check for that first. We should have already tested for gld
52007 # by now (in libtool), but require it now just to be safe...
52008 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52009 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52010
52011
52012
52013 # The name set by libtool depends on the version of libtool. Shame on us
52014 # for depending on an impl detail, but c'est la vie. Older versions used
52015 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52016 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52017 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52018 # set (hence we're using an older libtool), then set it.
52019 if test x${with_gnu_ld+set} != xset; then
52020 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52021 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52022 with_gnu_ld=no
52023 else
52024 with_gnu_ld=$ac_cv_prog_gnu_ld
52025 fi
52026 fi
52027
52028 # Start by getting the version number. I think the libtool test already
52029 # does some of this, but throws away the result.
52030 glibcxx_ld_is_gold=no
52031 if test x"$with_gnu_ld" = x"yes"; then
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52033 $as_echo_n "checking for ld version... " >&6; }
52034
52035 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52036 glibcxx_ld_is_gold=yes
52037 fi
52038 ldver=`$LD --version 2>/dev/null |
52039 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
52040
52041 glibcxx_gnu_ld_version=`echo $ldver | \
52042 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52044 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52045 fi
52046
52047 # Set --gc-sections.
52048 glibcxx_have_gc_sections=no
52049 if test "$glibcxx_ld_is_gold" = "yes"; then
52050 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52051 glibcxx_have_gc_sections=yes
52052 fi
52053 else
52054 glibcxx_gcsections_min_ld=21602
52055 if test x"$with_gnu_ld" = x"yes" &&
52056 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52057 glibcxx_have_gc_sections=yes
52058 fi
52059 fi
52060 if test "$glibcxx_have_gc_sections" = "yes"; then
52061 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52062 # NB: This flag only works reliably after 2.16.1. Configure tests
52063 # for this are difficult, so hard wire a value that should work.
52064
52065 ac_test_CFLAGS="${CFLAGS+set}"
52066 ac_save_CFLAGS="$CFLAGS"
52067 CFLAGS='-Wl,--gc-sections'
52068
52069 # Check for -Wl,--gc-sections
52070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52071 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52072 if test x$gcc_no_link = xyes; then
52073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52074 fi
52075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52076 /* end confdefs.h. */
52077 int one(void) { return 1; }
52078 int two(void) { return 2; }
52079
52080 int
52081 main ()
52082 {
52083 two();
52084 ;
52085 return 0;
52086 }
52087 _ACEOF
52088 if ac_fn_c_try_link "$LINENO"; then :
52089 ac_gcsections=yes
52090 else
52091 ac_gcsections=no
52092 fi
52093 rm -f core conftest.err conftest.$ac_objext \
52094 conftest$ac_exeext conftest.$ac_ext
52095 if test "$ac_gcsections" = "yes"; then
52096 rm -f conftest.c
52097 touch conftest.c
52098 if $CC -c conftest.c; then
52099 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52100 grep "Warning: gc-sections option ignored" > /dev/null; then
52101 ac_gcsections=no
52102 fi
52103 fi
52104 rm -f conftest.c conftest.o conftest
52105 fi
52106 if test "$ac_gcsections" = "yes"; then
52107 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52108 fi
52109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52110 $as_echo "$ac_gcsections" >&6; }
52111
52112 if test "$ac_test_CFLAGS" = set; then
52113 CFLAGS="$ac_save_CFLAGS"
52114 else
52115 # this is the suspicious part
52116 CFLAGS=''
52117 fi
52118 fi
52119
52120 # Set -z,relro.
52121 # Note this is only for shared objects.
52122 ac_ld_relro=no
52123 if test x"$with_gnu_ld" = x"yes"; then
52124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52125 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52126 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52127 if test -n "$cxx_z_relo"; then
52128 OPT_LDFLAGS="-Wl,-z,relro"
52129 ac_ld_relro=yes
52130 fi
52131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52132 $as_echo "$ac_ld_relro" >&6; }
52133 fi
52134
52135 # Set linker optimization flags.
52136 if test x"$with_gnu_ld" = x"yes"; then
52137 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52138 fi
52139
52140
52141
52142
52143 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52144
52145 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52146
52147 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52148
52149 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52150
52151 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52152
52153 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52154
52155 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52156
52157 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52158
52159 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52160
52161
52162 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52163
52164 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52165
52166 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52167
52168 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52169
52170 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52171
52172 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52173
52174 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52175
52176 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52177
52178 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52179
52180 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52181
52182 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52183
52184 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52185
52186 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52187
52188 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52189
52190 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52191
52192 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52193
52194 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52195
52196 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52197
52198 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52199
52200 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52201
52202 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52203
52204 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52205
52206 if test x"long_double_math_on_this_cpu" = x"yes"; then
52207 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52208
52209 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52210
52211 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52212
52213 fi
52214 ;;
52215 *-hpux*)
52216 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52217
52218
52219 # If we're not using GNU ld, then there's no point in even trying these
52220 # tests. Check for that first. We should have already tested for gld
52221 # by now (in libtool), but require it now just to be safe...
52222 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52223 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52224
52225
52226
52227 # The name set by libtool depends on the version of libtool. Shame on us
52228 # for depending on an impl detail, but c'est la vie. Older versions used
52229 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52230 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52231 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52232 # set (hence we're using an older libtool), then set it.
52233 if test x${with_gnu_ld+set} != xset; then
52234 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52235 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52236 with_gnu_ld=no
52237 else
52238 with_gnu_ld=$ac_cv_prog_gnu_ld
52239 fi
52240 fi
52241
52242 # Start by getting the version number. I think the libtool test already
52243 # does some of this, but throws away the result.
52244 glibcxx_ld_is_gold=no
52245 if test x"$with_gnu_ld" = x"yes"; then
52246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52247 $as_echo_n "checking for ld version... " >&6; }
52248
52249 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52250 glibcxx_ld_is_gold=yes
52251 fi
52252 ldver=`$LD --version 2>/dev/null |
52253 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
52254
52255 glibcxx_gnu_ld_version=`echo $ldver | \
52256 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52258 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52259 fi
52260
52261 # Set --gc-sections.
52262 glibcxx_have_gc_sections=no
52263 if test "$glibcxx_ld_is_gold" = "yes"; then
52264 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52265 glibcxx_have_gc_sections=yes
52266 fi
52267 else
52268 glibcxx_gcsections_min_ld=21602
52269 if test x"$with_gnu_ld" = x"yes" &&
52270 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52271 glibcxx_have_gc_sections=yes
52272 fi
52273 fi
52274 if test "$glibcxx_have_gc_sections" = "yes"; then
52275 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52276 # NB: This flag only works reliably after 2.16.1. Configure tests
52277 # for this are difficult, so hard wire a value that should work.
52278
52279 ac_test_CFLAGS="${CFLAGS+set}"
52280 ac_save_CFLAGS="$CFLAGS"
52281 CFLAGS='-Wl,--gc-sections'
52282
52283 # Check for -Wl,--gc-sections
52284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52285 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52286 if test x$gcc_no_link = xyes; then
52287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52288 fi
52289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52290 /* end confdefs.h. */
52291 int one(void) { return 1; }
52292 int two(void) { return 2; }
52293
52294 int
52295 main ()
52296 {
52297 two();
52298 ;
52299 return 0;
52300 }
52301 _ACEOF
52302 if ac_fn_c_try_link "$LINENO"; then :
52303 ac_gcsections=yes
52304 else
52305 ac_gcsections=no
52306 fi
52307 rm -f core conftest.err conftest.$ac_objext \
52308 conftest$ac_exeext conftest.$ac_ext
52309 if test "$ac_gcsections" = "yes"; then
52310 rm -f conftest.c
52311 touch conftest.c
52312 if $CC -c conftest.c; then
52313 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52314 grep "Warning: gc-sections option ignored" > /dev/null; then
52315 ac_gcsections=no
52316 fi
52317 fi
52318 rm -f conftest.c conftest.o conftest
52319 fi
52320 if test "$ac_gcsections" = "yes"; then
52321 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52322 fi
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52324 $as_echo "$ac_gcsections" >&6; }
52325
52326 if test "$ac_test_CFLAGS" = set; then
52327 CFLAGS="$ac_save_CFLAGS"
52328 else
52329 # this is the suspicious part
52330 CFLAGS=''
52331 fi
52332 fi
52333
52334 # Set -z,relro.
52335 # Note this is only for shared objects.
52336 ac_ld_relro=no
52337 if test x"$with_gnu_ld" = x"yes"; then
52338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52339 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52340 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52341 if test -n "$cxx_z_relo"; then
52342 OPT_LDFLAGS="-Wl,-z,relro"
52343 ac_ld_relro=yes
52344 fi
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52346 $as_echo "$ac_ld_relro" >&6; }
52347 fi
52348
52349 # Set linker optimization flags.
52350 if test x"$with_gnu_ld" = x"yes"; then
52351 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52352 fi
52353
52354
52355
52356
52357
52358 # GLIBCXX_CHECK_MATH_SUPPORT
52359 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52360
52361 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52362
52363 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52364
52365 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52366
52367 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52368
52369 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52370
52371 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52372
52373 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52374
52375 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52376
52377 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52378
52379 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52380
52381 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52382
52383 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52384
52385 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52386
52387 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52388
52389 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52390
52391 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52392
52393 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52394
52395 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52396
52397 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52398
52399 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52400
52401
52402 # GLIBCXX_CHECK_STDLIB_SUPPORT
52403 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52404
52405
52406
52407
52408 # Check whether --enable-tls was given.
52409 if test "${enable_tls+set}" = set; then :
52410 enableval=$enable_tls;
52411 case "$enableval" in
52412 yes|no) ;;
52413 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52414 esac
52415
52416 else
52417 enable_tls=yes
52418 fi
52419
52420
52421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52422 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52423 if test "${gcc_cv_have_tls+set}" = set; then :
52424 $as_echo_n "(cached) " >&6
52425 else
52426
52427 if test "$cross_compiling" = yes; then :
52428 if test x$gcc_no_link = xyes; then
52429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52430 fi
52431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52432 /* end confdefs.h. */
52433 __thread int a; int b; int main() { return a = b; }
52434 _ACEOF
52435 if ac_fn_c_try_link "$LINENO"; then :
52436 chktls_save_LDFLAGS="$LDFLAGS"
52437 case $host in
52438 *-*-linux*)
52439 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52440 ;;
52441 esac
52442 chktls_save_CFLAGS="$CFLAGS"
52443 CFLAGS="-fPIC $CFLAGS"
52444 if test x$gcc_no_link = xyes; then
52445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52446 fi
52447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52448 /* end confdefs.h. */
52449 int f() { return 0; }
52450 _ACEOF
52451 if ac_fn_c_try_link "$LINENO"; then :
52452 if test x$gcc_no_link = xyes; then
52453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52454 fi
52455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52456 /* end confdefs.h. */
52457 __thread int a; int b; int f() { return a = b; }
52458 _ACEOF
52459 if ac_fn_c_try_link "$LINENO"; then :
52460 gcc_cv_have_tls=yes
52461 else
52462 gcc_cv_have_tls=no
52463 fi
52464 rm -f core conftest.err conftest.$ac_objext \
52465 conftest$ac_exeext conftest.$ac_ext
52466 else
52467 gcc_cv_have_tls=yes
52468 fi
52469 rm -f core conftest.err conftest.$ac_objext \
52470 conftest$ac_exeext conftest.$ac_ext
52471 CFLAGS="$chktls_save_CFLAGS"
52472 LDFLAGS="$chktls_save_LDFLAGS"
52473 else
52474 gcc_cv_have_tls=no
52475 fi
52476 rm -f core conftest.err conftest.$ac_objext \
52477 conftest$ac_exeext conftest.$ac_ext
52478
52479
52480 else
52481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52482 /* end confdefs.h. */
52483 __thread int a; int b; int main() { return a = b; }
52484 _ACEOF
52485 if ac_fn_c_try_run "$LINENO"; then :
52486 chktls_save_LDFLAGS="$LDFLAGS"
52487 LDFLAGS="-static $LDFLAGS"
52488 if test x$gcc_no_link = xyes; then
52489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52490 fi
52491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52492 /* end confdefs.h. */
52493 int main() { return 0; }
52494 _ACEOF
52495 if ac_fn_c_try_link "$LINENO"; then :
52496 if test "$cross_compiling" = yes; then :
52497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52499 as_fn_error "cannot run test program while cross compiling
52500 See \`config.log' for more details." "$LINENO" 5; }
52501 else
52502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52503 /* end confdefs.h. */
52504 __thread int a; int b; int main() { return a = b; }
52505 _ACEOF
52506 if ac_fn_c_try_run "$LINENO"; then :
52507 gcc_cv_have_tls=yes
52508 else
52509 gcc_cv_have_tls=no
52510 fi
52511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52512 conftest.$ac_objext conftest.beam conftest.$ac_ext
52513 fi
52514
52515 else
52516 gcc_cv_have_tls=yes
52517 fi
52518 rm -f core conftest.err conftest.$ac_objext \
52519 conftest$ac_exeext conftest.$ac_ext
52520 LDFLAGS="$chktls_save_LDFLAGS"
52521 if test $gcc_cv_have_tls = yes; then
52522 chktls_save_CFLAGS="$CFLAGS"
52523 thread_CFLAGS=failed
52524 for flag in '' '-pthread' '-lpthread'; do
52525 CFLAGS="$flag $chktls_save_CFLAGS"
52526 if test x$gcc_no_link = xyes; then
52527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52528 fi
52529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52530 /* end confdefs.h. */
52531 #include <pthread.h>
52532 void *g(void *d) { return NULL; }
52533 int
52534 main ()
52535 {
52536 pthread_t t; pthread_create(&t,NULL,g,NULL);
52537 ;
52538 return 0;
52539 }
52540 _ACEOF
52541 if ac_fn_c_try_link "$LINENO"; then :
52542 thread_CFLAGS="$flag"
52543 fi
52544 rm -f core conftest.err conftest.$ac_objext \
52545 conftest$ac_exeext conftest.$ac_ext
52546 if test "X$thread_CFLAGS" != Xfailed; then
52547 break
52548 fi
52549 done
52550 CFLAGS="$chktls_save_CFLAGS"
52551 if test "X$thread_CFLAGS" != Xfailed; then
52552 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52553 if test "$cross_compiling" = yes; then :
52554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52556 as_fn_error "cannot run test program while cross compiling
52557 See \`config.log' for more details." "$LINENO" 5; }
52558 else
52559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52560 /* end confdefs.h. */
52561 #include <pthread.h>
52562 __thread int a;
52563 static int *volatile a_in_other_thread;
52564 static void *
52565 thread_func (void *arg)
52566 {
52567 a_in_other_thread = &a;
52568 return (void *)0;
52569 }
52570 int
52571 main ()
52572 {
52573 pthread_t thread;
52574 void *thread_retval;
52575 int *volatile a_in_main_thread;
52576 a_in_main_thread = &a;
52577 if (pthread_create (&thread, (pthread_attr_t *)0,
52578 thread_func, (void *)0))
52579 return 0;
52580 if (pthread_join (thread, &thread_retval))
52581 return 0;
52582 return (a_in_other_thread == a_in_main_thread);
52583 ;
52584 return 0;
52585 }
52586 _ACEOF
52587 if ac_fn_c_try_run "$LINENO"; then :
52588 gcc_cv_have_tls=yes
52589 else
52590 gcc_cv_have_tls=no
52591 fi
52592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52593 conftest.$ac_objext conftest.beam conftest.$ac_ext
52594 fi
52595
52596 CFLAGS="$chktls_save_CFLAGS"
52597 fi
52598 fi
52599 else
52600 gcc_cv_have_tls=no
52601 fi
52602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52603 conftest.$ac_objext conftest.beam conftest.$ac_ext
52604 fi
52605
52606 fi
52607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52608 $as_echo "$gcc_cv_have_tls" >&6; }
52609 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52610
52611 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52612
52613 fi
52614 case "$target" in
52615 *-hpux10*)
52616 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52617
52618 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52619
52620 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52621
52622 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52623
52624 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52625
52626 ;;
52627 esac
52628 ;;
52629 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52630
52631 # All these tests are for C++; save the language and the compiler flags.
52632 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52633 # found in GLIBCXX_CONFIGURE.
52634
52635 ac_ext=cpp
52636 ac_cpp='$CXXCPP $CPPFLAGS'
52637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52640
52641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52642 ac_save_CXXFLAGS="$CXXFLAGS"
52643
52644 # Check for maintainer-mode bits.
52645 if test x"$USE_MAINTAINER_MODE" = xno; then
52646 WERROR=''
52647 else
52648 WERROR='-Werror'
52649 fi
52650
52651 # Check for -ffunction-sections -fdata-sections
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52653 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52654 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52656 /* end confdefs.h. */
52657 int foo; void bar() { };
52658 int
52659 main ()
52660 {
52661
52662 ;
52663 return 0;
52664 }
52665 _ACEOF
52666 if ac_fn_cxx_try_compile "$LINENO"; then :
52667 ac_fdsections=yes
52668 else
52669 ac_fdsections=no
52670 fi
52671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52672 if test "$ac_test_CXXFLAGS" = set; then
52673 CXXFLAGS="$ac_save_CXXFLAGS"
52674 else
52675 # this is the suspicious part
52676 CXXFLAGS=''
52677 fi
52678 if test x"$ac_fdsections" = x"yes"; then
52679 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52680 fi
52681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52682 $as_echo "$ac_fdsections" >&6; }
52683
52684 ac_ext=c
52685 ac_cpp='$CPP $CPPFLAGS'
52686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52689
52690
52691
52692
52693
52694 # If we're not using GNU ld, then there's no point in even trying these
52695 # tests. Check for that first. We should have already tested for gld
52696 # by now (in libtool), but require it now just to be safe...
52697 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52698 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52699
52700
52701
52702 # The name set by libtool depends on the version of libtool. Shame on us
52703 # for depending on an impl detail, but c'est la vie. Older versions used
52704 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52705 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52706 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52707 # set (hence we're using an older libtool), then set it.
52708 if test x${with_gnu_ld+set} != xset; then
52709 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52710 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52711 with_gnu_ld=no
52712 else
52713 with_gnu_ld=$ac_cv_prog_gnu_ld
52714 fi
52715 fi
52716
52717 # Start by getting the version number. I think the libtool test already
52718 # does some of this, but throws away the result.
52719 glibcxx_ld_is_gold=no
52720 if test x"$with_gnu_ld" = x"yes"; then
52721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52722 $as_echo_n "checking for ld version... " >&6; }
52723
52724 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52725 glibcxx_ld_is_gold=yes
52726 fi
52727 ldver=`$LD --version 2>/dev/null |
52728 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
52729
52730 glibcxx_gnu_ld_version=`echo $ldver | \
52731 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52733 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52734 fi
52735
52736 # Set --gc-sections.
52737 glibcxx_have_gc_sections=no
52738 if test "$glibcxx_ld_is_gold" = "yes"; then
52739 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52740 glibcxx_have_gc_sections=yes
52741 fi
52742 else
52743 glibcxx_gcsections_min_ld=21602
52744 if test x"$with_gnu_ld" = x"yes" &&
52745 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52746 glibcxx_have_gc_sections=yes
52747 fi
52748 fi
52749 if test "$glibcxx_have_gc_sections" = "yes"; then
52750 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52751 # NB: This flag only works reliably after 2.16.1. Configure tests
52752 # for this are difficult, so hard wire a value that should work.
52753
52754 ac_test_CFLAGS="${CFLAGS+set}"
52755 ac_save_CFLAGS="$CFLAGS"
52756 CFLAGS='-Wl,--gc-sections'
52757
52758 # Check for -Wl,--gc-sections
52759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52760 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52761 if test x$gcc_no_link = xyes; then
52762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52763 fi
52764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52765 /* end confdefs.h. */
52766 int one(void) { return 1; }
52767 int two(void) { return 2; }
52768
52769 int
52770 main ()
52771 {
52772 two();
52773 ;
52774 return 0;
52775 }
52776 _ACEOF
52777 if ac_fn_c_try_link "$LINENO"; then :
52778 ac_gcsections=yes
52779 else
52780 ac_gcsections=no
52781 fi
52782 rm -f core conftest.err conftest.$ac_objext \
52783 conftest$ac_exeext conftest.$ac_ext
52784 if test "$ac_gcsections" = "yes"; then
52785 rm -f conftest.c
52786 touch conftest.c
52787 if $CC -c conftest.c; then
52788 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52789 grep "Warning: gc-sections option ignored" > /dev/null; then
52790 ac_gcsections=no
52791 fi
52792 fi
52793 rm -f conftest.c conftest.o conftest
52794 fi
52795 if test "$ac_gcsections" = "yes"; then
52796 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52797 fi
52798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52799 $as_echo "$ac_gcsections" >&6; }
52800
52801 if test "$ac_test_CFLAGS" = set; then
52802 CFLAGS="$ac_save_CFLAGS"
52803 else
52804 # this is the suspicious part
52805 CFLAGS=''
52806 fi
52807 fi
52808
52809 # Set -z,relro.
52810 # Note this is only for shared objects.
52811 ac_ld_relro=no
52812 if test x"$with_gnu_ld" = x"yes"; then
52813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52814 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52815 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52816 if test -n "$cxx_z_relo"; then
52817 OPT_LDFLAGS="-Wl,-z,relro"
52818 ac_ld_relro=yes
52819 fi
52820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52821 $as_echo "$ac_ld_relro" >&6; }
52822 fi
52823
52824 # Set linker optimization flags.
52825 if test x"$with_gnu_ld" = x"yes"; then
52826 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52827 fi
52828
52829
52830
52831
52832
52833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52834 ac_save_CXXFLAGS="$CXXFLAGS"
52835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52836
52837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52838 $as_echo_n "checking for sin in -lm... " >&6; }
52839 if test "${ac_cv_lib_m_sin+set}" = set; then :
52840 $as_echo_n "(cached) " >&6
52841 else
52842 ac_check_lib_save_LIBS=$LIBS
52843 LIBS="-lm $LIBS"
52844 if test x$gcc_no_link = xyes; then
52845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52846 fi
52847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52848 /* end confdefs.h. */
52849
52850 /* Override any GCC internal prototype to avoid an error.
52851 Use char because int might match the return type of a GCC
52852 builtin and then its argument prototype would still apply. */
52853 #ifdef __cplusplus
52854 extern "C"
52855 #endif
52856 char sin ();
52857 int
52858 main ()
52859 {
52860 return sin ();
52861 ;
52862 return 0;
52863 }
52864 _ACEOF
52865 if ac_fn_c_try_link "$LINENO"; then :
52866 ac_cv_lib_m_sin=yes
52867 else
52868 ac_cv_lib_m_sin=no
52869 fi
52870 rm -f core conftest.err conftest.$ac_objext \
52871 conftest$ac_exeext conftest.$ac_ext
52872 LIBS=$ac_check_lib_save_LIBS
52873 fi
52874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52875 $as_echo "$ac_cv_lib_m_sin" >&6; }
52876 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52877 libm="-lm"
52878 fi
52879
52880 ac_save_LIBS="$LIBS"
52881 LIBS="$LIBS $libm"
52882
52883
52884
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52886 $as_echo_n "checking for isinf declaration... " >&6; }
52887 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52888 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52889 $as_echo_n "(cached) " >&6
52890 else
52891
52892
52893 ac_ext=cpp
52894 ac_cpp='$CXXCPP $CPPFLAGS'
52895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52898
52899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52900 /* end confdefs.h. */
52901 #include <math.h>
52902 #ifdef HAVE_IEEEFP_H
52903 #include <ieeefp.h>
52904 #endif
52905
52906 int
52907 main ()
52908 {
52909 isinf(0);
52910 ;
52911 return 0;
52912 }
52913 _ACEOF
52914 if ac_fn_cxx_try_compile "$LINENO"; then :
52915 glibcxx_cv_func_isinf_use=yes
52916 else
52917 glibcxx_cv_func_isinf_use=no
52918 fi
52919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52920 ac_ext=c
52921 ac_cpp='$CPP $CPPFLAGS'
52922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52925
52926
52927 fi
52928
52929 fi
52930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52931 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52932
52933 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52934 for ac_func in isinf
52935 do :
52936 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52937 if test "x$ac_cv_func_isinf" = x""yes; then :
52938 cat >>confdefs.h <<_ACEOF
52939 #define HAVE_ISINF 1
52940 _ACEOF
52941
52942 fi
52943 done
52944
52945 else
52946
52947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52948 $as_echo_n "checking for _isinf declaration... " >&6; }
52949 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52950 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52951 $as_echo_n "(cached) " >&6
52952 else
52953
52954
52955 ac_ext=cpp
52956 ac_cpp='$CXXCPP $CPPFLAGS'
52957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52960
52961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52962 /* end confdefs.h. */
52963 #include <math.h>
52964 #ifdef HAVE_IEEEFP_H
52965 #include <ieeefp.h>
52966 #endif
52967
52968 int
52969 main ()
52970 {
52971 _isinf(0);
52972 ;
52973 return 0;
52974 }
52975 _ACEOF
52976 if ac_fn_cxx_try_compile "$LINENO"; then :
52977 glibcxx_cv_func__isinf_use=yes
52978 else
52979 glibcxx_cv_func__isinf_use=no
52980 fi
52981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52982 ac_ext=c
52983 ac_cpp='$CPP $CPPFLAGS'
52984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52987
52988
52989 fi
52990
52991 fi
52992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52993 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52994
52995 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52996 for ac_func in _isinf
52997 do :
52998 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52999 if test "x$ac_cv_func__isinf" = x""yes; then :
53000 cat >>confdefs.h <<_ACEOF
53001 #define HAVE__ISINF 1
53002 _ACEOF
53003
53004 fi
53005 done
53006
53007 fi
53008 fi
53009
53010
53011
53012
53013
53014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53015 $as_echo_n "checking for isnan declaration... " >&6; }
53016 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53017 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53018 $as_echo_n "(cached) " >&6
53019 else
53020
53021
53022 ac_ext=cpp
53023 ac_cpp='$CXXCPP $CPPFLAGS'
53024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53027
53028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53029 /* end confdefs.h. */
53030 #include <math.h>
53031 #ifdef HAVE_IEEEFP_H
53032 #include <ieeefp.h>
53033 #endif
53034
53035 int
53036 main ()
53037 {
53038 isnan(0);
53039 ;
53040 return 0;
53041 }
53042 _ACEOF
53043 if ac_fn_cxx_try_compile "$LINENO"; then :
53044 glibcxx_cv_func_isnan_use=yes
53045 else
53046 glibcxx_cv_func_isnan_use=no
53047 fi
53048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53049 ac_ext=c
53050 ac_cpp='$CPP $CPPFLAGS'
53051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53054
53055
53056 fi
53057
53058 fi
53059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53060 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53061
53062 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53063 for ac_func in isnan
53064 do :
53065 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53066 if test "x$ac_cv_func_isnan" = x""yes; then :
53067 cat >>confdefs.h <<_ACEOF
53068 #define HAVE_ISNAN 1
53069 _ACEOF
53070
53071 fi
53072 done
53073
53074 else
53075
53076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53077 $as_echo_n "checking for _isnan declaration... " >&6; }
53078 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53079 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53080 $as_echo_n "(cached) " >&6
53081 else
53082
53083
53084 ac_ext=cpp
53085 ac_cpp='$CXXCPP $CPPFLAGS'
53086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53089
53090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53091 /* end confdefs.h. */
53092 #include <math.h>
53093 #ifdef HAVE_IEEEFP_H
53094 #include <ieeefp.h>
53095 #endif
53096
53097 int
53098 main ()
53099 {
53100 _isnan(0);
53101 ;
53102 return 0;
53103 }
53104 _ACEOF
53105 if ac_fn_cxx_try_compile "$LINENO"; then :
53106 glibcxx_cv_func__isnan_use=yes
53107 else
53108 glibcxx_cv_func__isnan_use=no
53109 fi
53110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53111 ac_ext=c
53112 ac_cpp='$CPP $CPPFLAGS'
53113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53116
53117
53118 fi
53119
53120 fi
53121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53122 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53123
53124 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53125 for ac_func in _isnan
53126 do :
53127 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53128 if test "x$ac_cv_func__isnan" = x""yes; then :
53129 cat >>confdefs.h <<_ACEOF
53130 #define HAVE__ISNAN 1
53131 _ACEOF
53132
53133 fi
53134 done
53135
53136 fi
53137 fi
53138
53139
53140
53141
53142
53143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53144 $as_echo_n "checking for finite declaration... " >&6; }
53145 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53146 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53147 $as_echo_n "(cached) " >&6
53148 else
53149
53150
53151 ac_ext=cpp
53152 ac_cpp='$CXXCPP $CPPFLAGS'
53153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53156
53157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53158 /* end confdefs.h. */
53159 #include <math.h>
53160 #ifdef HAVE_IEEEFP_H
53161 #include <ieeefp.h>
53162 #endif
53163
53164 int
53165 main ()
53166 {
53167 finite(0);
53168 ;
53169 return 0;
53170 }
53171 _ACEOF
53172 if ac_fn_cxx_try_compile "$LINENO"; then :
53173 glibcxx_cv_func_finite_use=yes
53174 else
53175 glibcxx_cv_func_finite_use=no
53176 fi
53177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53178 ac_ext=c
53179 ac_cpp='$CPP $CPPFLAGS'
53180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53183
53184
53185 fi
53186
53187 fi
53188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53189 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53190
53191 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53192 for ac_func in finite
53193 do :
53194 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53195 if test "x$ac_cv_func_finite" = x""yes; then :
53196 cat >>confdefs.h <<_ACEOF
53197 #define HAVE_FINITE 1
53198 _ACEOF
53199
53200 fi
53201 done
53202
53203 else
53204
53205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53206 $as_echo_n "checking for _finite declaration... " >&6; }
53207 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53208 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53209 $as_echo_n "(cached) " >&6
53210 else
53211
53212
53213 ac_ext=cpp
53214 ac_cpp='$CXXCPP $CPPFLAGS'
53215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53218
53219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53220 /* end confdefs.h. */
53221 #include <math.h>
53222 #ifdef HAVE_IEEEFP_H
53223 #include <ieeefp.h>
53224 #endif
53225
53226 int
53227 main ()
53228 {
53229 _finite(0);
53230 ;
53231 return 0;
53232 }
53233 _ACEOF
53234 if ac_fn_cxx_try_compile "$LINENO"; then :
53235 glibcxx_cv_func__finite_use=yes
53236 else
53237 glibcxx_cv_func__finite_use=no
53238 fi
53239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53240 ac_ext=c
53241 ac_cpp='$CPP $CPPFLAGS'
53242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53245
53246
53247 fi
53248
53249 fi
53250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53251 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53252
53253 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53254 for ac_func in _finite
53255 do :
53256 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53257 if test "x$ac_cv_func__finite" = x""yes; then :
53258 cat >>confdefs.h <<_ACEOF
53259 #define HAVE__FINITE 1
53260 _ACEOF
53261
53262 fi
53263 done
53264
53265 fi
53266 fi
53267
53268
53269
53270
53271
53272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53273 $as_echo_n "checking for sincos declaration... " >&6; }
53274 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53275 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53276 $as_echo_n "(cached) " >&6
53277 else
53278
53279
53280 ac_ext=cpp
53281 ac_cpp='$CXXCPP $CPPFLAGS'
53282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53285
53286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53287 /* end confdefs.h. */
53288 #include <math.h>
53289 int
53290 main ()
53291 {
53292 sincos(0, 0, 0);
53293 ;
53294 return 0;
53295 }
53296 _ACEOF
53297 if ac_fn_cxx_try_compile "$LINENO"; then :
53298 glibcxx_cv_func_sincos_use=yes
53299 else
53300 glibcxx_cv_func_sincos_use=no
53301 fi
53302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53303 ac_ext=c
53304 ac_cpp='$CPP $CPPFLAGS'
53305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53308
53309
53310 fi
53311
53312 fi
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53314 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53315
53316 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53317 for ac_func in sincos
53318 do :
53319 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53320 if test "x$ac_cv_func_sincos" = x""yes; then :
53321 cat >>confdefs.h <<_ACEOF
53322 #define HAVE_SINCOS 1
53323 _ACEOF
53324
53325 fi
53326 done
53327
53328 else
53329
53330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53331 $as_echo_n "checking for _sincos declaration... " >&6; }
53332 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53333 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53334 $as_echo_n "(cached) " >&6
53335 else
53336
53337
53338 ac_ext=cpp
53339 ac_cpp='$CXXCPP $CPPFLAGS'
53340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53343
53344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53345 /* end confdefs.h. */
53346 #include <math.h>
53347 int
53348 main ()
53349 {
53350 _sincos(0, 0, 0);
53351 ;
53352 return 0;
53353 }
53354 _ACEOF
53355 if ac_fn_cxx_try_compile "$LINENO"; then :
53356 glibcxx_cv_func__sincos_use=yes
53357 else
53358 glibcxx_cv_func__sincos_use=no
53359 fi
53360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53361 ac_ext=c
53362 ac_cpp='$CPP $CPPFLAGS'
53363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53366
53367
53368 fi
53369
53370 fi
53371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53372 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53373
53374 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53375 for ac_func in _sincos
53376 do :
53377 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53378 if test "x$ac_cv_func__sincos" = x""yes; then :
53379 cat >>confdefs.h <<_ACEOF
53380 #define HAVE__SINCOS 1
53381 _ACEOF
53382
53383 fi
53384 done
53385
53386 fi
53387 fi
53388
53389
53390
53391
53392
53393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53394 $as_echo_n "checking for fpclass declaration... " >&6; }
53395 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53396 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53397 $as_echo_n "(cached) " >&6
53398 else
53399
53400
53401 ac_ext=cpp
53402 ac_cpp='$CXXCPP $CPPFLAGS'
53403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53406
53407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53408 /* end confdefs.h. */
53409 #include <math.h>
53410 #ifdef HAVE_IEEEFP_H
53411 #include <ieeefp.h>
53412 #endif
53413
53414 int
53415 main ()
53416 {
53417 fpclass(0);
53418 ;
53419 return 0;
53420 }
53421 _ACEOF
53422 if ac_fn_cxx_try_compile "$LINENO"; then :
53423 glibcxx_cv_func_fpclass_use=yes
53424 else
53425 glibcxx_cv_func_fpclass_use=no
53426 fi
53427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53428 ac_ext=c
53429 ac_cpp='$CPP $CPPFLAGS'
53430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53433
53434
53435 fi
53436
53437 fi
53438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53439 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53440
53441 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53442 for ac_func in fpclass
53443 do :
53444 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53445 if test "x$ac_cv_func_fpclass" = x""yes; then :
53446 cat >>confdefs.h <<_ACEOF
53447 #define HAVE_FPCLASS 1
53448 _ACEOF
53449
53450 fi
53451 done
53452
53453 else
53454
53455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53456 $as_echo_n "checking for _fpclass declaration... " >&6; }
53457 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53458 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53459 $as_echo_n "(cached) " >&6
53460 else
53461
53462
53463 ac_ext=cpp
53464 ac_cpp='$CXXCPP $CPPFLAGS'
53465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53468
53469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53470 /* end confdefs.h. */
53471 #include <math.h>
53472 #ifdef HAVE_IEEEFP_H
53473 #include <ieeefp.h>
53474 #endif
53475
53476 int
53477 main ()
53478 {
53479 _fpclass(0);
53480 ;
53481 return 0;
53482 }
53483 _ACEOF
53484 if ac_fn_cxx_try_compile "$LINENO"; then :
53485 glibcxx_cv_func__fpclass_use=yes
53486 else
53487 glibcxx_cv_func__fpclass_use=no
53488 fi
53489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53490 ac_ext=c
53491 ac_cpp='$CPP $CPPFLAGS'
53492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53495
53496
53497 fi
53498
53499 fi
53500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53501 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53502
53503 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53504 for ac_func in _fpclass
53505 do :
53506 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53507 if test "x$ac_cv_func__fpclass" = x""yes; then :
53508 cat >>confdefs.h <<_ACEOF
53509 #define HAVE__FPCLASS 1
53510 _ACEOF
53511
53512 fi
53513 done
53514
53515 fi
53516 fi
53517
53518
53519
53520
53521
53522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53523 $as_echo_n "checking for qfpclass declaration... " >&6; }
53524 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53525 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53526 $as_echo_n "(cached) " >&6
53527 else
53528
53529
53530 ac_ext=cpp
53531 ac_cpp='$CXXCPP $CPPFLAGS'
53532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53535
53536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53537 /* end confdefs.h. */
53538 #include <math.h>
53539 #ifdef HAVE_IEEEFP_H
53540 #include <ieeefp.h>
53541 #endif
53542
53543 int
53544 main ()
53545 {
53546 qfpclass(0);
53547 ;
53548 return 0;
53549 }
53550 _ACEOF
53551 if ac_fn_cxx_try_compile "$LINENO"; then :
53552 glibcxx_cv_func_qfpclass_use=yes
53553 else
53554 glibcxx_cv_func_qfpclass_use=no
53555 fi
53556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53557 ac_ext=c
53558 ac_cpp='$CPP $CPPFLAGS'
53559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53562
53563
53564 fi
53565
53566 fi
53567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53568 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53569
53570 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53571 for ac_func in qfpclass
53572 do :
53573 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53574 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53575 cat >>confdefs.h <<_ACEOF
53576 #define HAVE_QFPCLASS 1
53577 _ACEOF
53578
53579 fi
53580 done
53581
53582 else
53583
53584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53585 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53586 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53587 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53588 $as_echo_n "(cached) " >&6
53589 else
53590
53591
53592 ac_ext=cpp
53593 ac_cpp='$CXXCPP $CPPFLAGS'
53594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53597
53598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53599 /* end confdefs.h. */
53600 #include <math.h>
53601 #ifdef HAVE_IEEEFP_H
53602 #include <ieeefp.h>
53603 #endif
53604
53605 int
53606 main ()
53607 {
53608 _qfpclass(0);
53609 ;
53610 return 0;
53611 }
53612 _ACEOF
53613 if ac_fn_cxx_try_compile "$LINENO"; then :
53614 glibcxx_cv_func__qfpclass_use=yes
53615 else
53616 glibcxx_cv_func__qfpclass_use=no
53617 fi
53618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53619 ac_ext=c
53620 ac_cpp='$CPP $CPPFLAGS'
53621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53624
53625
53626 fi
53627
53628 fi
53629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53630 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53631
53632 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53633 for ac_func in _qfpclass
53634 do :
53635 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53636 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53637 cat >>confdefs.h <<_ACEOF
53638 #define HAVE__QFPCLASS 1
53639 _ACEOF
53640
53641 fi
53642 done
53643
53644 fi
53645 fi
53646
53647
53648
53649
53650
53651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53652 $as_echo_n "checking for hypot declaration... " >&6; }
53653 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53654 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53655 $as_echo_n "(cached) " >&6
53656 else
53657
53658
53659 ac_ext=cpp
53660 ac_cpp='$CXXCPP $CPPFLAGS'
53661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53664
53665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53666 /* end confdefs.h. */
53667 #include <math.h>
53668 int
53669 main ()
53670 {
53671 hypot(0, 0);
53672 ;
53673 return 0;
53674 }
53675 _ACEOF
53676 if ac_fn_cxx_try_compile "$LINENO"; then :
53677 glibcxx_cv_func_hypot_use=yes
53678 else
53679 glibcxx_cv_func_hypot_use=no
53680 fi
53681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53682 ac_ext=c
53683 ac_cpp='$CPP $CPPFLAGS'
53684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53687
53688
53689 fi
53690
53691 fi
53692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53693 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53694
53695 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53696 for ac_func in hypot
53697 do :
53698 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53699 if test "x$ac_cv_func_hypot" = x""yes; then :
53700 cat >>confdefs.h <<_ACEOF
53701 #define HAVE_HYPOT 1
53702 _ACEOF
53703
53704 fi
53705 done
53706
53707 else
53708
53709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53710 $as_echo_n "checking for _hypot declaration... " >&6; }
53711 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53712 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53713 $as_echo_n "(cached) " >&6
53714 else
53715
53716
53717 ac_ext=cpp
53718 ac_cpp='$CXXCPP $CPPFLAGS'
53719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53722
53723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53724 /* end confdefs.h. */
53725 #include <math.h>
53726 int
53727 main ()
53728 {
53729 _hypot(0, 0);
53730 ;
53731 return 0;
53732 }
53733 _ACEOF
53734 if ac_fn_cxx_try_compile "$LINENO"; then :
53735 glibcxx_cv_func__hypot_use=yes
53736 else
53737 glibcxx_cv_func__hypot_use=no
53738 fi
53739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53740 ac_ext=c
53741 ac_cpp='$CPP $CPPFLAGS'
53742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53745
53746
53747 fi
53748
53749 fi
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53751 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53752
53753 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53754 for ac_func in _hypot
53755 do :
53756 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53757 if test "x$ac_cv_func__hypot" = x""yes; then :
53758 cat >>confdefs.h <<_ACEOF
53759 #define HAVE__HYPOT 1
53760 _ACEOF
53761
53762 fi
53763 done
53764
53765 fi
53766 fi
53767
53768
53769
53770
53771
53772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53773 $as_echo_n "checking for float trig functions... " >&6; }
53774 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53775 $as_echo_n "(cached) " >&6
53776 else
53777
53778
53779 ac_ext=cpp
53780 ac_cpp='$CXXCPP $CPPFLAGS'
53781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53784
53785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53786 /* end confdefs.h. */
53787 #include <math.h>
53788 int
53789 main ()
53790 {
53791 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53792 ;
53793 return 0;
53794 }
53795 _ACEOF
53796 if ac_fn_cxx_try_compile "$LINENO"; then :
53797 glibcxx_cv_func_float_trig_use=yes
53798 else
53799 glibcxx_cv_func_float_trig_use=no
53800 fi
53801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53802 ac_ext=c
53803 ac_cpp='$CPP $CPPFLAGS'
53804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53807
53808 fi
53809
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53811 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53812 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53813 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53814 do :
53815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53817 eval as_val=\$$as_ac_var
53818 if test "x$as_val" = x""yes; then :
53819 cat >>confdefs.h <<_ACEOF
53820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53821 _ACEOF
53822
53823 fi
53824 done
53825
53826 else
53827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53828 $as_echo_n "checking for _float trig functions... " >&6; }
53829 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53830 $as_echo_n "(cached) " >&6
53831 else
53832
53833
53834 ac_ext=cpp
53835 ac_cpp='$CXXCPP $CPPFLAGS'
53836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53839
53840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53841 /* end confdefs.h. */
53842 #include <math.h>
53843 int
53844 main ()
53845 {
53846 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53847 ;
53848 return 0;
53849 }
53850 _ACEOF
53851 if ac_fn_cxx_try_compile "$LINENO"; then :
53852 glibcxx_cv_func__float_trig_use=yes
53853 else
53854 glibcxx_cv_func__float_trig_use=no
53855 fi
53856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53857 ac_ext=c
53858 ac_cpp='$CPP $CPPFLAGS'
53859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53862
53863 fi
53864
53865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53866 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53867 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53868 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53869 do :
53870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53872 eval as_val=\$$as_ac_var
53873 if test "x$as_val" = x""yes; then :
53874 cat >>confdefs.h <<_ACEOF
53875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53876 _ACEOF
53877
53878 fi
53879 done
53880
53881 fi
53882 fi
53883
53884
53885
53886
53887
53888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53889 $as_echo_n "checking for float round functions... " >&6; }
53890 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53891 $as_echo_n "(cached) " >&6
53892 else
53893
53894
53895 ac_ext=cpp
53896 ac_cpp='$CXXCPP $CPPFLAGS'
53897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53900
53901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53902 /* end confdefs.h. */
53903 #include <math.h>
53904 int
53905 main ()
53906 {
53907 ceilf (0); floorf (0);
53908 ;
53909 return 0;
53910 }
53911 _ACEOF
53912 if ac_fn_cxx_try_compile "$LINENO"; then :
53913 glibcxx_cv_func_float_round_use=yes
53914 else
53915 glibcxx_cv_func_float_round_use=no
53916 fi
53917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53918 ac_ext=c
53919 ac_cpp='$CPP $CPPFLAGS'
53920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53923
53924 fi
53925
53926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53927 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53928 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53929 for ac_func in ceilf floorf
53930 do :
53931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53933 eval as_val=\$$as_ac_var
53934 if test "x$as_val" = x""yes; then :
53935 cat >>confdefs.h <<_ACEOF
53936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53937 _ACEOF
53938
53939 fi
53940 done
53941
53942 else
53943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53944 $as_echo_n "checking for _float round functions... " >&6; }
53945 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53946 $as_echo_n "(cached) " >&6
53947 else
53948
53949
53950 ac_ext=cpp
53951 ac_cpp='$CXXCPP $CPPFLAGS'
53952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53955
53956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53957 /* end confdefs.h. */
53958 #include <math.h>
53959 int
53960 main ()
53961 {
53962 _ceilf (0); _floorf (0);
53963 ;
53964 return 0;
53965 }
53966 _ACEOF
53967 if ac_fn_cxx_try_compile "$LINENO"; then :
53968 glibcxx_cv_func__float_round_use=yes
53969 else
53970 glibcxx_cv_func__float_round_use=no
53971 fi
53972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53973 ac_ext=c
53974 ac_cpp='$CPP $CPPFLAGS'
53975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53978
53979 fi
53980
53981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53982 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53983 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53984 for ac_func in _ceilf _floorf
53985 do :
53986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53988 eval as_val=\$$as_ac_var
53989 if test "x$as_val" = x""yes; then :
53990 cat >>confdefs.h <<_ACEOF
53991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53992 _ACEOF
53993
53994 fi
53995 done
53996
53997 fi
53998 fi
53999
54000
54001
54002
54003
54004
54005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54006 $as_echo_n "checking for expf declaration... " >&6; }
54007 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54008 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54009 $as_echo_n "(cached) " >&6
54010 else
54011
54012
54013 ac_ext=cpp
54014 ac_cpp='$CXXCPP $CPPFLAGS'
54015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54018
54019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54020 /* end confdefs.h. */
54021 #include <math.h>
54022 #ifdef HAVE_IEEEFP_H
54023 #include <ieeefp.h>
54024 #endif
54025
54026 int
54027 main ()
54028 {
54029 expf(0);
54030 ;
54031 return 0;
54032 }
54033 _ACEOF
54034 if ac_fn_cxx_try_compile "$LINENO"; then :
54035 glibcxx_cv_func_expf_use=yes
54036 else
54037 glibcxx_cv_func_expf_use=no
54038 fi
54039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54040 ac_ext=c
54041 ac_cpp='$CPP $CPPFLAGS'
54042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54045
54046
54047 fi
54048
54049 fi
54050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54051 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54052
54053 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54054 for ac_func in expf
54055 do :
54056 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54057 if test "x$ac_cv_func_expf" = x""yes; then :
54058 cat >>confdefs.h <<_ACEOF
54059 #define HAVE_EXPF 1
54060 _ACEOF
54061
54062 fi
54063 done
54064
54065 else
54066
54067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54068 $as_echo_n "checking for _expf declaration... " >&6; }
54069 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54070 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54071 $as_echo_n "(cached) " >&6
54072 else
54073
54074
54075 ac_ext=cpp
54076 ac_cpp='$CXXCPP $CPPFLAGS'
54077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54080
54081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54082 /* end confdefs.h. */
54083 #include <math.h>
54084 #ifdef HAVE_IEEEFP_H
54085 #include <ieeefp.h>
54086 #endif
54087
54088 int
54089 main ()
54090 {
54091 _expf(0);
54092 ;
54093 return 0;
54094 }
54095 _ACEOF
54096 if ac_fn_cxx_try_compile "$LINENO"; then :
54097 glibcxx_cv_func__expf_use=yes
54098 else
54099 glibcxx_cv_func__expf_use=no
54100 fi
54101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54102 ac_ext=c
54103 ac_cpp='$CPP $CPPFLAGS'
54104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54107
54108
54109 fi
54110
54111 fi
54112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54113 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54114
54115 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54116 for ac_func in _expf
54117 do :
54118 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54119 if test "x$ac_cv_func__expf" = x""yes; then :
54120 cat >>confdefs.h <<_ACEOF
54121 #define HAVE__EXPF 1
54122 _ACEOF
54123
54124 fi
54125 done
54126
54127 fi
54128 fi
54129
54130
54131
54132
54133
54134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54135 $as_echo_n "checking for isnanf declaration... " >&6; }
54136 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54137 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54138 $as_echo_n "(cached) " >&6
54139 else
54140
54141
54142 ac_ext=cpp
54143 ac_cpp='$CXXCPP $CPPFLAGS'
54144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54147
54148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54149 /* end confdefs.h. */
54150 #include <math.h>
54151 #ifdef HAVE_IEEEFP_H
54152 #include <ieeefp.h>
54153 #endif
54154
54155 int
54156 main ()
54157 {
54158 isnanf(0);
54159 ;
54160 return 0;
54161 }
54162 _ACEOF
54163 if ac_fn_cxx_try_compile "$LINENO"; then :
54164 glibcxx_cv_func_isnanf_use=yes
54165 else
54166 glibcxx_cv_func_isnanf_use=no
54167 fi
54168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54169 ac_ext=c
54170 ac_cpp='$CPP $CPPFLAGS'
54171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54174
54175
54176 fi
54177
54178 fi
54179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54180 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54181
54182 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54183 for ac_func in isnanf
54184 do :
54185 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54186 if test "x$ac_cv_func_isnanf" = x""yes; then :
54187 cat >>confdefs.h <<_ACEOF
54188 #define HAVE_ISNANF 1
54189 _ACEOF
54190
54191 fi
54192 done
54193
54194 else
54195
54196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54197 $as_echo_n "checking for _isnanf declaration... " >&6; }
54198 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54199 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54200 $as_echo_n "(cached) " >&6
54201 else
54202
54203
54204 ac_ext=cpp
54205 ac_cpp='$CXXCPP $CPPFLAGS'
54206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54209
54210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54211 /* end confdefs.h. */
54212 #include <math.h>
54213 #ifdef HAVE_IEEEFP_H
54214 #include <ieeefp.h>
54215 #endif
54216
54217 int
54218 main ()
54219 {
54220 _isnanf(0);
54221 ;
54222 return 0;
54223 }
54224 _ACEOF
54225 if ac_fn_cxx_try_compile "$LINENO"; then :
54226 glibcxx_cv_func__isnanf_use=yes
54227 else
54228 glibcxx_cv_func__isnanf_use=no
54229 fi
54230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54231 ac_ext=c
54232 ac_cpp='$CPP $CPPFLAGS'
54233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54236
54237
54238 fi
54239
54240 fi
54241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54242 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54243
54244 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54245 for ac_func in _isnanf
54246 do :
54247 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54248 if test "x$ac_cv_func__isnanf" = x""yes; then :
54249 cat >>confdefs.h <<_ACEOF
54250 #define HAVE__ISNANF 1
54251 _ACEOF
54252
54253 fi
54254 done
54255
54256 fi
54257 fi
54258
54259
54260
54261
54262
54263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54264 $as_echo_n "checking for isinff declaration... " >&6; }
54265 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54266 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54267 $as_echo_n "(cached) " >&6
54268 else
54269
54270
54271 ac_ext=cpp
54272 ac_cpp='$CXXCPP $CPPFLAGS'
54273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54276
54277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54278 /* end confdefs.h. */
54279 #include <math.h>
54280 #ifdef HAVE_IEEEFP_H
54281 #include <ieeefp.h>
54282 #endif
54283
54284 int
54285 main ()
54286 {
54287 isinff(0);
54288 ;
54289 return 0;
54290 }
54291 _ACEOF
54292 if ac_fn_cxx_try_compile "$LINENO"; then :
54293 glibcxx_cv_func_isinff_use=yes
54294 else
54295 glibcxx_cv_func_isinff_use=no
54296 fi
54297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54298 ac_ext=c
54299 ac_cpp='$CPP $CPPFLAGS'
54300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54303
54304
54305 fi
54306
54307 fi
54308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54309 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54310
54311 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54312 for ac_func in isinff
54313 do :
54314 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54315 if test "x$ac_cv_func_isinff" = x""yes; then :
54316 cat >>confdefs.h <<_ACEOF
54317 #define HAVE_ISINFF 1
54318 _ACEOF
54319
54320 fi
54321 done
54322
54323 else
54324
54325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54326 $as_echo_n "checking for _isinff declaration... " >&6; }
54327 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54328 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54329 $as_echo_n "(cached) " >&6
54330 else
54331
54332
54333 ac_ext=cpp
54334 ac_cpp='$CXXCPP $CPPFLAGS'
54335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54338
54339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54340 /* end confdefs.h. */
54341 #include <math.h>
54342 #ifdef HAVE_IEEEFP_H
54343 #include <ieeefp.h>
54344 #endif
54345
54346 int
54347 main ()
54348 {
54349 _isinff(0);
54350 ;
54351 return 0;
54352 }
54353 _ACEOF
54354 if ac_fn_cxx_try_compile "$LINENO"; then :
54355 glibcxx_cv_func__isinff_use=yes
54356 else
54357 glibcxx_cv_func__isinff_use=no
54358 fi
54359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54360 ac_ext=c
54361 ac_cpp='$CPP $CPPFLAGS'
54362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54365
54366
54367 fi
54368
54369 fi
54370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54371 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54372
54373 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54374 for ac_func in _isinff
54375 do :
54376 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54377 if test "x$ac_cv_func__isinff" = x""yes; then :
54378 cat >>confdefs.h <<_ACEOF
54379 #define HAVE__ISINFF 1
54380 _ACEOF
54381
54382 fi
54383 done
54384
54385 fi
54386 fi
54387
54388
54389
54390
54391
54392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54393 $as_echo_n "checking for atan2f declaration... " >&6; }
54394 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54395 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54396 $as_echo_n "(cached) " >&6
54397 else
54398
54399
54400 ac_ext=cpp
54401 ac_cpp='$CXXCPP $CPPFLAGS'
54402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54405
54406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54407 /* end confdefs.h. */
54408 #include <math.h>
54409 int
54410 main ()
54411 {
54412 atan2f(0, 0);
54413 ;
54414 return 0;
54415 }
54416 _ACEOF
54417 if ac_fn_cxx_try_compile "$LINENO"; then :
54418 glibcxx_cv_func_atan2f_use=yes
54419 else
54420 glibcxx_cv_func_atan2f_use=no
54421 fi
54422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54423 ac_ext=c
54424 ac_cpp='$CPP $CPPFLAGS'
54425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54428
54429
54430 fi
54431
54432 fi
54433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54434 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54435
54436 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54437 for ac_func in atan2f
54438 do :
54439 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54440 if test "x$ac_cv_func_atan2f" = x""yes; then :
54441 cat >>confdefs.h <<_ACEOF
54442 #define HAVE_ATAN2F 1
54443 _ACEOF
54444
54445 fi
54446 done
54447
54448 else
54449
54450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54451 $as_echo_n "checking for _atan2f declaration... " >&6; }
54452 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54453 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54454 $as_echo_n "(cached) " >&6
54455 else
54456
54457
54458 ac_ext=cpp
54459 ac_cpp='$CXXCPP $CPPFLAGS'
54460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54463
54464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54465 /* end confdefs.h. */
54466 #include <math.h>
54467 int
54468 main ()
54469 {
54470 _atan2f(0, 0);
54471 ;
54472 return 0;
54473 }
54474 _ACEOF
54475 if ac_fn_cxx_try_compile "$LINENO"; then :
54476 glibcxx_cv_func__atan2f_use=yes
54477 else
54478 glibcxx_cv_func__atan2f_use=no
54479 fi
54480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54481 ac_ext=c
54482 ac_cpp='$CPP $CPPFLAGS'
54483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54486
54487
54488 fi
54489
54490 fi
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54492 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54493
54494 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54495 for ac_func in _atan2f
54496 do :
54497 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54498 if test "x$ac_cv_func__atan2f" = x""yes; then :
54499 cat >>confdefs.h <<_ACEOF
54500 #define HAVE__ATAN2F 1
54501 _ACEOF
54502
54503 fi
54504 done
54505
54506 fi
54507 fi
54508
54509
54510
54511
54512
54513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54514 $as_echo_n "checking for fabsf declaration... " >&6; }
54515 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54516 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54517 $as_echo_n "(cached) " >&6
54518 else
54519
54520
54521 ac_ext=cpp
54522 ac_cpp='$CXXCPP $CPPFLAGS'
54523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54526
54527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54528 /* end confdefs.h. */
54529 #include <math.h>
54530 #ifdef HAVE_IEEEFP_H
54531 #include <ieeefp.h>
54532 #endif
54533
54534 int
54535 main ()
54536 {
54537 fabsf(0);
54538 ;
54539 return 0;
54540 }
54541 _ACEOF
54542 if ac_fn_cxx_try_compile "$LINENO"; then :
54543 glibcxx_cv_func_fabsf_use=yes
54544 else
54545 glibcxx_cv_func_fabsf_use=no
54546 fi
54547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54548 ac_ext=c
54549 ac_cpp='$CPP $CPPFLAGS'
54550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54553
54554
54555 fi
54556
54557 fi
54558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54559 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54560
54561 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54562 for ac_func in fabsf
54563 do :
54564 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54565 if test "x$ac_cv_func_fabsf" = x""yes; then :
54566 cat >>confdefs.h <<_ACEOF
54567 #define HAVE_FABSF 1
54568 _ACEOF
54569
54570 fi
54571 done
54572
54573 else
54574
54575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54576 $as_echo_n "checking for _fabsf declaration... " >&6; }
54577 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54578 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54579 $as_echo_n "(cached) " >&6
54580 else
54581
54582
54583 ac_ext=cpp
54584 ac_cpp='$CXXCPP $CPPFLAGS'
54585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54588
54589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54590 /* end confdefs.h. */
54591 #include <math.h>
54592 #ifdef HAVE_IEEEFP_H
54593 #include <ieeefp.h>
54594 #endif
54595
54596 int
54597 main ()
54598 {
54599 _fabsf(0);
54600 ;
54601 return 0;
54602 }
54603 _ACEOF
54604 if ac_fn_cxx_try_compile "$LINENO"; then :
54605 glibcxx_cv_func__fabsf_use=yes
54606 else
54607 glibcxx_cv_func__fabsf_use=no
54608 fi
54609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54610 ac_ext=c
54611 ac_cpp='$CPP $CPPFLAGS'
54612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54615
54616
54617 fi
54618
54619 fi
54620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54621 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54622
54623 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54624 for ac_func in _fabsf
54625 do :
54626 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54627 if test "x$ac_cv_func__fabsf" = x""yes; then :
54628 cat >>confdefs.h <<_ACEOF
54629 #define HAVE__FABSF 1
54630 _ACEOF
54631
54632 fi
54633 done
54634
54635 fi
54636 fi
54637
54638
54639
54640
54641
54642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54643 $as_echo_n "checking for fmodf declaration... " >&6; }
54644 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54645 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54646 $as_echo_n "(cached) " >&6
54647 else
54648
54649
54650 ac_ext=cpp
54651 ac_cpp='$CXXCPP $CPPFLAGS'
54652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54655
54656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54657 /* end confdefs.h. */
54658 #include <math.h>
54659 int
54660 main ()
54661 {
54662 fmodf(0, 0);
54663 ;
54664 return 0;
54665 }
54666 _ACEOF
54667 if ac_fn_cxx_try_compile "$LINENO"; then :
54668 glibcxx_cv_func_fmodf_use=yes
54669 else
54670 glibcxx_cv_func_fmodf_use=no
54671 fi
54672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54673 ac_ext=c
54674 ac_cpp='$CPP $CPPFLAGS'
54675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54678
54679
54680 fi
54681
54682 fi
54683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54684 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54685
54686 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54687 for ac_func in fmodf
54688 do :
54689 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54690 if test "x$ac_cv_func_fmodf" = x""yes; then :
54691 cat >>confdefs.h <<_ACEOF
54692 #define HAVE_FMODF 1
54693 _ACEOF
54694
54695 fi
54696 done
54697
54698 else
54699
54700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54701 $as_echo_n "checking for _fmodf declaration... " >&6; }
54702 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54703 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54704 $as_echo_n "(cached) " >&6
54705 else
54706
54707
54708 ac_ext=cpp
54709 ac_cpp='$CXXCPP $CPPFLAGS'
54710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54713
54714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54715 /* end confdefs.h. */
54716 #include <math.h>
54717 int
54718 main ()
54719 {
54720 _fmodf(0, 0);
54721 ;
54722 return 0;
54723 }
54724 _ACEOF
54725 if ac_fn_cxx_try_compile "$LINENO"; then :
54726 glibcxx_cv_func__fmodf_use=yes
54727 else
54728 glibcxx_cv_func__fmodf_use=no
54729 fi
54730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54731 ac_ext=c
54732 ac_cpp='$CPP $CPPFLAGS'
54733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54736
54737
54738 fi
54739
54740 fi
54741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54742 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54743
54744 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54745 for ac_func in _fmodf
54746 do :
54747 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54748 if test "x$ac_cv_func__fmodf" = x""yes; then :
54749 cat >>confdefs.h <<_ACEOF
54750 #define HAVE__FMODF 1
54751 _ACEOF
54752
54753 fi
54754 done
54755
54756 fi
54757 fi
54758
54759
54760
54761
54762
54763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54764 $as_echo_n "checking for frexpf declaration... " >&6; }
54765 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54766 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54767 $as_echo_n "(cached) " >&6
54768 else
54769
54770
54771 ac_ext=cpp
54772 ac_cpp='$CXXCPP $CPPFLAGS'
54773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54776
54777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54778 /* end confdefs.h. */
54779 #include <math.h>
54780 int
54781 main ()
54782 {
54783 frexpf(0, 0);
54784 ;
54785 return 0;
54786 }
54787 _ACEOF
54788 if ac_fn_cxx_try_compile "$LINENO"; then :
54789 glibcxx_cv_func_frexpf_use=yes
54790 else
54791 glibcxx_cv_func_frexpf_use=no
54792 fi
54793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54794 ac_ext=c
54795 ac_cpp='$CPP $CPPFLAGS'
54796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54799
54800
54801 fi
54802
54803 fi
54804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54805 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54806
54807 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54808 for ac_func in frexpf
54809 do :
54810 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54811 if test "x$ac_cv_func_frexpf" = x""yes; then :
54812 cat >>confdefs.h <<_ACEOF
54813 #define HAVE_FREXPF 1
54814 _ACEOF
54815
54816 fi
54817 done
54818
54819 else
54820
54821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54822 $as_echo_n "checking for _frexpf declaration... " >&6; }
54823 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54824 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54825 $as_echo_n "(cached) " >&6
54826 else
54827
54828
54829 ac_ext=cpp
54830 ac_cpp='$CXXCPP $CPPFLAGS'
54831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54834
54835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54836 /* end confdefs.h. */
54837 #include <math.h>
54838 int
54839 main ()
54840 {
54841 _frexpf(0, 0);
54842 ;
54843 return 0;
54844 }
54845 _ACEOF
54846 if ac_fn_cxx_try_compile "$LINENO"; then :
54847 glibcxx_cv_func__frexpf_use=yes
54848 else
54849 glibcxx_cv_func__frexpf_use=no
54850 fi
54851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54852 ac_ext=c
54853 ac_cpp='$CPP $CPPFLAGS'
54854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54857
54858
54859 fi
54860
54861 fi
54862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54863 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54864
54865 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54866 for ac_func in _frexpf
54867 do :
54868 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54869 if test "x$ac_cv_func__frexpf" = x""yes; then :
54870 cat >>confdefs.h <<_ACEOF
54871 #define HAVE__FREXPF 1
54872 _ACEOF
54873
54874 fi
54875 done
54876
54877 fi
54878 fi
54879
54880
54881
54882
54883
54884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54885 $as_echo_n "checking for hypotf declaration... " >&6; }
54886 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54887 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54888 $as_echo_n "(cached) " >&6
54889 else
54890
54891
54892 ac_ext=cpp
54893 ac_cpp='$CXXCPP $CPPFLAGS'
54894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54897
54898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54899 /* end confdefs.h. */
54900 #include <math.h>
54901 int
54902 main ()
54903 {
54904 hypotf(0, 0);
54905 ;
54906 return 0;
54907 }
54908 _ACEOF
54909 if ac_fn_cxx_try_compile "$LINENO"; then :
54910 glibcxx_cv_func_hypotf_use=yes
54911 else
54912 glibcxx_cv_func_hypotf_use=no
54913 fi
54914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54915 ac_ext=c
54916 ac_cpp='$CPP $CPPFLAGS'
54917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54920
54921
54922 fi
54923
54924 fi
54925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54926 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54927
54928 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54929 for ac_func in hypotf
54930 do :
54931 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54932 if test "x$ac_cv_func_hypotf" = x""yes; then :
54933 cat >>confdefs.h <<_ACEOF
54934 #define HAVE_HYPOTF 1
54935 _ACEOF
54936
54937 fi
54938 done
54939
54940 else
54941
54942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54943 $as_echo_n "checking for _hypotf declaration... " >&6; }
54944 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54945 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54946 $as_echo_n "(cached) " >&6
54947 else
54948
54949
54950 ac_ext=cpp
54951 ac_cpp='$CXXCPP $CPPFLAGS'
54952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54955
54956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54957 /* end confdefs.h. */
54958 #include <math.h>
54959 int
54960 main ()
54961 {
54962 _hypotf(0, 0);
54963 ;
54964 return 0;
54965 }
54966 _ACEOF
54967 if ac_fn_cxx_try_compile "$LINENO"; then :
54968 glibcxx_cv_func__hypotf_use=yes
54969 else
54970 glibcxx_cv_func__hypotf_use=no
54971 fi
54972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54973 ac_ext=c
54974 ac_cpp='$CPP $CPPFLAGS'
54975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54978
54979
54980 fi
54981
54982 fi
54983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54984 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54985
54986 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54987 for ac_func in _hypotf
54988 do :
54989 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54990 if test "x$ac_cv_func__hypotf" = x""yes; then :
54991 cat >>confdefs.h <<_ACEOF
54992 #define HAVE__HYPOTF 1
54993 _ACEOF
54994
54995 fi
54996 done
54997
54998 fi
54999 fi
55000
55001
55002
55003
55004
55005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55006 $as_echo_n "checking for ldexpf declaration... " >&6; }
55007 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55008 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55009 $as_echo_n "(cached) " >&6
55010 else
55011
55012
55013 ac_ext=cpp
55014 ac_cpp='$CXXCPP $CPPFLAGS'
55015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55018
55019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55020 /* end confdefs.h. */
55021 #include <math.h>
55022 int
55023 main ()
55024 {
55025 ldexpf(0, 0);
55026 ;
55027 return 0;
55028 }
55029 _ACEOF
55030 if ac_fn_cxx_try_compile "$LINENO"; then :
55031 glibcxx_cv_func_ldexpf_use=yes
55032 else
55033 glibcxx_cv_func_ldexpf_use=no
55034 fi
55035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55036 ac_ext=c
55037 ac_cpp='$CPP $CPPFLAGS'
55038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55041
55042
55043 fi
55044
55045 fi
55046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55047 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55048
55049 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55050 for ac_func in ldexpf
55051 do :
55052 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55053 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55054 cat >>confdefs.h <<_ACEOF
55055 #define HAVE_LDEXPF 1
55056 _ACEOF
55057
55058 fi
55059 done
55060
55061 else
55062
55063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55064 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55065 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55066 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55067 $as_echo_n "(cached) " >&6
55068 else
55069
55070
55071 ac_ext=cpp
55072 ac_cpp='$CXXCPP $CPPFLAGS'
55073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55076
55077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55078 /* end confdefs.h. */
55079 #include <math.h>
55080 int
55081 main ()
55082 {
55083 _ldexpf(0, 0);
55084 ;
55085 return 0;
55086 }
55087 _ACEOF
55088 if ac_fn_cxx_try_compile "$LINENO"; then :
55089 glibcxx_cv_func__ldexpf_use=yes
55090 else
55091 glibcxx_cv_func__ldexpf_use=no
55092 fi
55093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55094 ac_ext=c
55095 ac_cpp='$CPP $CPPFLAGS'
55096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55099
55100
55101 fi
55102
55103 fi
55104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55105 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55106
55107 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55108 for ac_func in _ldexpf
55109 do :
55110 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55111 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55112 cat >>confdefs.h <<_ACEOF
55113 #define HAVE__LDEXPF 1
55114 _ACEOF
55115
55116 fi
55117 done
55118
55119 fi
55120 fi
55121
55122
55123
55124
55125
55126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55127 $as_echo_n "checking for logf declaration... " >&6; }
55128 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55129 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55130 $as_echo_n "(cached) " >&6
55131 else
55132
55133
55134 ac_ext=cpp
55135 ac_cpp='$CXXCPP $CPPFLAGS'
55136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55139
55140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55141 /* end confdefs.h. */
55142 #include <math.h>
55143 #ifdef HAVE_IEEEFP_H
55144 #include <ieeefp.h>
55145 #endif
55146
55147 int
55148 main ()
55149 {
55150 logf(0);
55151 ;
55152 return 0;
55153 }
55154 _ACEOF
55155 if ac_fn_cxx_try_compile "$LINENO"; then :
55156 glibcxx_cv_func_logf_use=yes
55157 else
55158 glibcxx_cv_func_logf_use=no
55159 fi
55160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55161 ac_ext=c
55162 ac_cpp='$CPP $CPPFLAGS'
55163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55166
55167
55168 fi
55169
55170 fi
55171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55172 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55173
55174 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55175 for ac_func in logf
55176 do :
55177 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55178 if test "x$ac_cv_func_logf" = x""yes; then :
55179 cat >>confdefs.h <<_ACEOF
55180 #define HAVE_LOGF 1
55181 _ACEOF
55182
55183 fi
55184 done
55185
55186 else
55187
55188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55189 $as_echo_n "checking for _logf declaration... " >&6; }
55190 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55191 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55192 $as_echo_n "(cached) " >&6
55193 else
55194
55195
55196 ac_ext=cpp
55197 ac_cpp='$CXXCPP $CPPFLAGS'
55198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55201
55202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55203 /* end confdefs.h. */
55204 #include <math.h>
55205 #ifdef HAVE_IEEEFP_H
55206 #include <ieeefp.h>
55207 #endif
55208
55209 int
55210 main ()
55211 {
55212 _logf(0);
55213 ;
55214 return 0;
55215 }
55216 _ACEOF
55217 if ac_fn_cxx_try_compile "$LINENO"; then :
55218 glibcxx_cv_func__logf_use=yes
55219 else
55220 glibcxx_cv_func__logf_use=no
55221 fi
55222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55223 ac_ext=c
55224 ac_cpp='$CPP $CPPFLAGS'
55225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55228
55229
55230 fi
55231
55232 fi
55233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55234 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55235
55236 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55237 for ac_func in _logf
55238 do :
55239 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55240 if test "x$ac_cv_func__logf" = x""yes; then :
55241 cat >>confdefs.h <<_ACEOF
55242 #define HAVE__LOGF 1
55243 _ACEOF
55244
55245 fi
55246 done
55247
55248 fi
55249 fi
55250
55251
55252
55253
55254
55255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55256 $as_echo_n "checking for log10f declaration... " >&6; }
55257 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55258 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55259 $as_echo_n "(cached) " >&6
55260 else
55261
55262
55263 ac_ext=cpp
55264 ac_cpp='$CXXCPP $CPPFLAGS'
55265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55268
55269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55270 /* end confdefs.h. */
55271 #include <math.h>
55272 #ifdef HAVE_IEEEFP_H
55273 #include <ieeefp.h>
55274 #endif
55275
55276 int
55277 main ()
55278 {
55279 log10f(0);
55280 ;
55281 return 0;
55282 }
55283 _ACEOF
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285 glibcxx_cv_func_log10f_use=yes
55286 else
55287 glibcxx_cv_func_log10f_use=no
55288 fi
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55290 ac_ext=c
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55295
55296
55297 fi
55298
55299 fi
55300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55301 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55302
55303 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55304 for ac_func in log10f
55305 do :
55306 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55307 if test "x$ac_cv_func_log10f" = x""yes; then :
55308 cat >>confdefs.h <<_ACEOF
55309 #define HAVE_LOG10F 1
55310 _ACEOF
55311
55312 fi
55313 done
55314
55315 else
55316
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55318 $as_echo_n "checking for _log10f declaration... " >&6; }
55319 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55320 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55321 $as_echo_n "(cached) " >&6
55322 else
55323
55324
55325 ac_ext=cpp
55326 ac_cpp='$CXXCPP $CPPFLAGS'
55327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55330
55331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55332 /* end confdefs.h. */
55333 #include <math.h>
55334 #ifdef HAVE_IEEEFP_H
55335 #include <ieeefp.h>
55336 #endif
55337
55338 int
55339 main ()
55340 {
55341 _log10f(0);
55342 ;
55343 return 0;
55344 }
55345 _ACEOF
55346 if ac_fn_cxx_try_compile "$LINENO"; then :
55347 glibcxx_cv_func__log10f_use=yes
55348 else
55349 glibcxx_cv_func__log10f_use=no
55350 fi
55351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55352 ac_ext=c
55353 ac_cpp='$CPP $CPPFLAGS'
55354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55357
55358
55359 fi
55360
55361 fi
55362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55363 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55364
55365 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55366 for ac_func in _log10f
55367 do :
55368 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55369 if test "x$ac_cv_func__log10f" = x""yes; then :
55370 cat >>confdefs.h <<_ACEOF
55371 #define HAVE__LOG10F 1
55372 _ACEOF
55373
55374 fi
55375 done
55376
55377 fi
55378 fi
55379
55380
55381
55382
55383
55384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55385 $as_echo_n "checking for modff declaration... " >&6; }
55386 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55387 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55388 $as_echo_n "(cached) " >&6
55389 else
55390
55391
55392 ac_ext=cpp
55393 ac_cpp='$CXXCPP $CPPFLAGS'
55394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55397
55398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55399 /* end confdefs.h. */
55400 #include <math.h>
55401 int
55402 main ()
55403 {
55404 modff(0, 0);
55405 ;
55406 return 0;
55407 }
55408 _ACEOF
55409 if ac_fn_cxx_try_compile "$LINENO"; then :
55410 glibcxx_cv_func_modff_use=yes
55411 else
55412 glibcxx_cv_func_modff_use=no
55413 fi
55414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55415 ac_ext=c
55416 ac_cpp='$CPP $CPPFLAGS'
55417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55420
55421
55422 fi
55423
55424 fi
55425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55426 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55427
55428 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55429 for ac_func in modff
55430 do :
55431 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55432 if test "x$ac_cv_func_modff" = x""yes; then :
55433 cat >>confdefs.h <<_ACEOF
55434 #define HAVE_MODFF 1
55435 _ACEOF
55436
55437 fi
55438 done
55439
55440 else
55441
55442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55443 $as_echo_n "checking for _modff declaration... " >&6; }
55444 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55445 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55446 $as_echo_n "(cached) " >&6
55447 else
55448
55449
55450 ac_ext=cpp
55451 ac_cpp='$CXXCPP $CPPFLAGS'
55452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55455
55456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55457 /* end confdefs.h. */
55458 #include <math.h>
55459 int
55460 main ()
55461 {
55462 _modff(0, 0);
55463 ;
55464 return 0;
55465 }
55466 _ACEOF
55467 if ac_fn_cxx_try_compile "$LINENO"; then :
55468 glibcxx_cv_func__modff_use=yes
55469 else
55470 glibcxx_cv_func__modff_use=no
55471 fi
55472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55473 ac_ext=c
55474 ac_cpp='$CPP $CPPFLAGS'
55475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55478
55479
55480 fi
55481
55482 fi
55483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55484 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55485
55486 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55487 for ac_func in _modff
55488 do :
55489 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55490 if test "x$ac_cv_func__modff" = x""yes; then :
55491 cat >>confdefs.h <<_ACEOF
55492 #define HAVE__MODFF 1
55493 _ACEOF
55494
55495 fi
55496 done
55497
55498 fi
55499 fi
55500
55501
55502
55503
55504
55505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55506 $as_echo_n "checking for modf declaration... " >&6; }
55507 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55508 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55509 $as_echo_n "(cached) " >&6
55510 else
55511
55512
55513 ac_ext=cpp
55514 ac_cpp='$CXXCPP $CPPFLAGS'
55515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55518
55519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55520 /* end confdefs.h. */
55521 #include <math.h>
55522 int
55523 main ()
55524 {
55525 modf(0, 0);
55526 ;
55527 return 0;
55528 }
55529 _ACEOF
55530 if ac_fn_cxx_try_compile "$LINENO"; then :
55531 glibcxx_cv_func_modf_use=yes
55532 else
55533 glibcxx_cv_func_modf_use=no
55534 fi
55535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55536 ac_ext=c
55537 ac_cpp='$CPP $CPPFLAGS'
55538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55541
55542
55543 fi
55544
55545 fi
55546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55547 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55548
55549 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55550 for ac_func in modf
55551 do :
55552 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55553 if test "x$ac_cv_func_modf" = x""yes; then :
55554 cat >>confdefs.h <<_ACEOF
55555 #define HAVE_MODF 1
55556 _ACEOF
55557
55558 fi
55559 done
55560
55561 else
55562
55563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55564 $as_echo_n "checking for _modf declaration... " >&6; }
55565 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55566 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55567 $as_echo_n "(cached) " >&6
55568 else
55569
55570
55571 ac_ext=cpp
55572 ac_cpp='$CXXCPP $CPPFLAGS'
55573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55576
55577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55578 /* end confdefs.h. */
55579 #include <math.h>
55580 int
55581 main ()
55582 {
55583 _modf(0, 0);
55584 ;
55585 return 0;
55586 }
55587 _ACEOF
55588 if ac_fn_cxx_try_compile "$LINENO"; then :
55589 glibcxx_cv_func__modf_use=yes
55590 else
55591 glibcxx_cv_func__modf_use=no
55592 fi
55593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55594 ac_ext=c
55595 ac_cpp='$CPP $CPPFLAGS'
55596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55599
55600
55601 fi
55602
55603 fi
55604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55605 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55606
55607 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55608 for ac_func in _modf
55609 do :
55610 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55611 if test "x$ac_cv_func__modf" = x""yes; then :
55612 cat >>confdefs.h <<_ACEOF
55613 #define HAVE__MODF 1
55614 _ACEOF
55615
55616 fi
55617 done
55618
55619 fi
55620 fi
55621
55622
55623
55624
55625
55626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55627 $as_echo_n "checking for powf declaration... " >&6; }
55628 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55629 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55630 $as_echo_n "(cached) " >&6
55631 else
55632
55633
55634 ac_ext=cpp
55635 ac_cpp='$CXXCPP $CPPFLAGS'
55636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55639
55640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55641 /* end confdefs.h. */
55642 #include <math.h>
55643 int
55644 main ()
55645 {
55646 powf(0, 0);
55647 ;
55648 return 0;
55649 }
55650 _ACEOF
55651 if ac_fn_cxx_try_compile "$LINENO"; then :
55652 glibcxx_cv_func_powf_use=yes
55653 else
55654 glibcxx_cv_func_powf_use=no
55655 fi
55656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55657 ac_ext=c
55658 ac_cpp='$CPP $CPPFLAGS'
55659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55662
55663
55664 fi
55665
55666 fi
55667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55668 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55669
55670 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55671 for ac_func in powf
55672 do :
55673 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55674 if test "x$ac_cv_func_powf" = x""yes; then :
55675 cat >>confdefs.h <<_ACEOF
55676 #define HAVE_POWF 1
55677 _ACEOF
55678
55679 fi
55680 done
55681
55682 else
55683
55684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55685 $as_echo_n "checking for _powf declaration... " >&6; }
55686 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55687 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55688 $as_echo_n "(cached) " >&6
55689 else
55690
55691
55692 ac_ext=cpp
55693 ac_cpp='$CXXCPP $CPPFLAGS'
55694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55697
55698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55699 /* end confdefs.h. */
55700 #include <math.h>
55701 int
55702 main ()
55703 {
55704 _powf(0, 0);
55705 ;
55706 return 0;
55707 }
55708 _ACEOF
55709 if ac_fn_cxx_try_compile "$LINENO"; then :
55710 glibcxx_cv_func__powf_use=yes
55711 else
55712 glibcxx_cv_func__powf_use=no
55713 fi
55714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55715 ac_ext=c
55716 ac_cpp='$CPP $CPPFLAGS'
55717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55720
55721
55722 fi
55723
55724 fi
55725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55726 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55727
55728 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55729 for ac_func in _powf
55730 do :
55731 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55732 if test "x$ac_cv_func__powf" = x""yes; then :
55733 cat >>confdefs.h <<_ACEOF
55734 #define HAVE__POWF 1
55735 _ACEOF
55736
55737 fi
55738 done
55739
55740 fi
55741 fi
55742
55743
55744
55745
55746
55747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55748 $as_echo_n "checking for sqrtf declaration... " >&6; }
55749 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55750 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55751 $as_echo_n "(cached) " >&6
55752 else
55753
55754
55755 ac_ext=cpp
55756 ac_cpp='$CXXCPP $CPPFLAGS'
55757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55760
55761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55762 /* end confdefs.h. */
55763 #include <math.h>
55764 #ifdef HAVE_IEEEFP_H
55765 #include <ieeefp.h>
55766 #endif
55767
55768 int
55769 main ()
55770 {
55771 sqrtf(0);
55772 ;
55773 return 0;
55774 }
55775 _ACEOF
55776 if ac_fn_cxx_try_compile "$LINENO"; then :
55777 glibcxx_cv_func_sqrtf_use=yes
55778 else
55779 glibcxx_cv_func_sqrtf_use=no
55780 fi
55781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55782 ac_ext=c
55783 ac_cpp='$CPP $CPPFLAGS'
55784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55787
55788
55789 fi
55790
55791 fi
55792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55793 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55794
55795 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55796 for ac_func in sqrtf
55797 do :
55798 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55799 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55800 cat >>confdefs.h <<_ACEOF
55801 #define HAVE_SQRTF 1
55802 _ACEOF
55803
55804 fi
55805 done
55806
55807 else
55808
55809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55810 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55811 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55812 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55813 $as_echo_n "(cached) " >&6
55814 else
55815
55816
55817 ac_ext=cpp
55818 ac_cpp='$CXXCPP $CPPFLAGS'
55819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55822
55823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55824 /* end confdefs.h. */
55825 #include <math.h>
55826 #ifdef HAVE_IEEEFP_H
55827 #include <ieeefp.h>
55828 #endif
55829
55830 int
55831 main ()
55832 {
55833 _sqrtf(0);
55834 ;
55835 return 0;
55836 }
55837 _ACEOF
55838 if ac_fn_cxx_try_compile "$LINENO"; then :
55839 glibcxx_cv_func__sqrtf_use=yes
55840 else
55841 glibcxx_cv_func__sqrtf_use=no
55842 fi
55843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55844 ac_ext=c
55845 ac_cpp='$CPP $CPPFLAGS'
55846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55849
55850
55851 fi
55852
55853 fi
55854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55855 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55856
55857 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55858 for ac_func in _sqrtf
55859 do :
55860 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55861 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55862 cat >>confdefs.h <<_ACEOF
55863 #define HAVE__SQRTF 1
55864 _ACEOF
55865
55866 fi
55867 done
55868
55869 fi
55870 fi
55871
55872
55873
55874
55875
55876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55877 $as_echo_n "checking for sincosf declaration... " >&6; }
55878 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55879 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55880 $as_echo_n "(cached) " >&6
55881 else
55882
55883
55884 ac_ext=cpp
55885 ac_cpp='$CXXCPP $CPPFLAGS'
55886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55889
55890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55891 /* end confdefs.h. */
55892 #include <math.h>
55893 int
55894 main ()
55895 {
55896 sincosf(0, 0, 0);
55897 ;
55898 return 0;
55899 }
55900 _ACEOF
55901 if ac_fn_cxx_try_compile "$LINENO"; then :
55902 glibcxx_cv_func_sincosf_use=yes
55903 else
55904 glibcxx_cv_func_sincosf_use=no
55905 fi
55906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55907 ac_ext=c
55908 ac_cpp='$CPP $CPPFLAGS'
55909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55912
55913
55914 fi
55915
55916 fi
55917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55918 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55919
55920 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55921 for ac_func in sincosf
55922 do :
55923 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55924 if test "x$ac_cv_func_sincosf" = x""yes; then :
55925 cat >>confdefs.h <<_ACEOF
55926 #define HAVE_SINCOSF 1
55927 _ACEOF
55928
55929 fi
55930 done
55931
55932 else
55933
55934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55935 $as_echo_n "checking for _sincosf declaration... " >&6; }
55936 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55937 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55938 $as_echo_n "(cached) " >&6
55939 else
55940
55941
55942 ac_ext=cpp
55943 ac_cpp='$CXXCPP $CPPFLAGS'
55944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55947
55948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55949 /* end confdefs.h. */
55950 #include <math.h>
55951 int
55952 main ()
55953 {
55954 _sincosf(0, 0, 0);
55955 ;
55956 return 0;
55957 }
55958 _ACEOF
55959 if ac_fn_cxx_try_compile "$LINENO"; then :
55960 glibcxx_cv_func__sincosf_use=yes
55961 else
55962 glibcxx_cv_func__sincosf_use=no
55963 fi
55964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55965 ac_ext=c
55966 ac_cpp='$CPP $CPPFLAGS'
55967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55970
55971
55972 fi
55973
55974 fi
55975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55976 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55977
55978 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55979 for ac_func in _sincosf
55980 do :
55981 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55982 if test "x$ac_cv_func__sincosf" = x""yes; then :
55983 cat >>confdefs.h <<_ACEOF
55984 #define HAVE__SINCOSF 1
55985 _ACEOF
55986
55987 fi
55988 done
55989
55990 fi
55991 fi
55992
55993
55994
55995
55996
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55998 $as_echo_n "checking for finitef declaration... " >&6; }
55999 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56000 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56001 $as_echo_n "(cached) " >&6
56002 else
56003
56004
56005 ac_ext=cpp
56006 ac_cpp='$CXXCPP $CPPFLAGS'
56007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56010
56011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56012 /* end confdefs.h. */
56013 #include <math.h>
56014 #ifdef HAVE_IEEEFP_H
56015 #include <ieeefp.h>
56016 #endif
56017
56018 int
56019 main ()
56020 {
56021 finitef(0);
56022 ;
56023 return 0;
56024 }
56025 _ACEOF
56026 if ac_fn_cxx_try_compile "$LINENO"; then :
56027 glibcxx_cv_func_finitef_use=yes
56028 else
56029 glibcxx_cv_func_finitef_use=no
56030 fi
56031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56032 ac_ext=c
56033 ac_cpp='$CPP $CPPFLAGS'
56034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56037
56038
56039 fi
56040
56041 fi
56042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56043 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56044
56045 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56046 for ac_func in finitef
56047 do :
56048 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56049 if test "x$ac_cv_func_finitef" = x""yes; then :
56050 cat >>confdefs.h <<_ACEOF
56051 #define HAVE_FINITEF 1
56052 _ACEOF
56053
56054 fi
56055 done
56056
56057 else
56058
56059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56060 $as_echo_n "checking for _finitef declaration... " >&6; }
56061 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56062 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56063 $as_echo_n "(cached) " >&6
56064 else
56065
56066
56067 ac_ext=cpp
56068 ac_cpp='$CXXCPP $CPPFLAGS'
56069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56072
56073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56074 /* end confdefs.h. */
56075 #include <math.h>
56076 #ifdef HAVE_IEEEFP_H
56077 #include <ieeefp.h>
56078 #endif
56079
56080 int
56081 main ()
56082 {
56083 _finitef(0);
56084 ;
56085 return 0;
56086 }
56087 _ACEOF
56088 if ac_fn_cxx_try_compile "$LINENO"; then :
56089 glibcxx_cv_func__finitef_use=yes
56090 else
56091 glibcxx_cv_func__finitef_use=no
56092 fi
56093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56094 ac_ext=c
56095 ac_cpp='$CPP $CPPFLAGS'
56096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56099
56100
56101 fi
56102
56103 fi
56104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56105 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56106
56107 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56108 for ac_func in _finitef
56109 do :
56110 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56111 if test "x$ac_cv_func__finitef" = x""yes; then :
56112 cat >>confdefs.h <<_ACEOF
56113 #define HAVE__FINITEF 1
56114 _ACEOF
56115
56116 fi
56117 done
56118
56119 fi
56120 fi
56121
56122
56123
56124
56125
56126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56127 $as_echo_n "checking for long double trig functions... " >&6; }
56128 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56129 $as_echo_n "(cached) " >&6
56130 else
56131
56132
56133 ac_ext=cpp
56134 ac_cpp='$CXXCPP $CPPFLAGS'
56135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56138
56139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56140 /* end confdefs.h. */
56141 #include <math.h>
56142 int
56143 main ()
56144 {
56145 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56146 ;
56147 return 0;
56148 }
56149 _ACEOF
56150 if ac_fn_cxx_try_compile "$LINENO"; then :
56151 glibcxx_cv_func_long_double_trig_use=yes
56152 else
56153 glibcxx_cv_func_long_double_trig_use=no
56154 fi
56155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56156 ac_ext=c
56157 ac_cpp='$CPP $CPPFLAGS'
56158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56161
56162 fi
56163
56164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56165 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56166 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56167 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56168 do :
56169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56171 eval as_val=\$$as_ac_var
56172 if test "x$as_val" = x""yes; then :
56173 cat >>confdefs.h <<_ACEOF
56174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56175 _ACEOF
56176
56177 fi
56178 done
56179
56180 else
56181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56182 $as_echo_n "checking for _long double trig functions... " >&6; }
56183 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56184 $as_echo_n "(cached) " >&6
56185 else
56186
56187
56188 ac_ext=cpp
56189 ac_cpp='$CXXCPP $CPPFLAGS'
56190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56193
56194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56195 /* end confdefs.h. */
56196 #include <math.h>
56197 int
56198 main ()
56199 {
56200 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56201 ;
56202 return 0;
56203 }
56204 _ACEOF
56205 if ac_fn_cxx_try_compile "$LINENO"; then :
56206 glibcxx_cv_func__long_double_trig_use=yes
56207 else
56208 glibcxx_cv_func__long_double_trig_use=no
56209 fi
56210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56211 ac_ext=c
56212 ac_cpp='$CPP $CPPFLAGS'
56213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56216
56217 fi
56218
56219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56220 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56221 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56222 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56223 do :
56224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56226 eval as_val=\$$as_ac_var
56227 if test "x$as_val" = x""yes; then :
56228 cat >>confdefs.h <<_ACEOF
56229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56230 _ACEOF
56231
56232 fi
56233 done
56234
56235 fi
56236 fi
56237
56238
56239
56240
56241
56242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56243 $as_echo_n "checking for long double round functions... " >&6; }
56244 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56245 $as_echo_n "(cached) " >&6
56246 else
56247
56248
56249 ac_ext=cpp
56250 ac_cpp='$CXXCPP $CPPFLAGS'
56251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56254
56255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56256 /* end confdefs.h. */
56257 #include <math.h>
56258 int
56259 main ()
56260 {
56261 ceill (0); floorl (0);
56262 ;
56263 return 0;
56264 }
56265 _ACEOF
56266 if ac_fn_cxx_try_compile "$LINENO"; then :
56267 glibcxx_cv_func_long_double_round_use=yes
56268 else
56269 glibcxx_cv_func_long_double_round_use=no
56270 fi
56271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56272 ac_ext=c
56273 ac_cpp='$CPP $CPPFLAGS'
56274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56277
56278 fi
56279
56280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56281 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56282 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56283 for ac_func in ceill floorl
56284 do :
56285 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56287 eval as_val=\$$as_ac_var
56288 if test "x$as_val" = x""yes; then :
56289 cat >>confdefs.h <<_ACEOF
56290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56291 _ACEOF
56292
56293 fi
56294 done
56295
56296 else
56297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56298 $as_echo_n "checking for _long double round functions... " >&6; }
56299 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56300 $as_echo_n "(cached) " >&6
56301 else
56302
56303
56304 ac_ext=cpp
56305 ac_cpp='$CXXCPP $CPPFLAGS'
56306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56309
56310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56311 /* end confdefs.h. */
56312 #include <math.h>
56313 int
56314 main ()
56315 {
56316 _ceill (0); _floorl (0);
56317 ;
56318 return 0;
56319 }
56320 _ACEOF
56321 if ac_fn_cxx_try_compile "$LINENO"; then :
56322 glibcxx_cv_func__long_double_round_use=yes
56323 else
56324 glibcxx_cv_func__long_double_round_use=no
56325 fi
56326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56327 ac_ext=c
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56332
56333 fi
56334
56335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56336 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56337 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56338 for ac_func in _ceill _floorl
56339 do :
56340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56342 eval as_val=\$$as_ac_var
56343 if test "x$as_val" = x""yes; then :
56344 cat >>confdefs.h <<_ACEOF
56345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56346 _ACEOF
56347
56348 fi
56349 done
56350
56351 fi
56352 fi
56353
56354
56355
56356
56357
56358
56359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56360 $as_echo_n "checking for isnanl declaration... " >&6; }
56361 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56362 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56363 $as_echo_n "(cached) " >&6
56364 else
56365
56366
56367 ac_ext=cpp
56368 ac_cpp='$CXXCPP $CPPFLAGS'
56369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56372
56373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56374 /* end confdefs.h. */
56375 #include <math.h>
56376 #ifdef HAVE_IEEEFP_H
56377 #include <ieeefp.h>
56378 #endif
56379
56380 int
56381 main ()
56382 {
56383 isnanl(0);
56384 ;
56385 return 0;
56386 }
56387 _ACEOF
56388 if ac_fn_cxx_try_compile "$LINENO"; then :
56389 glibcxx_cv_func_isnanl_use=yes
56390 else
56391 glibcxx_cv_func_isnanl_use=no
56392 fi
56393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56394 ac_ext=c
56395 ac_cpp='$CPP $CPPFLAGS'
56396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56399
56400
56401 fi
56402
56403 fi
56404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56405 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56406
56407 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56408 for ac_func in isnanl
56409 do :
56410 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56411 if test "x$ac_cv_func_isnanl" = x""yes; then :
56412 cat >>confdefs.h <<_ACEOF
56413 #define HAVE_ISNANL 1
56414 _ACEOF
56415
56416 fi
56417 done
56418
56419 else
56420
56421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56422 $as_echo_n "checking for _isnanl declaration... " >&6; }
56423 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56424 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56425 $as_echo_n "(cached) " >&6
56426 else
56427
56428
56429 ac_ext=cpp
56430 ac_cpp='$CXXCPP $CPPFLAGS'
56431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56434
56435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56436 /* end confdefs.h. */
56437 #include <math.h>
56438 #ifdef HAVE_IEEEFP_H
56439 #include <ieeefp.h>
56440 #endif
56441
56442 int
56443 main ()
56444 {
56445 _isnanl(0);
56446 ;
56447 return 0;
56448 }
56449 _ACEOF
56450 if ac_fn_cxx_try_compile "$LINENO"; then :
56451 glibcxx_cv_func__isnanl_use=yes
56452 else
56453 glibcxx_cv_func__isnanl_use=no
56454 fi
56455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56456 ac_ext=c
56457 ac_cpp='$CPP $CPPFLAGS'
56458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56461
56462
56463 fi
56464
56465 fi
56466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56467 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56468
56469 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56470 for ac_func in _isnanl
56471 do :
56472 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56473 if test "x$ac_cv_func__isnanl" = x""yes; then :
56474 cat >>confdefs.h <<_ACEOF
56475 #define HAVE__ISNANL 1
56476 _ACEOF
56477
56478 fi
56479 done
56480
56481 fi
56482 fi
56483
56484
56485
56486
56487
56488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56489 $as_echo_n "checking for isinfl declaration... " >&6; }
56490 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56491 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56492 $as_echo_n "(cached) " >&6
56493 else
56494
56495
56496 ac_ext=cpp
56497 ac_cpp='$CXXCPP $CPPFLAGS'
56498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56501
56502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56503 /* end confdefs.h. */
56504 #include <math.h>
56505 #ifdef HAVE_IEEEFP_H
56506 #include <ieeefp.h>
56507 #endif
56508
56509 int
56510 main ()
56511 {
56512 isinfl(0);
56513 ;
56514 return 0;
56515 }
56516 _ACEOF
56517 if ac_fn_cxx_try_compile "$LINENO"; then :
56518 glibcxx_cv_func_isinfl_use=yes
56519 else
56520 glibcxx_cv_func_isinfl_use=no
56521 fi
56522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56523 ac_ext=c
56524 ac_cpp='$CPP $CPPFLAGS'
56525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56528
56529
56530 fi
56531
56532 fi
56533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56534 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56535
56536 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56537 for ac_func in isinfl
56538 do :
56539 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56540 if test "x$ac_cv_func_isinfl" = x""yes; then :
56541 cat >>confdefs.h <<_ACEOF
56542 #define HAVE_ISINFL 1
56543 _ACEOF
56544
56545 fi
56546 done
56547
56548 else
56549
56550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56551 $as_echo_n "checking for _isinfl declaration... " >&6; }
56552 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56553 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56554 $as_echo_n "(cached) " >&6
56555 else
56556
56557
56558 ac_ext=cpp
56559 ac_cpp='$CXXCPP $CPPFLAGS'
56560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56563
56564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56565 /* end confdefs.h. */
56566 #include <math.h>
56567 #ifdef HAVE_IEEEFP_H
56568 #include <ieeefp.h>
56569 #endif
56570
56571 int
56572 main ()
56573 {
56574 _isinfl(0);
56575 ;
56576 return 0;
56577 }
56578 _ACEOF
56579 if ac_fn_cxx_try_compile "$LINENO"; then :
56580 glibcxx_cv_func__isinfl_use=yes
56581 else
56582 glibcxx_cv_func__isinfl_use=no
56583 fi
56584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56585 ac_ext=c
56586 ac_cpp='$CPP $CPPFLAGS'
56587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56590
56591
56592 fi
56593
56594 fi
56595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56596 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56597
56598 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56599 for ac_func in _isinfl
56600 do :
56601 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56602 if test "x$ac_cv_func__isinfl" = x""yes; then :
56603 cat >>confdefs.h <<_ACEOF
56604 #define HAVE__ISINFL 1
56605 _ACEOF
56606
56607 fi
56608 done
56609
56610 fi
56611 fi
56612
56613
56614
56615
56616
56617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56618 $as_echo_n "checking for atan2l declaration... " >&6; }
56619 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56620 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56621 $as_echo_n "(cached) " >&6
56622 else
56623
56624
56625 ac_ext=cpp
56626 ac_cpp='$CXXCPP $CPPFLAGS'
56627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56630
56631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56632 /* end confdefs.h. */
56633 #include <math.h>
56634 int
56635 main ()
56636 {
56637 atan2l(0, 0);
56638 ;
56639 return 0;
56640 }
56641 _ACEOF
56642 if ac_fn_cxx_try_compile "$LINENO"; then :
56643 glibcxx_cv_func_atan2l_use=yes
56644 else
56645 glibcxx_cv_func_atan2l_use=no
56646 fi
56647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56648 ac_ext=c
56649 ac_cpp='$CPP $CPPFLAGS'
56650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56653
56654
56655 fi
56656
56657 fi
56658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56659 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56660
56661 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56662 for ac_func in atan2l
56663 do :
56664 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56665 if test "x$ac_cv_func_atan2l" = x""yes; then :
56666 cat >>confdefs.h <<_ACEOF
56667 #define HAVE_ATAN2L 1
56668 _ACEOF
56669
56670 fi
56671 done
56672
56673 else
56674
56675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56676 $as_echo_n "checking for _atan2l declaration... " >&6; }
56677 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56678 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56679 $as_echo_n "(cached) " >&6
56680 else
56681
56682
56683 ac_ext=cpp
56684 ac_cpp='$CXXCPP $CPPFLAGS'
56685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56688
56689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56690 /* end confdefs.h. */
56691 #include <math.h>
56692 int
56693 main ()
56694 {
56695 _atan2l(0, 0);
56696 ;
56697 return 0;
56698 }
56699 _ACEOF
56700 if ac_fn_cxx_try_compile "$LINENO"; then :
56701 glibcxx_cv_func__atan2l_use=yes
56702 else
56703 glibcxx_cv_func__atan2l_use=no
56704 fi
56705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56706 ac_ext=c
56707 ac_cpp='$CPP $CPPFLAGS'
56708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56711
56712
56713 fi
56714
56715 fi
56716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56717 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56718
56719 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56720 for ac_func in _atan2l
56721 do :
56722 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56723 if test "x$ac_cv_func__atan2l" = x""yes; then :
56724 cat >>confdefs.h <<_ACEOF
56725 #define HAVE__ATAN2L 1
56726 _ACEOF
56727
56728 fi
56729 done
56730
56731 fi
56732 fi
56733
56734
56735
56736
56737
56738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56739 $as_echo_n "checking for expl declaration... " >&6; }
56740 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56741 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56742 $as_echo_n "(cached) " >&6
56743 else
56744
56745
56746 ac_ext=cpp
56747 ac_cpp='$CXXCPP $CPPFLAGS'
56748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56751
56752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56753 /* end confdefs.h. */
56754 #include <math.h>
56755 #ifdef HAVE_IEEEFP_H
56756 #include <ieeefp.h>
56757 #endif
56758
56759 int
56760 main ()
56761 {
56762 expl(0);
56763 ;
56764 return 0;
56765 }
56766 _ACEOF
56767 if ac_fn_cxx_try_compile "$LINENO"; then :
56768 glibcxx_cv_func_expl_use=yes
56769 else
56770 glibcxx_cv_func_expl_use=no
56771 fi
56772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56773 ac_ext=c
56774 ac_cpp='$CPP $CPPFLAGS'
56775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56778
56779
56780 fi
56781
56782 fi
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56784 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56785
56786 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56787 for ac_func in expl
56788 do :
56789 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56790 if test "x$ac_cv_func_expl" = x""yes; then :
56791 cat >>confdefs.h <<_ACEOF
56792 #define HAVE_EXPL 1
56793 _ACEOF
56794
56795 fi
56796 done
56797
56798 else
56799
56800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56801 $as_echo_n "checking for _expl declaration... " >&6; }
56802 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56803 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56804 $as_echo_n "(cached) " >&6
56805 else
56806
56807
56808 ac_ext=cpp
56809 ac_cpp='$CXXCPP $CPPFLAGS'
56810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56813
56814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56815 /* end confdefs.h. */
56816 #include <math.h>
56817 #ifdef HAVE_IEEEFP_H
56818 #include <ieeefp.h>
56819 #endif
56820
56821 int
56822 main ()
56823 {
56824 _expl(0);
56825 ;
56826 return 0;
56827 }
56828 _ACEOF
56829 if ac_fn_cxx_try_compile "$LINENO"; then :
56830 glibcxx_cv_func__expl_use=yes
56831 else
56832 glibcxx_cv_func__expl_use=no
56833 fi
56834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56835 ac_ext=c
56836 ac_cpp='$CPP $CPPFLAGS'
56837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56840
56841
56842 fi
56843
56844 fi
56845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56846 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56847
56848 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56849 for ac_func in _expl
56850 do :
56851 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56852 if test "x$ac_cv_func__expl" = x""yes; then :
56853 cat >>confdefs.h <<_ACEOF
56854 #define HAVE__EXPL 1
56855 _ACEOF
56856
56857 fi
56858 done
56859
56860 fi
56861 fi
56862
56863
56864
56865
56866
56867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56868 $as_echo_n "checking for fabsl declaration... " >&6; }
56869 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56870 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56871 $as_echo_n "(cached) " >&6
56872 else
56873
56874
56875 ac_ext=cpp
56876 ac_cpp='$CXXCPP $CPPFLAGS'
56877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56880
56881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56882 /* end confdefs.h. */
56883 #include <math.h>
56884 #ifdef HAVE_IEEEFP_H
56885 #include <ieeefp.h>
56886 #endif
56887
56888 int
56889 main ()
56890 {
56891 fabsl(0);
56892 ;
56893 return 0;
56894 }
56895 _ACEOF
56896 if ac_fn_cxx_try_compile "$LINENO"; then :
56897 glibcxx_cv_func_fabsl_use=yes
56898 else
56899 glibcxx_cv_func_fabsl_use=no
56900 fi
56901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56902 ac_ext=c
56903 ac_cpp='$CPP $CPPFLAGS'
56904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56907
56908
56909 fi
56910
56911 fi
56912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56913 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56914
56915 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56916 for ac_func in fabsl
56917 do :
56918 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56919 if test "x$ac_cv_func_fabsl" = x""yes; then :
56920 cat >>confdefs.h <<_ACEOF
56921 #define HAVE_FABSL 1
56922 _ACEOF
56923
56924 fi
56925 done
56926
56927 else
56928
56929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56930 $as_echo_n "checking for _fabsl declaration... " >&6; }
56931 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56932 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56933 $as_echo_n "(cached) " >&6
56934 else
56935
56936
56937 ac_ext=cpp
56938 ac_cpp='$CXXCPP $CPPFLAGS'
56939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56942
56943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56944 /* end confdefs.h. */
56945 #include <math.h>
56946 #ifdef HAVE_IEEEFP_H
56947 #include <ieeefp.h>
56948 #endif
56949
56950 int
56951 main ()
56952 {
56953 _fabsl(0);
56954 ;
56955 return 0;
56956 }
56957 _ACEOF
56958 if ac_fn_cxx_try_compile "$LINENO"; then :
56959 glibcxx_cv_func__fabsl_use=yes
56960 else
56961 glibcxx_cv_func__fabsl_use=no
56962 fi
56963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56964 ac_ext=c
56965 ac_cpp='$CPP $CPPFLAGS'
56966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56969
56970
56971 fi
56972
56973 fi
56974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56975 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56976
56977 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56978 for ac_func in _fabsl
56979 do :
56980 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56981 if test "x$ac_cv_func__fabsl" = x""yes; then :
56982 cat >>confdefs.h <<_ACEOF
56983 #define HAVE__FABSL 1
56984 _ACEOF
56985
56986 fi
56987 done
56988
56989 fi
56990 fi
56991
56992
56993
56994
56995
56996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56997 $as_echo_n "checking for fmodl declaration... " >&6; }
56998 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56999 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57000 $as_echo_n "(cached) " >&6
57001 else
57002
57003
57004 ac_ext=cpp
57005 ac_cpp='$CXXCPP $CPPFLAGS'
57006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57009
57010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57011 /* end confdefs.h. */
57012 #include <math.h>
57013 int
57014 main ()
57015 {
57016 fmodl(0, 0);
57017 ;
57018 return 0;
57019 }
57020 _ACEOF
57021 if ac_fn_cxx_try_compile "$LINENO"; then :
57022 glibcxx_cv_func_fmodl_use=yes
57023 else
57024 glibcxx_cv_func_fmodl_use=no
57025 fi
57026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57027 ac_ext=c
57028 ac_cpp='$CPP $CPPFLAGS'
57029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57032
57033
57034 fi
57035
57036 fi
57037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57038 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57039
57040 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57041 for ac_func in fmodl
57042 do :
57043 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57044 if test "x$ac_cv_func_fmodl" = x""yes; then :
57045 cat >>confdefs.h <<_ACEOF
57046 #define HAVE_FMODL 1
57047 _ACEOF
57048
57049 fi
57050 done
57051
57052 else
57053
57054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57055 $as_echo_n "checking for _fmodl declaration... " >&6; }
57056 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57057 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57058 $as_echo_n "(cached) " >&6
57059 else
57060
57061
57062 ac_ext=cpp
57063 ac_cpp='$CXXCPP $CPPFLAGS'
57064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57067
57068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57069 /* end confdefs.h. */
57070 #include <math.h>
57071 int
57072 main ()
57073 {
57074 _fmodl(0, 0);
57075 ;
57076 return 0;
57077 }
57078 _ACEOF
57079 if ac_fn_cxx_try_compile "$LINENO"; then :
57080 glibcxx_cv_func__fmodl_use=yes
57081 else
57082 glibcxx_cv_func__fmodl_use=no
57083 fi
57084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57085 ac_ext=c
57086 ac_cpp='$CPP $CPPFLAGS'
57087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57090
57091
57092 fi
57093
57094 fi
57095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57096 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57097
57098 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57099 for ac_func in _fmodl
57100 do :
57101 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57102 if test "x$ac_cv_func__fmodl" = x""yes; then :
57103 cat >>confdefs.h <<_ACEOF
57104 #define HAVE__FMODL 1
57105 _ACEOF
57106
57107 fi
57108 done
57109
57110 fi
57111 fi
57112
57113
57114
57115
57116
57117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57118 $as_echo_n "checking for frexpl declaration... " >&6; }
57119 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57120 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57121 $as_echo_n "(cached) " >&6
57122 else
57123
57124
57125 ac_ext=cpp
57126 ac_cpp='$CXXCPP $CPPFLAGS'
57127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57130
57131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57132 /* end confdefs.h. */
57133 #include <math.h>
57134 int
57135 main ()
57136 {
57137 frexpl(0, 0);
57138 ;
57139 return 0;
57140 }
57141 _ACEOF
57142 if ac_fn_cxx_try_compile "$LINENO"; then :
57143 glibcxx_cv_func_frexpl_use=yes
57144 else
57145 glibcxx_cv_func_frexpl_use=no
57146 fi
57147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57148 ac_ext=c
57149 ac_cpp='$CPP $CPPFLAGS'
57150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57153
57154
57155 fi
57156
57157 fi
57158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57159 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57160
57161 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57162 for ac_func in frexpl
57163 do :
57164 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57165 if test "x$ac_cv_func_frexpl" = x""yes; then :
57166 cat >>confdefs.h <<_ACEOF
57167 #define HAVE_FREXPL 1
57168 _ACEOF
57169
57170 fi
57171 done
57172
57173 else
57174
57175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57176 $as_echo_n "checking for _frexpl declaration... " >&6; }
57177 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57178 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57179 $as_echo_n "(cached) " >&6
57180 else
57181
57182
57183 ac_ext=cpp
57184 ac_cpp='$CXXCPP $CPPFLAGS'
57185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57188
57189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57190 /* end confdefs.h. */
57191 #include <math.h>
57192 int
57193 main ()
57194 {
57195 _frexpl(0, 0);
57196 ;
57197 return 0;
57198 }
57199 _ACEOF
57200 if ac_fn_cxx_try_compile "$LINENO"; then :
57201 glibcxx_cv_func__frexpl_use=yes
57202 else
57203 glibcxx_cv_func__frexpl_use=no
57204 fi
57205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57206 ac_ext=c
57207 ac_cpp='$CPP $CPPFLAGS'
57208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57211
57212
57213 fi
57214
57215 fi
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57217 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57218
57219 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57220 for ac_func in _frexpl
57221 do :
57222 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57223 if test "x$ac_cv_func__frexpl" = x""yes; then :
57224 cat >>confdefs.h <<_ACEOF
57225 #define HAVE__FREXPL 1
57226 _ACEOF
57227
57228 fi
57229 done
57230
57231 fi
57232 fi
57233
57234
57235
57236
57237
57238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57239 $as_echo_n "checking for hypotl declaration... " >&6; }
57240 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57241 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57242 $as_echo_n "(cached) " >&6
57243 else
57244
57245
57246 ac_ext=cpp
57247 ac_cpp='$CXXCPP $CPPFLAGS'
57248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57251
57252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57253 /* end confdefs.h. */
57254 #include <math.h>
57255 int
57256 main ()
57257 {
57258 hypotl(0, 0);
57259 ;
57260 return 0;
57261 }
57262 _ACEOF
57263 if ac_fn_cxx_try_compile "$LINENO"; then :
57264 glibcxx_cv_func_hypotl_use=yes
57265 else
57266 glibcxx_cv_func_hypotl_use=no
57267 fi
57268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57269 ac_ext=c
57270 ac_cpp='$CPP $CPPFLAGS'
57271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57274
57275
57276 fi
57277
57278 fi
57279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57280 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57281
57282 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57283 for ac_func in hypotl
57284 do :
57285 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57286 if test "x$ac_cv_func_hypotl" = x""yes; then :
57287 cat >>confdefs.h <<_ACEOF
57288 #define HAVE_HYPOTL 1
57289 _ACEOF
57290
57291 fi
57292 done
57293
57294 else
57295
57296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57297 $as_echo_n "checking for _hypotl declaration... " >&6; }
57298 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57299 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57300 $as_echo_n "(cached) " >&6
57301 else
57302
57303
57304 ac_ext=cpp
57305 ac_cpp='$CXXCPP $CPPFLAGS'
57306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57309
57310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57311 /* end confdefs.h. */
57312 #include <math.h>
57313 int
57314 main ()
57315 {
57316 _hypotl(0, 0);
57317 ;
57318 return 0;
57319 }
57320 _ACEOF
57321 if ac_fn_cxx_try_compile "$LINENO"; then :
57322 glibcxx_cv_func__hypotl_use=yes
57323 else
57324 glibcxx_cv_func__hypotl_use=no
57325 fi
57326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57327 ac_ext=c
57328 ac_cpp='$CPP $CPPFLAGS'
57329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57332
57333
57334 fi
57335
57336 fi
57337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57338 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57339
57340 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57341 for ac_func in _hypotl
57342 do :
57343 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57344 if test "x$ac_cv_func__hypotl" = x""yes; then :
57345 cat >>confdefs.h <<_ACEOF
57346 #define HAVE__HYPOTL 1
57347 _ACEOF
57348
57349 fi
57350 done
57351
57352 fi
57353 fi
57354
57355
57356
57357
57358
57359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57360 $as_echo_n "checking for ldexpl declaration... " >&6; }
57361 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57362 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57363 $as_echo_n "(cached) " >&6
57364 else
57365
57366
57367 ac_ext=cpp
57368 ac_cpp='$CXXCPP $CPPFLAGS'
57369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57372
57373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57374 /* end confdefs.h. */
57375 #include <math.h>
57376 int
57377 main ()
57378 {
57379 ldexpl(0, 0);
57380 ;
57381 return 0;
57382 }
57383 _ACEOF
57384 if ac_fn_cxx_try_compile "$LINENO"; then :
57385 glibcxx_cv_func_ldexpl_use=yes
57386 else
57387 glibcxx_cv_func_ldexpl_use=no
57388 fi
57389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57390 ac_ext=c
57391 ac_cpp='$CPP $CPPFLAGS'
57392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57395
57396
57397 fi
57398
57399 fi
57400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57401 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57402
57403 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57404 for ac_func in ldexpl
57405 do :
57406 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57407 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57408 cat >>confdefs.h <<_ACEOF
57409 #define HAVE_LDEXPL 1
57410 _ACEOF
57411
57412 fi
57413 done
57414
57415 else
57416
57417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57418 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57419 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57420 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57421 $as_echo_n "(cached) " >&6
57422 else
57423
57424
57425 ac_ext=cpp
57426 ac_cpp='$CXXCPP $CPPFLAGS'
57427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57430
57431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57432 /* end confdefs.h. */
57433 #include <math.h>
57434 int
57435 main ()
57436 {
57437 _ldexpl(0, 0);
57438 ;
57439 return 0;
57440 }
57441 _ACEOF
57442 if ac_fn_cxx_try_compile "$LINENO"; then :
57443 glibcxx_cv_func__ldexpl_use=yes
57444 else
57445 glibcxx_cv_func__ldexpl_use=no
57446 fi
57447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57448 ac_ext=c
57449 ac_cpp='$CPP $CPPFLAGS'
57450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57453
57454
57455 fi
57456
57457 fi
57458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57459 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57460
57461 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57462 for ac_func in _ldexpl
57463 do :
57464 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57465 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57466 cat >>confdefs.h <<_ACEOF
57467 #define HAVE__LDEXPL 1
57468 _ACEOF
57469
57470 fi
57471 done
57472
57473 fi
57474 fi
57475
57476
57477
57478
57479
57480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57481 $as_echo_n "checking for logl declaration... " >&6; }
57482 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57483 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57484 $as_echo_n "(cached) " >&6
57485 else
57486
57487
57488 ac_ext=cpp
57489 ac_cpp='$CXXCPP $CPPFLAGS'
57490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57493
57494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57495 /* end confdefs.h. */
57496 #include <math.h>
57497 #ifdef HAVE_IEEEFP_H
57498 #include <ieeefp.h>
57499 #endif
57500
57501 int
57502 main ()
57503 {
57504 logl(0);
57505 ;
57506 return 0;
57507 }
57508 _ACEOF
57509 if ac_fn_cxx_try_compile "$LINENO"; then :
57510 glibcxx_cv_func_logl_use=yes
57511 else
57512 glibcxx_cv_func_logl_use=no
57513 fi
57514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57515 ac_ext=c
57516 ac_cpp='$CPP $CPPFLAGS'
57517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57520
57521
57522 fi
57523
57524 fi
57525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57526 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57527
57528 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57529 for ac_func in logl
57530 do :
57531 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57532 if test "x$ac_cv_func_logl" = x""yes; then :
57533 cat >>confdefs.h <<_ACEOF
57534 #define HAVE_LOGL 1
57535 _ACEOF
57536
57537 fi
57538 done
57539
57540 else
57541
57542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57543 $as_echo_n "checking for _logl declaration... " >&6; }
57544 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57545 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57546 $as_echo_n "(cached) " >&6
57547 else
57548
57549
57550 ac_ext=cpp
57551 ac_cpp='$CXXCPP $CPPFLAGS'
57552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57555
57556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57557 /* end confdefs.h. */
57558 #include <math.h>
57559 #ifdef HAVE_IEEEFP_H
57560 #include <ieeefp.h>
57561 #endif
57562
57563 int
57564 main ()
57565 {
57566 _logl(0);
57567 ;
57568 return 0;
57569 }
57570 _ACEOF
57571 if ac_fn_cxx_try_compile "$LINENO"; then :
57572 glibcxx_cv_func__logl_use=yes
57573 else
57574 glibcxx_cv_func__logl_use=no
57575 fi
57576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57577 ac_ext=c
57578 ac_cpp='$CPP $CPPFLAGS'
57579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57582
57583
57584 fi
57585
57586 fi
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57588 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57589
57590 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57591 for ac_func in _logl
57592 do :
57593 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57594 if test "x$ac_cv_func__logl" = x""yes; then :
57595 cat >>confdefs.h <<_ACEOF
57596 #define HAVE__LOGL 1
57597 _ACEOF
57598
57599 fi
57600 done
57601
57602 fi
57603 fi
57604
57605
57606
57607
57608
57609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57610 $as_echo_n "checking for log10l declaration... " >&6; }
57611 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57612 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57613 $as_echo_n "(cached) " >&6
57614 else
57615
57616
57617 ac_ext=cpp
57618 ac_cpp='$CXXCPP $CPPFLAGS'
57619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57622
57623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57624 /* end confdefs.h. */
57625 #include <math.h>
57626 #ifdef HAVE_IEEEFP_H
57627 #include <ieeefp.h>
57628 #endif
57629
57630 int
57631 main ()
57632 {
57633 log10l(0);
57634 ;
57635 return 0;
57636 }
57637 _ACEOF
57638 if ac_fn_cxx_try_compile "$LINENO"; then :
57639 glibcxx_cv_func_log10l_use=yes
57640 else
57641 glibcxx_cv_func_log10l_use=no
57642 fi
57643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57644 ac_ext=c
57645 ac_cpp='$CPP $CPPFLAGS'
57646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57649
57650
57651 fi
57652
57653 fi
57654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57655 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57656
57657 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57658 for ac_func in log10l
57659 do :
57660 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57661 if test "x$ac_cv_func_log10l" = x""yes; then :
57662 cat >>confdefs.h <<_ACEOF
57663 #define HAVE_LOG10L 1
57664 _ACEOF
57665
57666 fi
57667 done
57668
57669 else
57670
57671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57672 $as_echo_n "checking for _log10l declaration... " >&6; }
57673 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57674 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57675 $as_echo_n "(cached) " >&6
57676 else
57677
57678
57679 ac_ext=cpp
57680 ac_cpp='$CXXCPP $CPPFLAGS'
57681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57684
57685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57686 /* end confdefs.h. */
57687 #include <math.h>
57688 #ifdef HAVE_IEEEFP_H
57689 #include <ieeefp.h>
57690 #endif
57691
57692 int
57693 main ()
57694 {
57695 _log10l(0);
57696 ;
57697 return 0;
57698 }
57699 _ACEOF
57700 if ac_fn_cxx_try_compile "$LINENO"; then :
57701 glibcxx_cv_func__log10l_use=yes
57702 else
57703 glibcxx_cv_func__log10l_use=no
57704 fi
57705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57706 ac_ext=c
57707 ac_cpp='$CPP $CPPFLAGS'
57708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57711
57712
57713 fi
57714
57715 fi
57716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57717 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57718
57719 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57720 for ac_func in _log10l
57721 do :
57722 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57723 if test "x$ac_cv_func__log10l" = x""yes; then :
57724 cat >>confdefs.h <<_ACEOF
57725 #define HAVE__LOG10L 1
57726 _ACEOF
57727
57728 fi
57729 done
57730
57731 fi
57732 fi
57733
57734
57735
57736
57737
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57739 $as_echo_n "checking for modfl declaration... " >&6; }
57740 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57741 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57742 $as_echo_n "(cached) " >&6
57743 else
57744
57745
57746 ac_ext=cpp
57747 ac_cpp='$CXXCPP $CPPFLAGS'
57748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57751
57752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57753 /* end confdefs.h. */
57754 #include <math.h>
57755 int
57756 main ()
57757 {
57758 modfl(0, 0);
57759 ;
57760 return 0;
57761 }
57762 _ACEOF
57763 if ac_fn_cxx_try_compile "$LINENO"; then :
57764 glibcxx_cv_func_modfl_use=yes
57765 else
57766 glibcxx_cv_func_modfl_use=no
57767 fi
57768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57769 ac_ext=c
57770 ac_cpp='$CPP $CPPFLAGS'
57771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57774
57775
57776 fi
57777
57778 fi
57779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57780 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57781
57782 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57783 for ac_func in modfl
57784 do :
57785 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57786 if test "x$ac_cv_func_modfl" = x""yes; then :
57787 cat >>confdefs.h <<_ACEOF
57788 #define HAVE_MODFL 1
57789 _ACEOF
57790
57791 fi
57792 done
57793
57794 else
57795
57796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57797 $as_echo_n "checking for _modfl declaration... " >&6; }
57798 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57799 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57800 $as_echo_n "(cached) " >&6
57801 else
57802
57803
57804 ac_ext=cpp
57805 ac_cpp='$CXXCPP $CPPFLAGS'
57806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57809
57810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57811 /* end confdefs.h. */
57812 #include <math.h>
57813 int
57814 main ()
57815 {
57816 _modfl(0, 0);
57817 ;
57818 return 0;
57819 }
57820 _ACEOF
57821 if ac_fn_cxx_try_compile "$LINENO"; then :
57822 glibcxx_cv_func__modfl_use=yes
57823 else
57824 glibcxx_cv_func__modfl_use=no
57825 fi
57826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57827 ac_ext=c
57828 ac_cpp='$CPP $CPPFLAGS'
57829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57832
57833
57834 fi
57835
57836 fi
57837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57838 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57839
57840 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57841 for ac_func in _modfl
57842 do :
57843 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57844 if test "x$ac_cv_func__modfl" = x""yes; then :
57845 cat >>confdefs.h <<_ACEOF
57846 #define HAVE__MODFL 1
57847 _ACEOF
57848
57849 fi
57850 done
57851
57852 fi
57853 fi
57854
57855
57856
57857
57858
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57860 $as_echo_n "checking for powl declaration... " >&6; }
57861 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57862 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57863 $as_echo_n "(cached) " >&6
57864 else
57865
57866
57867 ac_ext=cpp
57868 ac_cpp='$CXXCPP $CPPFLAGS'
57869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57872
57873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57874 /* end confdefs.h. */
57875 #include <math.h>
57876 int
57877 main ()
57878 {
57879 powl(0, 0);
57880 ;
57881 return 0;
57882 }
57883 _ACEOF
57884 if ac_fn_cxx_try_compile "$LINENO"; then :
57885 glibcxx_cv_func_powl_use=yes
57886 else
57887 glibcxx_cv_func_powl_use=no
57888 fi
57889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57890 ac_ext=c
57891 ac_cpp='$CPP $CPPFLAGS'
57892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57895
57896
57897 fi
57898
57899 fi
57900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57901 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57902
57903 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57904 for ac_func in powl
57905 do :
57906 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57907 if test "x$ac_cv_func_powl" = x""yes; then :
57908 cat >>confdefs.h <<_ACEOF
57909 #define HAVE_POWL 1
57910 _ACEOF
57911
57912 fi
57913 done
57914
57915 else
57916
57917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57918 $as_echo_n "checking for _powl declaration... " >&6; }
57919 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57920 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57921 $as_echo_n "(cached) " >&6
57922 else
57923
57924
57925 ac_ext=cpp
57926 ac_cpp='$CXXCPP $CPPFLAGS'
57927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57930
57931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57932 /* end confdefs.h. */
57933 #include <math.h>
57934 int
57935 main ()
57936 {
57937 _powl(0, 0);
57938 ;
57939 return 0;
57940 }
57941 _ACEOF
57942 if ac_fn_cxx_try_compile "$LINENO"; then :
57943 glibcxx_cv_func__powl_use=yes
57944 else
57945 glibcxx_cv_func__powl_use=no
57946 fi
57947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57948 ac_ext=c
57949 ac_cpp='$CPP $CPPFLAGS'
57950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57953
57954
57955 fi
57956
57957 fi
57958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57959 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57960
57961 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57962 for ac_func in _powl
57963 do :
57964 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57965 if test "x$ac_cv_func__powl" = x""yes; then :
57966 cat >>confdefs.h <<_ACEOF
57967 #define HAVE__POWL 1
57968 _ACEOF
57969
57970 fi
57971 done
57972
57973 fi
57974 fi
57975
57976
57977
57978
57979
57980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57981 $as_echo_n "checking for sqrtl declaration... " >&6; }
57982 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57983 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57984 $as_echo_n "(cached) " >&6
57985 else
57986
57987
57988 ac_ext=cpp
57989 ac_cpp='$CXXCPP $CPPFLAGS'
57990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57993
57994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57995 /* end confdefs.h. */
57996 #include <math.h>
57997 #ifdef HAVE_IEEEFP_H
57998 #include <ieeefp.h>
57999 #endif
58000
58001 int
58002 main ()
58003 {
58004 sqrtl(0);
58005 ;
58006 return 0;
58007 }
58008 _ACEOF
58009 if ac_fn_cxx_try_compile "$LINENO"; then :
58010 glibcxx_cv_func_sqrtl_use=yes
58011 else
58012 glibcxx_cv_func_sqrtl_use=no
58013 fi
58014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58015 ac_ext=c
58016 ac_cpp='$CPP $CPPFLAGS'
58017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58020
58021
58022 fi
58023
58024 fi
58025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58026 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58027
58028 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58029 for ac_func in sqrtl
58030 do :
58031 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58032 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58033 cat >>confdefs.h <<_ACEOF
58034 #define HAVE_SQRTL 1
58035 _ACEOF
58036
58037 fi
58038 done
58039
58040 else
58041
58042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58043 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58044 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58045 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58046 $as_echo_n "(cached) " >&6
58047 else
58048
58049
58050 ac_ext=cpp
58051 ac_cpp='$CXXCPP $CPPFLAGS'
58052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58055
58056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58057 /* end confdefs.h. */
58058 #include <math.h>
58059 #ifdef HAVE_IEEEFP_H
58060 #include <ieeefp.h>
58061 #endif
58062
58063 int
58064 main ()
58065 {
58066 _sqrtl(0);
58067 ;
58068 return 0;
58069 }
58070 _ACEOF
58071 if ac_fn_cxx_try_compile "$LINENO"; then :
58072 glibcxx_cv_func__sqrtl_use=yes
58073 else
58074 glibcxx_cv_func__sqrtl_use=no
58075 fi
58076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58077 ac_ext=c
58078 ac_cpp='$CPP $CPPFLAGS'
58079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58082
58083
58084 fi
58085
58086 fi
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58088 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58089
58090 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58091 for ac_func in _sqrtl
58092 do :
58093 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58094 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58095 cat >>confdefs.h <<_ACEOF
58096 #define HAVE__SQRTL 1
58097 _ACEOF
58098
58099 fi
58100 done
58101
58102 fi
58103 fi
58104
58105
58106
58107
58108
58109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58110 $as_echo_n "checking for sincosl declaration... " >&6; }
58111 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58112 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58113 $as_echo_n "(cached) " >&6
58114 else
58115
58116
58117 ac_ext=cpp
58118 ac_cpp='$CXXCPP $CPPFLAGS'
58119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58122
58123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58124 /* end confdefs.h. */
58125 #include <math.h>
58126 int
58127 main ()
58128 {
58129 sincosl(0, 0, 0);
58130 ;
58131 return 0;
58132 }
58133 _ACEOF
58134 if ac_fn_cxx_try_compile "$LINENO"; then :
58135 glibcxx_cv_func_sincosl_use=yes
58136 else
58137 glibcxx_cv_func_sincosl_use=no
58138 fi
58139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58140 ac_ext=c
58141 ac_cpp='$CPP $CPPFLAGS'
58142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58145
58146
58147 fi
58148
58149 fi
58150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58151 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58152
58153 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58154 for ac_func in sincosl
58155 do :
58156 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58157 if test "x$ac_cv_func_sincosl" = x""yes; then :
58158 cat >>confdefs.h <<_ACEOF
58159 #define HAVE_SINCOSL 1
58160 _ACEOF
58161
58162 fi
58163 done
58164
58165 else
58166
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58168 $as_echo_n "checking for _sincosl declaration... " >&6; }
58169 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58170 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58171 $as_echo_n "(cached) " >&6
58172 else
58173
58174
58175 ac_ext=cpp
58176 ac_cpp='$CXXCPP $CPPFLAGS'
58177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58180
58181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58182 /* end confdefs.h. */
58183 #include <math.h>
58184 int
58185 main ()
58186 {
58187 _sincosl(0, 0, 0);
58188 ;
58189 return 0;
58190 }
58191 _ACEOF
58192 if ac_fn_cxx_try_compile "$LINENO"; then :
58193 glibcxx_cv_func__sincosl_use=yes
58194 else
58195 glibcxx_cv_func__sincosl_use=no
58196 fi
58197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58198 ac_ext=c
58199 ac_cpp='$CPP $CPPFLAGS'
58200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58203
58204
58205 fi
58206
58207 fi
58208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58209 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58210
58211 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58212 for ac_func in _sincosl
58213 do :
58214 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58215 if test "x$ac_cv_func__sincosl" = x""yes; then :
58216 cat >>confdefs.h <<_ACEOF
58217 #define HAVE__SINCOSL 1
58218 _ACEOF
58219
58220 fi
58221 done
58222
58223 fi
58224 fi
58225
58226
58227
58228
58229
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58231 $as_echo_n "checking for finitel declaration... " >&6; }
58232 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58233 if test "${glibcxx_cv_func_finitel_use+set}" = set; 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 finitel(0);
58255 ;
58256 return 0;
58257 }
58258 _ACEOF
58259 if ac_fn_cxx_try_compile "$LINENO"; then :
58260 glibcxx_cv_func_finitel_use=yes
58261 else
58262 glibcxx_cv_func_finitel_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_finitel_use" >&5
58276 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58277
58278 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58279 for ac_func in finitel
58280 do :
58281 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58282 if test "x$ac_cv_func_finitel" = x""yes; then :
58283 cat >>confdefs.h <<_ACEOF
58284 #define HAVE_FINITEL 1
58285 _ACEOF
58286
58287 fi
58288 done
58289
58290 else
58291
58292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58293 $as_echo_n "checking for _finitel declaration... " >&6; }
58294 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58295 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58296 $as_echo_n "(cached) " >&6
58297 else
58298
58299
58300 ac_ext=cpp
58301 ac_cpp='$CXXCPP $CPPFLAGS'
58302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58305
58306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58307 /* end confdefs.h. */
58308 #include <math.h>
58309 #ifdef HAVE_IEEEFP_H
58310 #include <ieeefp.h>
58311 #endif
58312
58313 int
58314 main ()
58315 {
58316 _finitel(0);
58317 ;
58318 return 0;
58319 }
58320 _ACEOF
58321 if ac_fn_cxx_try_compile "$LINENO"; then :
58322 glibcxx_cv_func__finitel_use=yes
58323 else
58324 glibcxx_cv_func__finitel_use=no
58325 fi
58326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58327 ac_ext=c
58328 ac_cpp='$CPP $CPPFLAGS'
58329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58332
58333
58334 fi
58335
58336 fi
58337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58338 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58339
58340 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58341 for ac_func in _finitel
58342 do :
58343 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58344 if test "x$ac_cv_func__finitel" = x""yes; then :
58345 cat >>confdefs.h <<_ACEOF
58346 #define HAVE__FINITEL 1
58347 _ACEOF
58348
58349 fi
58350 done
58351
58352 fi
58353 fi
58354
58355
58356
58357
58358 LIBS="$ac_save_LIBS"
58359 CXXFLAGS="$ac_save_CXXFLAGS"
58360
58361
58362 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58363 ac_save_CXXFLAGS="$CXXFLAGS"
58364 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58365
58366
58367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58368 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58369 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58370 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58371 $as_echo_n "(cached) " >&6
58372 else
58373
58374
58375 ac_ext=cpp
58376 ac_cpp='$CXXCPP $CPPFLAGS'
58377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58380
58381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58382 /* end confdefs.h. */
58383 #include <stdlib.h>
58384 int
58385 main ()
58386 {
58387 at_quick_exit(0);
58388 ;
58389 return 0;
58390 }
58391 _ACEOF
58392 if ac_fn_cxx_try_compile "$LINENO"; then :
58393 glibcxx_cv_func_at_quick_exit_use=yes
58394 else
58395 glibcxx_cv_func_at_quick_exit_use=no
58396 fi
58397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58398 ac_ext=c
58399 ac_cpp='$CPP $CPPFLAGS'
58400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58403
58404
58405 fi
58406
58407 fi
58408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58409 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58410 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58411 for ac_func in at_quick_exit
58412 do :
58413 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58414 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58415 cat >>confdefs.h <<_ACEOF
58416 #define HAVE_AT_QUICK_EXIT 1
58417 _ACEOF
58418
58419 fi
58420 done
58421
58422 fi
58423
58424
58425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58426 $as_echo_n "checking for quick_exit declaration... " >&6; }
58427 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58428 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58429 $as_echo_n "(cached) " >&6
58430 else
58431
58432
58433 ac_ext=cpp
58434 ac_cpp='$CXXCPP $CPPFLAGS'
58435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58438
58439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58440 /* end confdefs.h. */
58441 #include <stdlib.h>
58442 int
58443 main ()
58444 {
58445 quick_exit(0);
58446 ;
58447 return 0;
58448 }
58449 _ACEOF
58450 if ac_fn_cxx_try_compile "$LINENO"; then :
58451 glibcxx_cv_func_quick_exit_use=yes
58452 else
58453 glibcxx_cv_func_quick_exit_use=no
58454 fi
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58456 ac_ext=c
58457 ac_cpp='$CPP $CPPFLAGS'
58458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58461
58462
58463 fi
58464
58465 fi
58466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58467 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58468 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58469 for ac_func in quick_exit
58470 do :
58471 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58472 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58473 cat >>confdefs.h <<_ACEOF
58474 #define HAVE_QUICK_EXIT 1
58475 _ACEOF
58476
58477 fi
58478 done
58479
58480 fi
58481
58482
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58484 $as_echo_n "checking for strtold declaration... " >&6; }
58485 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58486 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58487 $as_echo_n "(cached) " >&6
58488 else
58489
58490
58491 ac_ext=cpp
58492 ac_cpp='$CXXCPP $CPPFLAGS'
58493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58496
58497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58498 /* end confdefs.h. */
58499 #include <stdlib.h>
58500 int
58501 main ()
58502 {
58503 strtold(0, 0);
58504 ;
58505 return 0;
58506 }
58507 _ACEOF
58508 if ac_fn_cxx_try_compile "$LINENO"; then :
58509 glibcxx_cv_func_strtold_use=yes
58510 else
58511 glibcxx_cv_func_strtold_use=no
58512 fi
58513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58514 ac_ext=c
58515 ac_cpp='$CPP $CPPFLAGS'
58516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58519
58520
58521 fi
58522
58523 fi
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58525 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58526 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58527 for ac_func in strtold
58528 do :
58529 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58530 if test "x$ac_cv_func_strtold" = x""yes; then :
58531 cat >>confdefs.h <<_ACEOF
58532 #define HAVE_STRTOLD 1
58533 _ACEOF
58534
58535 fi
58536 done
58537
58538 fi
58539
58540
58541
58542
58543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58544 $as_echo_n "checking for strtof declaration... " >&6; }
58545 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58546 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58547 $as_echo_n "(cached) " >&6
58548 else
58549
58550
58551 ac_ext=cpp
58552 ac_cpp='$CXXCPP $CPPFLAGS'
58553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58556
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58559 #include <stdlib.h>
58560 int
58561 main ()
58562 {
58563 strtof(0, 0);
58564 ;
58565 return 0;
58566 }
58567 _ACEOF
58568 if ac_fn_cxx_try_compile "$LINENO"; then :
58569 glibcxx_cv_func_strtof_use=yes
58570 else
58571 glibcxx_cv_func_strtof_use=no
58572 fi
58573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58574 ac_ext=c
58575 ac_cpp='$CPP $CPPFLAGS'
58576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58579
58580
58581 fi
58582
58583 fi
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58585 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58586 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58587 for ac_func in strtof
58588 do :
58589 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58590 if test "x$ac_cv_func_strtof" = x""yes; then :
58591 cat >>confdefs.h <<_ACEOF
58592 #define HAVE_STRTOF 1
58593 _ACEOF
58594
58595 fi
58596 done
58597
58598 fi
58599
58600
58601
58602
58603 CXXFLAGS="$ac_save_CXXFLAGS"
58604
58605 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58606
58607
58608
58609 # Check whether --enable-tls was given.
58610 if test "${enable_tls+set}" = set; then :
58611 enableval=$enable_tls;
58612 case "$enableval" in
58613 yes|no) ;;
58614 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58615 esac
58616
58617 else
58618 enable_tls=yes
58619 fi
58620
58621
58622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58623 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58624 if test "${gcc_cv_have_tls+set}" = set; then :
58625 $as_echo_n "(cached) " >&6
58626 else
58627
58628 if test "$cross_compiling" = yes; then :
58629 if test x$gcc_no_link = xyes; then
58630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58631 fi
58632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58633 /* end confdefs.h. */
58634 __thread int a; int b; int main() { return a = b; }
58635 _ACEOF
58636 if ac_fn_c_try_link "$LINENO"; then :
58637 chktls_save_LDFLAGS="$LDFLAGS"
58638 case $host in
58639 *-*-linux*)
58640 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58641 ;;
58642 esac
58643 chktls_save_CFLAGS="$CFLAGS"
58644 CFLAGS="-fPIC $CFLAGS"
58645 if test x$gcc_no_link = xyes; then
58646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58647 fi
58648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58649 /* end confdefs.h. */
58650 int f() { return 0; }
58651 _ACEOF
58652 if ac_fn_c_try_link "$LINENO"; then :
58653 if test x$gcc_no_link = xyes; then
58654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58655 fi
58656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58657 /* end confdefs.h. */
58658 __thread int a; int b; int f() { return a = b; }
58659 _ACEOF
58660 if ac_fn_c_try_link "$LINENO"; then :
58661 gcc_cv_have_tls=yes
58662 else
58663 gcc_cv_have_tls=no
58664 fi
58665 rm -f core conftest.err conftest.$ac_objext \
58666 conftest$ac_exeext conftest.$ac_ext
58667 else
58668 gcc_cv_have_tls=yes
58669 fi
58670 rm -f core conftest.err conftest.$ac_objext \
58671 conftest$ac_exeext conftest.$ac_ext
58672 CFLAGS="$chktls_save_CFLAGS"
58673 LDFLAGS="$chktls_save_LDFLAGS"
58674 else
58675 gcc_cv_have_tls=no
58676 fi
58677 rm -f core conftest.err conftest.$ac_objext \
58678 conftest$ac_exeext conftest.$ac_ext
58679
58680
58681 else
58682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58683 /* end confdefs.h. */
58684 __thread int a; int b; int main() { return a = b; }
58685 _ACEOF
58686 if ac_fn_c_try_run "$LINENO"; then :
58687 chktls_save_LDFLAGS="$LDFLAGS"
58688 LDFLAGS="-static $LDFLAGS"
58689 if test x$gcc_no_link = xyes; then
58690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58691 fi
58692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693 /* end confdefs.h. */
58694 int main() { return 0; }
58695 _ACEOF
58696 if ac_fn_c_try_link "$LINENO"; then :
58697 if test "$cross_compiling" = yes; then :
58698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58700 as_fn_error "cannot run test program while cross compiling
58701 See \`config.log' for more details." "$LINENO" 5; }
58702 else
58703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58704 /* end confdefs.h. */
58705 __thread int a; int b; int main() { return a = b; }
58706 _ACEOF
58707 if ac_fn_c_try_run "$LINENO"; then :
58708 gcc_cv_have_tls=yes
58709 else
58710 gcc_cv_have_tls=no
58711 fi
58712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58713 conftest.$ac_objext conftest.beam conftest.$ac_ext
58714 fi
58715
58716 else
58717 gcc_cv_have_tls=yes
58718 fi
58719 rm -f core conftest.err conftest.$ac_objext \
58720 conftest$ac_exeext conftest.$ac_ext
58721 LDFLAGS="$chktls_save_LDFLAGS"
58722 if test $gcc_cv_have_tls = yes; then
58723 chktls_save_CFLAGS="$CFLAGS"
58724 thread_CFLAGS=failed
58725 for flag in '' '-pthread' '-lpthread'; do
58726 CFLAGS="$flag $chktls_save_CFLAGS"
58727 if test x$gcc_no_link = xyes; then
58728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58729 fi
58730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58731 /* end confdefs.h. */
58732 #include <pthread.h>
58733 void *g(void *d) { return NULL; }
58734 int
58735 main ()
58736 {
58737 pthread_t t; pthread_create(&t,NULL,g,NULL);
58738 ;
58739 return 0;
58740 }
58741 _ACEOF
58742 if ac_fn_c_try_link "$LINENO"; then :
58743 thread_CFLAGS="$flag"
58744 fi
58745 rm -f core conftest.err conftest.$ac_objext \
58746 conftest$ac_exeext conftest.$ac_ext
58747 if test "X$thread_CFLAGS" != Xfailed; then
58748 break
58749 fi
58750 done
58751 CFLAGS="$chktls_save_CFLAGS"
58752 if test "X$thread_CFLAGS" != Xfailed; then
58753 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58754 if test "$cross_compiling" = yes; then :
58755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58757 as_fn_error "cannot run test program while cross compiling
58758 See \`config.log' for more details." "$LINENO" 5; }
58759 else
58760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58761 /* end confdefs.h. */
58762 #include <pthread.h>
58763 __thread int a;
58764 static int *volatile a_in_other_thread;
58765 static void *
58766 thread_func (void *arg)
58767 {
58768 a_in_other_thread = &a;
58769 return (void *)0;
58770 }
58771 int
58772 main ()
58773 {
58774 pthread_t thread;
58775 void *thread_retval;
58776 int *volatile a_in_main_thread;
58777 a_in_main_thread = &a;
58778 if (pthread_create (&thread, (pthread_attr_t *)0,
58779 thread_func, (void *)0))
58780 return 0;
58781 if (pthread_join (thread, &thread_retval))
58782 return 0;
58783 return (a_in_other_thread == a_in_main_thread);
58784 ;
58785 return 0;
58786 }
58787 _ACEOF
58788 if ac_fn_c_try_run "$LINENO"; then :
58789 gcc_cv_have_tls=yes
58790 else
58791 gcc_cv_have_tls=no
58792 fi
58793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58794 conftest.$ac_objext conftest.beam conftest.$ac_ext
58795 fi
58796
58797 CFLAGS="$chktls_save_CFLAGS"
58798 fi
58799 fi
58800 else
58801 gcc_cv_have_tls=no
58802 fi
58803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58804 conftest.$ac_objext conftest.beam conftest.$ac_ext
58805 fi
58806
58807 fi
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58809 $as_echo "$gcc_cv_have_tls" >&6; }
58810 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58811
58812 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58813
58814 fi
58815
58816
58817
58818
58819
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58821 $as_echo_n "checking for iconv... " >&6; }
58822 if test "${am_cv_func_iconv+set}" = set; then :
58823 $as_echo_n "(cached) " >&6
58824 else
58825
58826 am_cv_func_iconv="no, consider installing GNU libiconv"
58827 am_cv_lib_iconv=no
58828 am_save_CPPFLAGS="$CPPFLAGS"
58829 CPPFLAGS="$CPPFLAGS $INCICONV"
58830 if test x$gcc_no_link = xyes; then
58831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58832 fi
58833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58834 /* end confdefs.h. */
58835 #include <stdlib.h>
58836 #include <iconv.h>
58837 int
58838 main ()
58839 {
58840 iconv_t cd = iconv_open("","");
58841 iconv(cd,NULL,NULL,NULL,NULL);
58842 iconv_close(cd);
58843 ;
58844 return 0;
58845 }
58846 _ACEOF
58847 if ac_fn_c_try_link "$LINENO"; then :
58848 am_cv_func_iconv=yes
58849 fi
58850 rm -f core conftest.err conftest.$ac_objext \
58851 conftest$ac_exeext conftest.$ac_ext
58852 CPPFLAGS="$am_save_CPPFLAGS"
58853
58854 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
58855 for _libs in .libs _libs; do
58856 am_save_CPPFLAGS="$CPPFLAGS"
58857 am_save_LIBS="$LIBS"
58858 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
58859 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
58860 if test x$gcc_no_link = xyes; then
58861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58862 fi
58863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58864 /* end confdefs.h. */
58865 #include <stdlib.h>
58866 #include <iconv.h>
58867 int
58868 main ()
58869 {
58870 iconv_t cd = iconv_open("","");
58871 iconv(cd,NULL,NULL,NULL,NULL);
58872 iconv_close(cd);
58873 ;
58874 return 0;
58875 }
58876 _ACEOF
58877 if ac_fn_c_try_link "$LINENO"; then :
58878 INCICONV="-I../libiconv/include"
58879 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
58880 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
58881 am_cv_lib_iconv=yes
58882 am_cv_func_iconv=yes
58883 fi
58884 rm -f core conftest.err conftest.$ac_objext \
58885 conftest$ac_exeext conftest.$ac_ext
58886 CPPFLAGS="$am_save_CPPFLAGS"
58887 LIBS="$am_save_LIBS"
58888 if test "$am_cv_func_iconv" = "yes"; then
58889 break
58890 fi
58891 done
58892 fi
58893
58894 if test "$am_cv_func_iconv" != yes; then
58895 am_save_CPPFLAGS="$CPPFLAGS"
58896 am_save_LIBS="$LIBS"
58897 CPPFLAGS="$LIBS $INCICONV"
58898 LIBS="$LIBS $LIBICONV"
58899 if test x$gcc_no_link = xyes; then
58900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58901 fi
58902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58903 /* end confdefs.h. */
58904 #include <stdlib.h>
58905 #include <iconv.h>
58906 int
58907 main ()
58908 {
58909 iconv_t cd = iconv_open("","");
58910 iconv(cd,NULL,NULL,NULL,NULL);
58911 iconv_close(cd);
58912 ;
58913 return 0;
58914 }
58915 _ACEOF
58916 if ac_fn_c_try_link "$LINENO"; then :
58917 am_cv_lib_iconv=yes
58918 am_cv_func_iconv=yes
58919 fi
58920 rm -f core conftest.err conftest.$ac_objext \
58921 conftest$ac_exeext conftest.$ac_ext
58922 CPPFLAGS="$am_save_CPPFLAGS"
58923 LIBS="$am_save_LIBS"
58924 fi
58925
58926 fi
58927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58928 $as_echo "$am_cv_func_iconv" >&6; }
58929 if test "$am_cv_func_iconv" = yes; then
58930
58931 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58932
58933 fi
58934 if test "$am_cv_lib_iconv" = yes; then
58935
58936 for element in $INCICONV; do
58937 haveit=
58938 for x in $CPPFLAGS; do
58939
58940 acl_save_prefix="$prefix"
58941 prefix="$acl_final_prefix"
58942 acl_save_exec_prefix="$exec_prefix"
58943 exec_prefix="$acl_final_exec_prefix"
58944 eval x=\"$x\"
58945 exec_prefix="$acl_save_exec_prefix"
58946 prefix="$acl_save_prefix"
58947
58948 if test "X$x" = "X$element"; then
58949 haveit=yes
58950 break
58951 fi
58952 done
58953 if test -z "$haveit"; then
58954 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58955 fi
58956 done
58957
58958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58959 $as_echo_n "checking how to link with libiconv... " >&6; }
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58961 $as_echo "$LIBICONV" >&6; }
58962 else
58963 LIBICONV=
58964 LTLIBICONV=
58965 fi
58966
58967
58968
58969 if test "$am_cv_func_iconv" = yes; then
58970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58971 $as_echo_n "checking for iconv declaration... " >&6; }
58972 if test "${am_cv_proto_iconv+set}" = set; then :
58973 $as_echo_n "(cached) " >&6
58974 else
58975
58976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58977 /* end confdefs.h. */
58978
58979 #include <stdlib.h>
58980 #include <iconv.h>
58981 extern
58982 #ifdef __cplusplus
58983 "C"
58984 #endif
58985 #if defined(__STDC__) || defined(__cplusplus)
58986 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58987 #else
58988 size_t iconv();
58989 #endif
58990
58991 int
58992 main ()
58993 {
58994
58995 ;
58996 return 0;
58997 }
58998 _ACEOF
58999 if ac_fn_c_try_compile "$LINENO"; then :
59000 am_cv_proto_iconv_arg1=""
59001 else
59002 am_cv_proto_iconv_arg1="const"
59003 fi
59004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59005 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);"
59006 fi
59007
59008 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59010 }$am_cv_proto_iconv" >&5
59011 $as_echo "${ac_t:-
59012 }$am_cv_proto_iconv" >&6; }
59013
59014 cat >>confdefs.h <<_ACEOF
59015 #define ICONV_CONST $am_cv_proto_iconv_arg1
59016 _ACEOF
59017
59018 fi
59019
59020 ;;
59021 *-mingw32*)
59022
59023 # If we're not using GNU ld, then there's no point in even trying these
59024 # tests. Check for that first. We should have already tested for gld
59025 # by now (in libtool), but require it now just to be safe...
59026 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59027 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59028
59029
59030
59031 # The name set by libtool depends on the version of libtool. Shame on us
59032 # for depending on an impl detail, but c'est la vie. Older versions used
59033 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59034 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59035 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59036 # set (hence we're using an older libtool), then set it.
59037 if test x${with_gnu_ld+set} != xset; then
59038 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59039 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59040 with_gnu_ld=no
59041 else
59042 with_gnu_ld=$ac_cv_prog_gnu_ld
59043 fi
59044 fi
59045
59046 # Start by getting the version number. I think the libtool test already
59047 # does some of this, but throws away the result.
59048 glibcxx_ld_is_gold=no
59049 if test x"$with_gnu_ld" = x"yes"; then
59050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59051 $as_echo_n "checking for ld version... " >&6; }
59052
59053 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59054 glibcxx_ld_is_gold=yes
59055 fi
59056 ldver=`$LD --version 2>/dev/null |
59057 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
59058
59059 glibcxx_gnu_ld_version=`echo $ldver | \
59060 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59062 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59063 fi
59064
59065 # Set --gc-sections.
59066 glibcxx_have_gc_sections=no
59067 if test "$glibcxx_ld_is_gold" = "yes"; then
59068 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59069 glibcxx_have_gc_sections=yes
59070 fi
59071 else
59072 glibcxx_gcsections_min_ld=21602
59073 if test x"$with_gnu_ld" = x"yes" &&
59074 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59075 glibcxx_have_gc_sections=yes
59076 fi
59077 fi
59078 if test "$glibcxx_have_gc_sections" = "yes"; then
59079 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59080 # NB: This flag only works reliably after 2.16.1. Configure tests
59081 # for this are difficult, so hard wire a value that should work.
59082
59083 ac_test_CFLAGS="${CFLAGS+set}"
59084 ac_save_CFLAGS="$CFLAGS"
59085 CFLAGS='-Wl,--gc-sections'
59086
59087 # Check for -Wl,--gc-sections
59088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59089 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59090 if test x$gcc_no_link = xyes; then
59091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59092 fi
59093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59094 /* end confdefs.h. */
59095 int one(void) { return 1; }
59096 int two(void) { return 2; }
59097
59098 int
59099 main ()
59100 {
59101 two();
59102 ;
59103 return 0;
59104 }
59105 _ACEOF
59106 if ac_fn_c_try_link "$LINENO"; then :
59107 ac_gcsections=yes
59108 else
59109 ac_gcsections=no
59110 fi
59111 rm -f core conftest.err conftest.$ac_objext \
59112 conftest$ac_exeext conftest.$ac_ext
59113 if test "$ac_gcsections" = "yes"; then
59114 rm -f conftest.c
59115 touch conftest.c
59116 if $CC -c conftest.c; then
59117 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59118 grep "Warning: gc-sections option ignored" > /dev/null; then
59119 ac_gcsections=no
59120 fi
59121 fi
59122 rm -f conftest.c conftest.o conftest
59123 fi
59124 if test "$ac_gcsections" = "yes"; then
59125 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59126 fi
59127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59128 $as_echo "$ac_gcsections" >&6; }
59129
59130 if test "$ac_test_CFLAGS" = set; then
59131 CFLAGS="$ac_save_CFLAGS"
59132 else
59133 # this is the suspicious part
59134 CFLAGS=''
59135 fi
59136 fi
59137
59138 # Set -z,relro.
59139 # Note this is only for shared objects.
59140 ac_ld_relro=no
59141 if test x"$with_gnu_ld" = x"yes"; then
59142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59143 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59144 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59145 if test -n "$cxx_z_relo"; then
59146 OPT_LDFLAGS="-Wl,-z,relro"
59147 ac_ld_relro=yes
59148 fi
59149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59150 $as_echo "$ac_ld_relro" >&6; }
59151 fi
59152
59153 # Set linker optimization flags.
59154 if test x"$with_gnu_ld" = x"yes"; then
59155 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59156 fi
59157
59158
59159
59160
59161
59162 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59163 ac_save_CXXFLAGS="$CXXFLAGS"
59164 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59165
59166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59167 $as_echo_n "checking for sin in -lm... " >&6; }
59168 if test "${ac_cv_lib_m_sin+set}" = set; then :
59169 $as_echo_n "(cached) " >&6
59170 else
59171 ac_check_lib_save_LIBS=$LIBS
59172 LIBS="-lm $LIBS"
59173 if test x$gcc_no_link = xyes; then
59174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59175 fi
59176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59177 /* end confdefs.h. */
59178
59179 /* Override any GCC internal prototype to avoid an error.
59180 Use char because int might match the return type of a GCC
59181 builtin and then its argument prototype would still apply. */
59182 #ifdef __cplusplus
59183 extern "C"
59184 #endif
59185 char sin ();
59186 int
59187 main ()
59188 {
59189 return sin ();
59190 ;
59191 return 0;
59192 }
59193 _ACEOF
59194 if ac_fn_c_try_link "$LINENO"; then :
59195 ac_cv_lib_m_sin=yes
59196 else
59197 ac_cv_lib_m_sin=no
59198 fi
59199 rm -f core conftest.err conftest.$ac_objext \
59200 conftest$ac_exeext conftest.$ac_ext
59201 LIBS=$ac_check_lib_save_LIBS
59202 fi
59203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59204 $as_echo "$ac_cv_lib_m_sin" >&6; }
59205 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59206 libm="-lm"
59207 fi
59208
59209 ac_save_LIBS="$LIBS"
59210 LIBS="$LIBS $libm"
59211
59212
59213
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59215 $as_echo_n "checking for isinf declaration... " >&6; }
59216 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59217 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59218 $as_echo_n "(cached) " >&6
59219 else
59220
59221
59222 ac_ext=cpp
59223 ac_cpp='$CXXCPP $CPPFLAGS'
59224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59227
59228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59229 /* end confdefs.h. */
59230 #include <math.h>
59231 #ifdef HAVE_IEEEFP_H
59232 #include <ieeefp.h>
59233 #endif
59234
59235 int
59236 main ()
59237 {
59238 isinf(0);
59239 ;
59240 return 0;
59241 }
59242 _ACEOF
59243 if ac_fn_cxx_try_compile "$LINENO"; then :
59244 glibcxx_cv_func_isinf_use=yes
59245 else
59246 glibcxx_cv_func_isinf_use=no
59247 fi
59248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59249 ac_ext=c
59250 ac_cpp='$CPP $CPPFLAGS'
59251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59254
59255
59256 fi
59257
59258 fi
59259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59260 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59261
59262 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59263 for ac_func in isinf
59264 do :
59265 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59266 if test "x$ac_cv_func_isinf" = x""yes; then :
59267 cat >>confdefs.h <<_ACEOF
59268 #define HAVE_ISINF 1
59269 _ACEOF
59270
59271 fi
59272 done
59273
59274 else
59275
59276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59277 $as_echo_n "checking for _isinf declaration... " >&6; }
59278 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59279 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59280 $as_echo_n "(cached) " >&6
59281 else
59282
59283
59284 ac_ext=cpp
59285 ac_cpp='$CXXCPP $CPPFLAGS'
59286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59289
59290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59291 /* end confdefs.h. */
59292 #include <math.h>
59293 #ifdef HAVE_IEEEFP_H
59294 #include <ieeefp.h>
59295 #endif
59296
59297 int
59298 main ()
59299 {
59300 _isinf(0);
59301 ;
59302 return 0;
59303 }
59304 _ACEOF
59305 if ac_fn_cxx_try_compile "$LINENO"; then :
59306 glibcxx_cv_func__isinf_use=yes
59307 else
59308 glibcxx_cv_func__isinf_use=no
59309 fi
59310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59311 ac_ext=c
59312 ac_cpp='$CPP $CPPFLAGS'
59313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59316
59317
59318 fi
59319
59320 fi
59321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59322 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59323
59324 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59325 for ac_func in _isinf
59326 do :
59327 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59328 if test "x$ac_cv_func__isinf" = x""yes; then :
59329 cat >>confdefs.h <<_ACEOF
59330 #define HAVE__ISINF 1
59331 _ACEOF
59332
59333 fi
59334 done
59335
59336 fi
59337 fi
59338
59339
59340
59341
59342
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59344 $as_echo_n "checking for isnan declaration... " >&6; }
59345 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59346 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59347 $as_echo_n "(cached) " >&6
59348 else
59349
59350
59351 ac_ext=cpp
59352 ac_cpp='$CXXCPP $CPPFLAGS'
59353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59356
59357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59358 /* end confdefs.h. */
59359 #include <math.h>
59360 #ifdef HAVE_IEEEFP_H
59361 #include <ieeefp.h>
59362 #endif
59363
59364 int
59365 main ()
59366 {
59367 isnan(0);
59368 ;
59369 return 0;
59370 }
59371 _ACEOF
59372 if ac_fn_cxx_try_compile "$LINENO"; then :
59373 glibcxx_cv_func_isnan_use=yes
59374 else
59375 glibcxx_cv_func_isnan_use=no
59376 fi
59377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59378 ac_ext=c
59379 ac_cpp='$CPP $CPPFLAGS'
59380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59383
59384
59385 fi
59386
59387 fi
59388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59389 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59390
59391 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59392 for ac_func in isnan
59393 do :
59394 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59395 if test "x$ac_cv_func_isnan" = x""yes; then :
59396 cat >>confdefs.h <<_ACEOF
59397 #define HAVE_ISNAN 1
59398 _ACEOF
59399
59400 fi
59401 done
59402
59403 else
59404
59405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59406 $as_echo_n "checking for _isnan declaration... " >&6; }
59407 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59408 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59409 $as_echo_n "(cached) " >&6
59410 else
59411
59412
59413 ac_ext=cpp
59414 ac_cpp='$CXXCPP $CPPFLAGS'
59415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59418
59419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59420 /* end confdefs.h. */
59421 #include <math.h>
59422 #ifdef HAVE_IEEEFP_H
59423 #include <ieeefp.h>
59424 #endif
59425
59426 int
59427 main ()
59428 {
59429 _isnan(0);
59430 ;
59431 return 0;
59432 }
59433 _ACEOF
59434 if ac_fn_cxx_try_compile "$LINENO"; then :
59435 glibcxx_cv_func__isnan_use=yes
59436 else
59437 glibcxx_cv_func__isnan_use=no
59438 fi
59439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59440 ac_ext=c
59441 ac_cpp='$CPP $CPPFLAGS'
59442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59445
59446
59447 fi
59448
59449 fi
59450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59451 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59452
59453 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59454 for ac_func in _isnan
59455 do :
59456 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59457 if test "x$ac_cv_func__isnan" = x""yes; then :
59458 cat >>confdefs.h <<_ACEOF
59459 #define HAVE__ISNAN 1
59460 _ACEOF
59461
59462 fi
59463 done
59464
59465 fi
59466 fi
59467
59468
59469
59470
59471
59472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59473 $as_echo_n "checking for finite declaration... " >&6; }
59474 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59475 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59476 $as_echo_n "(cached) " >&6
59477 else
59478
59479
59480 ac_ext=cpp
59481 ac_cpp='$CXXCPP $CPPFLAGS'
59482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59485
59486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59487 /* end confdefs.h. */
59488 #include <math.h>
59489 #ifdef HAVE_IEEEFP_H
59490 #include <ieeefp.h>
59491 #endif
59492
59493 int
59494 main ()
59495 {
59496 finite(0);
59497 ;
59498 return 0;
59499 }
59500 _ACEOF
59501 if ac_fn_cxx_try_compile "$LINENO"; then :
59502 glibcxx_cv_func_finite_use=yes
59503 else
59504 glibcxx_cv_func_finite_use=no
59505 fi
59506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59507 ac_ext=c
59508 ac_cpp='$CPP $CPPFLAGS'
59509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59512
59513
59514 fi
59515
59516 fi
59517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59518 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59519
59520 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59521 for ac_func in finite
59522 do :
59523 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59524 if test "x$ac_cv_func_finite" = x""yes; then :
59525 cat >>confdefs.h <<_ACEOF
59526 #define HAVE_FINITE 1
59527 _ACEOF
59528
59529 fi
59530 done
59531
59532 else
59533
59534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59535 $as_echo_n "checking for _finite declaration... " >&6; }
59536 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59537 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59538 $as_echo_n "(cached) " >&6
59539 else
59540
59541
59542 ac_ext=cpp
59543 ac_cpp='$CXXCPP $CPPFLAGS'
59544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59547
59548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59549 /* end confdefs.h. */
59550 #include <math.h>
59551 #ifdef HAVE_IEEEFP_H
59552 #include <ieeefp.h>
59553 #endif
59554
59555 int
59556 main ()
59557 {
59558 _finite(0);
59559 ;
59560 return 0;
59561 }
59562 _ACEOF
59563 if ac_fn_cxx_try_compile "$LINENO"; then :
59564 glibcxx_cv_func__finite_use=yes
59565 else
59566 glibcxx_cv_func__finite_use=no
59567 fi
59568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59569 ac_ext=c
59570 ac_cpp='$CPP $CPPFLAGS'
59571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59574
59575
59576 fi
59577
59578 fi
59579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59580 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59581
59582 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59583 for ac_func in _finite
59584 do :
59585 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59586 if test "x$ac_cv_func__finite" = x""yes; then :
59587 cat >>confdefs.h <<_ACEOF
59588 #define HAVE__FINITE 1
59589 _ACEOF
59590
59591 fi
59592 done
59593
59594 fi
59595 fi
59596
59597
59598
59599
59600
59601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59602 $as_echo_n "checking for sincos declaration... " >&6; }
59603 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59604 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59605 $as_echo_n "(cached) " >&6
59606 else
59607
59608
59609 ac_ext=cpp
59610 ac_cpp='$CXXCPP $CPPFLAGS'
59611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59614
59615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59616 /* end confdefs.h. */
59617 #include <math.h>
59618 int
59619 main ()
59620 {
59621 sincos(0, 0, 0);
59622 ;
59623 return 0;
59624 }
59625 _ACEOF
59626 if ac_fn_cxx_try_compile "$LINENO"; then :
59627 glibcxx_cv_func_sincos_use=yes
59628 else
59629 glibcxx_cv_func_sincos_use=no
59630 fi
59631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59632 ac_ext=c
59633 ac_cpp='$CPP $CPPFLAGS'
59634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59637
59638
59639 fi
59640
59641 fi
59642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59643 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59644
59645 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59646 for ac_func in sincos
59647 do :
59648 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59649 if test "x$ac_cv_func_sincos" = x""yes; then :
59650 cat >>confdefs.h <<_ACEOF
59651 #define HAVE_SINCOS 1
59652 _ACEOF
59653
59654 fi
59655 done
59656
59657 else
59658
59659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59660 $as_echo_n "checking for _sincos declaration... " >&6; }
59661 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59662 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59663 $as_echo_n "(cached) " >&6
59664 else
59665
59666
59667 ac_ext=cpp
59668 ac_cpp='$CXXCPP $CPPFLAGS'
59669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59672
59673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59674 /* end confdefs.h. */
59675 #include <math.h>
59676 int
59677 main ()
59678 {
59679 _sincos(0, 0, 0);
59680 ;
59681 return 0;
59682 }
59683 _ACEOF
59684 if ac_fn_cxx_try_compile "$LINENO"; then :
59685 glibcxx_cv_func__sincos_use=yes
59686 else
59687 glibcxx_cv_func__sincos_use=no
59688 fi
59689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59690 ac_ext=c
59691 ac_cpp='$CPP $CPPFLAGS'
59692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59695
59696
59697 fi
59698
59699 fi
59700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59701 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59702
59703 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59704 for ac_func in _sincos
59705 do :
59706 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59707 if test "x$ac_cv_func__sincos" = x""yes; then :
59708 cat >>confdefs.h <<_ACEOF
59709 #define HAVE__SINCOS 1
59710 _ACEOF
59711
59712 fi
59713 done
59714
59715 fi
59716 fi
59717
59718
59719
59720
59721
59722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59723 $as_echo_n "checking for fpclass declaration... " >&6; }
59724 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59725 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59726 $as_echo_n "(cached) " >&6
59727 else
59728
59729
59730 ac_ext=cpp
59731 ac_cpp='$CXXCPP $CPPFLAGS'
59732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59735
59736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59737 /* end confdefs.h. */
59738 #include <math.h>
59739 #ifdef HAVE_IEEEFP_H
59740 #include <ieeefp.h>
59741 #endif
59742
59743 int
59744 main ()
59745 {
59746 fpclass(0);
59747 ;
59748 return 0;
59749 }
59750 _ACEOF
59751 if ac_fn_cxx_try_compile "$LINENO"; then :
59752 glibcxx_cv_func_fpclass_use=yes
59753 else
59754 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
59768 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59769
59770 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59771 for ac_func in fpclass
59772 do :
59773 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59774 if test "x$ac_cv_func_fpclass" = x""yes; then :
59775 cat >>confdefs.h <<_ACEOF
59776 #define HAVE_FPCLASS 1
59777 _ACEOF
59778
59779 fi
59780 done
59781
59782 else
59783
59784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59785 $as_echo_n "checking for _fpclass declaration... " >&6; }
59786 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59787 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59788 $as_echo_n "(cached) " >&6
59789 else
59790
59791
59792 ac_ext=cpp
59793 ac_cpp='$CXXCPP $CPPFLAGS'
59794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59797
59798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59799 /* end confdefs.h. */
59800 #include <math.h>
59801 #ifdef HAVE_IEEEFP_H
59802 #include <ieeefp.h>
59803 #endif
59804
59805 int
59806 main ()
59807 {
59808 _fpclass(0);
59809 ;
59810 return 0;
59811 }
59812 _ACEOF
59813 if ac_fn_cxx_try_compile "$LINENO"; then :
59814 glibcxx_cv_func__fpclass_use=yes
59815 else
59816 glibcxx_cv_func__fpclass_use=no
59817 fi
59818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59819 ac_ext=c
59820 ac_cpp='$CPP $CPPFLAGS'
59821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59824
59825
59826 fi
59827
59828 fi
59829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59830 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59831
59832 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59833 for ac_func in _fpclass
59834 do :
59835 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59836 if test "x$ac_cv_func__fpclass" = x""yes; then :
59837 cat >>confdefs.h <<_ACEOF
59838 #define HAVE__FPCLASS 1
59839 _ACEOF
59840
59841 fi
59842 done
59843
59844 fi
59845 fi
59846
59847
59848
59849
59850
59851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59852 $as_echo_n "checking for qfpclass declaration... " >&6; }
59853 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59854 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; 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 qfpclass(0);
59876 ;
59877 return 0;
59878 }
59879 _ACEOF
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881 glibcxx_cv_func_qfpclass_use=yes
59882 else
59883 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
59897 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59898
59899 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59900 for ac_func in qfpclass
59901 do :
59902 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59903 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59904 cat >>confdefs.h <<_ACEOF
59905 #define HAVE_QFPCLASS 1
59906 _ACEOF
59907
59908 fi
59909 done
59910
59911 else
59912
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59914 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59915 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59916 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59917 $as_echo_n "(cached) " >&6
59918 else
59919
59920
59921 ac_ext=cpp
59922 ac_cpp='$CXXCPP $CPPFLAGS'
59923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59926
59927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59928 /* end confdefs.h. */
59929 #include <math.h>
59930 #ifdef HAVE_IEEEFP_H
59931 #include <ieeefp.h>
59932 #endif
59933
59934 int
59935 main ()
59936 {
59937 _qfpclass(0);
59938 ;
59939 return 0;
59940 }
59941 _ACEOF
59942 if ac_fn_cxx_try_compile "$LINENO"; then :
59943 glibcxx_cv_func__qfpclass_use=yes
59944 else
59945 glibcxx_cv_func__qfpclass_use=no
59946 fi
59947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59948 ac_ext=c
59949 ac_cpp='$CPP $CPPFLAGS'
59950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59953
59954
59955 fi
59956
59957 fi
59958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59959 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59960
59961 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59962 for ac_func in _qfpclass
59963 do :
59964 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59965 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59966 cat >>confdefs.h <<_ACEOF
59967 #define HAVE__QFPCLASS 1
59968 _ACEOF
59969
59970 fi
59971 done
59972
59973 fi
59974 fi
59975
59976
59977
59978
59979
59980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59981 $as_echo_n "checking for hypot declaration... " >&6; }
59982 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59983 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59984 $as_echo_n "(cached) " >&6
59985 else
59986
59987
59988 ac_ext=cpp
59989 ac_cpp='$CXXCPP $CPPFLAGS'
59990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59993
59994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59995 /* end confdefs.h. */
59996 #include <math.h>
59997 int
59998 main ()
59999 {
60000 hypot(0, 0);
60001 ;
60002 return 0;
60003 }
60004 _ACEOF
60005 if ac_fn_cxx_try_compile "$LINENO"; then :
60006 glibcxx_cv_func_hypot_use=yes
60007 else
60008 glibcxx_cv_func_hypot_use=no
60009 fi
60010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60011 ac_ext=c
60012 ac_cpp='$CPP $CPPFLAGS'
60013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60016
60017
60018 fi
60019
60020 fi
60021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60022 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60023
60024 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60025 for ac_func in hypot
60026 do :
60027 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60028 if test "x$ac_cv_func_hypot" = x""yes; then :
60029 cat >>confdefs.h <<_ACEOF
60030 #define HAVE_HYPOT 1
60031 _ACEOF
60032
60033 fi
60034 done
60035
60036 else
60037
60038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60039 $as_echo_n "checking for _hypot declaration... " >&6; }
60040 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60041 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60042 $as_echo_n "(cached) " >&6
60043 else
60044
60045
60046 ac_ext=cpp
60047 ac_cpp='$CXXCPP $CPPFLAGS'
60048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60051
60052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60053 /* end confdefs.h. */
60054 #include <math.h>
60055 int
60056 main ()
60057 {
60058 _hypot(0, 0);
60059 ;
60060 return 0;
60061 }
60062 _ACEOF
60063 if ac_fn_cxx_try_compile "$LINENO"; then :
60064 glibcxx_cv_func__hypot_use=yes
60065 else
60066 glibcxx_cv_func__hypot_use=no
60067 fi
60068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60069 ac_ext=c
60070 ac_cpp='$CPP $CPPFLAGS'
60071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60074
60075
60076 fi
60077
60078 fi
60079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60080 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60081
60082 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60083 for ac_func in _hypot
60084 do :
60085 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60086 if test "x$ac_cv_func__hypot" = x""yes; then :
60087 cat >>confdefs.h <<_ACEOF
60088 #define HAVE__HYPOT 1
60089 _ACEOF
60090
60091 fi
60092 done
60093
60094 fi
60095 fi
60096
60097
60098
60099
60100
60101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60102 $as_echo_n "checking for float trig functions... " >&6; }
60103 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60104 $as_echo_n "(cached) " >&6
60105 else
60106
60107
60108 ac_ext=cpp
60109 ac_cpp='$CXXCPP $CPPFLAGS'
60110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60113
60114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60115 /* end confdefs.h. */
60116 #include <math.h>
60117 int
60118 main ()
60119 {
60120 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60121 ;
60122 return 0;
60123 }
60124 _ACEOF
60125 if ac_fn_cxx_try_compile "$LINENO"; then :
60126 glibcxx_cv_func_float_trig_use=yes
60127 else
60128 glibcxx_cv_func_float_trig_use=no
60129 fi
60130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60131 ac_ext=c
60132 ac_cpp='$CPP $CPPFLAGS'
60133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60136
60137 fi
60138
60139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60140 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60141 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60142 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60143 do :
60144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60146 eval as_val=\$$as_ac_var
60147 if test "x$as_val" = x""yes; then :
60148 cat >>confdefs.h <<_ACEOF
60149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60150 _ACEOF
60151
60152 fi
60153 done
60154
60155 else
60156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60157 $as_echo_n "checking for _float trig functions... " >&6; }
60158 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60159 $as_echo_n "(cached) " >&6
60160 else
60161
60162
60163 ac_ext=cpp
60164 ac_cpp='$CXXCPP $CPPFLAGS'
60165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60168
60169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60170 /* end confdefs.h. */
60171 #include <math.h>
60172 int
60173 main ()
60174 {
60175 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60176 ;
60177 return 0;
60178 }
60179 _ACEOF
60180 if ac_fn_cxx_try_compile "$LINENO"; then :
60181 glibcxx_cv_func__float_trig_use=yes
60182 else
60183 glibcxx_cv_func__float_trig_use=no
60184 fi
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60186 ac_ext=c
60187 ac_cpp='$CPP $CPPFLAGS'
60188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60191
60192 fi
60193
60194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60195 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60196 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60197 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60198 do :
60199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60201 eval as_val=\$$as_ac_var
60202 if test "x$as_val" = x""yes; then :
60203 cat >>confdefs.h <<_ACEOF
60204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60205 _ACEOF
60206
60207 fi
60208 done
60209
60210 fi
60211 fi
60212
60213
60214
60215
60216
60217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60218 $as_echo_n "checking for float round functions... " >&6; }
60219 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60220 $as_echo_n "(cached) " >&6
60221 else
60222
60223
60224 ac_ext=cpp
60225 ac_cpp='$CXXCPP $CPPFLAGS'
60226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60229
60230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60231 /* end confdefs.h. */
60232 #include <math.h>
60233 int
60234 main ()
60235 {
60236 ceilf (0); floorf (0);
60237 ;
60238 return 0;
60239 }
60240 _ACEOF
60241 if ac_fn_cxx_try_compile "$LINENO"; then :
60242 glibcxx_cv_func_float_round_use=yes
60243 else
60244 glibcxx_cv_func_float_round_use=no
60245 fi
60246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60247 ac_ext=c
60248 ac_cpp='$CPP $CPPFLAGS'
60249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60252
60253 fi
60254
60255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60256 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60257 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60258 for ac_func in ceilf floorf
60259 do :
60260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60262 eval as_val=\$$as_ac_var
60263 if test "x$as_val" = x""yes; then :
60264 cat >>confdefs.h <<_ACEOF
60265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60266 _ACEOF
60267
60268 fi
60269 done
60270
60271 else
60272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60273 $as_echo_n "checking for _float round functions... " >&6; }
60274 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60275 $as_echo_n "(cached) " >&6
60276 else
60277
60278
60279 ac_ext=cpp
60280 ac_cpp='$CXXCPP $CPPFLAGS'
60281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60284
60285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60286 /* end confdefs.h. */
60287 #include <math.h>
60288 int
60289 main ()
60290 {
60291 _ceilf (0); _floorf (0);
60292 ;
60293 return 0;
60294 }
60295 _ACEOF
60296 if ac_fn_cxx_try_compile "$LINENO"; then :
60297 glibcxx_cv_func__float_round_use=yes
60298 else
60299 glibcxx_cv_func__float_round_use=no
60300 fi
60301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60302 ac_ext=c
60303 ac_cpp='$CPP $CPPFLAGS'
60304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60307
60308 fi
60309
60310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60311 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60312 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60313 for ac_func in _ceilf _floorf
60314 do :
60315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60317 eval as_val=\$$as_ac_var
60318 if test "x$as_val" = x""yes; then :
60319 cat >>confdefs.h <<_ACEOF
60320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60321 _ACEOF
60322
60323 fi
60324 done
60325
60326 fi
60327 fi
60328
60329
60330
60331
60332
60333
60334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60335 $as_echo_n "checking for expf declaration... " >&6; }
60336 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60337 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60338 $as_echo_n "(cached) " >&6
60339 else
60340
60341
60342 ac_ext=cpp
60343 ac_cpp='$CXXCPP $CPPFLAGS'
60344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60347
60348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60349 /* end confdefs.h. */
60350 #include <math.h>
60351 #ifdef HAVE_IEEEFP_H
60352 #include <ieeefp.h>
60353 #endif
60354
60355 int
60356 main ()
60357 {
60358 expf(0);
60359 ;
60360 return 0;
60361 }
60362 _ACEOF
60363 if ac_fn_cxx_try_compile "$LINENO"; then :
60364 glibcxx_cv_func_expf_use=yes
60365 else
60366 glibcxx_cv_func_expf_use=no
60367 fi
60368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60369 ac_ext=c
60370 ac_cpp='$CPP $CPPFLAGS'
60371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60374
60375
60376 fi
60377
60378 fi
60379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60380 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60381
60382 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60383 for ac_func in expf
60384 do :
60385 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60386 if test "x$ac_cv_func_expf" = x""yes; then :
60387 cat >>confdefs.h <<_ACEOF
60388 #define HAVE_EXPF 1
60389 _ACEOF
60390
60391 fi
60392 done
60393
60394 else
60395
60396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60397 $as_echo_n "checking for _expf declaration... " >&6; }
60398 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60399 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60400 $as_echo_n "(cached) " >&6
60401 else
60402
60403
60404 ac_ext=cpp
60405 ac_cpp='$CXXCPP $CPPFLAGS'
60406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60409
60410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60411 /* end confdefs.h. */
60412 #include <math.h>
60413 #ifdef HAVE_IEEEFP_H
60414 #include <ieeefp.h>
60415 #endif
60416
60417 int
60418 main ()
60419 {
60420 _expf(0);
60421 ;
60422 return 0;
60423 }
60424 _ACEOF
60425 if ac_fn_cxx_try_compile "$LINENO"; then :
60426 glibcxx_cv_func__expf_use=yes
60427 else
60428 glibcxx_cv_func__expf_use=no
60429 fi
60430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60431 ac_ext=c
60432 ac_cpp='$CPP $CPPFLAGS'
60433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60436
60437
60438 fi
60439
60440 fi
60441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60442 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60443
60444 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60445 for ac_func in _expf
60446 do :
60447 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60448 if test "x$ac_cv_func__expf" = x""yes; then :
60449 cat >>confdefs.h <<_ACEOF
60450 #define HAVE__EXPF 1
60451 _ACEOF
60452
60453 fi
60454 done
60455
60456 fi
60457 fi
60458
60459
60460
60461
60462
60463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60464 $as_echo_n "checking for isnanf declaration... " >&6; }
60465 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60466 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60467 $as_echo_n "(cached) " >&6
60468 else
60469
60470
60471 ac_ext=cpp
60472 ac_cpp='$CXXCPP $CPPFLAGS'
60473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60476
60477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60478 /* end confdefs.h. */
60479 #include <math.h>
60480 #ifdef HAVE_IEEEFP_H
60481 #include <ieeefp.h>
60482 #endif
60483
60484 int
60485 main ()
60486 {
60487 isnanf(0);
60488 ;
60489 return 0;
60490 }
60491 _ACEOF
60492 if ac_fn_cxx_try_compile "$LINENO"; then :
60493 glibcxx_cv_func_isnanf_use=yes
60494 else
60495 glibcxx_cv_func_isnanf_use=no
60496 fi
60497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60498 ac_ext=c
60499 ac_cpp='$CPP $CPPFLAGS'
60500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60503
60504
60505 fi
60506
60507 fi
60508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60509 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60510
60511 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60512 for ac_func in isnanf
60513 do :
60514 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60515 if test "x$ac_cv_func_isnanf" = x""yes; then :
60516 cat >>confdefs.h <<_ACEOF
60517 #define HAVE_ISNANF 1
60518 _ACEOF
60519
60520 fi
60521 done
60522
60523 else
60524
60525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60526 $as_echo_n "checking for _isnanf declaration... " >&6; }
60527 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60528 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60529 $as_echo_n "(cached) " >&6
60530 else
60531
60532
60533 ac_ext=cpp
60534 ac_cpp='$CXXCPP $CPPFLAGS'
60535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60538
60539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60540 /* end confdefs.h. */
60541 #include <math.h>
60542 #ifdef HAVE_IEEEFP_H
60543 #include <ieeefp.h>
60544 #endif
60545
60546 int
60547 main ()
60548 {
60549 _isnanf(0);
60550 ;
60551 return 0;
60552 }
60553 _ACEOF
60554 if ac_fn_cxx_try_compile "$LINENO"; then :
60555 glibcxx_cv_func__isnanf_use=yes
60556 else
60557 glibcxx_cv_func__isnanf_use=no
60558 fi
60559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60560 ac_ext=c
60561 ac_cpp='$CPP $CPPFLAGS'
60562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60565
60566
60567 fi
60568
60569 fi
60570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60571 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60572
60573 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60574 for ac_func in _isnanf
60575 do :
60576 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60577 if test "x$ac_cv_func__isnanf" = x""yes; then :
60578 cat >>confdefs.h <<_ACEOF
60579 #define HAVE__ISNANF 1
60580 _ACEOF
60581
60582 fi
60583 done
60584
60585 fi
60586 fi
60587
60588
60589
60590
60591
60592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60593 $as_echo_n "checking for isinff declaration... " >&6; }
60594 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60595 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60596 $as_echo_n "(cached) " >&6
60597 else
60598
60599
60600 ac_ext=cpp
60601 ac_cpp='$CXXCPP $CPPFLAGS'
60602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60605
60606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60607 /* end confdefs.h. */
60608 #include <math.h>
60609 #ifdef HAVE_IEEEFP_H
60610 #include <ieeefp.h>
60611 #endif
60612
60613 int
60614 main ()
60615 {
60616 isinff(0);
60617 ;
60618 return 0;
60619 }
60620 _ACEOF
60621 if ac_fn_cxx_try_compile "$LINENO"; then :
60622 glibcxx_cv_func_isinff_use=yes
60623 else
60624 glibcxx_cv_func_isinff_use=no
60625 fi
60626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60627 ac_ext=c
60628 ac_cpp='$CPP $CPPFLAGS'
60629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60632
60633
60634 fi
60635
60636 fi
60637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60638 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60639
60640 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60641 for ac_func in isinff
60642 do :
60643 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60644 if test "x$ac_cv_func_isinff" = x""yes; then :
60645 cat >>confdefs.h <<_ACEOF
60646 #define HAVE_ISINFF 1
60647 _ACEOF
60648
60649 fi
60650 done
60651
60652 else
60653
60654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60655 $as_echo_n "checking for _isinff declaration... " >&6; }
60656 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60657 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60658 $as_echo_n "(cached) " >&6
60659 else
60660
60661
60662 ac_ext=cpp
60663 ac_cpp='$CXXCPP $CPPFLAGS'
60664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60667
60668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60669 /* end confdefs.h. */
60670 #include <math.h>
60671 #ifdef HAVE_IEEEFP_H
60672 #include <ieeefp.h>
60673 #endif
60674
60675 int
60676 main ()
60677 {
60678 _isinff(0);
60679 ;
60680 return 0;
60681 }
60682 _ACEOF
60683 if ac_fn_cxx_try_compile "$LINENO"; then :
60684 glibcxx_cv_func__isinff_use=yes
60685 else
60686 glibcxx_cv_func__isinff_use=no
60687 fi
60688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60689 ac_ext=c
60690 ac_cpp='$CPP $CPPFLAGS'
60691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60694
60695
60696 fi
60697
60698 fi
60699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60700 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60701
60702 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60703 for ac_func in _isinff
60704 do :
60705 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60706 if test "x$ac_cv_func__isinff" = x""yes; then :
60707 cat >>confdefs.h <<_ACEOF
60708 #define HAVE__ISINFF 1
60709 _ACEOF
60710
60711 fi
60712 done
60713
60714 fi
60715 fi
60716
60717
60718
60719
60720
60721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60722 $as_echo_n "checking for atan2f declaration... " >&6; }
60723 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60724 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60725 $as_echo_n "(cached) " >&6
60726 else
60727
60728
60729 ac_ext=cpp
60730 ac_cpp='$CXXCPP $CPPFLAGS'
60731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60734
60735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60736 /* end confdefs.h. */
60737 #include <math.h>
60738 int
60739 main ()
60740 {
60741 atan2f(0, 0);
60742 ;
60743 return 0;
60744 }
60745 _ACEOF
60746 if ac_fn_cxx_try_compile "$LINENO"; then :
60747 glibcxx_cv_func_atan2f_use=yes
60748 else
60749 glibcxx_cv_func_atan2f_use=no
60750 fi
60751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60752 ac_ext=c
60753 ac_cpp='$CPP $CPPFLAGS'
60754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60757
60758
60759 fi
60760
60761 fi
60762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60763 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60764
60765 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60766 for ac_func in atan2f
60767 do :
60768 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60769 if test "x$ac_cv_func_atan2f" = x""yes; then :
60770 cat >>confdefs.h <<_ACEOF
60771 #define HAVE_ATAN2F 1
60772 _ACEOF
60773
60774 fi
60775 done
60776
60777 else
60778
60779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60780 $as_echo_n "checking for _atan2f declaration... " >&6; }
60781 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60782 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60783 $as_echo_n "(cached) " >&6
60784 else
60785
60786
60787 ac_ext=cpp
60788 ac_cpp='$CXXCPP $CPPFLAGS'
60789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60792
60793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60794 /* end confdefs.h. */
60795 #include <math.h>
60796 int
60797 main ()
60798 {
60799 _atan2f(0, 0);
60800 ;
60801 return 0;
60802 }
60803 _ACEOF
60804 if ac_fn_cxx_try_compile "$LINENO"; then :
60805 glibcxx_cv_func__atan2f_use=yes
60806 else
60807 glibcxx_cv_func__atan2f_use=no
60808 fi
60809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60810 ac_ext=c
60811 ac_cpp='$CPP $CPPFLAGS'
60812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60815
60816
60817 fi
60818
60819 fi
60820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60821 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60822
60823 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60824 for ac_func in _atan2f
60825 do :
60826 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60827 if test "x$ac_cv_func__atan2f" = x""yes; then :
60828 cat >>confdefs.h <<_ACEOF
60829 #define HAVE__ATAN2F 1
60830 _ACEOF
60831
60832 fi
60833 done
60834
60835 fi
60836 fi
60837
60838
60839
60840
60841
60842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60843 $as_echo_n "checking for fabsf declaration... " >&6; }
60844 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60845 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60846 $as_echo_n "(cached) " >&6
60847 else
60848
60849
60850 ac_ext=cpp
60851 ac_cpp='$CXXCPP $CPPFLAGS'
60852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60855
60856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60857 /* end confdefs.h. */
60858 #include <math.h>
60859 #ifdef HAVE_IEEEFP_H
60860 #include <ieeefp.h>
60861 #endif
60862
60863 int
60864 main ()
60865 {
60866 fabsf(0);
60867 ;
60868 return 0;
60869 }
60870 _ACEOF
60871 if ac_fn_cxx_try_compile "$LINENO"; then :
60872 glibcxx_cv_func_fabsf_use=yes
60873 else
60874 glibcxx_cv_func_fabsf_use=no
60875 fi
60876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60877 ac_ext=c
60878 ac_cpp='$CPP $CPPFLAGS'
60879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60882
60883
60884 fi
60885
60886 fi
60887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60888 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60889
60890 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60891 for ac_func in fabsf
60892 do :
60893 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60894 if test "x$ac_cv_func_fabsf" = x""yes; then :
60895 cat >>confdefs.h <<_ACEOF
60896 #define HAVE_FABSF 1
60897 _ACEOF
60898
60899 fi
60900 done
60901
60902 else
60903
60904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60905 $as_echo_n "checking for _fabsf declaration... " >&6; }
60906 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60907 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60908 $as_echo_n "(cached) " >&6
60909 else
60910
60911
60912 ac_ext=cpp
60913 ac_cpp='$CXXCPP $CPPFLAGS'
60914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60917
60918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60919 /* end confdefs.h. */
60920 #include <math.h>
60921 #ifdef HAVE_IEEEFP_H
60922 #include <ieeefp.h>
60923 #endif
60924
60925 int
60926 main ()
60927 {
60928 _fabsf(0);
60929 ;
60930 return 0;
60931 }
60932 _ACEOF
60933 if ac_fn_cxx_try_compile "$LINENO"; then :
60934 glibcxx_cv_func__fabsf_use=yes
60935 else
60936 glibcxx_cv_func__fabsf_use=no
60937 fi
60938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60939 ac_ext=c
60940 ac_cpp='$CPP $CPPFLAGS'
60941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60944
60945
60946 fi
60947
60948 fi
60949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60950 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60951
60952 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60953 for ac_func in _fabsf
60954 do :
60955 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60956 if test "x$ac_cv_func__fabsf" = x""yes; then :
60957 cat >>confdefs.h <<_ACEOF
60958 #define HAVE__FABSF 1
60959 _ACEOF
60960
60961 fi
60962 done
60963
60964 fi
60965 fi
60966
60967
60968
60969
60970
60971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60972 $as_echo_n "checking for fmodf declaration... " >&6; }
60973 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60974 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60975 $as_echo_n "(cached) " >&6
60976 else
60977
60978
60979 ac_ext=cpp
60980 ac_cpp='$CXXCPP $CPPFLAGS'
60981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60984
60985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60986 /* end confdefs.h. */
60987 #include <math.h>
60988 int
60989 main ()
60990 {
60991 fmodf(0, 0);
60992 ;
60993 return 0;
60994 }
60995 _ACEOF
60996 if ac_fn_cxx_try_compile "$LINENO"; then :
60997 glibcxx_cv_func_fmodf_use=yes
60998 else
60999 glibcxx_cv_func_fmodf_use=no
61000 fi
61001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61002 ac_ext=c
61003 ac_cpp='$CPP $CPPFLAGS'
61004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61007
61008
61009 fi
61010
61011 fi
61012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61013 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61014
61015 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61016 for ac_func in fmodf
61017 do :
61018 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61019 if test "x$ac_cv_func_fmodf" = x""yes; then :
61020 cat >>confdefs.h <<_ACEOF
61021 #define HAVE_FMODF 1
61022 _ACEOF
61023
61024 fi
61025 done
61026
61027 else
61028
61029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61030 $as_echo_n "checking for _fmodf declaration... " >&6; }
61031 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61032 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61033 $as_echo_n "(cached) " >&6
61034 else
61035
61036
61037 ac_ext=cpp
61038 ac_cpp='$CXXCPP $CPPFLAGS'
61039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61042
61043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61044 /* end confdefs.h. */
61045 #include <math.h>
61046 int
61047 main ()
61048 {
61049 _fmodf(0, 0);
61050 ;
61051 return 0;
61052 }
61053 _ACEOF
61054 if ac_fn_cxx_try_compile "$LINENO"; then :
61055 glibcxx_cv_func__fmodf_use=yes
61056 else
61057 glibcxx_cv_func__fmodf_use=no
61058 fi
61059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61060 ac_ext=c
61061 ac_cpp='$CPP $CPPFLAGS'
61062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61065
61066
61067 fi
61068
61069 fi
61070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61071 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61072
61073 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61074 for ac_func in _fmodf
61075 do :
61076 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61077 if test "x$ac_cv_func__fmodf" = x""yes; then :
61078 cat >>confdefs.h <<_ACEOF
61079 #define HAVE__FMODF 1
61080 _ACEOF
61081
61082 fi
61083 done
61084
61085 fi
61086 fi
61087
61088
61089
61090
61091
61092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61093 $as_echo_n "checking for frexpf declaration... " >&6; }
61094 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61095 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61096 $as_echo_n "(cached) " >&6
61097 else
61098
61099
61100 ac_ext=cpp
61101 ac_cpp='$CXXCPP $CPPFLAGS'
61102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61105
61106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61107 /* end confdefs.h. */
61108 #include <math.h>
61109 int
61110 main ()
61111 {
61112 frexpf(0, 0);
61113 ;
61114 return 0;
61115 }
61116 _ACEOF
61117 if ac_fn_cxx_try_compile "$LINENO"; then :
61118 glibcxx_cv_func_frexpf_use=yes
61119 else
61120 glibcxx_cv_func_frexpf_use=no
61121 fi
61122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61123 ac_ext=c
61124 ac_cpp='$CPP $CPPFLAGS'
61125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61128
61129
61130 fi
61131
61132 fi
61133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61134 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61135
61136 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61137 for ac_func in frexpf
61138 do :
61139 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61140 if test "x$ac_cv_func_frexpf" = x""yes; then :
61141 cat >>confdefs.h <<_ACEOF
61142 #define HAVE_FREXPF 1
61143 _ACEOF
61144
61145 fi
61146 done
61147
61148 else
61149
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61151 $as_echo_n "checking for _frexpf declaration... " >&6; }
61152 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61153 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61154 $as_echo_n "(cached) " >&6
61155 else
61156
61157
61158 ac_ext=cpp
61159 ac_cpp='$CXXCPP $CPPFLAGS'
61160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61163
61164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61165 /* end confdefs.h. */
61166 #include <math.h>
61167 int
61168 main ()
61169 {
61170 _frexpf(0, 0);
61171 ;
61172 return 0;
61173 }
61174 _ACEOF
61175 if ac_fn_cxx_try_compile "$LINENO"; then :
61176 glibcxx_cv_func__frexpf_use=yes
61177 else
61178 glibcxx_cv_func__frexpf_use=no
61179 fi
61180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61181 ac_ext=c
61182 ac_cpp='$CPP $CPPFLAGS'
61183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61186
61187
61188 fi
61189
61190 fi
61191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61192 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61193
61194 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61195 for ac_func in _frexpf
61196 do :
61197 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61198 if test "x$ac_cv_func__frexpf" = x""yes; then :
61199 cat >>confdefs.h <<_ACEOF
61200 #define HAVE__FREXPF 1
61201 _ACEOF
61202
61203 fi
61204 done
61205
61206 fi
61207 fi
61208
61209
61210
61211
61212
61213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61214 $as_echo_n "checking for hypotf declaration... " >&6; }
61215 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61216 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61217 $as_echo_n "(cached) " >&6
61218 else
61219
61220
61221 ac_ext=cpp
61222 ac_cpp='$CXXCPP $CPPFLAGS'
61223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61226
61227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61228 /* end confdefs.h. */
61229 #include <math.h>
61230 int
61231 main ()
61232 {
61233 hypotf(0, 0);
61234 ;
61235 return 0;
61236 }
61237 _ACEOF
61238 if ac_fn_cxx_try_compile "$LINENO"; then :
61239 glibcxx_cv_func_hypotf_use=yes
61240 else
61241 glibcxx_cv_func_hypotf_use=no
61242 fi
61243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61244 ac_ext=c
61245 ac_cpp='$CPP $CPPFLAGS'
61246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61249
61250
61251 fi
61252
61253 fi
61254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61255 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61256
61257 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61258 for ac_func in hypotf
61259 do :
61260 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61261 if test "x$ac_cv_func_hypotf" = x""yes; then :
61262 cat >>confdefs.h <<_ACEOF
61263 #define HAVE_HYPOTF 1
61264 _ACEOF
61265
61266 fi
61267 done
61268
61269 else
61270
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61272 $as_echo_n "checking for _hypotf declaration... " >&6; }
61273 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61274 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61275 $as_echo_n "(cached) " >&6
61276 else
61277
61278
61279 ac_ext=cpp
61280 ac_cpp='$CXXCPP $CPPFLAGS'
61281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61284
61285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61286 /* end confdefs.h. */
61287 #include <math.h>
61288 int
61289 main ()
61290 {
61291 _hypotf(0, 0);
61292 ;
61293 return 0;
61294 }
61295 _ACEOF
61296 if ac_fn_cxx_try_compile "$LINENO"; then :
61297 glibcxx_cv_func__hypotf_use=yes
61298 else
61299 glibcxx_cv_func__hypotf_use=no
61300 fi
61301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61302 ac_ext=c
61303 ac_cpp='$CPP $CPPFLAGS'
61304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61307
61308
61309 fi
61310
61311 fi
61312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61313 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61314
61315 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61316 for ac_func in _hypotf
61317 do :
61318 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61319 if test "x$ac_cv_func__hypotf" = x""yes; then :
61320 cat >>confdefs.h <<_ACEOF
61321 #define HAVE__HYPOTF 1
61322 _ACEOF
61323
61324 fi
61325 done
61326
61327 fi
61328 fi
61329
61330
61331
61332
61333
61334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61335 $as_echo_n "checking for ldexpf declaration... " >&6; }
61336 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61337 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61338 $as_echo_n "(cached) " >&6
61339 else
61340
61341
61342 ac_ext=cpp
61343 ac_cpp='$CXXCPP $CPPFLAGS'
61344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61347
61348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61349 /* end confdefs.h. */
61350 #include <math.h>
61351 int
61352 main ()
61353 {
61354 ldexpf(0, 0);
61355 ;
61356 return 0;
61357 }
61358 _ACEOF
61359 if ac_fn_cxx_try_compile "$LINENO"; then :
61360 glibcxx_cv_func_ldexpf_use=yes
61361 else
61362 glibcxx_cv_func_ldexpf_use=no
61363 fi
61364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61365 ac_ext=c
61366 ac_cpp='$CPP $CPPFLAGS'
61367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61370
61371
61372 fi
61373
61374 fi
61375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61376 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61377
61378 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61379 for ac_func in ldexpf
61380 do :
61381 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61382 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61383 cat >>confdefs.h <<_ACEOF
61384 #define HAVE_LDEXPF 1
61385 _ACEOF
61386
61387 fi
61388 done
61389
61390 else
61391
61392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61393 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61394 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61395 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61396 $as_echo_n "(cached) " >&6
61397 else
61398
61399
61400 ac_ext=cpp
61401 ac_cpp='$CXXCPP $CPPFLAGS'
61402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61405
61406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61407 /* end confdefs.h. */
61408 #include <math.h>
61409 int
61410 main ()
61411 {
61412 _ldexpf(0, 0);
61413 ;
61414 return 0;
61415 }
61416 _ACEOF
61417 if ac_fn_cxx_try_compile "$LINENO"; then :
61418 glibcxx_cv_func__ldexpf_use=yes
61419 else
61420 glibcxx_cv_func__ldexpf_use=no
61421 fi
61422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61423 ac_ext=c
61424 ac_cpp='$CPP $CPPFLAGS'
61425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61428
61429
61430 fi
61431
61432 fi
61433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61434 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61435
61436 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61437 for ac_func in _ldexpf
61438 do :
61439 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61440 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61441 cat >>confdefs.h <<_ACEOF
61442 #define HAVE__LDEXPF 1
61443 _ACEOF
61444
61445 fi
61446 done
61447
61448 fi
61449 fi
61450
61451
61452
61453
61454
61455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61456 $as_echo_n "checking for logf declaration... " >&6; }
61457 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61458 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61459 $as_echo_n "(cached) " >&6
61460 else
61461
61462
61463 ac_ext=cpp
61464 ac_cpp='$CXXCPP $CPPFLAGS'
61465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61468
61469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61470 /* end confdefs.h. */
61471 #include <math.h>
61472 #ifdef HAVE_IEEEFP_H
61473 #include <ieeefp.h>
61474 #endif
61475
61476 int
61477 main ()
61478 {
61479 logf(0);
61480 ;
61481 return 0;
61482 }
61483 _ACEOF
61484 if ac_fn_cxx_try_compile "$LINENO"; then :
61485 glibcxx_cv_func_logf_use=yes
61486 else
61487 glibcxx_cv_func_logf_use=no
61488 fi
61489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61490 ac_ext=c
61491 ac_cpp='$CPP $CPPFLAGS'
61492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61495
61496
61497 fi
61498
61499 fi
61500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61501 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61502
61503 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61504 for ac_func in logf
61505 do :
61506 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61507 if test "x$ac_cv_func_logf" = x""yes; then :
61508 cat >>confdefs.h <<_ACEOF
61509 #define HAVE_LOGF 1
61510 _ACEOF
61511
61512 fi
61513 done
61514
61515 else
61516
61517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61518 $as_echo_n "checking for _logf declaration... " >&6; }
61519 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61520 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61521 $as_echo_n "(cached) " >&6
61522 else
61523
61524
61525 ac_ext=cpp
61526 ac_cpp='$CXXCPP $CPPFLAGS'
61527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61530
61531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61532 /* end confdefs.h. */
61533 #include <math.h>
61534 #ifdef HAVE_IEEEFP_H
61535 #include <ieeefp.h>
61536 #endif
61537
61538 int
61539 main ()
61540 {
61541 _logf(0);
61542 ;
61543 return 0;
61544 }
61545 _ACEOF
61546 if ac_fn_cxx_try_compile "$LINENO"; then :
61547 glibcxx_cv_func__logf_use=yes
61548 else
61549 glibcxx_cv_func__logf_use=no
61550 fi
61551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61552 ac_ext=c
61553 ac_cpp='$CPP $CPPFLAGS'
61554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61557
61558
61559 fi
61560
61561 fi
61562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61563 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61564
61565 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61566 for ac_func in _logf
61567 do :
61568 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61569 if test "x$ac_cv_func__logf" = x""yes; then :
61570 cat >>confdefs.h <<_ACEOF
61571 #define HAVE__LOGF 1
61572 _ACEOF
61573
61574 fi
61575 done
61576
61577 fi
61578 fi
61579
61580
61581
61582
61583
61584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61585 $as_echo_n "checking for log10f declaration... " >&6; }
61586 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61587 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61588 $as_echo_n "(cached) " >&6
61589 else
61590
61591
61592 ac_ext=cpp
61593 ac_cpp='$CXXCPP $CPPFLAGS'
61594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61597
61598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61599 /* end confdefs.h. */
61600 #include <math.h>
61601 #ifdef HAVE_IEEEFP_H
61602 #include <ieeefp.h>
61603 #endif
61604
61605 int
61606 main ()
61607 {
61608 log10f(0);
61609 ;
61610 return 0;
61611 }
61612 _ACEOF
61613 if ac_fn_cxx_try_compile "$LINENO"; then :
61614 glibcxx_cv_func_log10f_use=yes
61615 else
61616 glibcxx_cv_func_log10f_use=no
61617 fi
61618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61619 ac_ext=c
61620 ac_cpp='$CPP $CPPFLAGS'
61621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61624
61625
61626 fi
61627
61628 fi
61629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61630 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61631
61632 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61633 for ac_func in log10f
61634 do :
61635 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61636 if test "x$ac_cv_func_log10f" = x""yes; then :
61637 cat >>confdefs.h <<_ACEOF
61638 #define HAVE_LOG10F 1
61639 _ACEOF
61640
61641 fi
61642 done
61643
61644 else
61645
61646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61647 $as_echo_n "checking for _log10f declaration... " >&6; }
61648 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61649 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61650 $as_echo_n "(cached) " >&6
61651 else
61652
61653
61654 ac_ext=cpp
61655 ac_cpp='$CXXCPP $CPPFLAGS'
61656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61659
61660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61661 /* end confdefs.h. */
61662 #include <math.h>
61663 #ifdef HAVE_IEEEFP_H
61664 #include <ieeefp.h>
61665 #endif
61666
61667 int
61668 main ()
61669 {
61670 _log10f(0);
61671 ;
61672 return 0;
61673 }
61674 _ACEOF
61675 if ac_fn_cxx_try_compile "$LINENO"; then :
61676 glibcxx_cv_func__log10f_use=yes
61677 else
61678 glibcxx_cv_func__log10f_use=no
61679 fi
61680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61681 ac_ext=c
61682 ac_cpp='$CPP $CPPFLAGS'
61683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61686
61687
61688 fi
61689
61690 fi
61691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61692 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61693
61694 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61695 for ac_func in _log10f
61696 do :
61697 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61698 if test "x$ac_cv_func__log10f" = x""yes; then :
61699 cat >>confdefs.h <<_ACEOF
61700 #define HAVE__LOG10F 1
61701 _ACEOF
61702
61703 fi
61704 done
61705
61706 fi
61707 fi
61708
61709
61710
61711
61712
61713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61714 $as_echo_n "checking for modff declaration... " >&6; }
61715 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61716 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61717 $as_echo_n "(cached) " >&6
61718 else
61719
61720
61721 ac_ext=cpp
61722 ac_cpp='$CXXCPP $CPPFLAGS'
61723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61726
61727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61728 /* end confdefs.h. */
61729 #include <math.h>
61730 int
61731 main ()
61732 {
61733 modff(0, 0);
61734 ;
61735 return 0;
61736 }
61737 _ACEOF
61738 if ac_fn_cxx_try_compile "$LINENO"; then :
61739 glibcxx_cv_func_modff_use=yes
61740 else
61741 glibcxx_cv_func_modff_use=no
61742 fi
61743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61744 ac_ext=c
61745 ac_cpp='$CPP $CPPFLAGS'
61746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61749
61750
61751 fi
61752
61753 fi
61754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61755 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61756
61757 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61758 for ac_func in modff
61759 do :
61760 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61761 if test "x$ac_cv_func_modff" = x""yes; then :
61762 cat >>confdefs.h <<_ACEOF
61763 #define HAVE_MODFF 1
61764 _ACEOF
61765
61766 fi
61767 done
61768
61769 else
61770
61771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61772 $as_echo_n "checking for _modff declaration... " >&6; }
61773 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61774 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61775 $as_echo_n "(cached) " >&6
61776 else
61777
61778
61779 ac_ext=cpp
61780 ac_cpp='$CXXCPP $CPPFLAGS'
61781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61784
61785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61786 /* end confdefs.h. */
61787 #include <math.h>
61788 int
61789 main ()
61790 {
61791 _modff(0, 0);
61792 ;
61793 return 0;
61794 }
61795 _ACEOF
61796 if ac_fn_cxx_try_compile "$LINENO"; then :
61797 glibcxx_cv_func__modff_use=yes
61798 else
61799 glibcxx_cv_func__modff_use=no
61800 fi
61801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61802 ac_ext=c
61803 ac_cpp='$CPP $CPPFLAGS'
61804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61807
61808
61809 fi
61810
61811 fi
61812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61813 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61814
61815 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61816 for ac_func in _modff
61817 do :
61818 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61819 if test "x$ac_cv_func__modff" = x""yes; then :
61820 cat >>confdefs.h <<_ACEOF
61821 #define HAVE__MODFF 1
61822 _ACEOF
61823
61824 fi
61825 done
61826
61827 fi
61828 fi
61829
61830
61831
61832
61833
61834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61835 $as_echo_n "checking for modf declaration... " >&6; }
61836 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61837 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61838 $as_echo_n "(cached) " >&6
61839 else
61840
61841
61842 ac_ext=cpp
61843 ac_cpp='$CXXCPP $CPPFLAGS'
61844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61847
61848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61849 /* end confdefs.h. */
61850 #include <math.h>
61851 int
61852 main ()
61853 {
61854 modf(0, 0);
61855 ;
61856 return 0;
61857 }
61858 _ACEOF
61859 if ac_fn_cxx_try_compile "$LINENO"; then :
61860 glibcxx_cv_func_modf_use=yes
61861 else
61862 glibcxx_cv_func_modf_use=no
61863 fi
61864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61865 ac_ext=c
61866 ac_cpp='$CPP $CPPFLAGS'
61867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61870
61871
61872 fi
61873
61874 fi
61875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61876 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61877
61878 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61879 for ac_func in modf
61880 do :
61881 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61882 if test "x$ac_cv_func_modf" = x""yes; then :
61883 cat >>confdefs.h <<_ACEOF
61884 #define HAVE_MODF 1
61885 _ACEOF
61886
61887 fi
61888 done
61889
61890 else
61891
61892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61893 $as_echo_n "checking for _modf declaration... " >&6; }
61894 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61895 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61896 $as_echo_n "(cached) " >&6
61897 else
61898
61899
61900 ac_ext=cpp
61901 ac_cpp='$CXXCPP $CPPFLAGS'
61902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61905
61906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61907 /* end confdefs.h. */
61908 #include <math.h>
61909 int
61910 main ()
61911 {
61912 _modf(0, 0);
61913 ;
61914 return 0;
61915 }
61916 _ACEOF
61917 if ac_fn_cxx_try_compile "$LINENO"; then :
61918 glibcxx_cv_func__modf_use=yes
61919 else
61920 glibcxx_cv_func__modf_use=no
61921 fi
61922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61923 ac_ext=c
61924 ac_cpp='$CPP $CPPFLAGS'
61925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61928
61929
61930 fi
61931
61932 fi
61933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61934 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61935
61936 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61937 for ac_func in _modf
61938 do :
61939 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61940 if test "x$ac_cv_func__modf" = x""yes; then :
61941 cat >>confdefs.h <<_ACEOF
61942 #define HAVE__MODF 1
61943 _ACEOF
61944
61945 fi
61946 done
61947
61948 fi
61949 fi
61950
61951
61952
61953
61954
61955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61956 $as_echo_n "checking for powf declaration... " >&6; }
61957 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61958 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61959 $as_echo_n "(cached) " >&6
61960 else
61961
61962
61963 ac_ext=cpp
61964 ac_cpp='$CXXCPP $CPPFLAGS'
61965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61968
61969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61970 /* end confdefs.h. */
61971 #include <math.h>
61972 int
61973 main ()
61974 {
61975 powf(0, 0);
61976 ;
61977 return 0;
61978 }
61979 _ACEOF
61980 if ac_fn_cxx_try_compile "$LINENO"; then :
61981 glibcxx_cv_func_powf_use=yes
61982 else
61983 glibcxx_cv_func_powf_use=no
61984 fi
61985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61986 ac_ext=c
61987 ac_cpp='$CPP $CPPFLAGS'
61988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61991
61992
61993 fi
61994
61995 fi
61996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61997 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61998
61999 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62000 for ac_func in powf
62001 do :
62002 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62003 if test "x$ac_cv_func_powf" = x""yes; then :
62004 cat >>confdefs.h <<_ACEOF
62005 #define HAVE_POWF 1
62006 _ACEOF
62007
62008 fi
62009 done
62010
62011 else
62012
62013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62014 $as_echo_n "checking for _powf declaration... " >&6; }
62015 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62016 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62017 $as_echo_n "(cached) " >&6
62018 else
62019
62020
62021 ac_ext=cpp
62022 ac_cpp='$CXXCPP $CPPFLAGS'
62023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62026
62027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62028 /* end confdefs.h. */
62029 #include <math.h>
62030 int
62031 main ()
62032 {
62033 _powf(0, 0);
62034 ;
62035 return 0;
62036 }
62037 _ACEOF
62038 if ac_fn_cxx_try_compile "$LINENO"; then :
62039 glibcxx_cv_func__powf_use=yes
62040 else
62041 glibcxx_cv_func__powf_use=no
62042 fi
62043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62044 ac_ext=c
62045 ac_cpp='$CPP $CPPFLAGS'
62046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62049
62050
62051 fi
62052
62053 fi
62054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62055 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62056
62057 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62058 for ac_func in _powf
62059 do :
62060 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62061 if test "x$ac_cv_func__powf" = x""yes; then :
62062 cat >>confdefs.h <<_ACEOF
62063 #define HAVE__POWF 1
62064 _ACEOF
62065
62066 fi
62067 done
62068
62069 fi
62070 fi
62071
62072
62073
62074
62075
62076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62077 $as_echo_n "checking for sqrtf declaration... " >&6; }
62078 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62079 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62080 $as_echo_n "(cached) " >&6
62081 else
62082
62083
62084 ac_ext=cpp
62085 ac_cpp='$CXXCPP $CPPFLAGS'
62086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62089
62090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62091 /* end confdefs.h. */
62092 #include <math.h>
62093 #ifdef HAVE_IEEEFP_H
62094 #include <ieeefp.h>
62095 #endif
62096
62097 int
62098 main ()
62099 {
62100 sqrtf(0);
62101 ;
62102 return 0;
62103 }
62104 _ACEOF
62105 if ac_fn_cxx_try_compile "$LINENO"; then :
62106 glibcxx_cv_func_sqrtf_use=yes
62107 else
62108 glibcxx_cv_func_sqrtf_use=no
62109 fi
62110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62111 ac_ext=c
62112 ac_cpp='$CPP $CPPFLAGS'
62113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62116
62117
62118 fi
62119
62120 fi
62121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62122 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62123
62124 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62125 for ac_func in sqrtf
62126 do :
62127 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62128 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62129 cat >>confdefs.h <<_ACEOF
62130 #define HAVE_SQRTF 1
62131 _ACEOF
62132
62133 fi
62134 done
62135
62136 else
62137
62138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62139 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62140 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62141 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62142 $as_echo_n "(cached) " >&6
62143 else
62144
62145
62146 ac_ext=cpp
62147 ac_cpp='$CXXCPP $CPPFLAGS'
62148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62151
62152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62153 /* end confdefs.h. */
62154 #include <math.h>
62155 #ifdef HAVE_IEEEFP_H
62156 #include <ieeefp.h>
62157 #endif
62158
62159 int
62160 main ()
62161 {
62162 _sqrtf(0);
62163 ;
62164 return 0;
62165 }
62166 _ACEOF
62167 if ac_fn_cxx_try_compile "$LINENO"; then :
62168 glibcxx_cv_func__sqrtf_use=yes
62169 else
62170 glibcxx_cv_func__sqrtf_use=no
62171 fi
62172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62173 ac_ext=c
62174 ac_cpp='$CPP $CPPFLAGS'
62175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62178
62179
62180 fi
62181
62182 fi
62183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62184 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62185
62186 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62187 for ac_func in _sqrtf
62188 do :
62189 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62190 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62191 cat >>confdefs.h <<_ACEOF
62192 #define HAVE__SQRTF 1
62193 _ACEOF
62194
62195 fi
62196 done
62197
62198 fi
62199 fi
62200
62201
62202
62203
62204
62205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62206 $as_echo_n "checking for sincosf declaration... " >&6; }
62207 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62208 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62209 $as_echo_n "(cached) " >&6
62210 else
62211
62212
62213 ac_ext=cpp
62214 ac_cpp='$CXXCPP $CPPFLAGS'
62215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62218
62219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62220 /* end confdefs.h. */
62221 #include <math.h>
62222 int
62223 main ()
62224 {
62225 sincosf(0, 0, 0);
62226 ;
62227 return 0;
62228 }
62229 _ACEOF
62230 if ac_fn_cxx_try_compile "$LINENO"; then :
62231 glibcxx_cv_func_sincosf_use=yes
62232 else
62233 glibcxx_cv_func_sincosf_use=no
62234 fi
62235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62236 ac_ext=c
62237 ac_cpp='$CPP $CPPFLAGS'
62238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62241
62242
62243 fi
62244
62245 fi
62246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62247 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62248
62249 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62250 for ac_func in sincosf
62251 do :
62252 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62253 if test "x$ac_cv_func_sincosf" = x""yes; then :
62254 cat >>confdefs.h <<_ACEOF
62255 #define HAVE_SINCOSF 1
62256 _ACEOF
62257
62258 fi
62259 done
62260
62261 else
62262
62263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62264 $as_echo_n "checking for _sincosf declaration... " >&6; }
62265 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62266 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62267 $as_echo_n "(cached) " >&6
62268 else
62269
62270
62271 ac_ext=cpp
62272 ac_cpp='$CXXCPP $CPPFLAGS'
62273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62276
62277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62278 /* end confdefs.h. */
62279 #include <math.h>
62280 int
62281 main ()
62282 {
62283 _sincosf(0, 0, 0);
62284 ;
62285 return 0;
62286 }
62287 _ACEOF
62288 if ac_fn_cxx_try_compile "$LINENO"; then :
62289 glibcxx_cv_func__sincosf_use=yes
62290 else
62291 glibcxx_cv_func__sincosf_use=no
62292 fi
62293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62294 ac_ext=c
62295 ac_cpp='$CPP $CPPFLAGS'
62296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62299
62300
62301 fi
62302
62303 fi
62304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62305 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62306
62307 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62308 for ac_func in _sincosf
62309 do :
62310 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62311 if test "x$ac_cv_func__sincosf" = x""yes; then :
62312 cat >>confdefs.h <<_ACEOF
62313 #define HAVE__SINCOSF 1
62314 _ACEOF
62315
62316 fi
62317 done
62318
62319 fi
62320 fi
62321
62322
62323
62324
62325
62326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62327 $as_echo_n "checking for finitef declaration... " >&6; }
62328 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62329 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62330 $as_echo_n "(cached) " >&6
62331 else
62332
62333
62334 ac_ext=cpp
62335 ac_cpp='$CXXCPP $CPPFLAGS'
62336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62339
62340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62341 /* end confdefs.h. */
62342 #include <math.h>
62343 #ifdef HAVE_IEEEFP_H
62344 #include <ieeefp.h>
62345 #endif
62346
62347 int
62348 main ()
62349 {
62350 finitef(0);
62351 ;
62352 return 0;
62353 }
62354 _ACEOF
62355 if ac_fn_cxx_try_compile "$LINENO"; then :
62356 glibcxx_cv_func_finitef_use=yes
62357 else
62358 glibcxx_cv_func_finitef_use=no
62359 fi
62360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62361 ac_ext=c
62362 ac_cpp='$CPP $CPPFLAGS'
62363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62366
62367
62368 fi
62369
62370 fi
62371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62372 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62373
62374 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62375 for ac_func in finitef
62376 do :
62377 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62378 if test "x$ac_cv_func_finitef" = x""yes; then :
62379 cat >>confdefs.h <<_ACEOF
62380 #define HAVE_FINITEF 1
62381 _ACEOF
62382
62383 fi
62384 done
62385
62386 else
62387
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62389 $as_echo_n "checking for _finitef declaration... " >&6; }
62390 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62391 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62392 $as_echo_n "(cached) " >&6
62393 else
62394
62395
62396 ac_ext=cpp
62397 ac_cpp='$CXXCPP $CPPFLAGS'
62398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62401
62402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62403 /* end confdefs.h. */
62404 #include <math.h>
62405 #ifdef HAVE_IEEEFP_H
62406 #include <ieeefp.h>
62407 #endif
62408
62409 int
62410 main ()
62411 {
62412 _finitef(0);
62413 ;
62414 return 0;
62415 }
62416 _ACEOF
62417 if ac_fn_cxx_try_compile "$LINENO"; then :
62418 glibcxx_cv_func__finitef_use=yes
62419 else
62420 glibcxx_cv_func__finitef_use=no
62421 fi
62422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62423 ac_ext=c
62424 ac_cpp='$CPP $CPPFLAGS'
62425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62428
62429
62430 fi
62431
62432 fi
62433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62434 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62435
62436 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62437 for ac_func in _finitef
62438 do :
62439 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62440 if test "x$ac_cv_func__finitef" = x""yes; then :
62441 cat >>confdefs.h <<_ACEOF
62442 #define HAVE__FINITEF 1
62443 _ACEOF
62444
62445 fi
62446 done
62447
62448 fi
62449 fi
62450
62451
62452
62453
62454
62455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62456 $as_echo_n "checking for long double trig functions... " >&6; }
62457 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62458 $as_echo_n "(cached) " >&6
62459 else
62460
62461
62462 ac_ext=cpp
62463 ac_cpp='$CXXCPP $CPPFLAGS'
62464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62467
62468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62469 /* end confdefs.h. */
62470 #include <math.h>
62471 int
62472 main ()
62473 {
62474 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62475 ;
62476 return 0;
62477 }
62478 _ACEOF
62479 if ac_fn_cxx_try_compile "$LINENO"; then :
62480 glibcxx_cv_func_long_double_trig_use=yes
62481 else
62482 glibcxx_cv_func_long_double_trig_use=no
62483 fi
62484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62485 ac_ext=c
62486 ac_cpp='$CPP $CPPFLAGS'
62487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62490
62491 fi
62492
62493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62494 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62495 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62496 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62497 do :
62498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62500 eval as_val=\$$as_ac_var
62501 if test "x$as_val" = x""yes; then :
62502 cat >>confdefs.h <<_ACEOF
62503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62504 _ACEOF
62505
62506 fi
62507 done
62508
62509 else
62510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62511 $as_echo_n "checking for _long double trig functions... " >&6; }
62512 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62513 $as_echo_n "(cached) " >&6
62514 else
62515
62516
62517 ac_ext=cpp
62518 ac_cpp='$CXXCPP $CPPFLAGS'
62519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62522
62523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62524 /* end confdefs.h. */
62525 #include <math.h>
62526 int
62527 main ()
62528 {
62529 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62530 ;
62531 return 0;
62532 }
62533 _ACEOF
62534 if ac_fn_cxx_try_compile "$LINENO"; then :
62535 glibcxx_cv_func__long_double_trig_use=yes
62536 else
62537 glibcxx_cv_func__long_double_trig_use=no
62538 fi
62539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62540 ac_ext=c
62541 ac_cpp='$CPP $CPPFLAGS'
62542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62545
62546 fi
62547
62548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62549 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62550 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62551 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62552 do :
62553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62555 eval as_val=\$$as_ac_var
62556 if test "x$as_val" = x""yes; then :
62557 cat >>confdefs.h <<_ACEOF
62558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62559 _ACEOF
62560
62561 fi
62562 done
62563
62564 fi
62565 fi
62566
62567
62568
62569
62570
62571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62572 $as_echo_n "checking for long double round functions... " >&6; }
62573 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62574 $as_echo_n "(cached) " >&6
62575 else
62576
62577
62578 ac_ext=cpp
62579 ac_cpp='$CXXCPP $CPPFLAGS'
62580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62583
62584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62585 /* end confdefs.h. */
62586 #include <math.h>
62587 int
62588 main ()
62589 {
62590 ceill (0); floorl (0);
62591 ;
62592 return 0;
62593 }
62594 _ACEOF
62595 if ac_fn_cxx_try_compile "$LINENO"; then :
62596 glibcxx_cv_func_long_double_round_use=yes
62597 else
62598 glibcxx_cv_func_long_double_round_use=no
62599 fi
62600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62601 ac_ext=c
62602 ac_cpp='$CPP $CPPFLAGS'
62603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62606
62607 fi
62608
62609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62610 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62611 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62612 for ac_func in ceill floorl
62613 do :
62614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62616 eval as_val=\$$as_ac_var
62617 if test "x$as_val" = x""yes; then :
62618 cat >>confdefs.h <<_ACEOF
62619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62620 _ACEOF
62621
62622 fi
62623 done
62624
62625 else
62626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62627 $as_echo_n "checking for _long double round functions... " >&6; }
62628 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62629 $as_echo_n "(cached) " >&6
62630 else
62631
62632
62633 ac_ext=cpp
62634 ac_cpp='$CXXCPP $CPPFLAGS'
62635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62638
62639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62640 /* end confdefs.h. */
62641 #include <math.h>
62642 int
62643 main ()
62644 {
62645 _ceill (0); _floorl (0);
62646 ;
62647 return 0;
62648 }
62649 _ACEOF
62650 if ac_fn_cxx_try_compile "$LINENO"; then :
62651 glibcxx_cv_func__long_double_round_use=yes
62652 else
62653 glibcxx_cv_func__long_double_round_use=no
62654 fi
62655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62656 ac_ext=c
62657 ac_cpp='$CPP $CPPFLAGS'
62658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62661
62662 fi
62663
62664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62665 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62666 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62667 for ac_func in _ceill _floorl
62668 do :
62669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62671 eval as_val=\$$as_ac_var
62672 if test "x$as_val" = x""yes; then :
62673 cat >>confdefs.h <<_ACEOF
62674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62675 _ACEOF
62676
62677 fi
62678 done
62679
62680 fi
62681 fi
62682
62683
62684
62685
62686
62687
62688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62689 $as_echo_n "checking for isnanl declaration... " >&6; }
62690 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62691 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62692 $as_echo_n "(cached) " >&6
62693 else
62694
62695
62696 ac_ext=cpp
62697 ac_cpp='$CXXCPP $CPPFLAGS'
62698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62701
62702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62703 /* end confdefs.h. */
62704 #include <math.h>
62705 #ifdef HAVE_IEEEFP_H
62706 #include <ieeefp.h>
62707 #endif
62708
62709 int
62710 main ()
62711 {
62712 isnanl(0);
62713 ;
62714 return 0;
62715 }
62716 _ACEOF
62717 if ac_fn_cxx_try_compile "$LINENO"; then :
62718 glibcxx_cv_func_isnanl_use=yes
62719 else
62720 glibcxx_cv_func_isnanl_use=no
62721 fi
62722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62723 ac_ext=c
62724 ac_cpp='$CPP $CPPFLAGS'
62725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62728
62729
62730 fi
62731
62732 fi
62733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62734 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62735
62736 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62737 for ac_func in isnanl
62738 do :
62739 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62740 if test "x$ac_cv_func_isnanl" = x""yes; then :
62741 cat >>confdefs.h <<_ACEOF
62742 #define HAVE_ISNANL 1
62743 _ACEOF
62744
62745 fi
62746 done
62747
62748 else
62749
62750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62751 $as_echo_n "checking for _isnanl declaration... " >&6; }
62752 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62753 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62754 $as_echo_n "(cached) " >&6
62755 else
62756
62757
62758 ac_ext=cpp
62759 ac_cpp='$CXXCPP $CPPFLAGS'
62760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62763
62764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62765 /* end confdefs.h. */
62766 #include <math.h>
62767 #ifdef HAVE_IEEEFP_H
62768 #include <ieeefp.h>
62769 #endif
62770
62771 int
62772 main ()
62773 {
62774 _isnanl(0);
62775 ;
62776 return 0;
62777 }
62778 _ACEOF
62779 if ac_fn_cxx_try_compile "$LINENO"; then :
62780 glibcxx_cv_func__isnanl_use=yes
62781 else
62782 glibcxx_cv_func__isnanl_use=no
62783 fi
62784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62785 ac_ext=c
62786 ac_cpp='$CPP $CPPFLAGS'
62787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62790
62791
62792 fi
62793
62794 fi
62795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62796 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62797
62798 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62799 for ac_func in _isnanl
62800 do :
62801 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62802 if test "x$ac_cv_func__isnanl" = x""yes; then :
62803 cat >>confdefs.h <<_ACEOF
62804 #define HAVE__ISNANL 1
62805 _ACEOF
62806
62807 fi
62808 done
62809
62810 fi
62811 fi
62812
62813
62814
62815
62816
62817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62818 $as_echo_n "checking for isinfl declaration... " >&6; }
62819 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62820 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62821 $as_echo_n "(cached) " >&6
62822 else
62823
62824
62825 ac_ext=cpp
62826 ac_cpp='$CXXCPP $CPPFLAGS'
62827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62830
62831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62832 /* end confdefs.h. */
62833 #include <math.h>
62834 #ifdef HAVE_IEEEFP_H
62835 #include <ieeefp.h>
62836 #endif
62837
62838 int
62839 main ()
62840 {
62841 isinfl(0);
62842 ;
62843 return 0;
62844 }
62845 _ACEOF
62846 if ac_fn_cxx_try_compile "$LINENO"; then :
62847 glibcxx_cv_func_isinfl_use=yes
62848 else
62849 glibcxx_cv_func_isinfl_use=no
62850 fi
62851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62852 ac_ext=c
62853 ac_cpp='$CPP $CPPFLAGS'
62854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62857
62858
62859 fi
62860
62861 fi
62862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62863 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62864
62865 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62866 for ac_func in isinfl
62867 do :
62868 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62869 if test "x$ac_cv_func_isinfl" = x""yes; then :
62870 cat >>confdefs.h <<_ACEOF
62871 #define HAVE_ISINFL 1
62872 _ACEOF
62873
62874 fi
62875 done
62876
62877 else
62878
62879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62880 $as_echo_n "checking for _isinfl declaration... " >&6; }
62881 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62882 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62883 $as_echo_n "(cached) " >&6
62884 else
62885
62886
62887 ac_ext=cpp
62888 ac_cpp='$CXXCPP $CPPFLAGS'
62889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62892
62893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62894 /* end confdefs.h. */
62895 #include <math.h>
62896 #ifdef HAVE_IEEEFP_H
62897 #include <ieeefp.h>
62898 #endif
62899
62900 int
62901 main ()
62902 {
62903 _isinfl(0);
62904 ;
62905 return 0;
62906 }
62907 _ACEOF
62908 if ac_fn_cxx_try_compile "$LINENO"; then :
62909 glibcxx_cv_func__isinfl_use=yes
62910 else
62911 glibcxx_cv_func__isinfl_use=no
62912 fi
62913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62914 ac_ext=c
62915 ac_cpp='$CPP $CPPFLAGS'
62916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62919
62920
62921 fi
62922
62923 fi
62924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62925 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62926
62927 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62928 for ac_func in _isinfl
62929 do :
62930 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62931 if test "x$ac_cv_func__isinfl" = x""yes; then :
62932 cat >>confdefs.h <<_ACEOF
62933 #define HAVE__ISINFL 1
62934 _ACEOF
62935
62936 fi
62937 done
62938
62939 fi
62940 fi
62941
62942
62943
62944
62945
62946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62947 $as_echo_n "checking for atan2l declaration... " >&6; }
62948 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62949 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62950 $as_echo_n "(cached) " >&6
62951 else
62952
62953
62954 ac_ext=cpp
62955 ac_cpp='$CXXCPP $CPPFLAGS'
62956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62959
62960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62961 /* end confdefs.h. */
62962 #include <math.h>
62963 int
62964 main ()
62965 {
62966 atan2l(0, 0);
62967 ;
62968 return 0;
62969 }
62970 _ACEOF
62971 if ac_fn_cxx_try_compile "$LINENO"; then :
62972 glibcxx_cv_func_atan2l_use=yes
62973 else
62974 glibcxx_cv_func_atan2l_use=no
62975 fi
62976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62977 ac_ext=c
62978 ac_cpp='$CPP $CPPFLAGS'
62979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62982
62983
62984 fi
62985
62986 fi
62987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62988 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62989
62990 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62991 for ac_func in atan2l
62992 do :
62993 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62994 if test "x$ac_cv_func_atan2l" = x""yes; then :
62995 cat >>confdefs.h <<_ACEOF
62996 #define HAVE_ATAN2L 1
62997 _ACEOF
62998
62999 fi
63000 done
63001
63002 else
63003
63004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63005 $as_echo_n "checking for _atan2l declaration... " >&6; }
63006 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63007 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63008 $as_echo_n "(cached) " >&6
63009 else
63010
63011
63012 ac_ext=cpp
63013 ac_cpp='$CXXCPP $CPPFLAGS'
63014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63017
63018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63019 /* end confdefs.h. */
63020 #include <math.h>
63021 int
63022 main ()
63023 {
63024 _atan2l(0, 0);
63025 ;
63026 return 0;
63027 }
63028 _ACEOF
63029 if ac_fn_cxx_try_compile "$LINENO"; then :
63030 glibcxx_cv_func__atan2l_use=yes
63031 else
63032 glibcxx_cv_func__atan2l_use=no
63033 fi
63034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63035 ac_ext=c
63036 ac_cpp='$CPP $CPPFLAGS'
63037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63040
63041
63042 fi
63043
63044 fi
63045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63046 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63047
63048 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63049 for ac_func in _atan2l
63050 do :
63051 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63052 if test "x$ac_cv_func__atan2l" = x""yes; then :
63053 cat >>confdefs.h <<_ACEOF
63054 #define HAVE__ATAN2L 1
63055 _ACEOF
63056
63057 fi
63058 done
63059
63060 fi
63061 fi
63062
63063
63064
63065
63066
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63068 $as_echo_n "checking for expl declaration... " >&6; }
63069 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63070 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63071 $as_echo_n "(cached) " >&6
63072 else
63073
63074
63075 ac_ext=cpp
63076 ac_cpp='$CXXCPP $CPPFLAGS'
63077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63080
63081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63082 /* end confdefs.h. */
63083 #include <math.h>
63084 #ifdef HAVE_IEEEFP_H
63085 #include <ieeefp.h>
63086 #endif
63087
63088 int
63089 main ()
63090 {
63091 expl(0);
63092 ;
63093 return 0;
63094 }
63095 _ACEOF
63096 if ac_fn_cxx_try_compile "$LINENO"; then :
63097 glibcxx_cv_func_expl_use=yes
63098 else
63099 glibcxx_cv_func_expl_use=no
63100 fi
63101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63102 ac_ext=c
63103 ac_cpp='$CPP $CPPFLAGS'
63104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63107
63108
63109 fi
63110
63111 fi
63112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63113 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63114
63115 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63116 for ac_func in expl
63117 do :
63118 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63119 if test "x$ac_cv_func_expl" = x""yes; then :
63120 cat >>confdefs.h <<_ACEOF
63121 #define HAVE_EXPL 1
63122 _ACEOF
63123
63124 fi
63125 done
63126
63127 else
63128
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63130 $as_echo_n "checking for _expl declaration... " >&6; }
63131 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63132 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63133 $as_echo_n "(cached) " >&6
63134 else
63135
63136
63137 ac_ext=cpp
63138 ac_cpp='$CXXCPP $CPPFLAGS'
63139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63142
63143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63144 /* end confdefs.h. */
63145 #include <math.h>
63146 #ifdef HAVE_IEEEFP_H
63147 #include <ieeefp.h>
63148 #endif
63149
63150 int
63151 main ()
63152 {
63153 _expl(0);
63154 ;
63155 return 0;
63156 }
63157 _ACEOF
63158 if ac_fn_cxx_try_compile "$LINENO"; then :
63159 glibcxx_cv_func__expl_use=yes
63160 else
63161 glibcxx_cv_func__expl_use=no
63162 fi
63163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63164 ac_ext=c
63165 ac_cpp='$CPP $CPPFLAGS'
63166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63169
63170
63171 fi
63172
63173 fi
63174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63175 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63176
63177 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63178 for ac_func in _expl
63179 do :
63180 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63181 if test "x$ac_cv_func__expl" = x""yes; then :
63182 cat >>confdefs.h <<_ACEOF
63183 #define HAVE__EXPL 1
63184 _ACEOF
63185
63186 fi
63187 done
63188
63189 fi
63190 fi
63191
63192
63193
63194
63195
63196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63197 $as_echo_n "checking for fabsl declaration... " >&6; }
63198 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63199 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63200 $as_echo_n "(cached) " >&6
63201 else
63202
63203
63204 ac_ext=cpp
63205 ac_cpp='$CXXCPP $CPPFLAGS'
63206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63209
63210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63211 /* end confdefs.h. */
63212 #include <math.h>
63213 #ifdef HAVE_IEEEFP_H
63214 #include <ieeefp.h>
63215 #endif
63216
63217 int
63218 main ()
63219 {
63220 fabsl(0);
63221 ;
63222 return 0;
63223 }
63224 _ACEOF
63225 if ac_fn_cxx_try_compile "$LINENO"; then :
63226 glibcxx_cv_func_fabsl_use=yes
63227 else
63228 glibcxx_cv_func_fabsl_use=no
63229 fi
63230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63231 ac_ext=c
63232 ac_cpp='$CPP $CPPFLAGS'
63233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63236
63237
63238 fi
63239
63240 fi
63241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63242 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63243
63244 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63245 for ac_func in fabsl
63246 do :
63247 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63248 if test "x$ac_cv_func_fabsl" = x""yes; then :
63249 cat >>confdefs.h <<_ACEOF
63250 #define HAVE_FABSL 1
63251 _ACEOF
63252
63253 fi
63254 done
63255
63256 else
63257
63258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63259 $as_echo_n "checking for _fabsl declaration... " >&6; }
63260 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63261 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63262 $as_echo_n "(cached) " >&6
63263 else
63264
63265
63266 ac_ext=cpp
63267 ac_cpp='$CXXCPP $CPPFLAGS'
63268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63271
63272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63273 /* end confdefs.h. */
63274 #include <math.h>
63275 #ifdef HAVE_IEEEFP_H
63276 #include <ieeefp.h>
63277 #endif
63278
63279 int
63280 main ()
63281 {
63282 _fabsl(0);
63283 ;
63284 return 0;
63285 }
63286 _ACEOF
63287 if ac_fn_cxx_try_compile "$LINENO"; then :
63288 glibcxx_cv_func__fabsl_use=yes
63289 else
63290 glibcxx_cv_func__fabsl_use=no
63291 fi
63292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63293 ac_ext=c
63294 ac_cpp='$CPP $CPPFLAGS'
63295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63298
63299
63300 fi
63301
63302 fi
63303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63304 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63305
63306 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63307 for ac_func in _fabsl
63308 do :
63309 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63310 if test "x$ac_cv_func__fabsl" = x""yes; then :
63311 cat >>confdefs.h <<_ACEOF
63312 #define HAVE__FABSL 1
63313 _ACEOF
63314
63315 fi
63316 done
63317
63318 fi
63319 fi
63320
63321
63322
63323
63324
63325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63326 $as_echo_n "checking for fmodl declaration... " >&6; }
63327 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63328 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63329 $as_echo_n "(cached) " >&6
63330 else
63331
63332
63333 ac_ext=cpp
63334 ac_cpp='$CXXCPP $CPPFLAGS'
63335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63338
63339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63340 /* end confdefs.h. */
63341 #include <math.h>
63342 int
63343 main ()
63344 {
63345 fmodl(0, 0);
63346 ;
63347 return 0;
63348 }
63349 _ACEOF
63350 if ac_fn_cxx_try_compile "$LINENO"; then :
63351 glibcxx_cv_func_fmodl_use=yes
63352 else
63353 glibcxx_cv_func_fmodl_use=no
63354 fi
63355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63356 ac_ext=c
63357 ac_cpp='$CPP $CPPFLAGS'
63358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63361
63362
63363 fi
63364
63365 fi
63366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63367 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63368
63369 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63370 for ac_func in fmodl
63371 do :
63372 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63373 if test "x$ac_cv_func_fmodl" = x""yes; then :
63374 cat >>confdefs.h <<_ACEOF
63375 #define HAVE_FMODL 1
63376 _ACEOF
63377
63378 fi
63379 done
63380
63381 else
63382
63383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63384 $as_echo_n "checking for _fmodl declaration... " >&6; }
63385 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63386 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63387 $as_echo_n "(cached) " >&6
63388 else
63389
63390
63391 ac_ext=cpp
63392 ac_cpp='$CXXCPP $CPPFLAGS'
63393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63396
63397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63398 /* end confdefs.h. */
63399 #include <math.h>
63400 int
63401 main ()
63402 {
63403 _fmodl(0, 0);
63404 ;
63405 return 0;
63406 }
63407 _ACEOF
63408 if ac_fn_cxx_try_compile "$LINENO"; then :
63409 glibcxx_cv_func__fmodl_use=yes
63410 else
63411 glibcxx_cv_func__fmodl_use=no
63412 fi
63413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63414 ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63419
63420
63421 fi
63422
63423 fi
63424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63425 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63426
63427 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63428 for ac_func in _fmodl
63429 do :
63430 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63431 if test "x$ac_cv_func__fmodl" = x""yes; then :
63432 cat >>confdefs.h <<_ACEOF
63433 #define HAVE__FMODL 1
63434 _ACEOF
63435
63436 fi
63437 done
63438
63439 fi
63440 fi
63441
63442
63443
63444
63445
63446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63447 $as_echo_n "checking for frexpl declaration... " >&6; }
63448 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63449 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63450 $as_echo_n "(cached) " >&6
63451 else
63452
63453
63454 ac_ext=cpp
63455 ac_cpp='$CXXCPP $CPPFLAGS'
63456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63459
63460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63461 /* end confdefs.h. */
63462 #include <math.h>
63463 int
63464 main ()
63465 {
63466 frexpl(0, 0);
63467 ;
63468 return 0;
63469 }
63470 _ACEOF
63471 if ac_fn_cxx_try_compile "$LINENO"; then :
63472 glibcxx_cv_func_frexpl_use=yes
63473 else
63474 glibcxx_cv_func_frexpl_use=no
63475 fi
63476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63477 ac_ext=c
63478 ac_cpp='$CPP $CPPFLAGS'
63479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63482
63483
63484 fi
63485
63486 fi
63487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63488 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63489
63490 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63491 for ac_func in frexpl
63492 do :
63493 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63494 if test "x$ac_cv_func_frexpl" = x""yes; then :
63495 cat >>confdefs.h <<_ACEOF
63496 #define HAVE_FREXPL 1
63497 _ACEOF
63498
63499 fi
63500 done
63501
63502 else
63503
63504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63505 $as_echo_n "checking for _frexpl declaration... " >&6; }
63506 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63507 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63508 $as_echo_n "(cached) " >&6
63509 else
63510
63511
63512 ac_ext=cpp
63513 ac_cpp='$CXXCPP $CPPFLAGS'
63514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63517
63518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63519 /* end confdefs.h. */
63520 #include <math.h>
63521 int
63522 main ()
63523 {
63524 _frexpl(0, 0);
63525 ;
63526 return 0;
63527 }
63528 _ACEOF
63529 if ac_fn_cxx_try_compile "$LINENO"; then :
63530 glibcxx_cv_func__frexpl_use=yes
63531 else
63532 glibcxx_cv_func__frexpl_use=no
63533 fi
63534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63535 ac_ext=c
63536 ac_cpp='$CPP $CPPFLAGS'
63537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63540
63541
63542 fi
63543
63544 fi
63545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63546 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63547
63548 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63549 for ac_func in _frexpl
63550 do :
63551 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63552 if test "x$ac_cv_func__frexpl" = x""yes; then :
63553 cat >>confdefs.h <<_ACEOF
63554 #define HAVE__FREXPL 1
63555 _ACEOF
63556
63557 fi
63558 done
63559
63560 fi
63561 fi
63562
63563
63564
63565
63566
63567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63568 $as_echo_n "checking for hypotl declaration... " >&6; }
63569 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63570 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63571 $as_echo_n "(cached) " >&6
63572 else
63573
63574
63575 ac_ext=cpp
63576 ac_cpp='$CXXCPP $CPPFLAGS'
63577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63580
63581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63582 /* end confdefs.h. */
63583 #include <math.h>
63584 int
63585 main ()
63586 {
63587 hypotl(0, 0);
63588 ;
63589 return 0;
63590 }
63591 _ACEOF
63592 if ac_fn_cxx_try_compile "$LINENO"; then :
63593 glibcxx_cv_func_hypotl_use=yes
63594 else
63595 glibcxx_cv_func_hypotl_use=no
63596 fi
63597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63598 ac_ext=c
63599 ac_cpp='$CPP $CPPFLAGS'
63600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63603
63604
63605 fi
63606
63607 fi
63608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63609 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63610
63611 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63612 for ac_func in hypotl
63613 do :
63614 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63615 if test "x$ac_cv_func_hypotl" = x""yes; then :
63616 cat >>confdefs.h <<_ACEOF
63617 #define HAVE_HYPOTL 1
63618 _ACEOF
63619
63620 fi
63621 done
63622
63623 else
63624
63625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63626 $as_echo_n "checking for _hypotl declaration... " >&6; }
63627 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63628 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63629 $as_echo_n "(cached) " >&6
63630 else
63631
63632
63633 ac_ext=cpp
63634 ac_cpp='$CXXCPP $CPPFLAGS'
63635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63638
63639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63640 /* end confdefs.h. */
63641 #include <math.h>
63642 int
63643 main ()
63644 {
63645 _hypotl(0, 0);
63646 ;
63647 return 0;
63648 }
63649 _ACEOF
63650 if ac_fn_cxx_try_compile "$LINENO"; then :
63651 glibcxx_cv_func__hypotl_use=yes
63652 else
63653 glibcxx_cv_func__hypotl_use=no
63654 fi
63655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63656 ac_ext=c
63657 ac_cpp='$CPP $CPPFLAGS'
63658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63661
63662
63663 fi
63664
63665 fi
63666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63667 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63668
63669 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63670 for ac_func in _hypotl
63671 do :
63672 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63673 if test "x$ac_cv_func__hypotl" = x""yes; then :
63674 cat >>confdefs.h <<_ACEOF
63675 #define HAVE__HYPOTL 1
63676 _ACEOF
63677
63678 fi
63679 done
63680
63681 fi
63682 fi
63683
63684
63685
63686
63687
63688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63689 $as_echo_n "checking for ldexpl declaration... " >&6; }
63690 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63691 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63692 $as_echo_n "(cached) " >&6
63693 else
63694
63695
63696 ac_ext=cpp
63697 ac_cpp='$CXXCPP $CPPFLAGS'
63698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63701
63702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63703 /* end confdefs.h. */
63704 #include <math.h>
63705 int
63706 main ()
63707 {
63708 ldexpl(0, 0);
63709 ;
63710 return 0;
63711 }
63712 _ACEOF
63713 if ac_fn_cxx_try_compile "$LINENO"; then :
63714 glibcxx_cv_func_ldexpl_use=yes
63715 else
63716 glibcxx_cv_func_ldexpl_use=no
63717 fi
63718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63719 ac_ext=c
63720 ac_cpp='$CPP $CPPFLAGS'
63721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63724
63725
63726 fi
63727
63728 fi
63729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63730 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63731
63732 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63733 for ac_func in ldexpl
63734 do :
63735 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63736 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63737 cat >>confdefs.h <<_ACEOF
63738 #define HAVE_LDEXPL 1
63739 _ACEOF
63740
63741 fi
63742 done
63743
63744 else
63745
63746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63747 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63748 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63749 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63750 $as_echo_n "(cached) " >&6
63751 else
63752
63753
63754 ac_ext=cpp
63755 ac_cpp='$CXXCPP $CPPFLAGS'
63756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63759
63760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63761 /* end confdefs.h. */
63762 #include <math.h>
63763 int
63764 main ()
63765 {
63766 _ldexpl(0, 0);
63767 ;
63768 return 0;
63769 }
63770 _ACEOF
63771 if ac_fn_cxx_try_compile "$LINENO"; then :
63772 glibcxx_cv_func__ldexpl_use=yes
63773 else
63774 glibcxx_cv_func__ldexpl_use=no
63775 fi
63776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63777 ac_ext=c
63778 ac_cpp='$CPP $CPPFLAGS'
63779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63782
63783
63784 fi
63785
63786 fi
63787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63788 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63789
63790 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63791 for ac_func in _ldexpl
63792 do :
63793 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63794 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63795 cat >>confdefs.h <<_ACEOF
63796 #define HAVE__LDEXPL 1
63797 _ACEOF
63798
63799 fi
63800 done
63801
63802 fi
63803 fi
63804
63805
63806
63807
63808
63809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63810 $as_echo_n "checking for logl declaration... " >&6; }
63811 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63812 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63813 $as_echo_n "(cached) " >&6
63814 else
63815
63816
63817 ac_ext=cpp
63818 ac_cpp='$CXXCPP $CPPFLAGS'
63819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63822
63823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63824 /* end confdefs.h. */
63825 #include <math.h>
63826 #ifdef HAVE_IEEEFP_H
63827 #include <ieeefp.h>
63828 #endif
63829
63830 int
63831 main ()
63832 {
63833 logl(0);
63834 ;
63835 return 0;
63836 }
63837 _ACEOF
63838 if ac_fn_cxx_try_compile "$LINENO"; then :
63839 glibcxx_cv_func_logl_use=yes
63840 else
63841 glibcxx_cv_func_logl_use=no
63842 fi
63843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63844 ac_ext=c
63845 ac_cpp='$CPP $CPPFLAGS'
63846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63849
63850
63851 fi
63852
63853 fi
63854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63855 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63856
63857 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63858 for ac_func in logl
63859 do :
63860 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63861 if test "x$ac_cv_func_logl" = x""yes; then :
63862 cat >>confdefs.h <<_ACEOF
63863 #define HAVE_LOGL 1
63864 _ACEOF
63865
63866 fi
63867 done
63868
63869 else
63870
63871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63872 $as_echo_n "checking for _logl declaration... " >&6; }
63873 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63874 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63875 $as_echo_n "(cached) " >&6
63876 else
63877
63878
63879 ac_ext=cpp
63880 ac_cpp='$CXXCPP $CPPFLAGS'
63881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63884
63885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63886 /* end confdefs.h. */
63887 #include <math.h>
63888 #ifdef HAVE_IEEEFP_H
63889 #include <ieeefp.h>
63890 #endif
63891
63892 int
63893 main ()
63894 {
63895 _logl(0);
63896 ;
63897 return 0;
63898 }
63899 _ACEOF
63900 if ac_fn_cxx_try_compile "$LINENO"; then :
63901 glibcxx_cv_func__logl_use=yes
63902 else
63903 glibcxx_cv_func__logl_use=no
63904 fi
63905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63906 ac_ext=c
63907 ac_cpp='$CPP $CPPFLAGS'
63908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63911
63912
63913 fi
63914
63915 fi
63916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63917 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63918
63919 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63920 for ac_func in _logl
63921 do :
63922 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63923 if test "x$ac_cv_func__logl" = x""yes; then :
63924 cat >>confdefs.h <<_ACEOF
63925 #define HAVE__LOGL 1
63926 _ACEOF
63927
63928 fi
63929 done
63930
63931 fi
63932 fi
63933
63934
63935
63936
63937
63938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63939 $as_echo_n "checking for log10l declaration... " >&6; }
63940 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63941 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63942 $as_echo_n "(cached) " >&6
63943 else
63944
63945
63946 ac_ext=cpp
63947 ac_cpp='$CXXCPP $CPPFLAGS'
63948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63951
63952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63953 /* end confdefs.h. */
63954 #include <math.h>
63955 #ifdef HAVE_IEEEFP_H
63956 #include <ieeefp.h>
63957 #endif
63958
63959 int
63960 main ()
63961 {
63962 log10l(0);
63963 ;
63964 return 0;
63965 }
63966 _ACEOF
63967 if ac_fn_cxx_try_compile "$LINENO"; then :
63968 glibcxx_cv_func_log10l_use=yes
63969 else
63970 glibcxx_cv_func_log10l_use=no
63971 fi
63972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63973 ac_ext=c
63974 ac_cpp='$CPP $CPPFLAGS'
63975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63978
63979
63980 fi
63981
63982 fi
63983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63984 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63985
63986 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63987 for ac_func in log10l
63988 do :
63989 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63990 if test "x$ac_cv_func_log10l" = x""yes; then :
63991 cat >>confdefs.h <<_ACEOF
63992 #define HAVE_LOG10L 1
63993 _ACEOF
63994
63995 fi
63996 done
63997
63998 else
63999
64000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64001 $as_echo_n "checking for _log10l declaration... " >&6; }
64002 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64003 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64004 $as_echo_n "(cached) " >&6
64005 else
64006
64007
64008 ac_ext=cpp
64009 ac_cpp='$CXXCPP $CPPFLAGS'
64010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64013
64014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64015 /* end confdefs.h. */
64016 #include <math.h>
64017 #ifdef HAVE_IEEEFP_H
64018 #include <ieeefp.h>
64019 #endif
64020
64021 int
64022 main ()
64023 {
64024 _log10l(0);
64025 ;
64026 return 0;
64027 }
64028 _ACEOF
64029 if ac_fn_cxx_try_compile "$LINENO"; then :
64030 glibcxx_cv_func__log10l_use=yes
64031 else
64032 glibcxx_cv_func__log10l_use=no
64033 fi
64034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64035 ac_ext=c
64036 ac_cpp='$CPP $CPPFLAGS'
64037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64040
64041
64042 fi
64043
64044 fi
64045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64046 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64047
64048 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64049 for ac_func in _log10l
64050 do :
64051 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64052 if test "x$ac_cv_func__log10l" = x""yes; then :
64053 cat >>confdefs.h <<_ACEOF
64054 #define HAVE__LOG10L 1
64055 _ACEOF
64056
64057 fi
64058 done
64059
64060 fi
64061 fi
64062
64063
64064
64065
64066
64067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64068 $as_echo_n "checking for modfl declaration... " >&6; }
64069 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64070 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64071 $as_echo_n "(cached) " >&6
64072 else
64073
64074
64075 ac_ext=cpp
64076 ac_cpp='$CXXCPP $CPPFLAGS'
64077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64080
64081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64082 /* end confdefs.h. */
64083 #include <math.h>
64084 int
64085 main ()
64086 {
64087 modfl(0, 0);
64088 ;
64089 return 0;
64090 }
64091 _ACEOF
64092 if ac_fn_cxx_try_compile "$LINENO"; then :
64093 glibcxx_cv_func_modfl_use=yes
64094 else
64095 glibcxx_cv_func_modfl_use=no
64096 fi
64097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64098 ac_ext=c
64099 ac_cpp='$CPP $CPPFLAGS'
64100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64103
64104
64105 fi
64106
64107 fi
64108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64109 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64110
64111 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64112 for ac_func in modfl
64113 do :
64114 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64115 if test "x$ac_cv_func_modfl" = x""yes; then :
64116 cat >>confdefs.h <<_ACEOF
64117 #define HAVE_MODFL 1
64118 _ACEOF
64119
64120 fi
64121 done
64122
64123 else
64124
64125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64126 $as_echo_n "checking for _modfl declaration... " >&6; }
64127 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64128 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64129 $as_echo_n "(cached) " >&6
64130 else
64131
64132
64133 ac_ext=cpp
64134 ac_cpp='$CXXCPP $CPPFLAGS'
64135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64138
64139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64140 /* end confdefs.h. */
64141 #include <math.h>
64142 int
64143 main ()
64144 {
64145 _modfl(0, 0);
64146 ;
64147 return 0;
64148 }
64149 _ACEOF
64150 if ac_fn_cxx_try_compile "$LINENO"; then :
64151 glibcxx_cv_func__modfl_use=yes
64152 else
64153 glibcxx_cv_func__modfl_use=no
64154 fi
64155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64156 ac_ext=c
64157 ac_cpp='$CPP $CPPFLAGS'
64158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64161
64162
64163 fi
64164
64165 fi
64166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64167 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64168
64169 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64170 for ac_func in _modfl
64171 do :
64172 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64173 if test "x$ac_cv_func__modfl" = x""yes; then :
64174 cat >>confdefs.h <<_ACEOF
64175 #define HAVE__MODFL 1
64176 _ACEOF
64177
64178 fi
64179 done
64180
64181 fi
64182 fi
64183
64184
64185
64186
64187
64188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64189 $as_echo_n "checking for powl declaration... " >&6; }
64190 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64191 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64192 $as_echo_n "(cached) " >&6
64193 else
64194
64195
64196 ac_ext=cpp
64197 ac_cpp='$CXXCPP $CPPFLAGS'
64198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64201
64202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64203 /* end confdefs.h. */
64204 #include <math.h>
64205 int
64206 main ()
64207 {
64208 powl(0, 0);
64209 ;
64210 return 0;
64211 }
64212 _ACEOF
64213 if ac_fn_cxx_try_compile "$LINENO"; then :
64214 glibcxx_cv_func_powl_use=yes
64215 else
64216 glibcxx_cv_func_powl_use=no
64217 fi
64218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64219 ac_ext=c
64220 ac_cpp='$CPP $CPPFLAGS'
64221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64224
64225
64226 fi
64227
64228 fi
64229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64230 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64231
64232 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64233 for ac_func in powl
64234 do :
64235 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64236 if test "x$ac_cv_func_powl" = x""yes; then :
64237 cat >>confdefs.h <<_ACEOF
64238 #define HAVE_POWL 1
64239 _ACEOF
64240
64241 fi
64242 done
64243
64244 else
64245
64246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64247 $as_echo_n "checking for _powl declaration... " >&6; }
64248 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64249 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64250 $as_echo_n "(cached) " >&6
64251 else
64252
64253
64254 ac_ext=cpp
64255 ac_cpp='$CXXCPP $CPPFLAGS'
64256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64259
64260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64261 /* end confdefs.h. */
64262 #include <math.h>
64263 int
64264 main ()
64265 {
64266 _powl(0, 0);
64267 ;
64268 return 0;
64269 }
64270 _ACEOF
64271 if ac_fn_cxx_try_compile "$LINENO"; then :
64272 glibcxx_cv_func__powl_use=yes
64273 else
64274 glibcxx_cv_func__powl_use=no
64275 fi
64276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64277 ac_ext=c
64278 ac_cpp='$CPP $CPPFLAGS'
64279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64282
64283
64284 fi
64285
64286 fi
64287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64288 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64289
64290 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64291 for ac_func in _powl
64292 do :
64293 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64294 if test "x$ac_cv_func__powl" = x""yes; then :
64295 cat >>confdefs.h <<_ACEOF
64296 #define HAVE__POWL 1
64297 _ACEOF
64298
64299 fi
64300 done
64301
64302 fi
64303 fi
64304
64305
64306
64307
64308
64309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64310 $as_echo_n "checking for sqrtl declaration... " >&6; }
64311 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64312 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64313 $as_echo_n "(cached) " >&6
64314 else
64315
64316
64317 ac_ext=cpp
64318 ac_cpp='$CXXCPP $CPPFLAGS'
64319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64322
64323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64324 /* end confdefs.h. */
64325 #include <math.h>
64326 #ifdef HAVE_IEEEFP_H
64327 #include <ieeefp.h>
64328 #endif
64329
64330 int
64331 main ()
64332 {
64333 sqrtl(0);
64334 ;
64335 return 0;
64336 }
64337 _ACEOF
64338 if ac_fn_cxx_try_compile "$LINENO"; then :
64339 glibcxx_cv_func_sqrtl_use=yes
64340 else
64341 glibcxx_cv_func_sqrtl_use=no
64342 fi
64343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64344 ac_ext=c
64345 ac_cpp='$CPP $CPPFLAGS'
64346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64349
64350
64351 fi
64352
64353 fi
64354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64355 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64356
64357 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64358 for ac_func in sqrtl
64359 do :
64360 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64361 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64362 cat >>confdefs.h <<_ACEOF
64363 #define HAVE_SQRTL 1
64364 _ACEOF
64365
64366 fi
64367 done
64368
64369 else
64370
64371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64372 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64373 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64374 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64375 $as_echo_n "(cached) " >&6
64376 else
64377
64378
64379 ac_ext=cpp
64380 ac_cpp='$CXXCPP $CPPFLAGS'
64381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64384
64385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64386 /* end confdefs.h. */
64387 #include <math.h>
64388 #ifdef HAVE_IEEEFP_H
64389 #include <ieeefp.h>
64390 #endif
64391
64392 int
64393 main ()
64394 {
64395 _sqrtl(0);
64396 ;
64397 return 0;
64398 }
64399 _ACEOF
64400 if ac_fn_cxx_try_compile "$LINENO"; then :
64401 glibcxx_cv_func__sqrtl_use=yes
64402 else
64403 glibcxx_cv_func__sqrtl_use=no
64404 fi
64405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64406 ac_ext=c
64407 ac_cpp='$CPP $CPPFLAGS'
64408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64411
64412
64413 fi
64414
64415 fi
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64417 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64418
64419 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64420 for ac_func in _sqrtl
64421 do :
64422 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64423 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64424 cat >>confdefs.h <<_ACEOF
64425 #define HAVE__SQRTL 1
64426 _ACEOF
64427
64428 fi
64429 done
64430
64431 fi
64432 fi
64433
64434
64435
64436
64437
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64439 $as_echo_n "checking for sincosl declaration... " >&6; }
64440 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64441 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64442 $as_echo_n "(cached) " >&6
64443 else
64444
64445
64446 ac_ext=cpp
64447 ac_cpp='$CXXCPP $CPPFLAGS'
64448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64451
64452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64453 /* end confdefs.h. */
64454 #include <math.h>
64455 int
64456 main ()
64457 {
64458 sincosl(0, 0, 0);
64459 ;
64460 return 0;
64461 }
64462 _ACEOF
64463 if ac_fn_cxx_try_compile "$LINENO"; then :
64464 glibcxx_cv_func_sincosl_use=yes
64465 else
64466 glibcxx_cv_func_sincosl_use=no
64467 fi
64468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64469 ac_ext=c
64470 ac_cpp='$CPP $CPPFLAGS'
64471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64474
64475
64476 fi
64477
64478 fi
64479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64480 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64481
64482 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64483 for ac_func in sincosl
64484 do :
64485 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64486 if test "x$ac_cv_func_sincosl" = x""yes; then :
64487 cat >>confdefs.h <<_ACEOF
64488 #define HAVE_SINCOSL 1
64489 _ACEOF
64490
64491 fi
64492 done
64493
64494 else
64495
64496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64497 $as_echo_n "checking for _sincosl declaration... " >&6; }
64498 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64499 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64500 $as_echo_n "(cached) " >&6
64501 else
64502
64503
64504 ac_ext=cpp
64505 ac_cpp='$CXXCPP $CPPFLAGS'
64506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64509
64510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64511 /* end confdefs.h. */
64512 #include <math.h>
64513 int
64514 main ()
64515 {
64516 _sincosl(0, 0, 0);
64517 ;
64518 return 0;
64519 }
64520 _ACEOF
64521 if ac_fn_cxx_try_compile "$LINENO"; then :
64522 glibcxx_cv_func__sincosl_use=yes
64523 else
64524 glibcxx_cv_func__sincosl_use=no
64525 fi
64526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64527 ac_ext=c
64528 ac_cpp='$CPP $CPPFLAGS'
64529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64532
64533
64534 fi
64535
64536 fi
64537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64538 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64539
64540 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64541 for ac_func in _sincosl
64542 do :
64543 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64544 if test "x$ac_cv_func__sincosl" = x""yes; then :
64545 cat >>confdefs.h <<_ACEOF
64546 #define HAVE__SINCOSL 1
64547 _ACEOF
64548
64549 fi
64550 done
64551
64552 fi
64553 fi
64554
64555
64556
64557
64558
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64560 $as_echo_n "checking for finitel declaration... " >&6; }
64561 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64562 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64563 $as_echo_n "(cached) " >&6
64564 else
64565
64566
64567 ac_ext=cpp
64568 ac_cpp='$CXXCPP $CPPFLAGS'
64569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64572
64573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64574 /* end confdefs.h. */
64575 #include <math.h>
64576 #ifdef HAVE_IEEEFP_H
64577 #include <ieeefp.h>
64578 #endif
64579
64580 int
64581 main ()
64582 {
64583 finitel(0);
64584 ;
64585 return 0;
64586 }
64587 _ACEOF
64588 if ac_fn_cxx_try_compile "$LINENO"; then :
64589 glibcxx_cv_func_finitel_use=yes
64590 else
64591 glibcxx_cv_func_finitel_use=no
64592 fi
64593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64594 ac_ext=c
64595 ac_cpp='$CPP $CPPFLAGS'
64596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64599
64600
64601 fi
64602
64603 fi
64604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64605 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64606
64607 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64608 for ac_func in finitel
64609 do :
64610 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64611 if test "x$ac_cv_func_finitel" = x""yes; then :
64612 cat >>confdefs.h <<_ACEOF
64613 #define HAVE_FINITEL 1
64614 _ACEOF
64615
64616 fi
64617 done
64618
64619 else
64620
64621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64622 $as_echo_n "checking for _finitel declaration... " >&6; }
64623 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64624 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64625 $as_echo_n "(cached) " >&6
64626 else
64627
64628
64629 ac_ext=cpp
64630 ac_cpp='$CXXCPP $CPPFLAGS'
64631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64634
64635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64636 /* end confdefs.h. */
64637 #include <math.h>
64638 #ifdef HAVE_IEEEFP_H
64639 #include <ieeefp.h>
64640 #endif
64641
64642 int
64643 main ()
64644 {
64645 _finitel(0);
64646 ;
64647 return 0;
64648 }
64649 _ACEOF
64650 if ac_fn_cxx_try_compile "$LINENO"; then :
64651 glibcxx_cv_func__finitel_use=yes
64652 else
64653 glibcxx_cv_func__finitel_use=no
64654 fi
64655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64656 ac_ext=c
64657 ac_cpp='$CPP $CPPFLAGS'
64658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64661
64662
64663 fi
64664
64665 fi
64666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64667 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64668
64669 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64670 for ac_func in _finitel
64671 do :
64672 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64673 if test "x$ac_cv_func__finitel" = x""yes; then :
64674 cat >>confdefs.h <<_ACEOF
64675 #define HAVE__FINITEL 1
64676 _ACEOF
64677
64678 fi
64679 done
64680
64681 fi
64682 fi
64683
64684
64685
64686
64687 LIBS="$ac_save_LIBS"
64688 CXXFLAGS="$ac_save_CXXFLAGS"
64689
64690
64691 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64692 ac_save_CXXFLAGS="$CXXFLAGS"
64693 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64694
64695
64696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64697 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64698 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64699 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64700 $as_echo_n "(cached) " >&6
64701 else
64702
64703
64704 ac_ext=cpp
64705 ac_cpp='$CXXCPP $CPPFLAGS'
64706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64709
64710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64711 /* end confdefs.h. */
64712 #include <stdlib.h>
64713 int
64714 main ()
64715 {
64716 at_quick_exit(0);
64717 ;
64718 return 0;
64719 }
64720 _ACEOF
64721 if ac_fn_cxx_try_compile "$LINENO"; then :
64722 glibcxx_cv_func_at_quick_exit_use=yes
64723 else
64724 glibcxx_cv_func_at_quick_exit_use=no
64725 fi
64726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64727 ac_ext=c
64728 ac_cpp='$CPP $CPPFLAGS'
64729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64732
64733
64734 fi
64735
64736 fi
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64738 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64739 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64740 for ac_func in at_quick_exit
64741 do :
64742 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64743 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64744 cat >>confdefs.h <<_ACEOF
64745 #define HAVE_AT_QUICK_EXIT 1
64746 _ACEOF
64747
64748 fi
64749 done
64750
64751 fi
64752
64753
64754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64755 $as_echo_n "checking for quick_exit declaration... " >&6; }
64756 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64757 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64758 $as_echo_n "(cached) " >&6
64759 else
64760
64761
64762 ac_ext=cpp
64763 ac_cpp='$CXXCPP $CPPFLAGS'
64764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64767
64768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64769 /* end confdefs.h. */
64770 #include <stdlib.h>
64771 int
64772 main ()
64773 {
64774 quick_exit(0);
64775 ;
64776 return 0;
64777 }
64778 _ACEOF
64779 if ac_fn_cxx_try_compile "$LINENO"; then :
64780 glibcxx_cv_func_quick_exit_use=yes
64781 else
64782 glibcxx_cv_func_quick_exit_use=no
64783 fi
64784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64785 ac_ext=c
64786 ac_cpp='$CPP $CPPFLAGS'
64787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64790
64791
64792 fi
64793
64794 fi
64795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64796 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64797 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64798 for ac_func in quick_exit
64799 do :
64800 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64801 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64802 cat >>confdefs.h <<_ACEOF
64803 #define HAVE_QUICK_EXIT 1
64804 _ACEOF
64805
64806 fi
64807 done
64808
64809 fi
64810
64811
64812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64813 $as_echo_n "checking for strtold declaration... " >&6; }
64814 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64815 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64816 $as_echo_n "(cached) " >&6
64817 else
64818
64819
64820 ac_ext=cpp
64821 ac_cpp='$CXXCPP $CPPFLAGS'
64822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64825
64826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64827 /* end confdefs.h. */
64828 #include <stdlib.h>
64829 int
64830 main ()
64831 {
64832 strtold(0, 0);
64833 ;
64834 return 0;
64835 }
64836 _ACEOF
64837 if ac_fn_cxx_try_compile "$LINENO"; then :
64838 glibcxx_cv_func_strtold_use=yes
64839 else
64840 glibcxx_cv_func_strtold_use=no
64841 fi
64842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64843 ac_ext=c
64844 ac_cpp='$CPP $CPPFLAGS'
64845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64848
64849
64850 fi
64851
64852 fi
64853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64854 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64855 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64856 for ac_func in strtold
64857 do :
64858 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64859 if test "x$ac_cv_func_strtold" = x""yes; then :
64860 cat >>confdefs.h <<_ACEOF
64861 #define HAVE_STRTOLD 1
64862 _ACEOF
64863
64864 fi
64865 done
64866
64867 fi
64868
64869
64870
64871
64872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64873 $as_echo_n "checking for strtof declaration... " >&6; }
64874 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64875 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64876 $as_echo_n "(cached) " >&6
64877 else
64878
64879
64880 ac_ext=cpp
64881 ac_cpp='$CXXCPP $CPPFLAGS'
64882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64885
64886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64887 /* end confdefs.h. */
64888 #include <stdlib.h>
64889 int
64890 main ()
64891 {
64892 strtof(0, 0);
64893 ;
64894 return 0;
64895 }
64896 _ACEOF
64897 if ac_fn_cxx_try_compile "$LINENO"; then :
64898 glibcxx_cv_func_strtof_use=yes
64899 else
64900 glibcxx_cv_func_strtof_use=no
64901 fi
64902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64903 ac_ext=c
64904 ac_cpp='$CPP $CPPFLAGS'
64905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64908
64909
64910 fi
64911
64912 fi
64913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64914 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64915 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64916 for ac_func in strtof
64917 do :
64918 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64919 if test "x$ac_cv_func_strtof" = x""yes; then :
64920 cat >>confdefs.h <<_ACEOF
64921 #define HAVE_STRTOF 1
64922 _ACEOF
64923
64924 fi
64925 done
64926
64927 fi
64928
64929
64930
64931
64932 CXXFLAGS="$ac_save_CXXFLAGS"
64933
64934 ;;
64935 *-netbsd*)
64936 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64937
64938
64939 # If we're not using GNU ld, then there's no point in even trying these
64940 # tests. Check for that first. We should have already tested for gld
64941 # by now (in libtool), but require it now just to be safe...
64942 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64943 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64944
64945
64946
64947 # The name set by libtool depends on the version of libtool. Shame on us
64948 # for depending on an impl detail, but c'est la vie. Older versions used
64949 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64950 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64951 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64952 # set (hence we're using an older libtool), then set it.
64953 if test x${with_gnu_ld+set} != xset; then
64954 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64955 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64956 with_gnu_ld=no
64957 else
64958 with_gnu_ld=$ac_cv_prog_gnu_ld
64959 fi
64960 fi
64961
64962 # Start by getting the version number. I think the libtool test already
64963 # does some of this, but throws away the result.
64964 glibcxx_ld_is_gold=no
64965 if test x"$with_gnu_ld" = x"yes"; then
64966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64967 $as_echo_n "checking for ld version... " >&6; }
64968
64969 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64970 glibcxx_ld_is_gold=yes
64971 fi
64972 ldver=`$LD --version 2>/dev/null |
64973 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
64974
64975 glibcxx_gnu_ld_version=`echo $ldver | \
64976 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64978 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64979 fi
64980
64981 # Set --gc-sections.
64982 glibcxx_have_gc_sections=no
64983 if test "$glibcxx_ld_is_gold" = "yes"; then
64984 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64985 glibcxx_have_gc_sections=yes
64986 fi
64987 else
64988 glibcxx_gcsections_min_ld=21602
64989 if test x"$with_gnu_ld" = x"yes" &&
64990 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64991 glibcxx_have_gc_sections=yes
64992 fi
64993 fi
64994 if test "$glibcxx_have_gc_sections" = "yes"; then
64995 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64996 # NB: This flag only works reliably after 2.16.1. Configure tests
64997 # for this are difficult, so hard wire a value that should work.
64998
64999 ac_test_CFLAGS="${CFLAGS+set}"
65000 ac_save_CFLAGS="$CFLAGS"
65001 CFLAGS='-Wl,--gc-sections'
65002
65003 # Check for -Wl,--gc-sections
65004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65005 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65006 if test x$gcc_no_link = xyes; then
65007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65008 fi
65009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65010 /* end confdefs.h. */
65011 int one(void) { return 1; }
65012 int two(void) { return 2; }
65013
65014 int
65015 main ()
65016 {
65017 two();
65018 ;
65019 return 0;
65020 }
65021 _ACEOF
65022 if ac_fn_c_try_link "$LINENO"; then :
65023 ac_gcsections=yes
65024 else
65025 ac_gcsections=no
65026 fi
65027 rm -f core conftest.err conftest.$ac_objext \
65028 conftest$ac_exeext conftest.$ac_ext
65029 if test "$ac_gcsections" = "yes"; then
65030 rm -f conftest.c
65031 touch conftest.c
65032 if $CC -c conftest.c; then
65033 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65034 grep "Warning: gc-sections option ignored" > /dev/null; then
65035 ac_gcsections=no
65036 fi
65037 fi
65038 rm -f conftest.c conftest.o conftest
65039 fi
65040 if test "$ac_gcsections" = "yes"; then
65041 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65042 fi
65043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65044 $as_echo "$ac_gcsections" >&6; }
65045
65046 if test "$ac_test_CFLAGS" = set; then
65047 CFLAGS="$ac_save_CFLAGS"
65048 else
65049 # this is the suspicious part
65050 CFLAGS=''
65051 fi
65052 fi
65053
65054 # Set -z,relro.
65055 # Note this is only for shared objects.
65056 ac_ld_relro=no
65057 if test x"$with_gnu_ld" = x"yes"; then
65058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65059 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65060 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65061 if test -n "$cxx_z_relo"; then
65062 OPT_LDFLAGS="-Wl,-z,relro"
65063 ac_ld_relro=yes
65064 fi
65065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65066 $as_echo "$ac_ld_relro" >&6; }
65067 fi
65068
65069 # Set linker optimization flags.
65070 if test x"$with_gnu_ld" = x"yes"; then
65071 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65072 fi
65073
65074
65075
65076
65077 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65078
65079 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65080
65081 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65082
65083 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65084
65085 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65086
65087 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65088
65089 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65090
65091 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65092
65093 if test x"long_double_math_on_this_cpu" = x"yes"; then
65094 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65095
65096 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65097
65098 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65099
65100 fi
65101 ;;
65102 *-qnx6.1* | *-qnx6.2*)
65103 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65104
65105
65106 # If we're not using GNU ld, then there's no point in even trying these
65107 # tests. Check for that first. We should have already tested for gld
65108 # by now (in libtool), but require it now just to be safe...
65109 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65110 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65111
65112
65113
65114 # The name set by libtool depends on the version of libtool. Shame on us
65115 # for depending on an impl detail, but c'est la vie. Older versions used
65116 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65117 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65118 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65119 # set (hence we're using an older libtool), then set it.
65120 if test x${with_gnu_ld+set} != xset; then
65121 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65122 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65123 with_gnu_ld=no
65124 else
65125 with_gnu_ld=$ac_cv_prog_gnu_ld
65126 fi
65127 fi
65128
65129 # Start by getting the version number. I think the libtool test already
65130 # does some of this, but throws away the result.
65131 glibcxx_ld_is_gold=no
65132 if test x"$with_gnu_ld" = x"yes"; then
65133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65134 $as_echo_n "checking for ld version... " >&6; }
65135
65136 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65137 glibcxx_ld_is_gold=yes
65138 fi
65139 ldver=`$LD --version 2>/dev/null |
65140 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
65141
65142 glibcxx_gnu_ld_version=`echo $ldver | \
65143 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65145 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65146 fi
65147
65148 # Set --gc-sections.
65149 glibcxx_have_gc_sections=no
65150 if test "$glibcxx_ld_is_gold" = "yes"; then
65151 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65152 glibcxx_have_gc_sections=yes
65153 fi
65154 else
65155 glibcxx_gcsections_min_ld=21602
65156 if test x"$with_gnu_ld" = x"yes" &&
65157 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65158 glibcxx_have_gc_sections=yes
65159 fi
65160 fi
65161 if test "$glibcxx_have_gc_sections" = "yes"; then
65162 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65163 # NB: This flag only works reliably after 2.16.1. Configure tests
65164 # for this are difficult, so hard wire a value that should work.
65165
65166 ac_test_CFLAGS="${CFLAGS+set}"
65167 ac_save_CFLAGS="$CFLAGS"
65168 CFLAGS='-Wl,--gc-sections'
65169
65170 # Check for -Wl,--gc-sections
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65172 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65173 if test x$gcc_no_link = xyes; then
65174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65175 fi
65176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65177 /* end confdefs.h. */
65178 int one(void) { return 1; }
65179 int two(void) { return 2; }
65180
65181 int
65182 main ()
65183 {
65184 two();
65185 ;
65186 return 0;
65187 }
65188 _ACEOF
65189 if ac_fn_c_try_link "$LINENO"; then :
65190 ac_gcsections=yes
65191 else
65192 ac_gcsections=no
65193 fi
65194 rm -f core conftest.err conftest.$ac_objext \
65195 conftest$ac_exeext conftest.$ac_ext
65196 if test "$ac_gcsections" = "yes"; then
65197 rm -f conftest.c
65198 touch conftest.c
65199 if $CC -c conftest.c; then
65200 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65201 grep "Warning: gc-sections option ignored" > /dev/null; then
65202 ac_gcsections=no
65203 fi
65204 fi
65205 rm -f conftest.c conftest.o conftest
65206 fi
65207 if test "$ac_gcsections" = "yes"; then
65208 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65209 fi
65210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65211 $as_echo "$ac_gcsections" >&6; }
65212
65213 if test "$ac_test_CFLAGS" = set; then
65214 CFLAGS="$ac_save_CFLAGS"
65215 else
65216 # this is the suspicious part
65217 CFLAGS=''
65218 fi
65219 fi
65220
65221 # Set -z,relro.
65222 # Note this is only for shared objects.
65223 ac_ld_relro=no
65224 if test x"$with_gnu_ld" = x"yes"; then
65225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65226 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65227 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65228 if test -n "$cxx_z_relo"; then
65229 OPT_LDFLAGS="-Wl,-z,relro"
65230 ac_ld_relro=yes
65231 fi
65232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65233 $as_echo "$ac_ld_relro" >&6; }
65234 fi
65235
65236 # Set linker optimization flags.
65237 if test x"$with_gnu_ld" = x"yes"; then
65238 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65239 fi
65240
65241
65242
65243
65244 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65245
65246 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65247
65248 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65249
65250 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65251
65252 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65253
65254 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65255
65256 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65257
65258 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65259
65260 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65261
65262 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65263
65264 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65265
65266 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65267
65268 ;;
65269 *-rtems*)
65270
65271 # All these tests are for C++; save the language and the compiler flags.
65272 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65273 # found in GLIBCXX_CONFIGURE.
65274
65275 ac_ext=cpp
65276 ac_cpp='$CXXCPP $CPPFLAGS'
65277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65280
65281 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65282 ac_save_CXXFLAGS="$CXXFLAGS"
65283
65284 # Check for maintainer-mode bits.
65285 if test x"$USE_MAINTAINER_MODE" = xno; then
65286 WERROR=''
65287 else
65288 WERROR='-Werror'
65289 fi
65290
65291 # Check for -ffunction-sections -fdata-sections
65292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65293 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65294 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65296 /* end confdefs.h. */
65297 int foo; void bar() { };
65298 int
65299 main ()
65300 {
65301
65302 ;
65303 return 0;
65304 }
65305 _ACEOF
65306 if ac_fn_cxx_try_compile "$LINENO"; then :
65307 ac_fdsections=yes
65308 else
65309 ac_fdsections=no
65310 fi
65311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65312 if test "$ac_test_CXXFLAGS" = set; then
65313 CXXFLAGS="$ac_save_CXXFLAGS"
65314 else
65315 # this is the suspicious part
65316 CXXFLAGS=''
65317 fi
65318 if test x"$ac_fdsections" = x"yes"; then
65319 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65320 fi
65321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65322 $as_echo "$ac_fdsections" >&6; }
65323
65324 ac_ext=c
65325 ac_cpp='$CPP $CPPFLAGS'
65326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65329
65330
65331
65332
65333
65334 # If we're not using GNU ld, then there's no point in even trying these
65335 # tests. Check for that first. We should have already tested for gld
65336 # by now (in libtool), but require it now just to be safe...
65337 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65338 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65339
65340
65341
65342 # The name set by libtool depends on the version of libtool. Shame on us
65343 # for depending on an impl detail, but c'est la vie. Older versions used
65344 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65345 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65346 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65347 # set (hence we're using an older libtool), then set it.
65348 if test x${with_gnu_ld+set} != xset; then
65349 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65350 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65351 with_gnu_ld=no
65352 else
65353 with_gnu_ld=$ac_cv_prog_gnu_ld
65354 fi
65355 fi
65356
65357 # Start by getting the version number. I think the libtool test already
65358 # does some of this, but throws away the result.
65359 glibcxx_ld_is_gold=no
65360 if test x"$with_gnu_ld" = x"yes"; then
65361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65362 $as_echo_n "checking for ld version... " >&6; }
65363
65364 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65365 glibcxx_ld_is_gold=yes
65366 fi
65367 ldver=`$LD --version 2>/dev/null |
65368 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
65369
65370 glibcxx_gnu_ld_version=`echo $ldver | \
65371 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65373 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65374 fi
65375
65376 # Set --gc-sections.
65377 glibcxx_have_gc_sections=no
65378 if test "$glibcxx_ld_is_gold" = "yes"; then
65379 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65380 glibcxx_have_gc_sections=yes
65381 fi
65382 else
65383 glibcxx_gcsections_min_ld=21602
65384 if test x"$with_gnu_ld" = x"yes" &&
65385 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65386 glibcxx_have_gc_sections=yes
65387 fi
65388 fi
65389 if test "$glibcxx_have_gc_sections" = "yes"; then
65390 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65391 # NB: This flag only works reliably after 2.16.1. Configure tests
65392 # for this are difficult, so hard wire a value that should work.
65393
65394 ac_test_CFLAGS="${CFLAGS+set}"
65395 ac_save_CFLAGS="$CFLAGS"
65396 CFLAGS='-Wl,--gc-sections'
65397
65398 # Check for -Wl,--gc-sections
65399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65400 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65401 if test x$gcc_no_link = xyes; then
65402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65403 fi
65404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65405 /* end confdefs.h. */
65406 int one(void) { return 1; }
65407 int two(void) { return 2; }
65408
65409 int
65410 main ()
65411 {
65412 two();
65413 ;
65414 return 0;
65415 }
65416 _ACEOF
65417 if ac_fn_c_try_link "$LINENO"; then :
65418 ac_gcsections=yes
65419 else
65420 ac_gcsections=no
65421 fi
65422 rm -f core conftest.err conftest.$ac_objext \
65423 conftest$ac_exeext conftest.$ac_ext
65424 if test "$ac_gcsections" = "yes"; then
65425 rm -f conftest.c
65426 touch conftest.c
65427 if $CC -c conftest.c; then
65428 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65429 grep "Warning: gc-sections option ignored" > /dev/null; then
65430 ac_gcsections=no
65431 fi
65432 fi
65433 rm -f conftest.c conftest.o conftest
65434 fi
65435 if test "$ac_gcsections" = "yes"; then
65436 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65437 fi
65438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65439 $as_echo "$ac_gcsections" >&6; }
65440
65441 if test "$ac_test_CFLAGS" = set; then
65442 CFLAGS="$ac_save_CFLAGS"
65443 else
65444 # this is the suspicious part
65445 CFLAGS=''
65446 fi
65447 fi
65448
65449 # Set -z,relro.
65450 # Note this is only for shared objects.
65451 ac_ld_relro=no
65452 if test x"$with_gnu_ld" = x"yes"; then
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65454 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65455 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65456 if test -n "$cxx_z_relo"; then
65457 OPT_LDFLAGS="-Wl,-z,relro"
65458 ac_ld_relro=yes
65459 fi
65460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65461 $as_echo "$ac_ld_relro" >&6; }
65462 fi
65463
65464 # Set linker optimization flags.
65465 if test x"$with_gnu_ld" = x"yes"; then
65466 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65467 fi
65468
65469
65470
65471
65472
65473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65474 ac_save_CXXFLAGS="$CXXFLAGS"
65475 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65476
65477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65478 $as_echo_n "checking for sin in -lm... " >&6; }
65479 if test "${ac_cv_lib_m_sin+set}" = set; then :
65480 $as_echo_n "(cached) " >&6
65481 else
65482 ac_check_lib_save_LIBS=$LIBS
65483 LIBS="-lm $LIBS"
65484 if test x$gcc_no_link = xyes; then
65485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65486 fi
65487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65488 /* end confdefs.h. */
65489
65490 /* Override any GCC internal prototype to avoid an error.
65491 Use char because int might match the return type of a GCC
65492 builtin and then its argument prototype would still apply. */
65493 #ifdef __cplusplus
65494 extern "C"
65495 #endif
65496 char sin ();
65497 int
65498 main ()
65499 {
65500 return sin ();
65501 ;
65502 return 0;
65503 }
65504 _ACEOF
65505 if ac_fn_c_try_link "$LINENO"; then :
65506 ac_cv_lib_m_sin=yes
65507 else
65508 ac_cv_lib_m_sin=no
65509 fi
65510 rm -f core conftest.err conftest.$ac_objext \
65511 conftest$ac_exeext conftest.$ac_ext
65512 LIBS=$ac_check_lib_save_LIBS
65513 fi
65514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65515 $as_echo "$ac_cv_lib_m_sin" >&6; }
65516 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65517 libm="-lm"
65518 fi
65519
65520 ac_save_LIBS="$LIBS"
65521 LIBS="$LIBS $libm"
65522
65523
65524
65525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65526 $as_echo_n "checking for isinf declaration... " >&6; }
65527 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65528 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65529 $as_echo_n "(cached) " >&6
65530 else
65531
65532
65533 ac_ext=cpp
65534 ac_cpp='$CXXCPP $CPPFLAGS'
65535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65538
65539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65540 /* end confdefs.h. */
65541 #include <math.h>
65542 #ifdef HAVE_IEEEFP_H
65543 #include <ieeefp.h>
65544 #endif
65545
65546 int
65547 main ()
65548 {
65549 isinf(0);
65550 ;
65551 return 0;
65552 }
65553 _ACEOF
65554 if ac_fn_cxx_try_compile "$LINENO"; then :
65555 glibcxx_cv_func_isinf_use=yes
65556 else
65557 glibcxx_cv_func_isinf_use=no
65558 fi
65559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65560 ac_ext=c
65561 ac_cpp='$CPP $CPPFLAGS'
65562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65565
65566
65567 fi
65568
65569 fi
65570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65571 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65572
65573 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65574 for ac_func in isinf
65575 do :
65576 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65577 if test "x$ac_cv_func_isinf" = x""yes; then :
65578 cat >>confdefs.h <<_ACEOF
65579 #define HAVE_ISINF 1
65580 _ACEOF
65581
65582 fi
65583 done
65584
65585 else
65586
65587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65588 $as_echo_n "checking for _isinf declaration... " >&6; }
65589 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65590 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65591 $as_echo_n "(cached) " >&6
65592 else
65593
65594
65595 ac_ext=cpp
65596 ac_cpp='$CXXCPP $CPPFLAGS'
65597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65600
65601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65602 /* end confdefs.h. */
65603 #include <math.h>
65604 #ifdef HAVE_IEEEFP_H
65605 #include <ieeefp.h>
65606 #endif
65607
65608 int
65609 main ()
65610 {
65611 _isinf(0);
65612 ;
65613 return 0;
65614 }
65615 _ACEOF
65616 if ac_fn_cxx_try_compile "$LINENO"; then :
65617 glibcxx_cv_func__isinf_use=yes
65618 else
65619 glibcxx_cv_func__isinf_use=no
65620 fi
65621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65622 ac_ext=c
65623 ac_cpp='$CPP $CPPFLAGS'
65624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65627
65628
65629 fi
65630
65631 fi
65632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65633 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65634
65635 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65636 for ac_func in _isinf
65637 do :
65638 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65639 if test "x$ac_cv_func__isinf" = x""yes; then :
65640 cat >>confdefs.h <<_ACEOF
65641 #define HAVE__ISINF 1
65642 _ACEOF
65643
65644 fi
65645 done
65646
65647 fi
65648 fi
65649
65650
65651
65652
65653
65654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65655 $as_echo_n "checking for isnan declaration... " >&6; }
65656 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65657 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65658 $as_echo_n "(cached) " >&6
65659 else
65660
65661
65662 ac_ext=cpp
65663 ac_cpp='$CXXCPP $CPPFLAGS'
65664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65667
65668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65669 /* end confdefs.h. */
65670 #include <math.h>
65671 #ifdef HAVE_IEEEFP_H
65672 #include <ieeefp.h>
65673 #endif
65674
65675 int
65676 main ()
65677 {
65678 isnan(0);
65679 ;
65680 return 0;
65681 }
65682 _ACEOF
65683 if ac_fn_cxx_try_compile "$LINENO"; then :
65684 glibcxx_cv_func_isnan_use=yes
65685 else
65686 glibcxx_cv_func_isnan_use=no
65687 fi
65688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65689 ac_ext=c
65690 ac_cpp='$CPP $CPPFLAGS'
65691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65694
65695
65696 fi
65697
65698 fi
65699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65700 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65701
65702 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65703 for ac_func in isnan
65704 do :
65705 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65706 if test "x$ac_cv_func_isnan" = x""yes; then :
65707 cat >>confdefs.h <<_ACEOF
65708 #define HAVE_ISNAN 1
65709 _ACEOF
65710
65711 fi
65712 done
65713
65714 else
65715
65716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65717 $as_echo_n "checking for _isnan declaration... " >&6; }
65718 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65719 if test "${glibcxx_cv_func__isnan_use+set}" = set; 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 _isnan(0);
65741 ;
65742 return 0;
65743 }
65744 _ACEOF
65745 if ac_fn_cxx_try_compile "$LINENO"; then :
65746 glibcxx_cv_func__isnan_use=yes
65747 else
65748 glibcxx_cv_func__isnan_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__isnan_use" >&5
65762 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65763
65764 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65765 for ac_func in _isnan
65766 do :
65767 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65768 if test "x$ac_cv_func__isnan" = x""yes; then :
65769 cat >>confdefs.h <<_ACEOF
65770 #define HAVE__ISNAN 1
65771 _ACEOF
65772
65773 fi
65774 done
65775
65776 fi
65777 fi
65778
65779
65780
65781
65782
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65784 $as_echo_n "checking for finite declaration... " >&6; }
65785 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65786 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65787 $as_echo_n "(cached) " >&6
65788 else
65789
65790
65791 ac_ext=cpp
65792 ac_cpp='$CXXCPP $CPPFLAGS'
65793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65796
65797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65798 /* end confdefs.h. */
65799 #include <math.h>
65800 #ifdef HAVE_IEEEFP_H
65801 #include <ieeefp.h>
65802 #endif
65803
65804 int
65805 main ()
65806 {
65807 finite(0);
65808 ;
65809 return 0;
65810 }
65811 _ACEOF
65812 if ac_fn_cxx_try_compile "$LINENO"; then :
65813 glibcxx_cv_func_finite_use=yes
65814 else
65815 glibcxx_cv_func_finite_use=no
65816 fi
65817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65818 ac_ext=c
65819 ac_cpp='$CPP $CPPFLAGS'
65820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65823
65824
65825 fi
65826
65827 fi
65828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65829 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65830
65831 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65832 for ac_func in finite
65833 do :
65834 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65835 if test "x$ac_cv_func_finite" = x""yes; then :
65836 cat >>confdefs.h <<_ACEOF
65837 #define HAVE_FINITE 1
65838 _ACEOF
65839
65840 fi
65841 done
65842
65843 else
65844
65845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65846 $as_echo_n "checking for _finite declaration... " >&6; }
65847 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65848 if test "${glibcxx_cv_func__finite_use+set}" = set; 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 _finite(0);
65870 ;
65871 return 0;
65872 }
65873 _ACEOF
65874 if ac_fn_cxx_try_compile "$LINENO"; then :
65875 glibcxx_cv_func__finite_use=yes
65876 else
65877 glibcxx_cv_func__finite_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__finite_use" >&5
65891 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65892
65893 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65894 for ac_func in _finite
65895 do :
65896 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65897 if test "x$ac_cv_func__finite" = x""yes; then :
65898 cat >>confdefs.h <<_ACEOF
65899 #define HAVE__FINITE 1
65900 _ACEOF
65901
65902 fi
65903 done
65904
65905 fi
65906 fi
65907
65908
65909
65910
65911
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65913 $as_echo_n "checking for sincos declaration... " >&6; }
65914 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65915 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65916 $as_echo_n "(cached) " >&6
65917 else
65918
65919
65920 ac_ext=cpp
65921 ac_cpp='$CXXCPP $CPPFLAGS'
65922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65925
65926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65927 /* end confdefs.h. */
65928 #include <math.h>
65929 int
65930 main ()
65931 {
65932 sincos(0, 0, 0);
65933 ;
65934 return 0;
65935 }
65936 _ACEOF
65937 if ac_fn_cxx_try_compile "$LINENO"; then :
65938 glibcxx_cv_func_sincos_use=yes
65939 else
65940 glibcxx_cv_func_sincos_use=no
65941 fi
65942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65943 ac_ext=c
65944 ac_cpp='$CPP $CPPFLAGS'
65945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65948
65949
65950 fi
65951
65952 fi
65953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65954 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65955
65956 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65957 for ac_func in sincos
65958 do :
65959 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65960 if test "x$ac_cv_func_sincos" = x""yes; then :
65961 cat >>confdefs.h <<_ACEOF
65962 #define HAVE_SINCOS 1
65963 _ACEOF
65964
65965 fi
65966 done
65967
65968 else
65969
65970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65971 $as_echo_n "checking for _sincos declaration... " >&6; }
65972 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65973 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65974 $as_echo_n "(cached) " >&6
65975 else
65976
65977
65978 ac_ext=cpp
65979 ac_cpp='$CXXCPP $CPPFLAGS'
65980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65983
65984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65985 /* end confdefs.h. */
65986 #include <math.h>
65987 int
65988 main ()
65989 {
65990 _sincos(0, 0, 0);
65991 ;
65992 return 0;
65993 }
65994 _ACEOF
65995 if ac_fn_cxx_try_compile "$LINENO"; then :
65996 glibcxx_cv_func__sincos_use=yes
65997 else
65998 glibcxx_cv_func__sincos_use=no
65999 fi
66000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66001 ac_ext=c
66002 ac_cpp='$CPP $CPPFLAGS'
66003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66006
66007
66008 fi
66009
66010 fi
66011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66012 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66013
66014 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66015 for ac_func in _sincos
66016 do :
66017 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66018 if test "x$ac_cv_func__sincos" = x""yes; then :
66019 cat >>confdefs.h <<_ACEOF
66020 #define HAVE__SINCOS 1
66021 _ACEOF
66022
66023 fi
66024 done
66025
66026 fi
66027 fi
66028
66029
66030
66031
66032
66033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66034 $as_echo_n "checking for fpclass declaration... " >&6; }
66035 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66036 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66037 $as_echo_n "(cached) " >&6
66038 else
66039
66040
66041 ac_ext=cpp
66042 ac_cpp='$CXXCPP $CPPFLAGS'
66043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66046
66047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66048 /* end confdefs.h. */
66049 #include <math.h>
66050 #ifdef HAVE_IEEEFP_H
66051 #include <ieeefp.h>
66052 #endif
66053
66054 int
66055 main ()
66056 {
66057 fpclass(0);
66058 ;
66059 return 0;
66060 }
66061 _ACEOF
66062 if ac_fn_cxx_try_compile "$LINENO"; then :
66063 glibcxx_cv_func_fpclass_use=yes
66064 else
66065 glibcxx_cv_func_fpclass_use=no
66066 fi
66067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66068 ac_ext=c
66069 ac_cpp='$CPP $CPPFLAGS'
66070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66073
66074
66075 fi
66076
66077 fi
66078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66079 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66080
66081 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66082 for ac_func in fpclass
66083 do :
66084 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66085 if test "x$ac_cv_func_fpclass" = x""yes; then :
66086 cat >>confdefs.h <<_ACEOF
66087 #define HAVE_FPCLASS 1
66088 _ACEOF
66089
66090 fi
66091 done
66092
66093 else
66094
66095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66096 $as_echo_n "checking for _fpclass declaration... " >&6; }
66097 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66098 if test "${glibcxx_cv_func__fpclass_use+set}" = set; 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 #ifdef HAVE_IEEEFP_H
66113 #include <ieeefp.h>
66114 #endif
66115
66116 int
66117 main ()
66118 {
66119 _fpclass(0);
66120 ;
66121 return 0;
66122 }
66123 _ACEOF
66124 if ac_fn_cxx_try_compile "$LINENO"; then :
66125 glibcxx_cv_func__fpclass_use=yes
66126 else
66127 glibcxx_cv_func__fpclass_use=no
66128 fi
66129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66130 ac_ext=c
66131 ac_cpp='$CPP $CPPFLAGS'
66132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66135
66136
66137 fi
66138
66139 fi
66140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66141 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66142
66143 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66144 for ac_func in _fpclass
66145 do :
66146 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66147 if test "x$ac_cv_func__fpclass" = x""yes; then :
66148 cat >>confdefs.h <<_ACEOF
66149 #define HAVE__FPCLASS 1
66150 _ACEOF
66151
66152 fi
66153 done
66154
66155 fi
66156 fi
66157
66158
66159
66160
66161
66162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66163 $as_echo_n "checking for qfpclass declaration... " >&6; }
66164 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66165 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66166 $as_echo_n "(cached) " >&6
66167 else
66168
66169
66170 ac_ext=cpp
66171 ac_cpp='$CXXCPP $CPPFLAGS'
66172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66175
66176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66177 /* end confdefs.h. */
66178 #include <math.h>
66179 #ifdef HAVE_IEEEFP_H
66180 #include <ieeefp.h>
66181 #endif
66182
66183 int
66184 main ()
66185 {
66186 qfpclass(0);
66187 ;
66188 return 0;
66189 }
66190 _ACEOF
66191 if ac_fn_cxx_try_compile "$LINENO"; then :
66192 glibcxx_cv_func_qfpclass_use=yes
66193 else
66194 glibcxx_cv_func_qfpclass_use=no
66195 fi
66196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66197 ac_ext=c
66198 ac_cpp='$CPP $CPPFLAGS'
66199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66202
66203
66204 fi
66205
66206 fi
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66208 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66209
66210 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66211 for ac_func in qfpclass
66212 do :
66213 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66214 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66215 cat >>confdefs.h <<_ACEOF
66216 #define HAVE_QFPCLASS 1
66217 _ACEOF
66218
66219 fi
66220 done
66221
66222 else
66223
66224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66225 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66226 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66227 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66228 $as_echo_n "(cached) " >&6
66229 else
66230
66231
66232 ac_ext=cpp
66233 ac_cpp='$CXXCPP $CPPFLAGS'
66234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66237
66238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66239 /* end confdefs.h. */
66240 #include <math.h>
66241 #ifdef HAVE_IEEEFP_H
66242 #include <ieeefp.h>
66243 #endif
66244
66245 int
66246 main ()
66247 {
66248 _qfpclass(0);
66249 ;
66250 return 0;
66251 }
66252 _ACEOF
66253 if ac_fn_cxx_try_compile "$LINENO"; then :
66254 glibcxx_cv_func__qfpclass_use=yes
66255 else
66256 glibcxx_cv_func__qfpclass_use=no
66257 fi
66258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66259 ac_ext=c
66260 ac_cpp='$CPP $CPPFLAGS'
66261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66264
66265
66266 fi
66267
66268 fi
66269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66270 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66271
66272 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66273 for ac_func in _qfpclass
66274 do :
66275 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66276 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66277 cat >>confdefs.h <<_ACEOF
66278 #define HAVE__QFPCLASS 1
66279 _ACEOF
66280
66281 fi
66282 done
66283
66284 fi
66285 fi
66286
66287
66288
66289
66290
66291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66292 $as_echo_n "checking for hypot declaration... " >&6; }
66293 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66294 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66295 $as_echo_n "(cached) " >&6
66296 else
66297
66298
66299 ac_ext=cpp
66300 ac_cpp='$CXXCPP $CPPFLAGS'
66301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66304
66305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66306 /* end confdefs.h. */
66307 #include <math.h>
66308 int
66309 main ()
66310 {
66311 hypot(0, 0);
66312 ;
66313 return 0;
66314 }
66315 _ACEOF
66316 if ac_fn_cxx_try_compile "$LINENO"; then :
66317 glibcxx_cv_func_hypot_use=yes
66318 else
66319 glibcxx_cv_func_hypot_use=no
66320 fi
66321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66322 ac_ext=c
66323 ac_cpp='$CPP $CPPFLAGS'
66324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66327
66328
66329 fi
66330
66331 fi
66332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66333 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66334
66335 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66336 for ac_func in hypot
66337 do :
66338 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66339 if test "x$ac_cv_func_hypot" = x""yes; then :
66340 cat >>confdefs.h <<_ACEOF
66341 #define HAVE_HYPOT 1
66342 _ACEOF
66343
66344 fi
66345 done
66346
66347 else
66348
66349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66350 $as_echo_n "checking for _hypot declaration... " >&6; }
66351 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66352 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66353 $as_echo_n "(cached) " >&6
66354 else
66355
66356
66357 ac_ext=cpp
66358 ac_cpp='$CXXCPP $CPPFLAGS'
66359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66362
66363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66364 /* end confdefs.h. */
66365 #include <math.h>
66366 int
66367 main ()
66368 {
66369 _hypot(0, 0);
66370 ;
66371 return 0;
66372 }
66373 _ACEOF
66374 if ac_fn_cxx_try_compile "$LINENO"; then :
66375 glibcxx_cv_func__hypot_use=yes
66376 else
66377 glibcxx_cv_func__hypot_use=no
66378 fi
66379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66380 ac_ext=c
66381 ac_cpp='$CPP $CPPFLAGS'
66382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66385
66386
66387 fi
66388
66389 fi
66390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66391 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66392
66393 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66394 for ac_func in _hypot
66395 do :
66396 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66397 if test "x$ac_cv_func__hypot" = x""yes; then :
66398 cat >>confdefs.h <<_ACEOF
66399 #define HAVE__HYPOT 1
66400 _ACEOF
66401
66402 fi
66403 done
66404
66405 fi
66406 fi
66407
66408
66409
66410
66411
66412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66413 $as_echo_n "checking for float trig functions... " >&6; }
66414 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66415 $as_echo_n "(cached) " >&6
66416 else
66417
66418
66419 ac_ext=cpp
66420 ac_cpp='$CXXCPP $CPPFLAGS'
66421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66424
66425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66426 /* end confdefs.h. */
66427 #include <math.h>
66428 int
66429 main ()
66430 {
66431 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66432 ;
66433 return 0;
66434 }
66435 _ACEOF
66436 if ac_fn_cxx_try_compile "$LINENO"; then :
66437 glibcxx_cv_func_float_trig_use=yes
66438 else
66439 glibcxx_cv_func_float_trig_use=no
66440 fi
66441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66442 ac_ext=c
66443 ac_cpp='$CPP $CPPFLAGS'
66444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66447
66448 fi
66449
66450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66451 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66452 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66453 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66454 do :
66455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66457 eval as_val=\$$as_ac_var
66458 if test "x$as_val" = x""yes; then :
66459 cat >>confdefs.h <<_ACEOF
66460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66461 _ACEOF
66462
66463 fi
66464 done
66465
66466 else
66467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66468 $as_echo_n "checking for _float trig functions... " >&6; }
66469 if test "${glibcxx_cv_func__float_trig_use+set}" = set; 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 int
66484 main ()
66485 {
66486 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66487 ;
66488 return 0;
66489 }
66490 _ACEOF
66491 if ac_fn_cxx_try_compile "$LINENO"; then :
66492 glibcxx_cv_func__float_trig_use=yes
66493 else
66494 glibcxx_cv_func__float_trig_use=no
66495 fi
66496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66497 ac_ext=c
66498 ac_cpp='$CPP $CPPFLAGS'
66499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66502
66503 fi
66504
66505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66506 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66507 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66508 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66509 do :
66510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66512 eval as_val=\$$as_ac_var
66513 if test "x$as_val" = x""yes; then :
66514 cat >>confdefs.h <<_ACEOF
66515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66516 _ACEOF
66517
66518 fi
66519 done
66520
66521 fi
66522 fi
66523
66524
66525
66526
66527
66528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66529 $as_echo_n "checking for float round functions... " >&6; }
66530 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66531 $as_echo_n "(cached) " >&6
66532 else
66533
66534
66535 ac_ext=cpp
66536 ac_cpp='$CXXCPP $CPPFLAGS'
66537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66540
66541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66542 /* end confdefs.h. */
66543 #include <math.h>
66544 int
66545 main ()
66546 {
66547 ceilf (0); floorf (0);
66548 ;
66549 return 0;
66550 }
66551 _ACEOF
66552 if ac_fn_cxx_try_compile "$LINENO"; then :
66553 glibcxx_cv_func_float_round_use=yes
66554 else
66555 glibcxx_cv_func_float_round_use=no
66556 fi
66557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66558 ac_ext=c
66559 ac_cpp='$CPP $CPPFLAGS'
66560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66563
66564 fi
66565
66566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66567 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66568 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66569 for ac_func in ceilf floorf
66570 do :
66571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66573 eval as_val=\$$as_ac_var
66574 if test "x$as_val" = x""yes; then :
66575 cat >>confdefs.h <<_ACEOF
66576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66577 _ACEOF
66578
66579 fi
66580 done
66581
66582 else
66583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66584 $as_echo_n "checking for _float round functions... " >&6; }
66585 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66586 $as_echo_n "(cached) " >&6
66587 else
66588
66589
66590 ac_ext=cpp
66591 ac_cpp='$CXXCPP $CPPFLAGS'
66592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66595
66596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66597 /* end confdefs.h. */
66598 #include <math.h>
66599 int
66600 main ()
66601 {
66602 _ceilf (0); _floorf (0);
66603 ;
66604 return 0;
66605 }
66606 _ACEOF
66607 if ac_fn_cxx_try_compile "$LINENO"; then :
66608 glibcxx_cv_func__float_round_use=yes
66609 else
66610 glibcxx_cv_func__float_round_use=no
66611 fi
66612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66613 ac_ext=c
66614 ac_cpp='$CPP $CPPFLAGS'
66615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66618
66619 fi
66620
66621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66622 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66623 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66624 for ac_func in _ceilf _floorf
66625 do :
66626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66628 eval as_val=\$$as_ac_var
66629 if test "x$as_val" = x""yes; then :
66630 cat >>confdefs.h <<_ACEOF
66631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66632 _ACEOF
66633
66634 fi
66635 done
66636
66637 fi
66638 fi
66639
66640
66641
66642
66643
66644
66645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66646 $as_echo_n "checking for expf declaration... " >&6; }
66647 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66648 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66649 $as_echo_n "(cached) " >&6
66650 else
66651
66652
66653 ac_ext=cpp
66654 ac_cpp='$CXXCPP $CPPFLAGS'
66655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66658
66659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66660 /* end confdefs.h. */
66661 #include <math.h>
66662 #ifdef HAVE_IEEEFP_H
66663 #include <ieeefp.h>
66664 #endif
66665
66666 int
66667 main ()
66668 {
66669 expf(0);
66670 ;
66671 return 0;
66672 }
66673 _ACEOF
66674 if ac_fn_cxx_try_compile "$LINENO"; then :
66675 glibcxx_cv_func_expf_use=yes
66676 else
66677 glibcxx_cv_func_expf_use=no
66678 fi
66679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66680 ac_ext=c
66681 ac_cpp='$CPP $CPPFLAGS'
66682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66685
66686
66687 fi
66688
66689 fi
66690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66691 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66692
66693 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66694 for ac_func in expf
66695 do :
66696 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66697 if test "x$ac_cv_func_expf" = x""yes; then :
66698 cat >>confdefs.h <<_ACEOF
66699 #define HAVE_EXPF 1
66700 _ACEOF
66701
66702 fi
66703 done
66704
66705 else
66706
66707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66708 $as_echo_n "checking for _expf declaration... " >&6; }
66709 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66710 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66711 $as_echo_n "(cached) " >&6
66712 else
66713
66714
66715 ac_ext=cpp
66716 ac_cpp='$CXXCPP $CPPFLAGS'
66717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66720
66721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66722 /* end confdefs.h. */
66723 #include <math.h>
66724 #ifdef HAVE_IEEEFP_H
66725 #include <ieeefp.h>
66726 #endif
66727
66728 int
66729 main ()
66730 {
66731 _expf(0);
66732 ;
66733 return 0;
66734 }
66735 _ACEOF
66736 if ac_fn_cxx_try_compile "$LINENO"; then :
66737 glibcxx_cv_func__expf_use=yes
66738 else
66739 glibcxx_cv_func__expf_use=no
66740 fi
66741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66742 ac_ext=c
66743 ac_cpp='$CPP $CPPFLAGS'
66744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66747
66748
66749 fi
66750
66751 fi
66752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66753 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66754
66755 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66756 for ac_func in _expf
66757 do :
66758 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66759 if test "x$ac_cv_func__expf" = x""yes; then :
66760 cat >>confdefs.h <<_ACEOF
66761 #define HAVE__EXPF 1
66762 _ACEOF
66763
66764 fi
66765 done
66766
66767 fi
66768 fi
66769
66770
66771
66772
66773
66774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66775 $as_echo_n "checking for isnanf declaration... " >&6; }
66776 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66777 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66778 $as_echo_n "(cached) " >&6
66779 else
66780
66781
66782 ac_ext=cpp
66783 ac_cpp='$CXXCPP $CPPFLAGS'
66784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66787
66788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66789 /* end confdefs.h. */
66790 #include <math.h>
66791 #ifdef HAVE_IEEEFP_H
66792 #include <ieeefp.h>
66793 #endif
66794
66795 int
66796 main ()
66797 {
66798 isnanf(0);
66799 ;
66800 return 0;
66801 }
66802 _ACEOF
66803 if ac_fn_cxx_try_compile "$LINENO"; then :
66804 glibcxx_cv_func_isnanf_use=yes
66805 else
66806 glibcxx_cv_func_isnanf_use=no
66807 fi
66808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66809 ac_ext=c
66810 ac_cpp='$CPP $CPPFLAGS'
66811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66814
66815
66816 fi
66817
66818 fi
66819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66820 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66821
66822 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66823 for ac_func in isnanf
66824 do :
66825 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66826 if test "x$ac_cv_func_isnanf" = x""yes; then :
66827 cat >>confdefs.h <<_ACEOF
66828 #define HAVE_ISNANF 1
66829 _ACEOF
66830
66831 fi
66832 done
66833
66834 else
66835
66836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66837 $as_echo_n "checking for _isnanf declaration... " >&6; }
66838 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66839 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66840 $as_echo_n "(cached) " >&6
66841 else
66842
66843
66844 ac_ext=cpp
66845 ac_cpp='$CXXCPP $CPPFLAGS'
66846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66849
66850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66851 /* end confdefs.h. */
66852 #include <math.h>
66853 #ifdef HAVE_IEEEFP_H
66854 #include <ieeefp.h>
66855 #endif
66856
66857 int
66858 main ()
66859 {
66860 _isnanf(0);
66861 ;
66862 return 0;
66863 }
66864 _ACEOF
66865 if ac_fn_cxx_try_compile "$LINENO"; then :
66866 glibcxx_cv_func__isnanf_use=yes
66867 else
66868 glibcxx_cv_func__isnanf_use=no
66869 fi
66870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66871 ac_ext=c
66872 ac_cpp='$CPP $CPPFLAGS'
66873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66876
66877
66878 fi
66879
66880 fi
66881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66882 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66883
66884 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66885 for ac_func in _isnanf
66886 do :
66887 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66888 if test "x$ac_cv_func__isnanf" = x""yes; then :
66889 cat >>confdefs.h <<_ACEOF
66890 #define HAVE__ISNANF 1
66891 _ACEOF
66892
66893 fi
66894 done
66895
66896 fi
66897 fi
66898
66899
66900
66901
66902
66903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66904 $as_echo_n "checking for isinff declaration... " >&6; }
66905 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66906 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66907 $as_echo_n "(cached) " >&6
66908 else
66909
66910
66911 ac_ext=cpp
66912 ac_cpp='$CXXCPP $CPPFLAGS'
66913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66916
66917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66918 /* end confdefs.h. */
66919 #include <math.h>
66920 #ifdef HAVE_IEEEFP_H
66921 #include <ieeefp.h>
66922 #endif
66923
66924 int
66925 main ()
66926 {
66927 isinff(0);
66928 ;
66929 return 0;
66930 }
66931 _ACEOF
66932 if ac_fn_cxx_try_compile "$LINENO"; then :
66933 glibcxx_cv_func_isinff_use=yes
66934 else
66935 glibcxx_cv_func_isinff_use=no
66936 fi
66937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66938 ac_ext=c
66939 ac_cpp='$CPP $CPPFLAGS'
66940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66943
66944
66945 fi
66946
66947 fi
66948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66949 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66950
66951 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66952 for ac_func in isinff
66953 do :
66954 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66955 if test "x$ac_cv_func_isinff" = x""yes; then :
66956 cat >>confdefs.h <<_ACEOF
66957 #define HAVE_ISINFF 1
66958 _ACEOF
66959
66960 fi
66961 done
66962
66963 else
66964
66965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66966 $as_echo_n "checking for _isinff declaration... " >&6; }
66967 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66968 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66969 $as_echo_n "(cached) " >&6
66970 else
66971
66972
66973 ac_ext=cpp
66974 ac_cpp='$CXXCPP $CPPFLAGS'
66975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66978
66979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66980 /* end confdefs.h. */
66981 #include <math.h>
66982 #ifdef HAVE_IEEEFP_H
66983 #include <ieeefp.h>
66984 #endif
66985
66986 int
66987 main ()
66988 {
66989 _isinff(0);
66990 ;
66991 return 0;
66992 }
66993 _ACEOF
66994 if ac_fn_cxx_try_compile "$LINENO"; then :
66995 glibcxx_cv_func__isinff_use=yes
66996 else
66997 glibcxx_cv_func__isinff_use=no
66998 fi
66999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67000 ac_ext=c
67001 ac_cpp='$CPP $CPPFLAGS'
67002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67005
67006
67007 fi
67008
67009 fi
67010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67011 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67012
67013 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67014 for ac_func in _isinff
67015 do :
67016 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67017 if test "x$ac_cv_func__isinff" = x""yes; then :
67018 cat >>confdefs.h <<_ACEOF
67019 #define HAVE__ISINFF 1
67020 _ACEOF
67021
67022 fi
67023 done
67024
67025 fi
67026 fi
67027
67028
67029
67030
67031
67032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67033 $as_echo_n "checking for atan2f declaration... " >&6; }
67034 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67035 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67036 $as_echo_n "(cached) " >&6
67037 else
67038
67039
67040 ac_ext=cpp
67041 ac_cpp='$CXXCPP $CPPFLAGS'
67042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67045
67046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67047 /* end confdefs.h. */
67048 #include <math.h>
67049 int
67050 main ()
67051 {
67052 atan2f(0, 0);
67053 ;
67054 return 0;
67055 }
67056 _ACEOF
67057 if ac_fn_cxx_try_compile "$LINENO"; then :
67058 glibcxx_cv_func_atan2f_use=yes
67059 else
67060 glibcxx_cv_func_atan2f_use=no
67061 fi
67062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67063 ac_ext=c
67064 ac_cpp='$CPP $CPPFLAGS'
67065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67068
67069
67070 fi
67071
67072 fi
67073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67074 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67075
67076 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67077 for ac_func in atan2f
67078 do :
67079 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67080 if test "x$ac_cv_func_atan2f" = x""yes; then :
67081 cat >>confdefs.h <<_ACEOF
67082 #define HAVE_ATAN2F 1
67083 _ACEOF
67084
67085 fi
67086 done
67087
67088 else
67089
67090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67091 $as_echo_n "checking for _atan2f declaration... " >&6; }
67092 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67093 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67094 $as_echo_n "(cached) " >&6
67095 else
67096
67097
67098 ac_ext=cpp
67099 ac_cpp='$CXXCPP $CPPFLAGS'
67100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67103
67104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67105 /* end confdefs.h. */
67106 #include <math.h>
67107 int
67108 main ()
67109 {
67110 _atan2f(0, 0);
67111 ;
67112 return 0;
67113 }
67114 _ACEOF
67115 if ac_fn_cxx_try_compile "$LINENO"; then :
67116 glibcxx_cv_func__atan2f_use=yes
67117 else
67118 glibcxx_cv_func__atan2f_use=no
67119 fi
67120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67121 ac_ext=c
67122 ac_cpp='$CPP $CPPFLAGS'
67123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67126
67127
67128 fi
67129
67130 fi
67131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67132 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67133
67134 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67135 for ac_func in _atan2f
67136 do :
67137 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67138 if test "x$ac_cv_func__atan2f" = x""yes; then :
67139 cat >>confdefs.h <<_ACEOF
67140 #define HAVE__ATAN2F 1
67141 _ACEOF
67142
67143 fi
67144 done
67145
67146 fi
67147 fi
67148
67149
67150
67151
67152
67153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67154 $as_echo_n "checking for fabsf declaration... " >&6; }
67155 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67156 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67157 $as_echo_n "(cached) " >&6
67158 else
67159
67160
67161 ac_ext=cpp
67162 ac_cpp='$CXXCPP $CPPFLAGS'
67163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67166
67167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67168 /* end confdefs.h. */
67169 #include <math.h>
67170 #ifdef HAVE_IEEEFP_H
67171 #include <ieeefp.h>
67172 #endif
67173
67174 int
67175 main ()
67176 {
67177 fabsf(0);
67178 ;
67179 return 0;
67180 }
67181 _ACEOF
67182 if ac_fn_cxx_try_compile "$LINENO"; then :
67183 glibcxx_cv_func_fabsf_use=yes
67184 else
67185 glibcxx_cv_func_fabsf_use=no
67186 fi
67187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67188 ac_ext=c
67189 ac_cpp='$CPP $CPPFLAGS'
67190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67193
67194
67195 fi
67196
67197 fi
67198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67199 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67200
67201 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67202 for ac_func in fabsf
67203 do :
67204 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67205 if test "x$ac_cv_func_fabsf" = x""yes; then :
67206 cat >>confdefs.h <<_ACEOF
67207 #define HAVE_FABSF 1
67208 _ACEOF
67209
67210 fi
67211 done
67212
67213 else
67214
67215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67216 $as_echo_n "checking for _fabsf declaration... " >&6; }
67217 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67218 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67219 $as_echo_n "(cached) " >&6
67220 else
67221
67222
67223 ac_ext=cpp
67224 ac_cpp='$CXXCPP $CPPFLAGS'
67225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67228
67229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67230 /* end confdefs.h. */
67231 #include <math.h>
67232 #ifdef HAVE_IEEEFP_H
67233 #include <ieeefp.h>
67234 #endif
67235
67236 int
67237 main ()
67238 {
67239 _fabsf(0);
67240 ;
67241 return 0;
67242 }
67243 _ACEOF
67244 if ac_fn_cxx_try_compile "$LINENO"; then :
67245 glibcxx_cv_func__fabsf_use=yes
67246 else
67247 glibcxx_cv_func__fabsf_use=no
67248 fi
67249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67250 ac_ext=c
67251 ac_cpp='$CPP $CPPFLAGS'
67252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67255
67256
67257 fi
67258
67259 fi
67260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67261 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67262
67263 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67264 for ac_func in _fabsf
67265 do :
67266 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67267 if test "x$ac_cv_func__fabsf" = x""yes; then :
67268 cat >>confdefs.h <<_ACEOF
67269 #define HAVE__FABSF 1
67270 _ACEOF
67271
67272 fi
67273 done
67274
67275 fi
67276 fi
67277
67278
67279
67280
67281
67282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67283 $as_echo_n "checking for fmodf declaration... " >&6; }
67284 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67285 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67286 $as_echo_n "(cached) " >&6
67287 else
67288
67289
67290 ac_ext=cpp
67291 ac_cpp='$CXXCPP $CPPFLAGS'
67292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67295
67296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67297 /* end confdefs.h. */
67298 #include <math.h>
67299 int
67300 main ()
67301 {
67302 fmodf(0, 0);
67303 ;
67304 return 0;
67305 }
67306 _ACEOF
67307 if ac_fn_cxx_try_compile "$LINENO"; then :
67308 glibcxx_cv_func_fmodf_use=yes
67309 else
67310 glibcxx_cv_func_fmodf_use=no
67311 fi
67312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67313 ac_ext=c
67314 ac_cpp='$CPP $CPPFLAGS'
67315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67318
67319
67320 fi
67321
67322 fi
67323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67324 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67325
67326 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67327 for ac_func in fmodf
67328 do :
67329 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67330 if test "x$ac_cv_func_fmodf" = x""yes; then :
67331 cat >>confdefs.h <<_ACEOF
67332 #define HAVE_FMODF 1
67333 _ACEOF
67334
67335 fi
67336 done
67337
67338 else
67339
67340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67341 $as_echo_n "checking for _fmodf declaration... " >&6; }
67342 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67343 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67344 $as_echo_n "(cached) " >&6
67345 else
67346
67347
67348 ac_ext=cpp
67349 ac_cpp='$CXXCPP $CPPFLAGS'
67350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67353
67354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67355 /* end confdefs.h. */
67356 #include <math.h>
67357 int
67358 main ()
67359 {
67360 _fmodf(0, 0);
67361 ;
67362 return 0;
67363 }
67364 _ACEOF
67365 if ac_fn_cxx_try_compile "$LINENO"; then :
67366 glibcxx_cv_func__fmodf_use=yes
67367 else
67368 glibcxx_cv_func__fmodf_use=no
67369 fi
67370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67371 ac_ext=c
67372 ac_cpp='$CPP $CPPFLAGS'
67373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67376
67377
67378 fi
67379
67380 fi
67381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67382 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67383
67384 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67385 for ac_func in _fmodf
67386 do :
67387 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67388 if test "x$ac_cv_func__fmodf" = x""yes; then :
67389 cat >>confdefs.h <<_ACEOF
67390 #define HAVE__FMODF 1
67391 _ACEOF
67392
67393 fi
67394 done
67395
67396 fi
67397 fi
67398
67399
67400
67401
67402
67403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67404 $as_echo_n "checking for frexpf declaration... " >&6; }
67405 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67406 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67407 $as_echo_n "(cached) " >&6
67408 else
67409
67410
67411 ac_ext=cpp
67412 ac_cpp='$CXXCPP $CPPFLAGS'
67413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67416
67417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67418 /* end confdefs.h. */
67419 #include <math.h>
67420 int
67421 main ()
67422 {
67423 frexpf(0, 0);
67424 ;
67425 return 0;
67426 }
67427 _ACEOF
67428 if ac_fn_cxx_try_compile "$LINENO"; then :
67429 glibcxx_cv_func_frexpf_use=yes
67430 else
67431 glibcxx_cv_func_frexpf_use=no
67432 fi
67433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67434 ac_ext=c
67435 ac_cpp='$CPP $CPPFLAGS'
67436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67439
67440
67441 fi
67442
67443 fi
67444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67445 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67446
67447 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67448 for ac_func in frexpf
67449 do :
67450 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67451 if test "x$ac_cv_func_frexpf" = x""yes; then :
67452 cat >>confdefs.h <<_ACEOF
67453 #define HAVE_FREXPF 1
67454 _ACEOF
67455
67456 fi
67457 done
67458
67459 else
67460
67461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67462 $as_echo_n "checking for _frexpf declaration... " >&6; }
67463 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67464 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67465 $as_echo_n "(cached) " >&6
67466 else
67467
67468
67469 ac_ext=cpp
67470 ac_cpp='$CXXCPP $CPPFLAGS'
67471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67474
67475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67476 /* end confdefs.h. */
67477 #include <math.h>
67478 int
67479 main ()
67480 {
67481 _frexpf(0, 0);
67482 ;
67483 return 0;
67484 }
67485 _ACEOF
67486 if ac_fn_cxx_try_compile "$LINENO"; then :
67487 glibcxx_cv_func__frexpf_use=yes
67488 else
67489 glibcxx_cv_func__frexpf_use=no
67490 fi
67491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67492 ac_ext=c
67493 ac_cpp='$CPP $CPPFLAGS'
67494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67497
67498
67499 fi
67500
67501 fi
67502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67503 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67504
67505 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67506 for ac_func in _frexpf
67507 do :
67508 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67509 if test "x$ac_cv_func__frexpf" = x""yes; then :
67510 cat >>confdefs.h <<_ACEOF
67511 #define HAVE__FREXPF 1
67512 _ACEOF
67513
67514 fi
67515 done
67516
67517 fi
67518 fi
67519
67520
67521
67522
67523
67524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67525 $as_echo_n "checking for hypotf declaration... " >&6; }
67526 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67527 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67528 $as_echo_n "(cached) " >&6
67529 else
67530
67531
67532 ac_ext=cpp
67533 ac_cpp='$CXXCPP $CPPFLAGS'
67534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67537
67538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67539 /* end confdefs.h. */
67540 #include <math.h>
67541 int
67542 main ()
67543 {
67544 hypotf(0, 0);
67545 ;
67546 return 0;
67547 }
67548 _ACEOF
67549 if ac_fn_cxx_try_compile "$LINENO"; then :
67550 glibcxx_cv_func_hypotf_use=yes
67551 else
67552 glibcxx_cv_func_hypotf_use=no
67553 fi
67554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67555 ac_ext=c
67556 ac_cpp='$CPP $CPPFLAGS'
67557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67560
67561
67562 fi
67563
67564 fi
67565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67566 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67567
67568 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67569 for ac_func in hypotf
67570 do :
67571 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67572 if test "x$ac_cv_func_hypotf" = x""yes; then :
67573 cat >>confdefs.h <<_ACEOF
67574 #define HAVE_HYPOTF 1
67575 _ACEOF
67576
67577 fi
67578 done
67579
67580 else
67581
67582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67583 $as_echo_n "checking for _hypotf declaration... " >&6; }
67584 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67585 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67586 $as_echo_n "(cached) " >&6
67587 else
67588
67589
67590 ac_ext=cpp
67591 ac_cpp='$CXXCPP $CPPFLAGS'
67592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67595
67596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67597 /* end confdefs.h. */
67598 #include <math.h>
67599 int
67600 main ()
67601 {
67602 _hypotf(0, 0);
67603 ;
67604 return 0;
67605 }
67606 _ACEOF
67607 if ac_fn_cxx_try_compile "$LINENO"; then :
67608 glibcxx_cv_func__hypotf_use=yes
67609 else
67610 glibcxx_cv_func__hypotf_use=no
67611 fi
67612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67613 ac_ext=c
67614 ac_cpp='$CPP $CPPFLAGS'
67615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67618
67619
67620 fi
67621
67622 fi
67623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67624 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67625
67626 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67627 for ac_func in _hypotf
67628 do :
67629 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67630 if test "x$ac_cv_func__hypotf" = x""yes; then :
67631 cat >>confdefs.h <<_ACEOF
67632 #define HAVE__HYPOTF 1
67633 _ACEOF
67634
67635 fi
67636 done
67637
67638 fi
67639 fi
67640
67641
67642
67643
67644
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67646 $as_echo_n "checking for ldexpf declaration... " >&6; }
67647 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67648 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67649 $as_echo_n "(cached) " >&6
67650 else
67651
67652
67653 ac_ext=cpp
67654 ac_cpp='$CXXCPP $CPPFLAGS'
67655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67658
67659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67660 /* end confdefs.h. */
67661 #include <math.h>
67662 int
67663 main ()
67664 {
67665 ldexpf(0, 0);
67666 ;
67667 return 0;
67668 }
67669 _ACEOF
67670 if ac_fn_cxx_try_compile "$LINENO"; then :
67671 glibcxx_cv_func_ldexpf_use=yes
67672 else
67673 glibcxx_cv_func_ldexpf_use=no
67674 fi
67675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67676 ac_ext=c
67677 ac_cpp='$CPP $CPPFLAGS'
67678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67681
67682
67683 fi
67684
67685 fi
67686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67687 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67688
67689 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67690 for ac_func in ldexpf
67691 do :
67692 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67693 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67694 cat >>confdefs.h <<_ACEOF
67695 #define HAVE_LDEXPF 1
67696 _ACEOF
67697
67698 fi
67699 done
67700
67701 else
67702
67703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67704 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67705 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67706 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67707 $as_echo_n "(cached) " >&6
67708 else
67709
67710
67711 ac_ext=cpp
67712 ac_cpp='$CXXCPP $CPPFLAGS'
67713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67716
67717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67718 /* end confdefs.h. */
67719 #include <math.h>
67720 int
67721 main ()
67722 {
67723 _ldexpf(0, 0);
67724 ;
67725 return 0;
67726 }
67727 _ACEOF
67728 if ac_fn_cxx_try_compile "$LINENO"; then :
67729 glibcxx_cv_func__ldexpf_use=yes
67730 else
67731 glibcxx_cv_func__ldexpf_use=no
67732 fi
67733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67734 ac_ext=c
67735 ac_cpp='$CPP $CPPFLAGS'
67736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67739
67740
67741 fi
67742
67743 fi
67744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67745 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67746
67747 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67748 for ac_func in _ldexpf
67749 do :
67750 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67751 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67752 cat >>confdefs.h <<_ACEOF
67753 #define HAVE__LDEXPF 1
67754 _ACEOF
67755
67756 fi
67757 done
67758
67759 fi
67760 fi
67761
67762
67763
67764
67765
67766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67767 $as_echo_n "checking for logf declaration... " >&6; }
67768 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67769 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67770 $as_echo_n "(cached) " >&6
67771 else
67772
67773
67774 ac_ext=cpp
67775 ac_cpp='$CXXCPP $CPPFLAGS'
67776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67779
67780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67781 /* end confdefs.h. */
67782 #include <math.h>
67783 #ifdef HAVE_IEEEFP_H
67784 #include <ieeefp.h>
67785 #endif
67786
67787 int
67788 main ()
67789 {
67790 logf(0);
67791 ;
67792 return 0;
67793 }
67794 _ACEOF
67795 if ac_fn_cxx_try_compile "$LINENO"; then :
67796 glibcxx_cv_func_logf_use=yes
67797 else
67798 glibcxx_cv_func_logf_use=no
67799 fi
67800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67801 ac_ext=c
67802 ac_cpp='$CPP $CPPFLAGS'
67803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67806
67807
67808 fi
67809
67810 fi
67811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67812 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67813
67814 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67815 for ac_func in logf
67816 do :
67817 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67818 if test "x$ac_cv_func_logf" = x""yes; then :
67819 cat >>confdefs.h <<_ACEOF
67820 #define HAVE_LOGF 1
67821 _ACEOF
67822
67823 fi
67824 done
67825
67826 else
67827
67828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67829 $as_echo_n "checking for _logf declaration... " >&6; }
67830 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67831 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67832 $as_echo_n "(cached) " >&6
67833 else
67834
67835
67836 ac_ext=cpp
67837 ac_cpp='$CXXCPP $CPPFLAGS'
67838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67841
67842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67843 /* end confdefs.h. */
67844 #include <math.h>
67845 #ifdef HAVE_IEEEFP_H
67846 #include <ieeefp.h>
67847 #endif
67848
67849 int
67850 main ()
67851 {
67852 _logf(0);
67853 ;
67854 return 0;
67855 }
67856 _ACEOF
67857 if ac_fn_cxx_try_compile "$LINENO"; then :
67858 glibcxx_cv_func__logf_use=yes
67859 else
67860 glibcxx_cv_func__logf_use=no
67861 fi
67862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
67870 fi
67871
67872 fi
67873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67874 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67875
67876 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67877 for ac_func in _logf
67878 do :
67879 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67880 if test "x$ac_cv_func__logf" = x""yes; then :
67881 cat >>confdefs.h <<_ACEOF
67882 #define HAVE__LOGF 1
67883 _ACEOF
67884
67885 fi
67886 done
67887
67888 fi
67889 fi
67890
67891
67892
67893
67894
67895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67896 $as_echo_n "checking for log10f declaration... " >&6; }
67897 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67898 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67899 $as_echo_n "(cached) " >&6
67900 else
67901
67902
67903 ac_ext=cpp
67904 ac_cpp='$CXXCPP $CPPFLAGS'
67905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67908
67909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67910 /* end confdefs.h. */
67911 #include <math.h>
67912 #ifdef HAVE_IEEEFP_H
67913 #include <ieeefp.h>
67914 #endif
67915
67916 int
67917 main ()
67918 {
67919 log10f(0);
67920 ;
67921 return 0;
67922 }
67923 _ACEOF
67924 if ac_fn_cxx_try_compile "$LINENO"; then :
67925 glibcxx_cv_func_log10f_use=yes
67926 else
67927 glibcxx_cv_func_log10f_use=no
67928 fi
67929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67930 ac_ext=c
67931 ac_cpp='$CPP $CPPFLAGS'
67932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67935
67936
67937 fi
67938
67939 fi
67940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67941 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67942
67943 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67944 for ac_func in log10f
67945 do :
67946 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67947 if test "x$ac_cv_func_log10f" = x""yes; then :
67948 cat >>confdefs.h <<_ACEOF
67949 #define HAVE_LOG10F 1
67950 _ACEOF
67951
67952 fi
67953 done
67954
67955 else
67956
67957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67958 $as_echo_n "checking for _log10f declaration... " >&6; }
67959 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67960 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67961 $as_echo_n "(cached) " >&6
67962 else
67963
67964
67965 ac_ext=cpp
67966 ac_cpp='$CXXCPP $CPPFLAGS'
67967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67970
67971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67972 /* end confdefs.h. */
67973 #include <math.h>
67974 #ifdef HAVE_IEEEFP_H
67975 #include <ieeefp.h>
67976 #endif
67977
67978 int
67979 main ()
67980 {
67981 _log10f(0);
67982 ;
67983 return 0;
67984 }
67985 _ACEOF
67986 if ac_fn_cxx_try_compile "$LINENO"; then :
67987 glibcxx_cv_func__log10f_use=yes
67988 else
67989 glibcxx_cv_func__log10f_use=no
67990 fi
67991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67992 ac_ext=c
67993 ac_cpp='$CPP $CPPFLAGS'
67994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67997
67998
67999 fi
68000
68001 fi
68002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68003 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68004
68005 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68006 for ac_func in _log10f
68007 do :
68008 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68009 if test "x$ac_cv_func__log10f" = x""yes; then :
68010 cat >>confdefs.h <<_ACEOF
68011 #define HAVE__LOG10F 1
68012 _ACEOF
68013
68014 fi
68015 done
68016
68017 fi
68018 fi
68019
68020
68021
68022
68023
68024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68025 $as_echo_n "checking for modff declaration... " >&6; }
68026 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68027 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68028 $as_echo_n "(cached) " >&6
68029 else
68030
68031
68032 ac_ext=cpp
68033 ac_cpp='$CXXCPP $CPPFLAGS'
68034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68037
68038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68039 /* end confdefs.h. */
68040 #include <math.h>
68041 int
68042 main ()
68043 {
68044 modff(0, 0);
68045 ;
68046 return 0;
68047 }
68048 _ACEOF
68049 if ac_fn_cxx_try_compile "$LINENO"; then :
68050 glibcxx_cv_func_modff_use=yes
68051 else
68052 glibcxx_cv_func_modff_use=no
68053 fi
68054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68055 ac_ext=c
68056 ac_cpp='$CPP $CPPFLAGS'
68057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68060
68061
68062 fi
68063
68064 fi
68065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68066 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68067
68068 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68069 for ac_func in modff
68070 do :
68071 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68072 if test "x$ac_cv_func_modff" = x""yes; then :
68073 cat >>confdefs.h <<_ACEOF
68074 #define HAVE_MODFF 1
68075 _ACEOF
68076
68077 fi
68078 done
68079
68080 else
68081
68082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68083 $as_echo_n "checking for _modff declaration... " >&6; }
68084 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68085 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68086 $as_echo_n "(cached) " >&6
68087 else
68088
68089
68090 ac_ext=cpp
68091 ac_cpp='$CXXCPP $CPPFLAGS'
68092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68095
68096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68097 /* end confdefs.h. */
68098 #include <math.h>
68099 int
68100 main ()
68101 {
68102 _modff(0, 0);
68103 ;
68104 return 0;
68105 }
68106 _ACEOF
68107 if ac_fn_cxx_try_compile "$LINENO"; then :
68108 glibcxx_cv_func__modff_use=yes
68109 else
68110 glibcxx_cv_func__modff_use=no
68111 fi
68112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68113 ac_ext=c
68114 ac_cpp='$CPP $CPPFLAGS'
68115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68118
68119
68120 fi
68121
68122 fi
68123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68124 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68125
68126 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68127 for ac_func in _modff
68128 do :
68129 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68130 if test "x$ac_cv_func__modff" = x""yes; then :
68131 cat >>confdefs.h <<_ACEOF
68132 #define HAVE__MODFF 1
68133 _ACEOF
68134
68135 fi
68136 done
68137
68138 fi
68139 fi
68140
68141
68142
68143
68144
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68146 $as_echo_n "checking for modf declaration... " >&6; }
68147 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68148 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68149 $as_echo_n "(cached) " >&6
68150 else
68151
68152
68153 ac_ext=cpp
68154 ac_cpp='$CXXCPP $CPPFLAGS'
68155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68158
68159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68160 /* end confdefs.h. */
68161 #include <math.h>
68162 int
68163 main ()
68164 {
68165 modf(0, 0);
68166 ;
68167 return 0;
68168 }
68169 _ACEOF
68170 if ac_fn_cxx_try_compile "$LINENO"; then :
68171 glibcxx_cv_func_modf_use=yes
68172 else
68173 glibcxx_cv_func_modf_use=no
68174 fi
68175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68176 ac_ext=c
68177 ac_cpp='$CPP $CPPFLAGS'
68178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68181
68182
68183 fi
68184
68185 fi
68186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68187 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68188
68189 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68190 for ac_func in modf
68191 do :
68192 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68193 if test "x$ac_cv_func_modf" = x""yes; then :
68194 cat >>confdefs.h <<_ACEOF
68195 #define HAVE_MODF 1
68196 _ACEOF
68197
68198 fi
68199 done
68200
68201 else
68202
68203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68204 $as_echo_n "checking for _modf declaration... " >&6; }
68205 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68206 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68207 $as_echo_n "(cached) " >&6
68208 else
68209
68210
68211 ac_ext=cpp
68212 ac_cpp='$CXXCPP $CPPFLAGS'
68213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68216
68217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68218 /* end confdefs.h. */
68219 #include <math.h>
68220 int
68221 main ()
68222 {
68223 _modf(0, 0);
68224 ;
68225 return 0;
68226 }
68227 _ACEOF
68228 if ac_fn_cxx_try_compile "$LINENO"; then :
68229 glibcxx_cv_func__modf_use=yes
68230 else
68231 glibcxx_cv_func__modf_use=no
68232 fi
68233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68234 ac_ext=c
68235 ac_cpp='$CPP $CPPFLAGS'
68236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68239
68240
68241 fi
68242
68243 fi
68244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68245 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68246
68247 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68248 for ac_func in _modf
68249 do :
68250 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68251 if test "x$ac_cv_func__modf" = x""yes; then :
68252 cat >>confdefs.h <<_ACEOF
68253 #define HAVE__MODF 1
68254 _ACEOF
68255
68256 fi
68257 done
68258
68259 fi
68260 fi
68261
68262
68263
68264
68265
68266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68267 $as_echo_n "checking for powf declaration... " >&6; }
68268 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68269 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68270 $as_echo_n "(cached) " >&6
68271 else
68272
68273
68274 ac_ext=cpp
68275 ac_cpp='$CXXCPP $CPPFLAGS'
68276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68279
68280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68281 /* end confdefs.h. */
68282 #include <math.h>
68283 int
68284 main ()
68285 {
68286 powf(0, 0);
68287 ;
68288 return 0;
68289 }
68290 _ACEOF
68291 if ac_fn_cxx_try_compile "$LINENO"; then :
68292 glibcxx_cv_func_powf_use=yes
68293 else
68294 glibcxx_cv_func_powf_use=no
68295 fi
68296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68297 ac_ext=c
68298 ac_cpp='$CPP $CPPFLAGS'
68299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68302
68303
68304 fi
68305
68306 fi
68307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68308 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68309
68310 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68311 for ac_func in powf
68312 do :
68313 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68314 if test "x$ac_cv_func_powf" = x""yes; then :
68315 cat >>confdefs.h <<_ACEOF
68316 #define HAVE_POWF 1
68317 _ACEOF
68318
68319 fi
68320 done
68321
68322 else
68323
68324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68325 $as_echo_n "checking for _powf declaration... " >&6; }
68326 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68327 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68328 $as_echo_n "(cached) " >&6
68329 else
68330
68331
68332 ac_ext=cpp
68333 ac_cpp='$CXXCPP $CPPFLAGS'
68334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68337
68338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68339 /* end confdefs.h. */
68340 #include <math.h>
68341 int
68342 main ()
68343 {
68344 _powf(0, 0);
68345 ;
68346 return 0;
68347 }
68348 _ACEOF
68349 if ac_fn_cxx_try_compile "$LINENO"; then :
68350 glibcxx_cv_func__powf_use=yes
68351 else
68352 glibcxx_cv_func__powf_use=no
68353 fi
68354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68355 ac_ext=c
68356 ac_cpp='$CPP $CPPFLAGS'
68357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68360
68361
68362 fi
68363
68364 fi
68365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68366 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68367
68368 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68369 for ac_func in _powf
68370 do :
68371 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68372 if test "x$ac_cv_func__powf" = x""yes; then :
68373 cat >>confdefs.h <<_ACEOF
68374 #define HAVE__POWF 1
68375 _ACEOF
68376
68377 fi
68378 done
68379
68380 fi
68381 fi
68382
68383
68384
68385
68386
68387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68388 $as_echo_n "checking for sqrtf declaration... " >&6; }
68389 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68390 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68391 $as_echo_n "(cached) " >&6
68392 else
68393
68394
68395 ac_ext=cpp
68396 ac_cpp='$CXXCPP $CPPFLAGS'
68397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68400
68401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68402 /* end confdefs.h. */
68403 #include <math.h>
68404 #ifdef HAVE_IEEEFP_H
68405 #include <ieeefp.h>
68406 #endif
68407
68408 int
68409 main ()
68410 {
68411 sqrtf(0);
68412 ;
68413 return 0;
68414 }
68415 _ACEOF
68416 if ac_fn_cxx_try_compile "$LINENO"; then :
68417 glibcxx_cv_func_sqrtf_use=yes
68418 else
68419 glibcxx_cv_func_sqrtf_use=no
68420 fi
68421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68422 ac_ext=c
68423 ac_cpp='$CPP $CPPFLAGS'
68424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68427
68428
68429 fi
68430
68431 fi
68432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68433 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68434
68435 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68436 for ac_func in sqrtf
68437 do :
68438 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68439 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68440 cat >>confdefs.h <<_ACEOF
68441 #define HAVE_SQRTF 1
68442 _ACEOF
68443
68444 fi
68445 done
68446
68447 else
68448
68449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68450 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68451 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68452 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68453 $as_echo_n "(cached) " >&6
68454 else
68455
68456
68457 ac_ext=cpp
68458 ac_cpp='$CXXCPP $CPPFLAGS'
68459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68462
68463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68464 /* end confdefs.h. */
68465 #include <math.h>
68466 #ifdef HAVE_IEEEFP_H
68467 #include <ieeefp.h>
68468 #endif
68469
68470 int
68471 main ()
68472 {
68473 _sqrtf(0);
68474 ;
68475 return 0;
68476 }
68477 _ACEOF
68478 if ac_fn_cxx_try_compile "$LINENO"; then :
68479 glibcxx_cv_func__sqrtf_use=yes
68480 else
68481 glibcxx_cv_func__sqrtf_use=no
68482 fi
68483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68484 ac_ext=c
68485 ac_cpp='$CPP $CPPFLAGS'
68486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68489
68490
68491 fi
68492
68493 fi
68494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68495 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68496
68497 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68498 for ac_func in _sqrtf
68499 do :
68500 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68501 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68502 cat >>confdefs.h <<_ACEOF
68503 #define HAVE__SQRTF 1
68504 _ACEOF
68505
68506 fi
68507 done
68508
68509 fi
68510 fi
68511
68512
68513
68514
68515
68516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68517 $as_echo_n "checking for sincosf declaration... " >&6; }
68518 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68519 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68520 $as_echo_n "(cached) " >&6
68521 else
68522
68523
68524 ac_ext=cpp
68525 ac_cpp='$CXXCPP $CPPFLAGS'
68526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68529
68530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68531 /* end confdefs.h. */
68532 #include <math.h>
68533 int
68534 main ()
68535 {
68536 sincosf(0, 0, 0);
68537 ;
68538 return 0;
68539 }
68540 _ACEOF
68541 if ac_fn_cxx_try_compile "$LINENO"; then :
68542 glibcxx_cv_func_sincosf_use=yes
68543 else
68544 glibcxx_cv_func_sincosf_use=no
68545 fi
68546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68547 ac_ext=c
68548 ac_cpp='$CPP $CPPFLAGS'
68549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68552
68553
68554 fi
68555
68556 fi
68557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68558 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68559
68560 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68561 for ac_func in sincosf
68562 do :
68563 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68564 if test "x$ac_cv_func_sincosf" = x""yes; then :
68565 cat >>confdefs.h <<_ACEOF
68566 #define HAVE_SINCOSF 1
68567 _ACEOF
68568
68569 fi
68570 done
68571
68572 else
68573
68574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68575 $as_echo_n "checking for _sincosf declaration... " >&6; }
68576 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68577 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68578 $as_echo_n "(cached) " >&6
68579 else
68580
68581
68582 ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68587
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68590 #include <math.h>
68591 int
68592 main ()
68593 {
68594 _sincosf(0, 0, 0);
68595 ;
68596 return 0;
68597 }
68598 _ACEOF
68599 if ac_fn_cxx_try_compile "$LINENO"; then :
68600 glibcxx_cv_func__sincosf_use=yes
68601 else
68602 glibcxx_cv_func__sincosf_use=no
68603 fi
68604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68605 ac_ext=c
68606 ac_cpp='$CPP $CPPFLAGS'
68607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68610
68611
68612 fi
68613
68614 fi
68615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68616 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68617
68618 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68619 for ac_func in _sincosf
68620 do :
68621 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68622 if test "x$ac_cv_func__sincosf" = x""yes; then :
68623 cat >>confdefs.h <<_ACEOF
68624 #define HAVE__SINCOSF 1
68625 _ACEOF
68626
68627 fi
68628 done
68629
68630 fi
68631 fi
68632
68633
68634
68635
68636
68637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68638 $as_echo_n "checking for finitef declaration... " >&6; }
68639 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68640 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68641 $as_echo_n "(cached) " >&6
68642 else
68643
68644
68645 ac_ext=cpp
68646 ac_cpp='$CXXCPP $CPPFLAGS'
68647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68650
68651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68652 /* end confdefs.h. */
68653 #include <math.h>
68654 #ifdef HAVE_IEEEFP_H
68655 #include <ieeefp.h>
68656 #endif
68657
68658 int
68659 main ()
68660 {
68661 finitef(0);
68662 ;
68663 return 0;
68664 }
68665 _ACEOF
68666 if ac_fn_cxx_try_compile "$LINENO"; then :
68667 glibcxx_cv_func_finitef_use=yes
68668 else
68669 glibcxx_cv_func_finitef_use=no
68670 fi
68671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68672 ac_ext=c
68673 ac_cpp='$CPP $CPPFLAGS'
68674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68677
68678
68679 fi
68680
68681 fi
68682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68683 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68684
68685 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68686 for ac_func in finitef
68687 do :
68688 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68689 if test "x$ac_cv_func_finitef" = x""yes; then :
68690 cat >>confdefs.h <<_ACEOF
68691 #define HAVE_FINITEF 1
68692 _ACEOF
68693
68694 fi
68695 done
68696
68697 else
68698
68699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68700 $as_echo_n "checking for _finitef declaration... " >&6; }
68701 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68702 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68703 $as_echo_n "(cached) " >&6
68704 else
68705
68706
68707 ac_ext=cpp
68708 ac_cpp='$CXXCPP $CPPFLAGS'
68709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68712
68713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68714 /* end confdefs.h. */
68715 #include <math.h>
68716 #ifdef HAVE_IEEEFP_H
68717 #include <ieeefp.h>
68718 #endif
68719
68720 int
68721 main ()
68722 {
68723 _finitef(0);
68724 ;
68725 return 0;
68726 }
68727 _ACEOF
68728 if ac_fn_cxx_try_compile "$LINENO"; then :
68729 glibcxx_cv_func__finitef_use=yes
68730 else
68731 glibcxx_cv_func__finitef_use=no
68732 fi
68733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68734 ac_ext=c
68735 ac_cpp='$CPP $CPPFLAGS'
68736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68739
68740
68741 fi
68742
68743 fi
68744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68745 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68746
68747 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68748 for ac_func in _finitef
68749 do :
68750 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68751 if test "x$ac_cv_func__finitef" = x""yes; then :
68752 cat >>confdefs.h <<_ACEOF
68753 #define HAVE__FINITEF 1
68754 _ACEOF
68755
68756 fi
68757 done
68758
68759 fi
68760 fi
68761
68762
68763
68764
68765
68766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68767 $as_echo_n "checking for long double trig functions... " >&6; }
68768 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68769 $as_echo_n "(cached) " >&6
68770 else
68771
68772
68773 ac_ext=cpp
68774 ac_cpp='$CXXCPP $CPPFLAGS'
68775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68778
68779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68780 /* end confdefs.h. */
68781 #include <math.h>
68782 int
68783 main ()
68784 {
68785 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68786 ;
68787 return 0;
68788 }
68789 _ACEOF
68790 if ac_fn_cxx_try_compile "$LINENO"; then :
68791 glibcxx_cv_func_long_double_trig_use=yes
68792 else
68793 glibcxx_cv_func_long_double_trig_use=no
68794 fi
68795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68796 ac_ext=c
68797 ac_cpp='$CPP $CPPFLAGS'
68798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68801
68802 fi
68803
68804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68805 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68806 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68807 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68808 do :
68809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68811 eval as_val=\$$as_ac_var
68812 if test "x$as_val" = x""yes; then :
68813 cat >>confdefs.h <<_ACEOF
68814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68815 _ACEOF
68816
68817 fi
68818 done
68819
68820 else
68821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68822 $as_echo_n "checking for _long double trig functions... " >&6; }
68823 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68824 $as_echo_n "(cached) " >&6
68825 else
68826
68827
68828 ac_ext=cpp
68829 ac_cpp='$CXXCPP $CPPFLAGS'
68830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68833
68834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68835 /* end confdefs.h. */
68836 #include <math.h>
68837 int
68838 main ()
68839 {
68840 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68841 ;
68842 return 0;
68843 }
68844 _ACEOF
68845 if ac_fn_cxx_try_compile "$LINENO"; then :
68846 glibcxx_cv_func__long_double_trig_use=yes
68847 else
68848 glibcxx_cv_func__long_double_trig_use=no
68849 fi
68850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68851 ac_ext=c
68852 ac_cpp='$CPP $CPPFLAGS'
68853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68856
68857 fi
68858
68859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68860 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68861 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68862 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68863 do :
68864 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68866 eval as_val=\$$as_ac_var
68867 if test "x$as_val" = x""yes; then :
68868 cat >>confdefs.h <<_ACEOF
68869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68870 _ACEOF
68871
68872 fi
68873 done
68874
68875 fi
68876 fi
68877
68878
68879
68880
68881
68882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68883 $as_echo_n "checking for long double round functions... " >&6; }
68884 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68885 $as_echo_n "(cached) " >&6
68886 else
68887
68888
68889 ac_ext=cpp
68890 ac_cpp='$CXXCPP $CPPFLAGS'
68891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68894
68895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68896 /* end confdefs.h. */
68897 #include <math.h>
68898 int
68899 main ()
68900 {
68901 ceill (0); floorl (0);
68902 ;
68903 return 0;
68904 }
68905 _ACEOF
68906 if ac_fn_cxx_try_compile "$LINENO"; then :
68907 glibcxx_cv_func_long_double_round_use=yes
68908 else
68909 glibcxx_cv_func_long_double_round_use=no
68910 fi
68911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68912 ac_ext=c
68913 ac_cpp='$CPP $CPPFLAGS'
68914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68917
68918 fi
68919
68920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68921 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68922 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68923 for ac_func in ceill floorl
68924 do :
68925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68927 eval as_val=\$$as_ac_var
68928 if test "x$as_val" = x""yes; then :
68929 cat >>confdefs.h <<_ACEOF
68930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68931 _ACEOF
68932
68933 fi
68934 done
68935
68936 else
68937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68938 $as_echo_n "checking for _long double round functions... " >&6; }
68939 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68940 $as_echo_n "(cached) " >&6
68941 else
68942
68943
68944 ac_ext=cpp
68945 ac_cpp='$CXXCPP $CPPFLAGS'
68946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68949
68950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68951 /* end confdefs.h. */
68952 #include <math.h>
68953 int
68954 main ()
68955 {
68956 _ceill (0); _floorl (0);
68957 ;
68958 return 0;
68959 }
68960 _ACEOF
68961 if ac_fn_cxx_try_compile "$LINENO"; then :
68962 glibcxx_cv_func__long_double_round_use=yes
68963 else
68964 glibcxx_cv_func__long_double_round_use=no
68965 fi
68966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68967 ac_ext=c
68968 ac_cpp='$CPP $CPPFLAGS'
68969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68972
68973 fi
68974
68975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68976 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68977 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68978 for ac_func in _ceill _floorl
68979 do :
68980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68982 eval as_val=\$$as_ac_var
68983 if test "x$as_val" = x""yes; then :
68984 cat >>confdefs.h <<_ACEOF
68985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68986 _ACEOF
68987
68988 fi
68989 done
68990
68991 fi
68992 fi
68993
68994
68995
68996
68997
68998
68999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69000 $as_echo_n "checking for isnanl declaration... " >&6; }
69001 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69002 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69003 $as_echo_n "(cached) " >&6
69004 else
69005
69006
69007 ac_ext=cpp
69008 ac_cpp='$CXXCPP $CPPFLAGS'
69009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69012
69013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69014 /* end confdefs.h. */
69015 #include <math.h>
69016 #ifdef HAVE_IEEEFP_H
69017 #include <ieeefp.h>
69018 #endif
69019
69020 int
69021 main ()
69022 {
69023 isnanl(0);
69024 ;
69025 return 0;
69026 }
69027 _ACEOF
69028 if ac_fn_cxx_try_compile "$LINENO"; then :
69029 glibcxx_cv_func_isnanl_use=yes
69030 else
69031 glibcxx_cv_func_isnanl_use=no
69032 fi
69033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69034 ac_ext=c
69035 ac_cpp='$CPP $CPPFLAGS'
69036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69039
69040
69041 fi
69042
69043 fi
69044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69045 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69046
69047 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69048 for ac_func in isnanl
69049 do :
69050 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69051 if test "x$ac_cv_func_isnanl" = x""yes; then :
69052 cat >>confdefs.h <<_ACEOF
69053 #define HAVE_ISNANL 1
69054 _ACEOF
69055
69056 fi
69057 done
69058
69059 else
69060
69061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69062 $as_echo_n "checking for _isnanl declaration... " >&6; }
69063 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69064 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69065 $as_echo_n "(cached) " >&6
69066 else
69067
69068
69069 ac_ext=cpp
69070 ac_cpp='$CXXCPP $CPPFLAGS'
69071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69074
69075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69076 /* end confdefs.h. */
69077 #include <math.h>
69078 #ifdef HAVE_IEEEFP_H
69079 #include <ieeefp.h>
69080 #endif
69081
69082 int
69083 main ()
69084 {
69085 _isnanl(0);
69086 ;
69087 return 0;
69088 }
69089 _ACEOF
69090 if ac_fn_cxx_try_compile "$LINENO"; then :
69091 glibcxx_cv_func__isnanl_use=yes
69092 else
69093 glibcxx_cv_func__isnanl_use=no
69094 fi
69095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69096 ac_ext=c
69097 ac_cpp='$CPP $CPPFLAGS'
69098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69101
69102
69103 fi
69104
69105 fi
69106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69107 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69108
69109 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69110 for ac_func in _isnanl
69111 do :
69112 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69113 if test "x$ac_cv_func__isnanl" = x""yes; then :
69114 cat >>confdefs.h <<_ACEOF
69115 #define HAVE__ISNANL 1
69116 _ACEOF
69117
69118 fi
69119 done
69120
69121 fi
69122 fi
69123
69124
69125
69126
69127
69128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69129 $as_echo_n "checking for isinfl declaration... " >&6; }
69130 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69131 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69132 $as_echo_n "(cached) " >&6
69133 else
69134
69135
69136 ac_ext=cpp
69137 ac_cpp='$CXXCPP $CPPFLAGS'
69138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69141
69142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69143 /* end confdefs.h. */
69144 #include <math.h>
69145 #ifdef HAVE_IEEEFP_H
69146 #include <ieeefp.h>
69147 #endif
69148
69149 int
69150 main ()
69151 {
69152 isinfl(0);
69153 ;
69154 return 0;
69155 }
69156 _ACEOF
69157 if ac_fn_cxx_try_compile "$LINENO"; then :
69158 glibcxx_cv_func_isinfl_use=yes
69159 else
69160 glibcxx_cv_func_isinfl_use=no
69161 fi
69162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69163 ac_ext=c
69164 ac_cpp='$CPP $CPPFLAGS'
69165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69168
69169
69170 fi
69171
69172 fi
69173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69174 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69175
69176 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69177 for ac_func in isinfl
69178 do :
69179 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69180 if test "x$ac_cv_func_isinfl" = x""yes; then :
69181 cat >>confdefs.h <<_ACEOF
69182 #define HAVE_ISINFL 1
69183 _ACEOF
69184
69185 fi
69186 done
69187
69188 else
69189
69190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69191 $as_echo_n "checking for _isinfl declaration... " >&6; }
69192 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69193 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69194 $as_echo_n "(cached) " >&6
69195 else
69196
69197
69198 ac_ext=cpp
69199 ac_cpp='$CXXCPP $CPPFLAGS'
69200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69203
69204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69205 /* end confdefs.h. */
69206 #include <math.h>
69207 #ifdef HAVE_IEEEFP_H
69208 #include <ieeefp.h>
69209 #endif
69210
69211 int
69212 main ()
69213 {
69214 _isinfl(0);
69215 ;
69216 return 0;
69217 }
69218 _ACEOF
69219 if ac_fn_cxx_try_compile "$LINENO"; then :
69220 glibcxx_cv_func__isinfl_use=yes
69221 else
69222 glibcxx_cv_func__isinfl_use=no
69223 fi
69224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69225 ac_ext=c
69226 ac_cpp='$CPP $CPPFLAGS'
69227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69230
69231
69232 fi
69233
69234 fi
69235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69236 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69237
69238 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69239 for ac_func in _isinfl
69240 do :
69241 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69242 if test "x$ac_cv_func__isinfl" = x""yes; then :
69243 cat >>confdefs.h <<_ACEOF
69244 #define HAVE__ISINFL 1
69245 _ACEOF
69246
69247 fi
69248 done
69249
69250 fi
69251 fi
69252
69253
69254
69255
69256
69257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69258 $as_echo_n "checking for atan2l declaration... " >&6; }
69259 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69260 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69261 $as_echo_n "(cached) " >&6
69262 else
69263
69264
69265 ac_ext=cpp
69266 ac_cpp='$CXXCPP $CPPFLAGS'
69267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69270
69271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69272 /* end confdefs.h. */
69273 #include <math.h>
69274 int
69275 main ()
69276 {
69277 atan2l(0, 0);
69278 ;
69279 return 0;
69280 }
69281 _ACEOF
69282 if ac_fn_cxx_try_compile "$LINENO"; then :
69283 glibcxx_cv_func_atan2l_use=yes
69284 else
69285 glibcxx_cv_func_atan2l_use=no
69286 fi
69287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69288 ac_ext=c
69289 ac_cpp='$CPP $CPPFLAGS'
69290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69293
69294
69295 fi
69296
69297 fi
69298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69299 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69300
69301 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69302 for ac_func in atan2l
69303 do :
69304 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69305 if test "x$ac_cv_func_atan2l" = x""yes; then :
69306 cat >>confdefs.h <<_ACEOF
69307 #define HAVE_ATAN2L 1
69308 _ACEOF
69309
69310 fi
69311 done
69312
69313 else
69314
69315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69316 $as_echo_n "checking for _atan2l declaration... " >&6; }
69317 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69318 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69319 $as_echo_n "(cached) " >&6
69320 else
69321
69322
69323 ac_ext=cpp
69324 ac_cpp='$CXXCPP $CPPFLAGS'
69325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69328
69329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69330 /* end confdefs.h. */
69331 #include <math.h>
69332 int
69333 main ()
69334 {
69335 _atan2l(0, 0);
69336 ;
69337 return 0;
69338 }
69339 _ACEOF
69340 if ac_fn_cxx_try_compile "$LINENO"; then :
69341 glibcxx_cv_func__atan2l_use=yes
69342 else
69343 glibcxx_cv_func__atan2l_use=no
69344 fi
69345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69346 ac_ext=c
69347 ac_cpp='$CPP $CPPFLAGS'
69348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69351
69352
69353 fi
69354
69355 fi
69356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69357 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69358
69359 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69360 for ac_func in _atan2l
69361 do :
69362 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69363 if test "x$ac_cv_func__atan2l" = x""yes; then :
69364 cat >>confdefs.h <<_ACEOF
69365 #define HAVE__ATAN2L 1
69366 _ACEOF
69367
69368 fi
69369 done
69370
69371 fi
69372 fi
69373
69374
69375
69376
69377
69378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69379 $as_echo_n "checking for expl declaration... " >&6; }
69380 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69381 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69382 $as_echo_n "(cached) " >&6
69383 else
69384
69385
69386 ac_ext=cpp
69387 ac_cpp='$CXXCPP $CPPFLAGS'
69388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69391
69392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69393 /* end confdefs.h. */
69394 #include <math.h>
69395 #ifdef HAVE_IEEEFP_H
69396 #include <ieeefp.h>
69397 #endif
69398
69399 int
69400 main ()
69401 {
69402 expl(0);
69403 ;
69404 return 0;
69405 }
69406 _ACEOF
69407 if ac_fn_cxx_try_compile "$LINENO"; then :
69408 glibcxx_cv_func_expl_use=yes
69409 else
69410 glibcxx_cv_func_expl_use=no
69411 fi
69412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69413 ac_ext=c
69414 ac_cpp='$CPP $CPPFLAGS'
69415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69418
69419
69420 fi
69421
69422 fi
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69424 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69425
69426 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69427 for ac_func in expl
69428 do :
69429 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69430 if test "x$ac_cv_func_expl" = x""yes; then :
69431 cat >>confdefs.h <<_ACEOF
69432 #define HAVE_EXPL 1
69433 _ACEOF
69434
69435 fi
69436 done
69437
69438 else
69439
69440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69441 $as_echo_n "checking for _expl declaration... " >&6; }
69442 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69443 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69444 $as_echo_n "(cached) " >&6
69445 else
69446
69447
69448 ac_ext=cpp
69449 ac_cpp='$CXXCPP $CPPFLAGS'
69450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69453
69454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69455 /* end confdefs.h. */
69456 #include <math.h>
69457 #ifdef HAVE_IEEEFP_H
69458 #include <ieeefp.h>
69459 #endif
69460
69461 int
69462 main ()
69463 {
69464 _expl(0);
69465 ;
69466 return 0;
69467 }
69468 _ACEOF
69469 if ac_fn_cxx_try_compile "$LINENO"; then :
69470 glibcxx_cv_func__expl_use=yes
69471 else
69472 glibcxx_cv_func__expl_use=no
69473 fi
69474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69475 ac_ext=c
69476 ac_cpp='$CPP $CPPFLAGS'
69477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69480
69481
69482 fi
69483
69484 fi
69485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69486 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69487
69488 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69489 for ac_func in _expl
69490 do :
69491 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69492 if test "x$ac_cv_func__expl" = x""yes; then :
69493 cat >>confdefs.h <<_ACEOF
69494 #define HAVE__EXPL 1
69495 _ACEOF
69496
69497 fi
69498 done
69499
69500 fi
69501 fi
69502
69503
69504
69505
69506
69507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69508 $as_echo_n "checking for fabsl declaration... " >&6; }
69509 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69510 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69511 $as_echo_n "(cached) " >&6
69512 else
69513
69514
69515 ac_ext=cpp
69516 ac_cpp='$CXXCPP $CPPFLAGS'
69517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69520
69521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69522 /* end confdefs.h. */
69523 #include <math.h>
69524 #ifdef HAVE_IEEEFP_H
69525 #include <ieeefp.h>
69526 #endif
69527
69528 int
69529 main ()
69530 {
69531 fabsl(0);
69532 ;
69533 return 0;
69534 }
69535 _ACEOF
69536 if ac_fn_cxx_try_compile "$LINENO"; then :
69537 glibcxx_cv_func_fabsl_use=yes
69538 else
69539 glibcxx_cv_func_fabsl_use=no
69540 fi
69541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69542 ac_ext=c
69543 ac_cpp='$CPP $CPPFLAGS'
69544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69547
69548
69549 fi
69550
69551 fi
69552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69553 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69554
69555 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69556 for ac_func in fabsl
69557 do :
69558 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69559 if test "x$ac_cv_func_fabsl" = x""yes; then :
69560 cat >>confdefs.h <<_ACEOF
69561 #define HAVE_FABSL 1
69562 _ACEOF
69563
69564 fi
69565 done
69566
69567 else
69568
69569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69570 $as_echo_n "checking for _fabsl declaration... " >&6; }
69571 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69572 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69573 $as_echo_n "(cached) " >&6
69574 else
69575
69576
69577 ac_ext=cpp
69578 ac_cpp='$CXXCPP $CPPFLAGS'
69579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69582
69583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69584 /* end confdefs.h. */
69585 #include <math.h>
69586 #ifdef HAVE_IEEEFP_H
69587 #include <ieeefp.h>
69588 #endif
69589
69590 int
69591 main ()
69592 {
69593 _fabsl(0);
69594 ;
69595 return 0;
69596 }
69597 _ACEOF
69598 if ac_fn_cxx_try_compile "$LINENO"; then :
69599 glibcxx_cv_func__fabsl_use=yes
69600 else
69601 glibcxx_cv_func__fabsl_use=no
69602 fi
69603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69604 ac_ext=c
69605 ac_cpp='$CPP $CPPFLAGS'
69606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69609
69610
69611 fi
69612
69613 fi
69614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69615 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69616
69617 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69618 for ac_func in _fabsl
69619 do :
69620 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69621 if test "x$ac_cv_func__fabsl" = x""yes; then :
69622 cat >>confdefs.h <<_ACEOF
69623 #define HAVE__FABSL 1
69624 _ACEOF
69625
69626 fi
69627 done
69628
69629 fi
69630 fi
69631
69632
69633
69634
69635
69636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69637 $as_echo_n "checking for fmodl declaration... " >&6; }
69638 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69639 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69640 $as_echo_n "(cached) " >&6
69641 else
69642
69643
69644 ac_ext=cpp
69645 ac_cpp='$CXXCPP $CPPFLAGS'
69646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69649
69650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69651 /* end confdefs.h. */
69652 #include <math.h>
69653 int
69654 main ()
69655 {
69656 fmodl(0, 0);
69657 ;
69658 return 0;
69659 }
69660 _ACEOF
69661 if ac_fn_cxx_try_compile "$LINENO"; then :
69662 glibcxx_cv_func_fmodl_use=yes
69663 else
69664 glibcxx_cv_func_fmodl_use=no
69665 fi
69666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69667 ac_ext=c
69668 ac_cpp='$CPP $CPPFLAGS'
69669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69672
69673
69674 fi
69675
69676 fi
69677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69678 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69679
69680 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69681 for ac_func in fmodl
69682 do :
69683 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69684 if test "x$ac_cv_func_fmodl" = x""yes; then :
69685 cat >>confdefs.h <<_ACEOF
69686 #define HAVE_FMODL 1
69687 _ACEOF
69688
69689 fi
69690 done
69691
69692 else
69693
69694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69695 $as_echo_n "checking for _fmodl declaration... " >&6; }
69696 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69697 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69698 $as_echo_n "(cached) " >&6
69699 else
69700
69701
69702 ac_ext=cpp
69703 ac_cpp='$CXXCPP $CPPFLAGS'
69704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69707
69708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69709 /* end confdefs.h. */
69710 #include <math.h>
69711 int
69712 main ()
69713 {
69714 _fmodl(0, 0);
69715 ;
69716 return 0;
69717 }
69718 _ACEOF
69719 if ac_fn_cxx_try_compile "$LINENO"; then :
69720 glibcxx_cv_func__fmodl_use=yes
69721 else
69722 glibcxx_cv_func__fmodl_use=no
69723 fi
69724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69725 ac_ext=c
69726 ac_cpp='$CPP $CPPFLAGS'
69727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69730
69731
69732 fi
69733
69734 fi
69735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69736 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69737
69738 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69739 for ac_func in _fmodl
69740 do :
69741 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69742 if test "x$ac_cv_func__fmodl" = x""yes; then :
69743 cat >>confdefs.h <<_ACEOF
69744 #define HAVE__FMODL 1
69745 _ACEOF
69746
69747 fi
69748 done
69749
69750 fi
69751 fi
69752
69753
69754
69755
69756
69757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69758 $as_echo_n "checking for frexpl declaration... " >&6; }
69759 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69760 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69761 $as_echo_n "(cached) " >&6
69762 else
69763
69764
69765 ac_ext=cpp
69766 ac_cpp='$CXXCPP $CPPFLAGS'
69767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69770
69771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69772 /* end confdefs.h. */
69773 #include <math.h>
69774 int
69775 main ()
69776 {
69777 frexpl(0, 0);
69778 ;
69779 return 0;
69780 }
69781 _ACEOF
69782 if ac_fn_cxx_try_compile "$LINENO"; then :
69783 glibcxx_cv_func_frexpl_use=yes
69784 else
69785 glibcxx_cv_func_frexpl_use=no
69786 fi
69787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69788 ac_ext=c
69789 ac_cpp='$CPP $CPPFLAGS'
69790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69793
69794
69795 fi
69796
69797 fi
69798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69799 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69800
69801 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69802 for ac_func in frexpl
69803 do :
69804 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69805 if test "x$ac_cv_func_frexpl" = x""yes; then :
69806 cat >>confdefs.h <<_ACEOF
69807 #define HAVE_FREXPL 1
69808 _ACEOF
69809
69810 fi
69811 done
69812
69813 else
69814
69815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69816 $as_echo_n "checking for _frexpl declaration... " >&6; }
69817 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69818 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69819 $as_echo_n "(cached) " >&6
69820 else
69821
69822
69823 ac_ext=cpp
69824 ac_cpp='$CXXCPP $CPPFLAGS'
69825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69828
69829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69830 /* end confdefs.h. */
69831 #include <math.h>
69832 int
69833 main ()
69834 {
69835 _frexpl(0, 0);
69836 ;
69837 return 0;
69838 }
69839 _ACEOF
69840 if ac_fn_cxx_try_compile "$LINENO"; then :
69841 glibcxx_cv_func__frexpl_use=yes
69842 else
69843 glibcxx_cv_func__frexpl_use=no
69844 fi
69845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69846 ac_ext=c
69847 ac_cpp='$CPP $CPPFLAGS'
69848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69851
69852
69853 fi
69854
69855 fi
69856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69857 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69858
69859 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69860 for ac_func in _frexpl
69861 do :
69862 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69863 if test "x$ac_cv_func__frexpl" = x""yes; then :
69864 cat >>confdefs.h <<_ACEOF
69865 #define HAVE__FREXPL 1
69866 _ACEOF
69867
69868 fi
69869 done
69870
69871 fi
69872 fi
69873
69874
69875
69876
69877
69878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69879 $as_echo_n "checking for hypotl declaration... " >&6; }
69880 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69881 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69882 $as_echo_n "(cached) " >&6
69883 else
69884
69885
69886 ac_ext=cpp
69887 ac_cpp='$CXXCPP $CPPFLAGS'
69888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69891
69892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69893 /* end confdefs.h. */
69894 #include <math.h>
69895 int
69896 main ()
69897 {
69898 hypotl(0, 0);
69899 ;
69900 return 0;
69901 }
69902 _ACEOF
69903 if ac_fn_cxx_try_compile "$LINENO"; then :
69904 glibcxx_cv_func_hypotl_use=yes
69905 else
69906 glibcxx_cv_func_hypotl_use=no
69907 fi
69908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69909 ac_ext=c
69910 ac_cpp='$CPP $CPPFLAGS'
69911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69914
69915
69916 fi
69917
69918 fi
69919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69920 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69921
69922 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69923 for ac_func in hypotl
69924 do :
69925 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69926 if test "x$ac_cv_func_hypotl" = x""yes; then :
69927 cat >>confdefs.h <<_ACEOF
69928 #define HAVE_HYPOTL 1
69929 _ACEOF
69930
69931 fi
69932 done
69933
69934 else
69935
69936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69937 $as_echo_n "checking for _hypotl declaration... " >&6; }
69938 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69939 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69940 $as_echo_n "(cached) " >&6
69941 else
69942
69943
69944 ac_ext=cpp
69945 ac_cpp='$CXXCPP $CPPFLAGS'
69946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69949
69950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69951 /* end confdefs.h. */
69952 #include <math.h>
69953 int
69954 main ()
69955 {
69956 _hypotl(0, 0);
69957 ;
69958 return 0;
69959 }
69960 _ACEOF
69961 if ac_fn_cxx_try_compile "$LINENO"; then :
69962 glibcxx_cv_func__hypotl_use=yes
69963 else
69964 glibcxx_cv_func__hypotl_use=no
69965 fi
69966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69967 ac_ext=c
69968 ac_cpp='$CPP $CPPFLAGS'
69969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69972
69973
69974 fi
69975
69976 fi
69977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69978 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69979
69980 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69981 for ac_func in _hypotl
69982 do :
69983 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69984 if test "x$ac_cv_func__hypotl" = x""yes; then :
69985 cat >>confdefs.h <<_ACEOF
69986 #define HAVE__HYPOTL 1
69987 _ACEOF
69988
69989 fi
69990 done
69991
69992 fi
69993 fi
69994
69995
69996
69997
69998
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70000 $as_echo_n "checking for ldexpl declaration... " >&6; }
70001 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70002 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70003 $as_echo_n "(cached) " >&6
70004 else
70005
70006
70007 ac_ext=cpp
70008 ac_cpp='$CXXCPP $CPPFLAGS'
70009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70012
70013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70014 /* end confdefs.h. */
70015 #include <math.h>
70016 int
70017 main ()
70018 {
70019 ldexpl(0, 0);
70020 ;
70021 return 0;
70022 }
70023 _ACEOF
70024 if ac_fn_cxx_try_compile "$LINENO"; then :
70025 glibcxx_cv_func_ldexpl_use=yes
70026 else
70027 glibcxx_cv_func_ldexpl_use=no
70028 fi
70029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70030 ac_ext=c
70031 ac_cpp='$CPP $CPPFLAGS'
70032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70035
70036
70037 fi
70038
70039 fi
70040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70041 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70042
70043 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70044 for ac_func in ldexpl
70045 do :
70046 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70047 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70048 cat >>confdefs.h <<_ACEOF
70049 #define HAVE_LDEXPL 1
70050 _ACEOF
70051
70052 fi
70053 done
70054
70055 else
70056
70057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70058 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70059 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70060 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70061 $as_echo_n "(cached) " >&6
70062 else
70063
70064
70065 ac_ext=cpp
70066 ac_cpp='$CXXCPP $CPPFLAGS'
70067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70070
70071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70072 /* end confdefs.h. */
70073 #include <math.h>
70074 int
70075 main ()
70076 {
70077 _ldexpl(0, 0);
70078 ;
70079 return 0;
70080 }
70081 _ACEOF
70082 if ac_fn_cxx_try_compile "$LINENO"; then :
70083 glibcxx_cv_func__ldexpl_use=yes
70084 else
70085 glibcxx_cv_func__ldexpl_use=no
70086 fi
70087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70088 ac_ext=c
70089 ac_cpp='$CPP $CPPFLAGS'
70090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70093
70094
70095 fi
70096
70097 fi
70098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70099 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70100
70101 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70102 for ac_func in _ldexpl
70103 do :
70104 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70105 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70106 cat >>confdefs.h <<_ACEOF
70107 #define HAVE__LDEXPL 1
70108 _ACEOF
70109
70110 fi
70111 done
70112
70113 fi
70114 fi
70115
70116
70117
70118
70119
70120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70121 $as_echo_n "checking for logl declaration... " >&6; }
70122 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70123 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70124 $as_echo_n "(cached) " >&6
70125 else
70126
70127
70128 ac_ext=cpp
70129 ac_cpp='$CXXCPP $CPPFLAGS'
70130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70133
70134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70135 /* end confdefs.h. */
70136 #include <math.h>
70137 #ifdef HAVE_IEEEFP_H
70138 #include <ieeefp.h>
70139 #endif
70140
70141 int
70142 main ()
70143 {
70144 logl(0);
70145 ;
70146 return 0;
70147 }
70148 _ACEOF
70149 if ac_fn_cxx_try_compile "$LINENO"; then :
70150 glibcxx_cv_func_logl_use=yes
70151 else
70152 glibcxx_cv_func_logl_use=no
70153 fi
70154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70155 ac_ext=c
70156 ac_cpp='$CPP $CPPFLAGS'
70157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70160
70161
70162 fi
70163
70164 fi
70165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70166 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70167
70168 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70169 for ac_func in logl
70170 do :
70171 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70172 if test "x$ac_cv_func_logl" = x""yes; then :
70173 cat >>confdefs.h <<_ACEOF
70174 #define HAVE_LOGL 1
70175 _ACEOF
70176
70177 fi
70178 done
70179
70180 else
70181
70182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70183 $as_echo_n "checking for _logl declaration... " >&6; }
70184 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70185 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70186 $as_echo_n "(cached) " >&6
70187 else
70188
70189
70190 ac_ext=cpp
70191 ac_cpp='$CXXCPP $CPPFLAGS'
70192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70195
70196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70197 /* end confdefs.h. */
70198 #include <math.h>
70199 #ifdef HAVE_IEEEFP_H
70200 #include <ieeefp.h>
70201 #endif
70202
70203 int
70204 main ()
70205 {
70206 _logl(0);
70207 ;
70208 return 0;
70209 }
70210 _ACEOF
70211 if ac_fn_cxx_try_compile "$LINENO"; then :
70212 glibcxx_cv_func__logl_use=yes
70213 else
70214 glibcxx_cv_func__logl_use=no
70215 fi
70216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70217 ac_ext=c
70218 ac_cpp='$CPP $CPPFLAGS'
70219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70222
70223
70224 fi
70225
70226 fi
70227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70228 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70229
70230 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70231 for ac_func in _logl
70232 do :
70233 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70234 if test "x$ac_cv_func__logl" = x""yes; then :
70235 cat >>confdefs.h <<_ACEOF
70236 #define HAVE__LOGL 1
70237 _ACEOF
70238
70239 fi
70240 done
70241
70242 fi
70243 fi
70244
70245
70246
70247
70248
70249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70250 $as_echo_n "checking for log10l declaration... " >&6; }
70251 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70252 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70253 $as_echo_n "(cached) " >&6
70254 else
70255
70256
70257 ac_ext=cpp
70258 ac_cpp='$CXXCPP $CPPFLAGS'
70259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70262
70263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70264 /* end confdefs.h. */
70265 #include <math.h>
70266 #ifdef HAVE_IEEEFP_H
70267 #include <ieeefp.h>
70268 #endif
70269
70270 int
70271 main ()
70272 {
70273 log10l(0);
70274 ;
70275 return 0;
70276 }
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279 glibcxx_cv_func_log10l_use=yes
70280 else
70281 glibcxx_cv_func_log10l_use=no
70282 fi
70283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70284 ac_ext=c
70285 ac_cpp='$CPP $CPPFLAGS'
70286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70289
70290
70291 fi
70292
70293 fi
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70295 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70296
70297 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70298 for ac_func in log10l
70299 do :
70300 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70301 if test "x$ac_cv_func_log10l" = x""yes; then :
70302 cat >>confdefs.h <<_ACEOF
70303 #define HAVE_LOG10L 1
70304 _ACEOF
70305
70306 fi
70307 done
70308
70309 else
70310
70311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70312 $as_echo_n "checking for _log10l declaration... " >&6; }
70313 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70314 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70315 $as_echo_n "(cached) " >&6
70316 else
70317
70318
70319 ac_ext=cpp
70320 ac_cpp='$CXXCPP $CPPFLAGS'
70321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70324
70325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70326 /* end confdefs.h. */
70327 #include <math.h>
70328 #ifdef HAVE_IEEEFP_H
70329 #include <ieeefp.h>
70330 #endif
70331
70332 int
70333 main ()
70334 {
70335 _log10l(0);
70336 ;
70337 return 0;
70338 }
70339 _ACEOF
70340 if ac_fn_cxx_try_compile "$LINENO"; then :
70341 glibcxx_cv_func__log10l_use=yes
70342 else
70343 glibcxx_cv_func__log10l_use=no
70344 fi
70345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70346 ac_ext=c
70347 ac_cpp='$CPP $CPPFLAGS'
70348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70351
70352
70353 fi
70354
70355 fi
70356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70357 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70358
70359 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70360 for ac_func in _log10l
70361 do :
70362 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70363 if test "x$ac_cv_func__log10l" = x""yes; then :
70364 cat >>confdefs.h <<_ACEOF
70365 #define HAVE__LOG10L 1
70366 _ACEOF
70367
70368 fi
70369 done
70370
70371 fi
70372 fi
70373
70374
70375
70376
70377
70378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70379 $as_echo_n "checking for modfl declaration... " >&6; }
70380 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70381 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70382 $as_echo_n "(cached) " >&6
70383 else
70384
70385
70386 ac_ext=cpp
70387 ac_cpp='$CXXCPP $CPPFLAGS'
70388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70391
70392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70393 /* end confdefs.h. */
70394 #include <math.h>
70395 int
70396 main ()
70397 {
70398 modfl(0, 0);
70399 ;
70400 return 0;
70401 }
70402 _ACEOF
70403 if ac_fn_cxx_try_compile "$LINENO"; then :
70404 glibcxx_cv_func_modfl_use=yes
70405 else
70406 glibcxx_cv_func_modfl_use=no
70407 fi
70408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70409 ac_ext=c
70410 ac_cpp='$CPP $CPPFLAGS'
70411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70414
70415
70416 fi
70417
70418 fi
70419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70420 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70421
70422 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70423 for ac_func in modfl
70424 do :
70425 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70426 if test "x$ac_cv_func_modfl" = x""yes; then :
70427 cat >>confdefs.h <<_ACEOF
70428 #define HAVE_MODFL 1
70429 _ACEOF
70430
70431 fi
70432 done
70433
70434 else
70435
70436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70437 $as_echo_n "checking for _modfl declaration... " >&6; }
70438 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70439 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70440 $as_echo_n "(cached) " >&6
70441 else
70442
70443
70444 ac_ext=cpp
70445 ac_cpp='$CXXCPP $CPPFLAGS'
70446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70449
70450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70451 /* end confdefs.h. */
70452 #include <math.h>
70453 int
70454 main ()
70455 {
70456 _modfl(0, 0);
70457 ;
70458 return 0;
70459 }
70460 _ACEOF
70461 if ac_fn_cxx_try_compile "$LINENO"; then :
70462 glibcxx_cv_func__modfl_use=yes
70463 else
70464 glibcxx_cv_func__modfl_use=no
70465 fi
70466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70467 ac_ext=c
70468 ac_cpp='$CPP $CPPFLAGS'
70469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70472
70473
70474 fi
70475
70476 fi
70477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70478 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70479
70480 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70481 for ac_func in _modfl
70482 do :
70483 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70484 if test "x$ac_cv_func__modfl" = x""yes; then :
70485 cat >>confdefs.h <<_ACEOF
70486 #define HAVE__MODFL 1
70487 _ACEOF
70488
70489 fi
70490 done
70491
70492 fi
70493 fi
70494
70495
70496
70497
70498
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70500 $as_echo_n "checking for powl declaration... " >&6; }
70501 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70502 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70503 $as_echo_n "(cached) " >&6
70504 else
70505
70506
70507 ac_ext=cpp
70508 ac_cpp='$CXXCPP $CPPFLAGS'
70509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70512
70513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70514 /* end confdefs.h. */
70515 #include <math.h>
70516 int
70517 main ()
70518 {
70519 powl(0, 0);
70520 ;
70521 return 0;
70522 }
70523 _ACEOF
70524 if ac_fn_cxx_try_compile "$LINENO"; then :
70525 glibcxx_cv_func_powl_use=yes
70526 else
70527 glibcxx_cv_func_powl_use=no
70528 fi
70529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70530 ac_ext=c
70531 ac_cpp='$CPP $CPPFLAGS'
70532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70535
70536
70537 fi
70538
70539 fi
70540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70541 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70542
70543 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70544 for ac_func in powl
70545 do :
70546 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70547 if test "x$ac_cv_func_powl" = x""yes; then :
70548 cat >>confdefs.h <<_ACEOF
70549 #define HAVE_POWL 1
70550 _ACEOF
70551
70552 fi
70553 done
70554
70555 else
70556
70557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70558 $as_echo_n "checking for _powl declaration... " >&6; }
70559 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70560 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70561 $as_echo_n "(cached) " >&6
70562 else
70563
70564
70565 ac_ext=cpp
70566 ac_cpp='$CXXCPP $CPPFLAGS'
70567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70570
70571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70572 /* end confdefs.h. */
70573 #include <math.h>
70574 int
70575 main ()
70576 {
70577 _powl(0, 0);
70578 ;
70579 return 0;
70580 }
70581 _ACEOF
70582 if ac_fn_cxx_try_compile "$LINENO"; then :
70583 glibcxx_cv_func__powl_use=yes
70584 else
70585 glibcxx_cv_func__powl_use=no
70586 fi
70587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70588 ac_ext=c
70589 ac_cpp='$CPP $CPPFLAGS'
70590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70593
70594
70595 fi
70596
70597 fi
70598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70599 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70600
70601 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70602 for ac_func in _powl
70603 do :
70604 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70605 if test "x$ac_cv_func__powl" = x""yes; then :
70606 cat >>confdefs.h <<_ACEOF
70607 #define HAVE__POWL 1
70608 _ACEOF
70609
70610 fi
70611 done
70612
70613 fi
70614 fi
70615
70616
70617
70618
70619
70620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70621 $as_echo_n "checking for sqrtl declaration... " >&6; }
70622 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70623 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70624 $as_echo_n "(cached) " >&6
70625 else
70626
70627
70628 ac_ext=cpp
70629 ac_cpp='$CXXCPP $CPPFLAGS'
70630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70633
70634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70635 /* end confdefs.h. */
70636 #include <math.h>
70637 #ifdef HAVE_IEEEFP_H
70638 #include <ieeefp.h>
70639 #endif
70640
70641 int
70642 main ()
70643 {
70644 sqrtl(0);
70645 ;
70646 return 0;
70647 }
70648 _ACEOF
70649 if ac_fn_cxx_try_compile "$LINENO"; then :
70650 glibcxx_cv_func_sqrtl_use=yes
70651 else
70652 glibcxx_cv_func_sqrtl_use=no
70653 fi
70654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70655 ac_ext=c
70656 ac_cpp='$CPP $CPPFLAGS'
70657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70660
70661
70662 fi
70663
70664 fi
70665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70666 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70667
70668 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70669 for ac_func in sqrtl
70670 do :
70671 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70672 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70673 cat >>confdefs.h <<_ACEOF
70674 #define HAVE_SQRTL 1
70675 _ACEOF
70676
70677 fi
70678 done
70679
70680 else
70681
70682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70683 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70684 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70685 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70686 $as_echo_n "(cached) " >&6
70687 else
70688
70689
70690 ac_ext=cpp
70691 ac_cpp='$CXXCPP $CPPFLAGS'
70692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70695
70696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70697 /* end confdefs.h. */
70698 #include <math.h>
70699 #ifdef HAVE_IEEEFP_H
70700 #include <ieeefp.h>
70701 #endif
70702
70703 int
70704 main ()
70705 {
70706 _sqrtl(0);
70707 ;
70708 return 0;
70709 }
70710 _ACEOF
70711 if ac_fn_cxx_try_compile "$LINENO"; then :
70712 glibcxx_cv_func__sqrtl_use=yes
70713 else
70714 glibcxx_cv_func__sqrtl_use=no
70715 fi
70716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70717 ac_ext=c
70718 ac_cpp='$CPP $CPPFLAGS'
70719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70722
70723
70724 fi
70725
70726 fi
70727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70728 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70729
70730 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70731 for ac_func in _sqrtl
70732 do :
70733 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70734 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70735 cat >>confdefs.h <<_ACEOF
70736 #define HAVE__SQRTL 1
70737 _ACEOF
70738
70739 fi
70740 done
70741
70742 fi
70743 fi
70744
70745
70746
70747
70748
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70750 $as_echo_n "checking for sincosl declaration... " >&6; }
70751 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70752 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70753 $as_echo_n "(cached) " >&6
70754 else
70755
70756
70757 ac_ext=cpp
70758 ac_cpp='$CXXCPP $CPPFLAGS'
70759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70762
70763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70764 /* end confdefs.h. */
70765 #include <math.h>
70766 int
70767 main ()
70768 {
70769 sincosl(0, 0, 0);
70770 ;
70771 return 0;
70772 }
70773 _ACEOF
70774 if ac_fn_cxx_try_compile "$LINENO"; then :
70775 glibcxx_cv_func_sincosl_use=yes
70776 else
70777 glibcxx_cv_func_sincosl_use=no
70778 fi
70779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70780 ac_ext=c
70781 ac_cpp='$CPP $CPPFLAGS'
70782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70785
70786
70787 fi
70788
70789 fi
70790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70791 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70792
70793 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70794 for ac_func in sincosl
70795 do :
70796 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70797 if test "x$ac_cv_func_sincosl" = x""yes; then :
70798 cat >>confdefs.h <<_ACEOF
70799 #define HAVE_SINCOSL 1
70800 _ACEOF
70801
70802 fi
70803 done
70804
70805 else
70806
70807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70808 $as_echo_n "checking for _sincosl declaration... " >&6; }
70809 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70810 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70811 $as_echo_n "(cached) " >&6
70812 else
70813
70814
70815 ac_ext=cpp
70816 ac_cpp='$CXXCPP $CPPFLAGS'
70817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70820
70821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70822 /* end confdefs.h. */
70823 #include <math.h>
70824 int
70825 main ()
70826 {
70827 _sincosl(0, 0, 0);
70828 ;
70829 return 0;
70830 }
70831 _ACEOF
70832 if ac_fn_cxx_try_compile "$LINENO"; then :
70833 glibcxx_cv_func__sincosl_use=yes
70834 else
70835 glibcxx_cv_func__sincosl_use=no
70836 fi
70837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70838 ac_ext=c
70839 ac_cpp='$CPP $CPPFLAGS'
70840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70843
70844
70845 fi
70846
70847 fi
70848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70849 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70850
70851 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70852 for ac_func in _sincosl
70853 do :
70854 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70855 if test "x$ac_cv_func__sincosl" = x""yes; then :
70856 cat >>confdefs.h <<_ACEOF
70857 #define HAVE__SINCOSL 1
70858 _ACEOF
70859
70860 fi
70861 done
70862
70863 fi
70864 fi
70865
70866
70867
70868
70869
70870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70871 $as_echo_n "checking for finitel declaration... " >&6; }
70872 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70873 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70874 $as_echo_n "(cached) " >&6
70875 else
70876
70877
70878 ac_ext=cpp
70879 ac_cpp='$CXXCPP $CPPFLAGS'
70880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70883
70884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70885 /* end confdefs.h. */
70886 #include <math.h>
70887 #ifdef HAVE_IEEEFP_H
70888 #include <ieeefp.h>
70889 #endif
70890
70891 int
70892 main ()
70893 {
70894 finitel(0);
70895 ;
70896 return 0;
70897 }
70898 _ACEOF
70899 if ac_fn_cxx_try_compile "$LINENO"; then :
70900 glibcxx_cv_func_finitel_use=yes
70901 else
70902 glibcxx_cv_func_finitel_use=no
70903 fi
70904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70905 ac_ext=c
70906 ac_cpp='$CPP $CPPFLAGS'
70907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70910
70911
70912 fi
70913
70914 fi
70915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70916 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70917
70918 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70919 for ac_func in finitel
70920 do :
70921 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70922 if test "x$ac_cv_func_finitel" = x""yes; then :
70923 cat >>confdefs.h <<_ACEOF
70924 #define HAVE_FINITEL 1
70925 _ACEOF
70926
70927 fi
70928 done
70929
70930 else
70931
70932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70933 $as_echo_n "checking for _finitel declaration... " >&6; }
70934 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70935 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70936 $as_echo_n "(cached) " >&6
70937 else
70938
70939
70940 ac_ext=cpp
70941 ac_cpp='$CXXCPP $CPPFLAGS'
70942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70945
70946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70947 /* end confdefs.h. */
70948 #include <math.h>
70949 #ifdef HAVE_IEEEFP_H
70950 #include <ieeefp.h>
70951 #endif
70952
70953 int
70954 main ()
70955 {
70956 _finitel(0);
70957 ;
70958 return 0;
70959 }
70960 _ACEOF
70961 if ac_fn_cxx_try_compile "$LINENO"; then :
70962 glibcxx_cv_func__finitel_use=yes
70963 else
70964 glibcxx_cv_func__finitel_use=no
70965 fi
70966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70967 ac_ext=c
70968 ac_cpp='$CPP $CPPFLAGS'
70969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70972
70973
70974 fi
70975
70976 fi
70977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70978 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70979
70980 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70981 for ac_func in _finitel
70982 do :
70983 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70984 if test "x$ac_cv_func__finitel" = x""yes; then :
70985 cat >>confdefs.h <<_ACEOF
70986 #define HAVE__FINITEL 1
70987 _ACEOF
70988
70989 fi
70990 done
70991
70992 fi
70993 fi
70994
70995
70996
70997
70998 LIBS="$ac_save_LIBS"
70999 CXXFLAGS="$ac_save_CXXFLAGS"
71000
71001
71002 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71003 ac_save_CXXFLAGS="$CXXFLAGS"
71004 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71005
71006
71007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71008 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71009 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71010 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71011 $as_echo_n "(cached) " >&6
71012 else
71013
71014
71015 ac_ext=cpp
71016 ac_cpp='$CXXCPP $CPPFLAGS'
71017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71020
71021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71022 /* end confdefs.h. */
71023 #include <stdlib.h>
71024 int
71025 main ()
71026 {
71027 at_quick_exit(0);
71028 ;
71029 return 0;
71030 }
71031 _ACEOF
71032 if ac_fn_cxx_try_compile "$LINENO"; then :
71033 glibcxx_cv_func_at_quick_exit_use=yes
71034 else
71035 glibcxx_cv_func_at_quick_exit_use=no
71036 fi
71037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71038 ac_ext=c
71039 ac_cpp='$CPP $CPPFLAGS'
71040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71043
71044
71045 fi
71046
71047 fi
71048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71049 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71050 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71051 for ac_func in at_quick_exit
71052 do :
71053 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71054 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71055 cat >>confdefs.h <<_ACEOF
71056 #define HAVE_AT_QUICK_EXIT 1
71057 _ACEOF
71058
71059 fi
71060 done
71061
71062 fi
71063
71064
71065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71066 $as_echo_n "checking for quick_exit declaration... " >&6; }
71067 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71068 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71069 $as_echo_n "(cached) " >&6
71070 else
71071
71072
71073 ac_ext=cpp
71074 ac_cpp='$CXXCPP $CPPFLAGS'
71075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71078
71079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71080 /* end confdefs.h. */
71081 #include <stdlib.h>
71082 int
71083 main ()
71084 {
71085 quick_exit(0);
71086 ;
71087 return 0;
71088 }
71089 _ACEOF
71090 if ac_fn_cxx_try_compile "$LINENO"; then :
71091 glibcxx_cv_func_quick_exit_use=yes
71092 else
71093 glibcxx_cv_func_quick_exit_use=no
71094 fi
71095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71096 ac_ext=c
71097 ac_cpp='$CPP $CPPFLAGS'
71098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71101
71102
71103 fi
71104
71105 fi
71106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71107 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71108 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71109 for ac_func in quick_exit
71110 do :
71111 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71112 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71113 cat >>confdefs.h <<_ACEOF
71114 #define HAVE_QUICK_EXIT 1
71115 _ACEOF
71116
71117 fi
71118 done
71119
71120 fi
71121
71122
71123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71124 $as_echo_n "checking for strtold declaration... " >&6; }
71125 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71126 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71127 $as_echo_n "(cached) " >&6
71128 else
71129
71130
71131 ac_ext=cpp
71132 ac_cpp='$CXXCPP $CPPFLAGS'
71133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71136
71137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71138 /* end confdefs.h. */
71139 #include <stdlib.h>
71140 int
71141 main ()
71142 {
71143 strtold(0, 0);
71144 ;
71145 return 0;
71146 }
71147 _ACEOF
71148 if ac_fn_cxx_try_compile "$LINENO"; then :
71149 glibcxx_cv_func_strtold_use=yes
71150 else
71151 glibcxx_cv_func_strtold_use=no
71152 fi
71153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71154 ac_ext=c
71155 ac_cpp='$CPP $CPPFLAGS'
71156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71159
71160
71161 fi
71162
71163 fi
71164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71165 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71166 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71167 for ac_func in strtold
71168 do :
71169 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71170 if test "x$ac_cv_func_strtold" = x""yes; then :
71171 cat >>confdefs.h <<_ACEOF
71172 #define HAVE_STRTOLD 1
71173 _ACEOF
71174
71175 fi
71176 done
71177
71178 fi
71179
71180
71181
71182
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71184 $as_echo_n "checking for strtof declaration... " >&6; }
71185 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71186 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71187 $as_echo_n "(cached) " >&6
71188 else
71189
71190
71191 ac_ext=cpp
71192 ac_cpp='$CXXCPP $CPPFLAGS'
71193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71196
71197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71198 /* end confdefs.h. */
71199 #include <stdlib.h>
71200 int
71201 main ()
71202 {
71203 strtof(0, 0);
71204 ;
71205 return 0;
71206 }
71207 _ACEOF
71208 if ac_fn_cxx_try_compile "$LINENO"; then :
71209 glibcxx_cv_func_strtof_use=yes
71210 else
71211 glibcxx_cv_func_strtof_use=no
71212 fi
71213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71214 ac_ext=c
71215 ac_cpp='$CPP $CPPFLAGS'
71216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71219
71220
71221 fi
71222
71223 fi
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71225 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71226 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71227 for ac_func in strtof
71228 do :
71229 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71230 if test "x$ac_cv_func_strtof" = x""yes; then :
71231 cat >>confdefs.h <<_ACEOF
71232 #define HAVE_STRTOF 1
71233 _ACEOF
71234
71235 fi
71236 done
71237
71238 fi
71239
71240
71241
71242
71243 CXXFLAGS="$ac_save_CXXFLAGS"
71244
71245 ;;
71246 *-solaris*)
71247
71248 # If we're not using GNU ld, then there's no point in even trying these
71249 # tests. Check for that first. We should have already tested for gld
71250 # by now (in libtool), but require it now just to be safe...
71251 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71252 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71253
71254
71255
71256 # The name set by libtool depends on the version of libtool. Shame on us
71257 # for depending on an impl detail, but c'est la vie. Older versions used
71258 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71259 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71260 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71261 # set (hence we're using an older libtool), then set it.
71262 if test x${with_gnu_ld+set} != xset; then
71263 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71264 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71265 with_gnu_ld=no
71266 else
71267 with_gnu_ld=$ac_cv_prog_gnu_ld
71268 fi
71269 fi
71270
71271 # Start by getting the version number. I think the libtool test already
71272 # does some of this, but throws away the result.
71273 glibcxx_ld_is_gold=no
71274 if test x"$with_gnu_ld" = x"yes"; then
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71276 $as_echo_n "checking for ld version... " >&6; }
71277
71278 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71279 glibcxx_ld_is_gold=yes
71280 fi
71281 ldver=`$LD --version 2>/dev/null |
71282 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
71283
71284 glibcxx_gnu_ld_version=`echo $ldver | \
71285 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71287 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71288 fi
71289
71290 # Set --gc-sections.
71291 glibcxx_have_gc_sections=no
71292 if test "$glibcxx_ld_is_gold" = "yes"; then
71293 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71294 glibcxx_have_gc_sections=yes
71295 fi
71296 else
71297 glibcxx_gcsections_min_ld=21602
71298 if test x"$with_gnu_ld" = x"yes" &&
71299 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71300 glibcxx_have_gc_sections=yes
71301 fi
71302 fi
71303 if test "$glibcxx_have_gc_sections" = "yes"; then
71304 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71305 # NB: This flag only works reliably after 2.16.1. Configure tests
71306 # for this are difficult, so hard wire a value that should work.
71307
71308 ac_test_CFLAGS="${CFLAGS+set}"
71309 ac_save_CFLAGS="$CFLAGS"
71310 CFLAGS='-Wl,--gc-sections'
71311
71312 # Check for -Wl,--gc-sections
71313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71314 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71315 if test x$gcc_no_link = xyes; then
71316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71317 fi
71318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71319 /* end confdefs.h. */
71320 int one(void) { return 1; }
71321 int two(void) { return 2; }
71322
71323 int
71324 main ()
71325 {
71326 two();
71327 ;
71328 return 0;
71329 }
71330 _ACEOF
71331 if ac_fn_c_try_link "$LINENO"; then :
71332 ac_gcsections=yes
71333 else
71334 ac_gcsections=no
71335 fi
71336 rm -f core conftest.err conftest.$ac_objext \
71337 conftest$ac_exeext conftest.$ac_ext
71338 if test "$ac_gcsections" = "yes"; then
71339 rm -f conftest.c
71340 touch conftest.c
71341 if $CC -c conftest.c; then
71342 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71343 grep "Warning: gc-sections option ignored" > /dev/null; then
71344 ac_gcsections=no
71345 fi
71346 fi
71347 rm -f conftest.c conftest.o conftest
71348 fi
71349 if test "$ac_gcsections" = "yes"; then
71350 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71351 fi
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71353 $as_echo "$ac_gcsections" >&6; }
71354
71355 if test "$ac_test_CFLAGS" = set; then
71356 CFLAGS="$ac_save_CFLAGS"
71357 else
71358 # this is the suspicious part
71359 CFLAGS=''
71360 fi
71361 fi
71362
71363 # Set -z,relro.
71364 # Note this is only for shared objects.
71365 ac_ld_relro=no
71366 if test x"$with_gnu_ld" = x"yes"; then
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71368 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71369 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71370 if test -n "$cxx_z_relo"; then
71371 OPT_LDFLAGS="-Wl,-z,relro"
71372 ac_ld_relro=yes
71373 fi
71374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71375 $as_echo "$ac_ld_relro" >&6; }
71376 fi
71377
71378 # Set linker optimization flags.
71379 if test x"$with_gnu_ld" = x"yes"; then
71380 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71381 fi
71382
71383
71384
71385
71386 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71387
71388 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71389
71390 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71391
71392 # All of the dependencies for wide character support are here, so
71393 # turn it on.
71394 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71395
71396 # These two C99 functions are present only in Solaris >= 10
71397 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71398
71399 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71400
71401 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71402
71403 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71404
71405 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71406
71407 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71408
71409 ;;
71410 *-tpf)
71411 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71412 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71413
71414 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71415
71416 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71417
71418 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71419
71420 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71421
71422 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71423
71424 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71425
71426 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71427
71428 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71429
71430 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71431
71432 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71433
71434 if test x"long_double_math_on_this_cpu" = x"yes"; then
71435 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71436
71437 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71438
71439 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71440
71441 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71442
71443 fi
71444 ;;
71445 *-*vms*)
71446 # Check for available headers.
71447 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71448
71449 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71450 ac_save_CXXFLAGS="$CXXFLAGS"
71451 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71452
71453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71454 $as_echo_n "checking for sin in -lm... " >&6; }
71455 if test "${ac_cv_lib_m_sin+set}" = set; then :
71456 $as_echo_n "(cached) " >&6
71457 else
71458 ac_check_lib_save_LIBS=$LIBS
71459 LIBS="-lm $LIBS"
71460 if test x$gcc_no_link = xyes; then
71461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71462 fi
71463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71464 /* end confdefs.h. */
71465
71466 /* Override any GCC internal prototype to avoid an error.
71467 Use char because int might match the return type of a GCC
71468 builtin and then its argument prototype would still apply. */
71469 #ifdef __cplusplus
71470 extern "C"
71471 #endif
71472 char sin ();
71473 int
71474 main ()
71475 {
71476 return sin ();
71477 ;
71478 return 0;
71479 }
71480 _ACEOF
71481 if ac_fn_c_try_link "$LINENO"; then :
71482 ac_cv_lib_m_sin=yes
71483 else
71484 ac_cv_lib_m_sin=no
71485 fi
71486 rm -f core conftest.err conftest.$ac_objext \
71487 conftest$ac_exeext conftest.$ac_ext
71488 LIBS=$ac_check_lib_save_LIBS
71489 fi
71490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71491 $as_echo "$ac_cv_lib_m_sin" >&6; }
71492 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71493 libm="-lm"
71494 fi
71495
71496 ac_save_LIBS="$LIBS"
71497 LIBS="$LIBS $libm"
71498
71499
71500
71501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71502 $as_echo_n "checking for isinf declaration... " >&6; }
71503 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71504 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71505 $as_echo_n "(cached) " >&6
71506 else
71507
71508
71509 ac_ext=cpp
71510 ac_cpp='$CXXCPP $CPPFLAGS'
71511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71514
71515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71516 /* end confdefs.h. */
71517 #include <math.h>
71518 #ifdef HAVE_IEEEFP_H
71519 #include <ieeefp.h>
71520 #endif
71521
71522 int
71523 main ()
71524 {
71525 isinf(0);
71526 ;
71527 return 0;
71528 }
71529 _ACEOF
71530 if ac_fn_cxx_try_compile "$LINENO"; then :
71531 glibcxx_cv_func_isinf_use=yes
71532 else
71533 glibcxx_cv_func_isinf_use=no
71534 fi
71535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71536 ac_ext=c
71537 ac_cpp='$CPP $CPPFLAGS'
71538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71541
71542
71543 fi
71544
71545 fi
71546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71547 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71548
71549 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71550 for ac_func in isinf
71551 do :
71552 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71553 if test "x$ac_cv_func_isinf" = x""yes; then :
71554 cat >>confdefs.h <<_ACEOF
71555 #define HAVE_ISINF 1
71556 _ACEOF
71557
71558 fi
71559 done
71560
71561 else
71562
71563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71564 $as_echo_n "checking for _isinf declaration... " >&6; }
71565 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71566 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71567 $as_echo_n "(cached) " >&6
71568 else
71569
71570
71571 ac_ext=cpp
71572 ac_cpp='$CXXCPP $CPPFLAGS'
71573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71576
71577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71578 /* end confdefs.h. */
71579 #include <math.h>
71580 #ifdef HAVE_IEEEFP_H
71581 #include <ieeefp.h>
71582 #endif
71583
71584 int
71585 main ()
71586 {
71587 _isinf(0);
71588 ;
71589 return 0;
71590 }
71591 _ACEOF
71592 if ac_fn_cxx_try_compile "$LINENO"; then :
71593 glibcxx_cv_func__isinf_use=yes
71594 else
71595 glibcxx_cv_func__isinf_use=no
71596 fi
71597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71598 ac_ext=c
71599 ac_cpp='$CPP $CPPFLAGS'
71600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71603
71604
71605 fi
71606
71607 fi
71608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71609 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71610
71611 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71612 for ac_func in _isinf
71613 do :
71614 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71615 if test "x$ac_cv_func__isinf" = x""yes; then :
71616 cat >>confdefs.h <<_ACEOF
71617 #define HAVE__ISINF 1
71618 _ACEOF
71619
71620 fi
71621 done
71622
71623 fi
71624 fi
71625
71626
71627
71628
71629
71630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71631 $as_echo_n "checking for isnan declaration... " >&6; }
71632 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71633 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71634 $as_echo_n "(cached) " >&6
71635 else
71636
71637
71638 ac_ext=cpp
71639 ac_cpp='$CXXCPP $CPPFLAGS'
71640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71643
71644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71645 /* end confdefs.h. */
71646 #include <math.h>
71647 #ifdef HAVE_IEEEFP_H
71648 #include <ieeefp.h>
71649 #endif
71650
71651 int
71652 main ()
71653 {
71654 isnan(0);
71655 ;
71656 return 0;
71657 }
71658 _ACEOF
71659 if ac_fn_cxx_try_compile "$LINENO"; then :
71660 glibcxx_cv_func_isnan_use=yes
71661 else
71662 glibcxx_cv_func_isnan_use=no
71663 fi
71664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71665 ac_ext=c
71666 ac_cpp='$CPP $CPPFLAGS'
71667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71670
71671
71672 fi
71673
71674 fi
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71676 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71677
71678 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71679 for ac_func in isnan
71680 do :
71681 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71682 if test "x$ac_cv_func_isnan" = x""yes; then :
71683 cat >>confdefs.h <<_ACEOF
71684 #define HAVE_ISNAN 1
71685 _ACEOF
71686
71687 fi
71688 done
71689
71690 else
71691
71692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71693 $as_echo_n "checking for _isnan declaration... " >&6; }
71694 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71695 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71696 $as_echo_n "(cached) " >&6
71697 else
71698
71699
71700 ac_ext=cpp
71701 ac_cpp='$CXXCPP $CPPFLAGS'
71702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71705
71706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71707 /* end confdefs.h. */
71708 #include <math.h>
71709 #ifdef HAVE_IEEEFP_H
71710 #include <ieeefp.h>
71711 #endif
71712
71713 int
71714 main ()
71715 {
71716 _isnan(0);
71717 ;
71718 return 0;
71719 }
71720 _ACEOF
71721 if ac_fn_cxx_try_compile "$LINENO"; then :
71722 glibcxx_cv_func__isnan_use=yes
71723 else
71724 glibcxx_cv_func__isnan_use=no
71725 fi
71726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71727 ac_ext=c
71728 ac_cpp='$CPP $CPPFLAGS'
71729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71732
71733
71734 fi
71735
71736 fi
71737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71738 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71739
71740 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71741 for ac_func in _isnan
71742 do :
71743 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71744 if test "x$ac_cv_func__isnan" = x""yes; then :
71745 cat >>confdefs.h <<_ACEOF
71746 #define HAVE__ISNAN 1
71747 _ACEOF
71748
71749 fi
71750 done
71751
71752 fi
71753 fi
71754
71755
71756
71757
71758
71759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71760 $as_echo_n "checking for finite declaration... " >&6; }
71761 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71762 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71763 $as_echo_n "(cached) " >&6
71764 else
71765
71766
71767 ac_ext=cpp
71768 ac_cpp='$CXXCPP $CPPFLAGS'
71769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71772
71773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71774 /* end confdefs.h. */
71775 #include <math.h>
71776 #ifdef HAVE_IEEEFP_H
71777 #include <ieeefp.h>
71778 #endif
71779
71780 int
71781 main ()
71782 {
71783 finite(0);
71784 ;
71785 return 0;
71786 }
71787 _ACEOF
71788 if ac_fn_cxx_try_compile "$LINENO"; then :
71789 glibcxx_cv_func_finite_use=yes
71790 else
71791 glibcxx_cv_func_finite_use=no
71792 fi
71793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71794 ac_ext=c
71795 ac_cpp='$CPP $CPPFLAGS'
71796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71799
71800
71801 fi
71802
71803 fi
71804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71805 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71806
71807 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71808 for ac_func in finite
71809 do :
71810 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71811 if test "x$ac_cv_func_finite" = x""yes; then :
71812 cat >>confdefs.h <<_ACEOF
71813 #define HAVE_FINITE 1
71814 _ACEOF
71815
71816 fi
71817 done
71818
71819 else
71820
71821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71822 $as_echo_n "checking for _finite declaration... " >&6; }
71823 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71824 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71825 $as_echo_n "(cached) " >&6
71826 else
71827
71828
71829 ac_ext=cpp
71830 ac_cpp='$CXXCPP $CPPFLAGS'
71831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71834
71835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71836 /* end confdefs.h. */
71837 #include <math.h>
71838 #ifdef HAVE_IEEEFP_H
71839 #include <ieeefp.h>
71840 #endif
71841
71842 int
71843 main ()
71844 {
71845 _finite(0);
71846 ;
71847 return 0;
71848 }
71849 _ACEOF
71850 if ac_fn_cxx_try_compile "$LINENO"; then :
71851 glibcxx_cv_func__finite_use=yes
71852 else
71853 glibcxx_cv_func__finite_use=no
71854 fi
71855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71856 ac_ext=c
71857 ac_cpp='$CPP $CPPFLAGS'
71858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71861
71862
71863 fi
71864
71865 fi
71866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71867 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71868
71869 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71870 for ac_func in _finite
71871 do :
71872 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71873 if test "x$ac_cv_func__finite" = x""yes; then :
71874 cat >>confdefs.h <<_ACEOF
71875 #define HAVE__FINITE 1
71876 _ACEOF
71877
71878 fi
71879 done
71880
71881 fi
71882 fi
71883
71884
71885
71886
71887
71888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71889 $as_echo_n "checking for sincos declaration... " >&6; }
71890 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71891 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71892 $as_echo_n "(cached) " >&6
71893 else
71894
71895
71896 ac_ext=cpp
71897 ac_cpp='$CXXCPP $CPPFLAGS'
71898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71901
71902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71903 /* end confdefs.h. */
71904 #include <math.h>
71905 int
71906 main ()
71907 {
71908 sincos(0, 0, 0);
71909 ;
71910 return 0;
71911 }
71912 _ACEOF
71913 if ac_fn_cxx_try_compile "$LINENO"; then :
71914 glibcxx_cv_func_sincos_use=yes
71915 else
71916 glibcxx_cv_func_sincos_use=no
71917 fi
71918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71919 ac_ext=c
71920 ac_cpp='$CPP $CPPFLAGS'
71921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71924
71925
71926 fi
71927
71928 fi
71929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71930 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71931
71932 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71933 for ac_func in sincos
71934 do :
71935 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71936 if test "x$ac_cv_func_sincos" = x""yes; then :
71937 cat >>confdefs.h <<_ACEOF
71938 #define HAVE_SINCOS 1
71939 _ACEOF
71940
71941 fi
71942 done
71943
71944 else
71945
71946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71947 $as_echo_n "checking for _sincos declaration... " >&6; }
71948 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71949 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71950 $as_echo_n "(cached) " >&6
71951 else
71952
71953
71954 ac_ext=cpp
71955 ac_cpp='$CXXCPP $CPPFLAGS'
71956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71959
71960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71961 /* end confdefs.h. */
71962 #include <math.h>
71963 int
71964 main ()
71965 {
71966 _sincos(0, 0, 0);
71967 ;
71968 return 0;
71969 }
71970 _ACEOF
71971 if ac_fn_cxx_try_compile "$LINENO"; then :
71972 glibcxx_cv_func__sincos_use=yes
71973 else
71974 glibcxx_cv_func__sincos_use=no
71975 fi
71976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71977 ac_ext=c
71978 ac_cpp='$CPP $CPPFLAGS'
71979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71982
71983
71984 fi
71985
71986 fi
71987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71988 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71989
71990 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71991 for ac_func in _sincos
71992 do :
71993 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71994 if test "x$ac_cv_func__sincos" = x""yes; then :
71995 cat >>confdefs.h <<_ACEOF
71996 #define HAVE__SINCOS 1
71997 _ACEOF
71998
71999 fi
72000 done
72001
72002 fi
72003 fi
72004
72005
72006
72007
72008
72009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72010 $as_echo_n "checking for fpclass declaration... " >&6; }
72011 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72012 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72013 $as_echo_n "(cached) " >&6
72014 else
72015
72016
72017 ac_ext=cpp
72018 ac_cpp='$CXXCPP $CPPFLAGS'
72019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72022
72023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72024 /* end confdefs.h. */
72025 #include <math.h>
72026 #ifdef HAVE_IEEEFP_H
72027 #include <ieeefp.h>
72028 #endif
72029
72030 int
72031 main ()
72032 {
72033 fpclass(0);
72034 ;
72035 return 0;
72036 }
72037 _ACEOF
72038 if ac_fn_cxx_try_compile "$LINENO"; then :
72039 glibcxx_cv_func_fpclass_use=yes
72040 else
72041 glibcxx_cv_func_fpclass_use=no
72042 fi
72043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72044 ac_ext=c
72045 ac_cpp='$CPP $CPPFLAGS'
72046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72049
72050
72051 fi
72052
72053 fi
72054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72055 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72056
72057 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72058 for ac_func in fpclass
72059 do :
72060 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72061 if test "x$ac_cv_func_fpclass" = x""yes; then :
72062 cat >>confdefs.h <<_ACEOF
72063 #define HAVE_FPCLASS 1
72064 _ACEOF
72065
72066 fi
72067 done
72068
72069 else
72070
72071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72072 $as_echo_n "checking for _fpclass declaration... " >&6; }
72073 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72074 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72075 $as_echo_n "(cached) " >&6
72076 else
72077
72078
72079 ac_ext=cpp
72080 ac_cpp='$CXXCPP $CPPFLAGS'
72081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72084
72085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72086 /* end confdefs.h. */
72087 #include <math.h>
72088 #ifdef HAVE_IEEEFP_H
72089 #include <ieeefp.h>
72090 #endif
72091
72092 int
72093 main ()
72094 {
72095 _fpclass(0);
72096 ;
72097 return 0;
72098 }
72099 _ACEOF
72100 if ac_fn_cxx_try_compile "$LINENO"; then :
72101 glibcxx_cv_func__fpclass_use=yes
72102 else
72103 glibcxx_cv_func__fpclass_use=no
72104 fi
72105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72106 ac_ext=c
72107 ac_cpp='$CPP $CPPFLAGS'
72108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72111
72112
72113 fi
72114
72115 fi
72116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72117 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72118
72119 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72120 for ac_func in _fpclass
72121 do :
72122 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72123 if test "x$ac_cv_func__fpclass" = x""yes; then :
72124 cat >>confdefs.h <<_ACEOF
72125 #define HAVE__FPCLASS 1
72126 _ACEOF
72127
72128 fi
72129 done
72130
72131 fi
72132 fi
72133
72134
72135
72136
72137
72138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72139 $as_echo_n "checking for qfpclass declaration... " >&6; }
72140 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72141 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72142 $as_echo_n "(cached) " >&6
72143 else
72144
72145
72146 ac_ext=cpp
72147 ac_cpp='$CXXCPP $CPPFLAGS'
72148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72151
72152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72153 /* end confdefs.h. */
72154 #include <math.h>
72155 #ifdef HAVE_IEEEFP_H
72156 #include <ieeefp.h>
72157 #endif
72158
72159 int
72160 main ()
72161 {
72162 qfpclass(0);
72163 ;
72164 return 0;
72165 }
72166 _ACEOF
72167 if ac_fn_cxx_try_compile "$LINENO"; then :
72168 glibcxx_cv_func_qfpclass_use=yes
72169 else
72170 glibcxx_cv_func_qfpclass_use=no
72171 fi
72172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72173 ac_ext=c
72174 ac_cpp='$CPP $CPPFLAGS'
72175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72178
72179
72180 fi
72181
72182 fi
72183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72184 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72185
72186 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72187 for ac_func in qfpclass
72188 do :
72189 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72190 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72191 cat >>confdefs.h <<_ACEOF
72192 #define HAVE_QFPCLASS 1
72193 _ACEOF
72194
72195 fi
72196 done
72197
72198 else
72199
72200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72201 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72202 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72203 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72204 $as_echo_n "(cached) " >&6
72205 else
72206
72207
72208 ac_ext=cpp
72209 ac_cpp='$CXXCPP $CPPFLAGS'
72210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72213
72214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72215 /* end confdefs.h. */
72216 #include <math.h>
72217 #ifdef HAVE_IEEEFP_H
72218 #include <ieeefp.h>
72219 #endif
72220
72221 int
72222 main ()
72223 {
72224 _qfpclass(0);
72225 ;
72226 return 0;
72227 }
72228 _ACEOF
72229 if ac_fn_cxx_try_compile "$LINENO"; then :
72230 glibcxx_cv_func__qfpclass_use=yes
72231 else
72232 glibcxx_cv_func__qfpclass_use=no
72233 fi
72234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72235 ac_ext=c
72236 ac_cpp='$CPP $CPPFLAGS'
72237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72240
72241
72242 fi
72243
72244 fi
72245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72246 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72247
72248 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72249 for ac_func in _qfpclass
72250 do :
72251 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72252 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72253 cat >>confdefs.h <<_ACEOF
72254 #define HAVE__QFPCLASS 1
72255 _ACEOF
72256
72257 fi
72258 done
72259
72260 fi
72261 fi
72262
72263
72264
72265
72266
72267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72268 $as_echo_n "checking for hypot declaration... " >&6; }
72269 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72270 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72271 $as_echo_n "(cached) " >&6
72272 else
72273
72274
72275 ac_ext=cpp
72276 ac_cpp='$CXXCPP $CPPFLAGS'
72277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72280
72281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72282 /* end confdefs.h. */
72283 #include <math.h>
72284 int
72285 main ()
72286 {
72287 hypot(0, 0);
72288 ;
72289 return 0;
72290 }
72291 _ACEOF
72292 if ac_fn_cxx_try_compile "$LINENO"; then :
72293 glibcxx_cv_func_hypot_use=yes
72294 else
72295 glibcxx_cv_func_hypot_use=no
72296 fi
72297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72298 ac_ext=c
72299 ac_cpp='$CPP $CPPFLAGS'
72300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72303
72304
72305 fi
72306
72307 fi
72308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72309 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72310
72311 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72312 for ac_func in hypot
72313 do :
72314 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72315 if test "x$ac_cv_func_hypot" = x""yes; then :
72316 cat >>confdefs.h <<_ACEOF
72317 #define HAVE_HYPOT 1
72318 _ACEOF
72319
72320 fi
72321 done
72322
72323 else
72324
72325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72326 $as_echo_n "checking for _hypot declaration... " >&6; }
72327 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72328 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72329 $as_echo_n "(cached) " >&6
72330 else
72331
72332
72333 ac_ext=cpp
72334 ac_cpp='$CXXCPP $CPPFLAGS'
72335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72338
72339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72340 /* end confdefs.h. */
72341 #include <math.h>
72342 int
72343 main ()
72344 {
72345 _hypot(0, 0);
72346 ;
72347 return 0;
72348 }
72349 _ACEOF
72350 if ac_fn_cxx_try_compile "$LINENO"; then :
72351 glibcxx_cv_func__hypot_use=yes
72352 else
72353 glibcxx_cv_func__hypot_use=no
72354 fi
72355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72356 ac_ext=c
72357 ac_cpp='$CPP $CPPFLAGS'
72358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72361
72362
72363 fi
72364
72365 fi
72366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72367 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72368
72369 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72370 for ac_func in _hypot
72371 do :
72372 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72373 if test "x$ac_cv_func__hypot" = x""yes; then :
72374 cat >>confdefs.h <<_ACEOF
72375 #define HAVE__HYPOT 1
72376 _ACEOF
72377
72378 fi
72379 done
72380
72381 fi
72382 fi
72383
72384
72385
72386
72387
72388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72389 $as_echo_n "checking for float trig functions... " >&6; }
72390 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72391 $as_echo_n "(cached) " >&6
72392 else
72393
72394
72395 ac_ext=cpp
72396 ac_cpp='$CXXCPP $CPPFLAGS'
72397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72400
72401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72402 /* end confdefs.h. */
72403 #include <math.h>
72404 int
72405 main ()
72406 {
72407 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72408 ;
72409 return 0;
72410 }
72411 _ACEOF
72412 if ac_fn_cxx_try_compile "$LINENO"; then :
72413 glibcxx_cv_func_float_trig_use=yes
72414 else
72415 glibcxx_cv_func_float_trig_use=no
72416 fi
72417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72418 ac_ext=c
72419 ac_cpp='$CPP $CPPFLAGS'
72420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72423
72424 fi
72425
72426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72427 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72428 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72429 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72430 do :
72431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72433 eval as_val=\$$as_ac_var
72434 if test "x$as_val" = x""yes; then :
72435 cat >>confdefs.h <<_ACEOF
72436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72437 _ACEOF
72438
72439 fi
72440 done
72441
72442 else
72443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72444 $as_echo_n "checking for _float trig functions... " >&6; }
72445 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72446 $as_echo_n "(cached) " >&6
72447 else
72448
72449
72450 ac_ext=cpp
72451 ac_cpp='$CXXCPP $CPPFLAGS'
72452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72455
72456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72457 /* end confdefs.h. */
72458 #include <math.h>
72459 int
72460 main ()
72461 {
72462 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72463 ;
72464 return 0;
72465 }
72466 _ACEOF
72467 if ac_fn_cxx_try_compile "$LINENO"; then :
72468 glibcxx_cv_func__float_trig_use=yes
72469 else
72470 glibcxx_cv_func__float_trig_use=no
72471 fi
72472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72473 ac_ext=c
72474 ac_cpp='$CPP $CPPFLAGS'
72475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72478
72479 fi
72480
72481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72482 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72483 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72484 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72485 do :
72486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72488 eval as_val=\$$as_ac_var
72489 if test "x$as_val" = x""yes; then :
72490 cat >>confdefs.h <<_ACEOF
72491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72492 _ACEOF
72493
72494 fi
72495 done
72496
72497 fi
72498 fi
72499
72500
72501
72502
72503
72504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72505 $as_echo_n "checking for float round functions... " >&6; }
72506 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72507 $as_echo_n "(cached) " >&6
72508 else
72509
72510
72511 ac_ext=cpp
72512 ac_cpp='$CXXCPP $CPPFLAGS'
72513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72516
72517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72518 /* end confdefs.h. */
72519 #include <math.h>
72520 int
72521 main ()
72522 {
72523 ceilf (0); floorf (0);
72524 ;
72525 return 0;
72526 }
72527 _ACEOF
72528 if ac_fn_cxx_try_compile "$LINENO"; then :
72529 glibcxx_cv_func_float_round_use=yes
72530 else
72531 glibcxx_cv_func_float_round_use=no
72532 fi
72533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72534 ac_ext=c
72535 ac_cpp='$CPP $CPPFLAGS'
72536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72539
72540 fi
72541
72542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72543 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72544 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72545 for ac_func in ceilf floorf
72546 do :
72547 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72549 eval as_val=\$$as_ac_var
72550 if test "x$as_val" = x""yes; then :
72551 cat >>confdefs.h <<_ACEOF
72552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72553 _ACEOF
72554
72555 fi
72556 done
72557
72558 else
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72560 $as_echo_n "checking for _float round functions... " >&6; }
72561 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72562 $as_echo_n "(cached) " >&6
72563 else
72564
72565
72566 ac_ext=cpp
72567 ac_cpp='$CXXCPP $CPPFLAGS'
72568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72571
72572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72573 /* end confdefs.h. */
72574 #include <math.h>
72575 int
72576 main ()
72577 {
72578 _ceilf (0); _floorf (0);
72579 ;
72580 return 0;
72581 }
72582 _ACEOF
72583 if ac_fn_cxx_try_compile "$LINENO"; then :
72584 glibcxx_cv_func__float_round_use=yes
72585 else
72586 glibcxx_cv_func__float_round_use=no
72587 fi
72588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72589 ac_ext=c
72590 ac_cpp='$CPP $CPPFLAGS'
72591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72594
72595 fi
72596
72597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72598 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72599 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72600 for ac_func in _ceilf _floorf
72601 do :
72602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72604 eval as_val=\$$as_ac_var
72605 if test "x$as_val" = x""yes; then :
72606 cat >>confdefs.h <<_ACEOF
72607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72608 _ACEOF
72609
72610 fi
72611 done
72612
72613 fi
72614 fi
72615
72616
72617
72618
72619
72620
72621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72622 $as_echo_n "checking for expf declaration... " >&6; }
72623 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72624 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72625 $as_echo_n "(cached) " >&6
72626 else
72627
72628
72629 ac_ext=cpp
72630 ac_cpp='$CXXCPP $CPPFLAGS'
72631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72634
72635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72636 /* end confdefs.h. */
72637 #include <math.h>
72638 #ifdef HAVE_IEEEFP_H
72639 #include <ieeefp.h>
72640 #endif
72641
72642 int
72643 main ()
72644 {
72645 expf(0);
72646 ;
72647 return 0;
72648 }
72649 _ACEOF
72650 if ac_fn_cxx_try_compile "$LINENO"; then :
72651 glibcxx_cv_func_expf_use=yes
72652 else
72653 glibcxx_cv_func_expf_use=no
72654 fi
72655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72656 ac_ext=c
72657 ac_cpp='$CPP $CPPFLAGS'
72658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72661
72662
72663 fi
72664
72665 fi
72666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72667 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72668
72669 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72670 for ac_func in expf
72671 do :
72672 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72673 if test "x$ac_cv_func_expf" = x""yes; then :
72674 cat >>confdefs.h <<_ACEOF
72675 #define HAVE_EXPF 1
72676 _ACEOF
72677
72678 fi
72679 done
72680
72681 else
72682
72683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72684 $as_echo_n "checking for _expf declaration... " >&6; }
72685 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72686 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72687 $as_echo_n "(cached) " >&6
72688 else
72689
72690
72691 ac_ext=cpp
72692 ac_cpp='$CXXCPP $CPPFLAGS'
72693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72696
72697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72698 /* end confdefs.h. */
72699 #include <math.h>
72700 #ifdef HAVE_IEEEFP_H
72701 #include <ieeefp.h>
72702 #endif
72703
72704 int
72705 main ()
72706 {
72707 _expf(0);
72708 ;
72709 return 0;
72710 }
72711 _ACEOF
72712 if ac_fn_cxx_try_compile "$LINENO"; then :
72713 glibcxx_cv_func__expf_use=yes
72714 else
72715 glibcxx_cv_func__expf_use=no
72716 fi
72717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72718 ac_ext=c
72719 ac_cpp='$CPP $CPPFLAGS'
72720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72723
72724
72725 fi
72726
72727 fi
72728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72729 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72730
72731 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72732 for ac_func in _expf
72733 do :
72734 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72735 if test "x$ac_cv_func__expf" = x""yes; then :
72736 cat >>confdefs.h <<_ACEOF
72737 #define HAVE__EXPF 1
72738 _ACEOF
72739
72740 fi
72741 done
72742
72743 fi
72744 fi
72745
72746
72747
72748
72749
72750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72751 $as_echo_n "checking for isnanf declaration... " >&6; }
72752 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72753 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72754 $as_echo_n "(cached) " >&6
72755 else
72756
72757
72758 ac_ext=cpp
72759 ac_cpp='$CXXCPP $CPPFLAGS'
72760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72763
72764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72765 /* end confdefs.h. */
72766 #include <math.h>
72767 #ifdef HAVE_IEEEFP_H
72768 #include <ieeefp.h>
72769 #endif
72770
72771 int
72772 main ()
72773 {
72774 isnanf(0);
72775 ;
72776 return 0;
72777 }
72778 _ACEOF
72779 if ac_fn_cxx_try_compile "$LINENO"; then :
72780 glibcxx_cv_func_isnanf_use=yes
72781 else
72782 glibcxx_cv_func_isnanf_use=no
72783 fi
72784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72785 ac_ext=c
72786 ac_cpp='$CPP $CPPFLAGS'
72787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72790
72791
72792 fi
72793
72794 fi
72795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72796 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72797
72798 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72799 for ac_func in isnanf
72800 do :
72801 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72802 if test "x$ac_cv_func_isnanf" = x""yes; then :
72803 cat >>confdefs.h <<_ACEOF
72804 #define HAVE_ISNANF 1
72805 _ACEOF
72806
72807 fi
72808 done
72809
72810 else
72811
72812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72813 $as_echo_n "checking for _isnanf declaration... " >&6; }
72814 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72815 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72816 $as_echo_n "(cached) " >&6
72817 else
72818
72819
72820 ac_ext=cpp
72821 ac_cpp='$CXXCPP $CPPFLAGS'
72822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72825
72826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72827 /* end confdefs.h. */
72828 #include <math.h>
72829 #ifdef HAVE_IEEEFP_H
72830 #include <ieeefp.h>
72831 #endif
72832
72833 int
72834 main ()
72835 {
72836 _isnanf(0);
72837 ;
72838 return 0;
72839 }
72840 _ACEOF
72841 if ac_fn_cxx_try_compile "$LINENO"; then :
72842 glibcxx_cv_func__isnanf_use=yes
72843 else
72844 glibcxx_cv_func__isnanf_use=no
72845 fi
72846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72847 ac_ext=c
72848 ac_cpp='$CPP $CPPFLAGS'
72849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72852
72853
72854 fi
72855
72856 fi
72857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72858 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72859
72860 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72861 for ac_func in _isnanf
72862 do :
72863 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72864 if test "x$ac_cv_func__isnanf" = x""yes; then :
72865 cat >>confdefs.h <<_ACEOF
72866 #define HAVE__ISNANF 1
72867 _ACEOF
72868
72869 fi
72870 done
72871
72872 fi
72873 fi
72874
72875
72876
72877
72878
72879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72880 $as_echo_n "checking for isinff declaration... " >&6; }
72881 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72882 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72883 $as_echo_n "(cached) " >&6
72884 else
72885
72886
72887 ac_ext=cpp
72888 ac_cpp='$CXXCPP $CPPFLAGS'
72889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72892
72893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72894 /* end confdefs.h. */
72895 #include <math.h>
72896 #ifdef HAVE_IEEEFP_H
72897 #include <ieeefp.h>
72898 #endif
72899
72900 int
72901 main ()
72902 {
72903 isinff(0);
72904 ;
72905 return 0;
72906 }
72907 _ACEOF
72908 if ac_fn_cxx_try_compile "$LINENO"; then :
72909 glibcxx_cv_func_isinff_use=yes
72910 else
72911 glibcxx_cv_func_isinff_use=no
72912 fi
72913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72914 ac_ext=c
72915 ac_cpp='$CPP $CPPFLAGS'
72916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72919
72920
72921 fi
72922
72923 fi
72924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72925 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72926
72927 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72928 for ac_func in isinff
72929 do :
72930 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72931 if test "x$ac_cv_func_isinff" = x""yes; then :
72932 cat >>confdefs.h <<_ACEOF
72933 #define HAVE_ISINFF 1
72934 _ACEOF
72935
72936 fi
72937 done
72938
72939 else
72940
72941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72942 $as_echo_n "checking for _isinff declaration... " >&6; }
72943 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72944 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72945 $as_echo_n "(cached) " >&6
72946 else
72947
72948
72949 ac_ext=cpp
72950 ac_cpp='$CXXCPP $CPPFLAGS'
72951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72954
72955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72956 /* end confdefs.h. */
72957 #include <math.h>
72958 #ifdef HAVE_IEEEFP_H
72959 #include <ieeefp.h>
72960 #endif
72961
72962 int
72963 main ()
72964 {
72965 _isinff(0);
72966 ;
72967 return 0;
72968 }
72969 _ACEOF
72970 if ac_fn_cxx_try_compile "$LINENO"; then :
72971 glibcxx_cv_func__isinff_use=yes
72972 else
72973 glibcxx_cv_func__isinff_use=no
72974 fi
72975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72976 ac_ext=c
72977 ac_cpp='$CPP $CPPFLAGS'
72978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72981
72982
72983 fi
72984
72985 fi
72986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72987 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72988
72989 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72990 for ac_func in _isinff
72991 do :
72992 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72993 if test "x$ac_cv_func__isinff" = x""yes; then :
72994 cat >>confdefs.h <<_ACEOF
72995 #define HAVE__ISINFF 1
72996 _ACEOF
72997
72998 fi
72999 done
73000
73001 fi
73002 fi
73003
73004
73005
73006
73007
73008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73009 $as_echo_n "checking for atan2f declaration... " >&6; }
73010 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73011 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73012 $as_echo_n "(cached) " >&6
73013 else
73014
73015
73016 ac_ext=cpp
73017 ac_cpp='$CXXCPP $CPPFLAGS'
73018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73021
73022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73023 /* end confdefs.h. */
73024 #include <math.h>
73025 int
73026 main ()
73027 {
73028 atan2f(0, 0);
73029 ;
73030 return 0;
73031 }
73032 _ACEOF
73033 if ac_fn_cxx_try_compile "$LINENO"; then :
73034 glibcxx_cv_func_atan2f_use=yes
73035 else
73036 glibcxx_cv_func_atan2f_use=no
73037 fi
73038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73039 ac_ext=c
73040 ac_cpp='$CPP $CPPFLAGS'
73041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73044
73045
73046 fi
73047
73048 fi
73049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73050 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73051
73052 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73053 for ac_func in atan2f
73054 do :
73055 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73056 if test "x$ac_cv_func_atan2f" = x""yes; then :
73057 cat >>confdefs.h <<_ACEOF
73058 #define HAVE_ATAN2F 1
73059 _ACEOF
73060
73061 fi
73062 done
73063
73064 else
73065
73066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73067 $as_echo_n "checking for _atan2f declaration... " >&6; }
73068 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73069 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73070 $as_echo_n "(cached) " >&6
73071 else
73072
73073
73074 ac_ext=cpp
73075 ac_cpp='$CXXCPP $CPPFLAGS'
73076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73079
73080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73081 /* end confdefs.h. */
73082 #include <math.h>
73083 int
73084 main ()
73085 {
73086 _atan2f(0, 0);
73087 ;
73088 return 0;
73089 }
73090 _ACEOF
73091 if ac_fn_cxx_try_compile "$LINENO"; then :
73092 glibcxx_cv_func__atan2f_use=yes
73093 else
73094 glibcxx_cv_func__atan2f_use=no
73095 fi
73096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73097 ac_ext=c
73098 ac_cpp='$CPP $CPPFLAGS'
73099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73102
73103
73104 fi
73105
73106 fi
73107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73108 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73109
73110 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73111 for ac_func in _atan2f
73112 do :
73113 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73114 if test "x$ac_cv_func__atan2f" = x""yes; then :
73115 cat >>confdefs.h <<_ACEOF
73116 #define HAVE__ATAN2F 1
73117 _ACEOF
73118
73119 fi
73120 done
73121
73122 fi
73123 fi
73124
73125
73126
73127
73128
73129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73130 $as_echo_n "checking for fabsf declaration... " >&6; }
73131 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73132 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73133 $as_echo_n "(cached) " >&6
73134 else
73135
73136
73137 ac_ext=cpp
73138 ac_cpp='$CXXCPP $CPPFLAGS'
73139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73142
73143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73144 /* end confdefs.h. */
73145 #include <math.h>
73146 #ifdef HAVE_IEEEFP_H
73147 #include <ieeefp.h>
73148 #endif
73149
73150 int
73151 main ()
73152 {
73153 fabsf(0);
73154 ;
73155 return 0;
73156 }
73157 _ACEOF
73158 if ac_fn_cxx_try_compile "$LINENO"; then :
73159 glibcxx_cv_func_fabsf_use=yes
73160 else
73161 glibcxx_cv_func_fabsf_use=no
73162 fi
73163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73164 ac_ext=c
73165 ac_cpp='$CPP $CPPFLAGS'
73166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73169
73170
73171 fi
73172
73173 fi
73174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73175 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73176
73177 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73178 for ac_func in fabsf
73179 do :
73180 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73181 if test "x$ac_cv_func_fabsf" = x""yes; then :
73182 cat >>confdefs.h <<_ACEOF
73183 #define HAVE_FABSF 1
73184 _ACEOF
73185
73186 fi
73187 done
73188
73189 else
73190
73191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73192 $as_echo_n "checking for _fabsf declaration... " >&6; }
73193 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73194 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73195 $as_echo_n "(cached) " >&6
73196 else
73197
73198
73199 ac_ext=cpp
73200 ac_cpp='$CXXCPP $CPPFLAGS'
73201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73204
73205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73206 /* end confdefs.h. */
73207 #include <math.h>
73208 #ifdef HAVE_IEEEFP_H
73209 #include <ieeefp.h>
73210 #endif
73211
73212 int
73213 main ()
73214 {
73215 _fabsf(0);
73216 ;
73217 return 0;
73218 }
73219 _ACEOF
73220 if ac_fn_cxx_try_compile "$LINENO"; then :
73221 glibcxx_cv_func__fabsf_use=yes
73222 else
73223 glibcxx_cv_func__fabsf_use=no
73224 fi
73225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73226 ac_ext=c
73227 ac_cpp='$CPP $CPPFLAGS'
73228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73231
73232
73233 fi
73234
73235 fi
73236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73237 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73238
73239 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73240 for ac_func in _fabsf
73241 do :
73242 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73243 if test "x$ac_cv_func__fabsf" = x""yes; then :
73244 cat >>confdefs.h <<_ACEOF
73245 #define HAVE__FABSF 1
73246 _ACEOF
73247
73248 fi
73249 done
73250
73251 fi
73252 fi
73253
73254
73255
73256
73257
73258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73259 $as_echo_n "checking for fmodf declaration... " >&6; }
73260 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73261 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73262 $as_echo_n "(cached) " >&6
73263 else
73264
73265
73266 ac_ext=cpp
73267 ac_cpp='$CXXCPP $CPPFLAGS'
73268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73271
73272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73273 /* end confdefs.h. */
73274 #include <math.h>
73275 int
73276 main ()
73277 {
73278 fmodf(0, 0);
73279 ;
73280 return 0;
73281 }
73282 _ACEOF
73283 if ac_fn_cxx_try_compile "$LINENO"; then :
73284 glibcxx_cv_func_fmodf_use=yes
73285 else
73286 glibcxx_cv_func_fmodf_use=no
73287 fi
73288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73289 ac_ext=c
73290 ac_cpp='$CPP $CPPFLAGS'
73291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73294
73295
73296 fi
73297
73298 fi
73299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73300 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73301
73302 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73303 for ac_func in fmodf
73304 do :
73305 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73306 if test "x$ac_cv_func_fmodf" = x""yes; then :
73307 cat >>confdefs.h <<_ACEOF
73308 #define HAVE_FMODF 1
73309 _ACEOF
73310
73311 fi
73312 done
73313
73314 else
73315
73316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73317 $as_echo_n "checking for _fmodf declaration... " >&6; }
73318 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73319 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73320 $as_echo_n "(cached) " >&6
73321 else
73322
73323
73324 ac_ext=cpp
73325 ac_cpp='$CXXCPP $CPPFLAGS'
73326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73329
73330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73331 /* end confdefs.h. */
73332 #include <math.h>
73333 int
73334 main ()
73335 {
73336 _fmodf(0, 0);
73337 ;
73338 return 0;
73339 }
73340 _ACEOF
73341 if ac_fn_cxx_try_compile "$LINENO"; then :
73342 glibcxx_cv_func__fmodf_use=yes
73343 else
73344 glibcxx_cv_func__fmodf_use=no
73345 fi
73346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73347 ac_ext=c
73348 ac_cpp='$CPP $CPPFLAGS'
73349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73352
73353
73354 fi
73355
73356 fi
73357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73358 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73359
73360 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73361 for ac_func in _fmodf
73362 do :
73363 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73364 if test "x$ac_cv_func__fmodf" = x""yes; then :
73365 cat >>confdefs.h <<_ACEOF
73366 #define HAVE__FMODF 1
73367 _ACEOF
73368
73369 fi
73370 done
73371
73372 fi
73373 fi
73374
73375
73376
73377
73378
73379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73380 $as_echo_n "checking for frexpf declaration... " >&6; }
73381 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73382 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73383 $as_echo_n "(cached) " >&6
73384 else
73385
73386
73387 ac_ext=cpp
73388 ac_cpp='$CXXCPP $CPPFLAGS'
73389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73392
73393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73394 /* end confdefs.h. */
73395 #include <math.h>
73396 int
73397 main ()
73398 {
73399 frexpf(0, 0);
73400 ;
73401 return 0;
73402 }
73403 _ACEOF
73404 if ac_fn_cxx_try_compile "$LINENO"; then :
73405 glibcxx_cv_func_frexpf_use=yes
73406 else
73407 glibcxx_cv_func_frexpf_use=no
73408 fi
73409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73410 ac_ext=c
73411 ac_cpp='$CPP $CPPFLAGS'
73412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73415
73416
73417 fi
73418
73419 fi
73420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73421 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73422
73423 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73424 for ac_func in frexpf
73425 do :
73426 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73427 if test "x$ac_cv_func_frexpf" = x""yes; then :
73428 cat >>confdefs.h <<_ACEOF
73429 #define HAVE_FREXPF 1
73430 _ACEOF
73431
73432 fi
73433 done
73434
73435 else
73436
73437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73438 $as_echo_n "checking for _frexpf declaration... " >&6; }
73439 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73440 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73441 $as_echo_n "(cached) " >&6
73442 else
73443
73444
73445 ac_ext=cpp
73446 ac_cpp='$CXXCPP $CPPFLAGS'
73447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73450
73451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73452 /* end confdefs.h. */
73453 #include <math.h>
73454 int
73455 main ()
73456 {
73457 _frexpf(0, 0);
73458 ;
73459 return 0;
73460 }
73461 _ACEOF
73462 if ac_fn_cxx_try_compile "$LINENO"; then :
73463 glibcxx_cv_func__frexpf_use=yes
73464 else
73465 glibcxx_cv_func__frexpf_use=no
73466 fi
73467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73468 ac_ext=c
73469 ac_cpp='$CPP $CPPFLAGS'
73470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73473
73474
73475 fi
73476
73477 fi
73478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73479 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73480
73481 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73482 for ac_func in _frexpf
73483 do :
73484 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73485 if test "x$ac_cv_func__frexpf" = x""yes; then :
73486 cat >>confdefs.h <<_ACEOF
73487 #define HAVE__FREXPF 1
73488 _ACEOF
73489
73490 fi
73491 done
73492
73493 fi
73494 fi
73495
73496
73497
73498
73499
73500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73501 $as_echo_n "checking for hypotf declaration... " >&6; }
73502 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73503 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73504 $as_echo_n "(cached) " >&6
73505 else
73506
73507
73508 ac_ext=cpp
73509 ac_cpp='$CXXCPP $CPPFLAGS'
73510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73513
73514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73515 /* end confdefs.h. */
73516 #include <math.h>
73517 int
73518 main ()
73519 {
73520 hypotf(0, 0);
73521 ;
73522 return 0;
73523 }
73524 _ACEOF
73525 if ac_fn_cxx_try_compile "$LINENO"; then :
73526 glibcxx_cv_func_hypotf_use=yes
73527 else
73528 glibcxx_cv_func_hypotf_use=no
73529 fi
73530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73531 ac_ext=c
73532 ac_cpp='$CPP $CPPFLAGS'
73533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73536
73537
73538 fi
73539
73540 fi
73541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73542 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73543
73544 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73545 for ac_func in hypotf
73546 do :
73547 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73548 if test "x$ac_cv_func_hypotf" = x""yes; then :
73549 cat >>confdefs.h <<_ACEOF
73550 #define HAVE_HYPOTF 1
73551 _ACEOF
73552
73553 fi
73554 done
73555
73556 else
73557
73558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73559 $as_echo_n "checking for _hypotf declaration... " >&6; }
73560 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73561 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73562 $as_echo_n "(cached) " >&6
73563 else
73564
73565
73566 ac_ext=cpp
73567 ac_cpp='$CXXCPP $CPPFLAGS'
73568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73571
73572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73573 /* end confdefs.h. */
73574 #include <math.h>
73575 int
73576 main ()
73577 {
73578 _hypotf(0, 0);
73579 ;
73580 return 0;
73581 }
73582 _ACEOF
73583 if ac_fn_cxx_try_compile "$LINENO"; then :
73584 glibcxx_cv_func__hypotf_use=yes
73585 else
73586 glibcxx_cv_func__hypotf_use=no
73587 fi
73588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73589 ac_ext=c
73590 ac_cpp='$CPP $CPPFLAGS'
73591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73594
73595
73596 fi
73597
73598 fi
73599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73600 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73601
73602 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73603 for ac_func in _hypotf
73604 do :
73605 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73606 if test "x$ac_cv_func__hypotf" = x""yes; then :
73607 cat >>confdefs.h <<_ACEOF
73608 #define HAVE__HYPOTF 1
73609 _ACEOF
73610
73611 fi
73612 done
73613
73614 fi
73615 fi
73616
73617
73618
73619
73620
73621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73622 $as_echo_n "checking for ldexpf declaration... " >&6; }
73623 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73624 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73625 $as_echo_n "(cached) " >&6
73626 else
73627
73628
73629 ac_ext=cpp
73630 ac_cpp='$CXXCPP $CPPFLAGS'
73631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73634
73635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73636 /* end confdefs.h. */
73637 #include <math.h>
73638 int
73639 main ()
73640 {
73641 ldexpf(0, 0);
73642 ;
73643 return 0;
73644 }
73645 _ACEOF
73646 if ac_fn_cxx_try_compile "$LINENO"; then :
73647 glibcxx_cv_func_ldexpf_use=yes
73648 else
73649 glibcxx_cv_func_ldexpf_use=no
73650 fi
73651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73652 ac_ext=c
73653 ac_cpp='$CPP $CPPFLAGS'
73654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73657
73658
73659 fi
73660
73661 fi
73662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73663 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73664
73665 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73666 for ac_func in ldexpf
73667 do :
73668 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73669 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73670 cat >>confdefs.h <<_ACEOF
73671 #define HAVE_LDEXPF 1
73672 _ACEOF
73673
73674 fi
73675 done
73676
73677 else
73678
73679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73680 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73681 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73682 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73683 $as_echo_n "(cached) " >&6
73684 else
73685
73686
73687 ac_ext=cpp
73688 ac_cpp='$CXXCPP $CPPFLAGS'
73689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73692
73693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73694 /* end confdefs.h. */
73695 #include <math.h>
73696 int
73697 main ()
73698 {
73699 _ldexpf(0, 0);
73700 ;
73701 return 0;
73702 }
73703 _ACEOF
73704 if ac_fn_cxx_try_compile "$LINENO"; then :
73705 glibcxx_cv_func__ldexpf_use=yes
73706 else
73707 glibcxx_cv_func__ldexpf_use=no
73708 fi
73709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73710 ac_ext=c
73711 ac_cpp='$CPP $CPPFLAGS'
73712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73715
73716
73717 fi
73718
73719 fi
73720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73721 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73722
73723 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73724 for ac_func in _ldexpf
73725 do :
73726 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73727 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73728 cat >>confdefs.h <<_ACEOF
73729 #define HAVE__LDEXPF 1
73730 _ACEOF
73731
73732 fi
73733 done
73734
73735 fi
73736 fi
73737
73738
73739
73740
73741
73742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73743 $as_echo_n "checking for logf declaration... " >&6; }
73744 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73745 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73746 $as_echo_n "(cached) " >&6
73747 else
73748
73749
73750 ac_ext=cpp
73751 ac_cpp='$CXXCPP $CPPFLAGS'
73752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73755
73756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73757 /* end confdefs.h. */
73758 #include <math.h>
73759 #ifdef HAVE_IEEEFP_H
73760 #include <ieeefp.h>
73761 #endif
73762
73763 int
73764 main ()
73765 {
73766 logf(0);
73767 ;
73768 return 0;
73769 }
73770 _ACEOF
73771 if ac_fn_cxx_try_compile "$LINENO"; then :
73772 glibcxx_cv_func_logf_use=yes
73773 else
73774 glibcxx_cv_func_logf_use=no
73775 fi
73776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73777 ac_ext=c
73778 ac_cpp='$CPP $CPPFLAGS'
73779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73782
73783
73784 fi
73785
73786 fi
73787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73788 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73789
73790 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73791 for ac_func in logf
73792 do :
73793 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73794 if test "x$ac_cv_func_logf" = x""yes; then :
73795 cat >>confdefs.h <<_ACEOF
73796 #define HAVE_LOGF 1
73797 _ACEOF
73798
73799 fi
73800 done
73801
73802 else
73803
73804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73805 $as_echo_n "checking for _logf declaration... " >&6; }
73806 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73807 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73808 $as_echo_n "(cached) " >&6
73809 else
73810
73811
73812 ac_ext=cpp
73813 ac_cpp='$CXXCPP $CPPFLAGS'
73814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73817
73818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73819 /* end confdefs.h. */
73820 #include <math.h>
73821 #ifdef HAVE_IEEEFP_H
73822 #include <ieeefp.h>
73823 #endif
73824
73825 int
73826 main ()
73827 {
73828 _logf(0);
73829 ;
73830 return 0;
73831 }
73832 _ACEOF
73833 if ac_fn_cxx_try_compile "$LINENO"; then :
73834 glibcxx_cv_func__logf_use=yes
73835 else
73836 glibcxx_cv_func__logf_use=no
73837 fi
73838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73839 ac_ext=c
73840 ac_cpp='$CPP $CPPFLAGS'
73841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73844
73845
73846 fi
73847
73848 fi
73849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73850 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73851
73852 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73853 for ac_func in _logf
73854 do :
73855 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73856 if test "x$ac_cv_func__logf" = x""yes; then :
73857 cat >>confdefs.h <<_ACEOF
73858 #define HAVE__LOGF 1
73859 _ACEOF
73860
73861 fi
73862 done
73863
73864 fi
73865 fi
73866
73867
73868
73869
73870
73871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73872 $as_echo_n "checking for log10f declaration... " >&6; }
73873 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73874 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73875 $as_echo_n "(cached) " >&6
73876 else
73877
73878
73879 ac_ext=cpp
73880 ac_cpp='$CXXCPP $CPPFLAGS'
73881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73884
73885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73886 /* end confdefs.h. */
73887 #include <math.h>
73888 #ifdef HAVE_IEEEFP_H
73889 #include <ieeefp.h>
73890 #endif
73891
73892 int
73893 main ()
73894 {
73895 log10f(0);
73896 ;
73897 return 0;
73898 }
73899 _ACEOF
73900 if ac_fn_cxx_try_compile "$LINENO"; then :
73901 glibcxx_cv_func_log10f_use=yes
73902 else
73903 glibcxx_cv_func_log10f_use=no
73904 fi
73905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73906 ac_ext=c
73907 ac_cpp='$CPP $CPPFLAGS'
73908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73911
73912
73913 fi
73914
73915 fi
73916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73917 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73918
73919 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73920 for ac_func in log10f
73921 do :
73922 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73923 if test "x$ac_cv_func_log10f" = x""yes; then :
73924 cat >>confdefs.h <<_ACEOF
73925 #define HAVE_LOG10F 1
73926 _ACEOF
73927
73928 fi
73929 done
73930
73931 else
73932
73933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73934 $as_echo_n "checking for _log10f declaration... " >&6; }
73935 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73936 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73937 $as_echo_n "(cached) " >&6
73938 else
73939
73940
73941 ac_ext=cpp
73942 ac_cpp='$CXXCPP $CPPFLAGS'
73943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73946
73947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73948 /* end confdefs.h. */
73949 #include <math.h>
73950 #ifdef HAVE_IEEEFP_H
73951 #include <ieeefp.h>
73952 #endif
73953
73954 int
73955 main ()
73956 {
73957 _log10f(0);
73958 ;
73959 return 0;
73960 }
73961 _ACEOF
73962 if ac_fn_cxx_try_compile "$LINENO"; then :
73963 glibcxx_cv_func__log10f_use=yes
73964 else
73965 glibcxx_cv_func__log10f_use=no
73966 fi
73967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73968 ac_ext=c
73969 ac_cpp='$CPP $CPPFLAGS'
73970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73973
73974
73975 fi
73976
73977 fi
73978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73979 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73980
73981 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73982 for ac_func in _log10f
73983 do :
73984 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73985 if test "x$ac_cv_func__log10f" = x""yes; then :
73986 cat >>confdefs.h <<_ACEOF
73987 #define HAVE__LOG10F 1
73988 _ACEOF
73989
73990 fi
73991 done
73992
73993 fi
73994 fi
73995
73996
73997
73998
73999
74000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74001 $as_echo_n "checking for modff declaration... " >&6; }
74002 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74003 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74004 $as_echo_n "(cached) " >&6
74005 else
74006
74007
74008 ac_ext=cpp
74009 ac_cpp='$CXXCPP $CPPFLAGS'
74010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74013
74014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74015 /* end confdefs.h. */
74016 #include <math.h>
74017 int
74018 main ()
74019 {
74020 modff(0, 0);
74021 ;
74022 return 0;
74023 }
74024 _ACEOF
74025 if ac_fn_cxx_try_compile "$LINENO"; then :
74026 glibcxx_cv_func_modff_use=yes
74027 else
74028 glibcxx_cv_func_modff_use=no
74029 fi
74030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74031 ac_ext=c
74032 ac_cpp='$CPP $CPPFLAGS'
74033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74036
74037
74038 fi
74039
74040 fi
74041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74042 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74043
74044 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74045 for ac_func in modff
74046 do :
74047 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74048 if test "x$ac_cv_func_modff" = x""yes; then :
74049 cat >>confdefs.h <<_ACEOF
74050 #define HAVE_MODFF 1
74051 _ACEOF
74052
74053 fi
74054 done
74055
74056 else
74057
74058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74059 $as_echo_n "checking for _modff declaration... " >&6; }
74060 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74061 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74062 $as_echo_n "(cached) " >&6
74063 else
74064
74065
74066 ac_ext=cpp
74067 ac_cpp='$CXXCPP $CPPFLAGS'
74068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74071
74072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74073 /* end confdefs.h. */
74074 #include <math.h>
74075 int
74076 main ()
74077 {
74078 _modff(0, 0);
74079 ;
74080 return 0;
74081 }
74082 _ACEOF
74083 if ac_fn_cxx_try_compile "$LINENO"; then :
74084 glibcxx_cv_func__modff_use=yes
74085 else
74086 glibcxx_cv_func__modff_use=no
74087 fi
74088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74089 ac_ext=c
74090 ac_cpp='$CPP $CPPFLAGS'
74091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74094
74095
74096 fi
74097
74098 fi
74099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74100 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74101
74102 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74103 for ac_func in _modff
74104 do :
74105 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74106 if test "x$ac_cv_func__modff" = x""yes; then :
74107 cat >>confdefs.h <<_ACEOF
74108 #define HAVE__MODFF 1
74109 _ACEOF
74110
74111 fi
74112 done
74113
74114 fi
74115 fi
74116
74117
74118
74119
74120
74121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74122 $as_echo_n "checking for modf declaration... " >&6; }
74123 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74124 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74125 $as_echo_n "(cached) " >&6
74126 else
74127
74128
74129 ac_ext=cpp
74130 ac_cpp='$CXXCPP $CPPFLAGS'
74131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74134
74135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74136 /* end confdefs.h. */
74137 #include <math.h>
74138 int
74139 main ()
74140 {
74141 modf(0, 0);
74142 ;
74143 return 0;
74144 }
74145 _ACEOF
74146 if ac_fn_cxx_try_compile "$LINENO"; then :
74147 glibcxx_cv_func_modf_use=yes
74148 else
74149 glibcxx_cv_func_modf_use=no
74150 fi
74151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74152 ac_ext=c
74153 ac_cpp='$CPP $CPPFLAGS'
74154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74157
74158
74159 fi
74160
74161 fi
74162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74163 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74164
74165 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74166 for ac_func in modf
74167 do :
74168 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74169 if test "x$ac_cv_func_modf" = x""yes; then :
74170 cat >>confdefs.h <<_ACEOF
74171 #define HAVE_MODF 1
74172 _ACEOF
74173
74174 fi
74175 done
74176
74177 else
74178
74179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74180 $as_echo_n "checking for _modf declaration... " >&6; }
74181 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74182 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74183 $as_echo_n "(cached) " >&6
74184 else
74185
74186
74187 ac_ext=cpp
74188 ac_cpp='$CXXCPP $CPPFLAGS'
74189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74192
74193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74194 /* end confdefs.h. */
74195 #include <math.h>
74196 int
74197 main ()
74198 {
74199 _modf(0, 0);
74200 ;
74201 return 0;
74202 }
74203 _ACEOF
74204 if ac_fn_cxx_try_compile "$LINENO"; then :
74205 glibcxx_cv_func__modf_use=yes
74206 else
74207 glibcxx_cv_func__modf_use=no
74208 fi
74209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74210 ac_ext=c
74211 ac_cpp='$CPP $CPPFLAGS'
74212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74215
74216
74217 fi
74218
74219 fi
74220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74221 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74222
74223 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74224 for ac_func in _modf
74225 do :
74226 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74227 if test "x$ac_cv_func__modf" = x""yes; then :
74228 cat >>confdefs.h <<_ACEOF
74229 #define HAVE__MODF 1
74230 _ACEOF
74231
74232 fi
74233 done
74234
74235 fi
74236 fi
74237
74238
74239
74240
74241
74242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74243 $as_echo_n "checking for powf declaration... " >&6; }
74244 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74245 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74246 $as_echo_n "(cached) " >&6
74247 else
74248
74249
74250 ac_ext=cpp
74251 ac_cpp='$CXXCPP $CPPFLAGS'
74252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74255
74256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74257 /* end confdefs.h. */
74258 #include <math.h>
74259 int
74260 main ()
74261 {
74262 powf(0, 0);
74263 ;
74264 return 0;
74265 }
74266 _ACEOF
74267 if ac_fn_cxx_try_compile "$LINENO"; then :
74268 glibcxx_cv_func_powf_use=yes
74269 else
74270 glibcxx_cv_func_powf_use=no
74271 fi
74272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74273 ac_ext=c
74274 ac_cpp='$CPP $CPPFLAGS'
74275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74278
74279
74280 fi
74281
74282 fi
74283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74284 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74285
74286 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74287 for ac_func in powf
74288 do :
74289 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74290 if test "x$ac_cv_func_powf" = x""yes; then :
74291 cat >>confdefs.h <<_ACEOF
74292 #define HAVE_POWF 1
74293 _ACEOF
74294
74295 fi
74296 done
74297
74298 else
74299
74300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74301 $as_echo_n "checking for _powf declaration... " >&6; }
74302 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74303 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74304 $as_echo_n "(cached) " >&6
74305 else
74306
74307
74308 ac_ext=cpp
74309 ac_cpp='$CXXCPP $CPPFLAGS'
74310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74313
74314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74315 /* end confdefs.h. */
74316 #include <math.h>
74317 int
74318 main ()
74319 {
74320 _powf(0, 0);
74321 ;
74322 return 0;
74323 }
74324 _ACEOF
74325 if ac_fn_cxx_try_compile "$LINENO"; then :
74326 glibcxx_cv_func__powf_use=yes
74327 else
74328 glibcxx_cv_func__powf_use=no
74329 fi
74330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74331 ac_ext=c
74332 ac_cpp='$CPP $CPPFLAGS'
74333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74336
74337
74338 fi
74339
74340 fi
74341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74342 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74343
74344 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74345 for ac_func in _powf
74346 do :
74347 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74348 if test "x$ac_cv_func__powf" = x""yes; then :
74349 cat >>confdefs.h <<_ACEOF
74350 #define HAVE__POWF 1
74351 _ACEOF
74352
74353 fi
74354 done
74355
74356 fi
74357 fi
74358
74359
74360
74361
74362
74363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74364 $as_echo_n "checking for sqrtf declaration... " >&6; }
74365 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74366 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74367 $as_echo_n "(cached) " >&6
74368 else
74369
74370
74371 ac_ext=cpp
74372 ac_cpp='$CXXCPP $CPPFLAGS'
74373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74376
74377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74378 /* end confdefs.h. */
74379 #include <math.h>
74380 #ifdef HAVE_IEEEFP_H
74381 #include <ieeefp.h>
74382 #endif
74383
74384 int
74385 main ()
74386 {
74387 sqrtf(0);
74388 ;
74389 return 0;
74390 }
74391 _ACEOF
74392 if ac_fn_cxx_try_compile "$LINENO"; then :
74393 glibcxx_cv_func_sqrtf_use=yes
74394 else
74395 glibcxx_cv_func_sqrtf_use=no
74396 fi
74397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74398 ac_ext=c
74399 ac_cpp='$CPP $CPPFLAGS'
74400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74403
74404
74405 fi
74406
74407 fi
74408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74409 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74410
74411 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74412 for ac_func in sqrtf
74413 do :
74414 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74415 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74416 cat >>confdefs.h <<_ACEOF
74417 #define HAVE_SQRTF 1
74418 _ACEOF
74419
74420 fi
74421 done
74422
74423 else
74424
74425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74426 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74427 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74428 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74429 $as_echo_n "(cached) " >&6
74430 else
74431
74432
74433 ac_ext=cpp
74434 ac_cpp='$CXXCPP $CPPFLAGS'
74435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74438
74439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74440 /* end confdefs.h. */
74441 #include <math.h>
74442 #ifdef HAVE_IEEEFP_H
74443 #include <ieeefp.h>
74444 #endif
74445
74446 int
74447 main ()
74448 {
74449 _sqrtf(0);
74450 ;
74451 return 0;
74452 }
74453 _ACEOF
74454 if ac_fn_cxx_try_compile "$LINENO"; then :
74455 glibcxx_cv_func__sqrtf_use=yes
74456 else
74457 glibcxx_cv_func__sqrtf_use=no
74458 fi
74459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74460 ac_ext=c
74461 ac_cpp='$CPP $CPPFLAGS'
74462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74465
74466
74467 fi
74468
74469 fi
74470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74471 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74472
74473 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74474 for ac_func in _sqrtf
74475 do :
74476 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74477 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74478 cat >>confdefs.h <<_ACEOF
74479 #define HAVE__SQRTF 1
74480 _ACEOF
74481
74482 fi
74483 done
74484
74485 fi
74486 fi
74487
74488
74489
74490
74491
74492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74493 $as_echo_n "checking for sincosf declaration... " >&6; }
74494 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74495 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74496 $as_echo_n "(cached) " >&6
74497 else
74498
74499
74500 ac_ext=cpp
74501 ac_cpp='$CXXCPP $CPPFLAGS'
74502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74505
74506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74507 /* end confdefs.h. */
74508 #include <math.h>
74509 int
74510 main ()
74511 {
74512 sincosf(0, 0, 0);
74513 ;
74514 return 0;
74515 }
74516 _ACEOF
74517 if ac_fn_cxx_try_compile "$LINENO"; then :
74518 glibcxx_cv_func_sincosf_use=yes
74519 else
74520 glibcxx_cv_func_sincosf_use=no
74521 fi
74522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74523 ac_ext=c
74524 ac_cpp='$CPP $CPPFLAGS'
74525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74528
74529
74530 fi
74531
74532 fi
74533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74534 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74535
74536 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74537 for ac_func in sincosf
74538 do :
74539 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74540 if test "x$ac_cv_func_sincosf" = x""yes; then :
74541 cat >>confdefs.h <<_ACEOF
74542 #define HAVE_SINCOSF 1
74543 _ACEOF
74544
74545 fi
74546 done
74547
74548 else
74549
74550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74551 $as_echo_n "checking for _sincosf declaration... " >&6; }
74552 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74553 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74554 $as_echo_n "(cached) " >&6
74555 else
74556
74557
74558 ac_ext=cpp
74559 ac_cpp='$CXXCPP $CPPFLAGS'
74560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74563
74564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74565 /* end confdefs.h. */
74566 #include <math.h>
74567 int
74568 main ()
74569 {
74570 _sincosf(0, 0, 0);
74571 ;
74572 return 0;
74573 }
74574 _ACEOF
74575 if ac_fn_cxx_try_compile "$LINENO"; then :
74576 glibcxx_cv_func__sincosf_use=yes
74577 else
74578 glibcxx_cv_func__sincosf_use=no
74579 fi
74580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74581 ac_ext=c
74582 ac_cpp='$CPP $CPPFLAGS'
74583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74586
74587
74588 fi
74589
74590 fi
74591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74592 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74593
74594 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74595 for ac_func in _sincosf
74596 do :
74597 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74598 if test "x$ac_cv_func__sincosf" = x""yes; then :
74599 cat >>confdefs.h <<_ACEOF
74600 #define HAVE__SINCOSF 1
74601 _ACEOF
74602
74603 fi
74604 done
74605
74606 fi
74607 fi
74608
74609
74610
74611
74612
74613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74614 $as_echo_n "checking for finitef declaration... " >&6; }
74615 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74616 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74617 $as_echo_n "(cached) " >&6
74618 else
74619
74620
74621 ac_ext=cpp
74622 ac_cpp='$CXXCPP $CPPFLAGS'
74623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74626
74627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74628 /* end confdefs.h. */
74629 #include <math.h>
74630 #ifdef HAVE_IEEEFP_H
74631 #include <ieeefp.h>
74632 #endif
74633
74634 int
74635 main ()
74636 {
74637 finitef(0);
74638 ;
74639 return 0;
74640 }
74641 _ACEOF
74642 if ac_fn_cxx_try_compile "$LINENO"; then :
74643 glibcxx_cv_func_finitef_use=yes
74644 else
74645 glibcxx_cv_func_finitef_use=no
74646 fi
74647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74648 ac_ext=c
74649 ac_cpp='$CPP $CPPFLAGS'
74650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74653
74654
74655 fi
74656
74657 fi
74658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74659 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74660
74661 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74662 for ac_func in finitef
74663 do :
74664 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74665 if test "x$ac_cv_func_finitef" = x""yes; then :
74666 cat >>confdefs.h <<_ACEOF
74667 #define HAVE_FINITEF 1
74668 _ACEOF
74669
74670 fi
74671 done
74672
74673 else
74674
74675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74676 $as_echo_n "checking for _finitef declaration... " >&6; }
74677 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74678 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74679 $as_echo_n "(cached) " >&6
74680 else
74681
74682
74683 ac_ext=cpp
74684 ac_cpp='$CXXCPP $CPPFLAGS'
74685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74688
74689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74690 /* end confdefs.h. */
74691 #include <math.h>
74692 #ifdef HAVE_IEEEFP_H
74693 #include <ieeefp.h>
74694 #endif
74695
74696 int
74697 main ()
74698 {
74699 _finitef(0);
74700 ;
74701 return 0;
74702 }
74703 _ACEOF
74704 if ac_fn_cxx_try_compile "$LINENO"; then :
74705 glibcxx_cv_func__finitef_use=yes
74706 else
74707 glibcxx_cv_func__finitef_use=no
74708 fi
74709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74710 ac_ext=c
74711 ac_cpp='$CPP $CPPFLAGS'
74712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74715
74716
74717 fi
74718
74719 fi
74720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74721 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74722
74723 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74724 for ac_func in _finitef
74725 do :
74726 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74727 if test "x$ac_cv_func__finitef" = x""yes; then :
74728 cat >>confdefs.h <<_ACEOF
74729 #define HAVE__FINITEF 1
74730 _ACEOF
74731
74732 fi
74733 done
74734
74735 fi
74736 fi
74737
74738
74739
74740
74741
74742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74743 $as_echo_n "checking for long double trig functions... " >&6; }
74744 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74745 $as_echo_n "(cached) " >&6
74746 else
74747
74748
74749 ac_ext=cpp
74750 ac_cpp='$CXXCPP $CPPFLAGS'
74751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74754
74755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74756 /* end confdefs.h. */
74757 #include <math.h>
74758 int
74759 main ()
74760 {
74761 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74762 ;
74763 return 0;
74764 }
74765 _ACEOF
74766 if ac_fn_cxx_try_compile "$LINENO"; then :
74767 glibcxx_cv_func_long_double_trig_use=yes
74768 else
74769 glibcxx_cv_func_long_double_trig_use=no
74770 fi
74771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74772 ac_ext=c
74773 ac_cpp='$CPP $CPPFLAGS'
74774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74777
74778 fi
74779
74780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74781 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74782 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74783 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74784 do :
74785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74787 eval as_val=\$$as_ac_var
74788 if test "x$as_val" = x""yes; then :
74789 cat >>confdefs.h <<_ACEOF
74790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74791 _ACEOF
74792
74793 fi
74794 done
74795
74796 else
74797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74798 $as_echo_n "checking for _long double trig functions... " >&6; }
74799 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74800 $as_echo_n "(cached) " >&6
74801 else
74802
74803
74804 ac_ext=cpp
74805 ac_cpp='$CXXCPP $CPPFLAGS'
74806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74809
74810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74811 /* end confdefs.h. */
74812 #include <math.h>
74813 int
74814 main ()
74815 {
74816 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74817 ;
74818 return 0;
74819 }
74820 _ACEOF
74821 if ac_fn_cxx_try_compile "$LINENO"; then :
74822 glibcxx_cv_func__long_double_trig_use=yes
74823 else
74824 glibcxx_cv_func__long_double_trig_use=no
74825 fi
74826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74827 ac_ext=c
74828 ac_cpp='$CPP $CPPFLAGS'
74829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74832
74833 fi
74834
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74836 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74837 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74838 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74839 do :
74840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74842 eval as_val=\$$as_ac_var
74843 if test "x$as_val" = x""yes; then :
74844 cat >>confdefs.h <<_ACEOF
74845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74846 _ACEOF
74847
74848 fi
74849 done
74850
74851 fi
74852 fi
74853
74854
74855
74856
74857
74858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74859 $as_echo_n "checking for long double round functions... " >&6; }
74860 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74861 $as_echo_n "(cached) " >&6
74862 else
74863
74864
74865 ac_ext=cpp
74866 ac_cpp='$CXXCPP $CPPFLAGS'
74867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74870
74871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74872 /* end confdefs.h. */
74873 #include <math.h>
74874 int
74875 main ()
74876 {
74877 ceill (0); floorl (0);
74878 ;
74879 return 0;
74880 }
74881 _ACEOF
74882 if ac_fn_cxx_try_compile "$LINENO"; then :
74883 glibcxx_cv_func_long_double_round_use=yes
74884 else
74885 glibcxx_cv_func_long_double_round_use=no
74886 fi
74887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74888 ac_ext=c
74889 ac_cpp='$CPP $CPPFLAGS'
74890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74893
74894 fi
74895
74896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74897 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74898 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74899 for ac_func in ceill floorl
74900 do :
74901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74903 eval as_val=\$$as_ac_var
74904 if test "x$as_val" = x""yes; then :
74905 cat >>confdefs.h <<_ACEOF
74906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74907 _ACEOF
74908
74909 fi
74910 done
74911
74912 else
74913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74914 $as_echo_n "checking for _long double round functions... " >&6; }
74915 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74916 $as_echo_n "(cached) " >&6
74917 else
74918
74919
74920 ac_ext=cpp
74921 ac_cpp='$CXXCPP $CPPFLAGS'
74922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74925
74926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74927 /* end confdefs.h. */
74928 #include <math.h>
74929 int
74930 main ()
74931 {
74932 _ceill (0); _floorl (0);
74933 ;
74934 return 0;
74935 }
74936 _ACEOF
74937 if ac_fn_cxx_try_compile "$LINENO"; then :
74938 glibcxx_cv_func__long_double_round_use=yes
74939 else
74940 glibcxx_cv_func__long_double_round_use=no
74941 fi
74942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74943 ac_ext=c
74944 ac_cpp='$CPP $CPPFLAGS'
74945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74948
74949 fi
74950
74951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74952 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74953 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74954 for ac_func in _ceill _floorl
74955 do :
74956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74958 eval as_val=\$$as_ac_var
74959 if test "x$as_val" = x""yes; then :
74960 cat >>confdefs.h <<_ACEOF
74961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74962 _ACEOF
74963
74964 fi
74965 done
74966
74967 fi
74968 fi
74969
74970
74971
74972
74973
74974
74975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74976 $as_echo_n "checking for isnanl declaration... " >&6; }
74977 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74978 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74979 $as_echo_n "(cached) " >&6
74980 else
74981
74982
74983 ac_ext=cpp
74984 ac_cpp='$CXXCPP $CPPFLAGS'
74985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74988
74989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74990 /* end confdefs.h. */
74991 #include <math.h>
74992 #ifdef HAVE_IEEEFP_H
74993 #include <ieeefp.h>
74994 #endif
74995
74996 int
74997 main ()
74998 {
74999 isnanl(0);
75000 ;
75001 return 0;
75002 }
75003 _ACEOF
75004 if ac_fn_cxx_try_compile "$LINENO"; then :
75005 glibcxx_cv_func_isnanl_use=yes
75006 else
75007 glibcxx_cv_func_isnanl_use=no
75008 fi
75009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75010 ac_ext=c
75011 ac_cpp='$CPP $CPPFLAGS'
75012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75015
75016
75017 fi
75018
75019 fi
75020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75021 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75022
75023 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75024 for ac_func in isnanl
75025 do :
75026 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75027 if test "x$ac_cv_func_isnanl" = x""yes; then :
75028 cat >>confdefs.h <<_ACEOF
75029 #define HAVE_ISNANL 1
75030 _ACEOF
75031
75032 fi
75033 done
75034
75035 else
75036
75037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75038 $as_echo_n "checking for _isnanl declaration... " >&6; }
75039 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75040 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75041 $as_echo_n "(cached) " >&6
75042 else
75043
75044
75045 ac_ext=cpp
75046 ac_cpp='$CXXCPP $CPPFLAGS'
75047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75050
75051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75052 /* end confdefs.h. */
75053 #include <math.h>
75054 #ifdef HAVE_IEEEFP_H
75055 #include <ieeefp.h>
75056 #endif
75057
75058 int
75059 main ()
75060 {
75061 _isnanl(0);
75062 ;
75063 return 0;
75064 }
75065 _ACEOF
75066 if ac_fn_cxx_try_compile "$LINENO"; then :
75067 glibcxx_cv_func__isnanl_use=yes
75068 else
75069 glibcxx_cv_func__isnanl_use=no
75070 fi
75071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75072 ac_ext=c
75073 ac_cpp='$CPP $CPPFLAGS'
75074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75077
75078
75079 fi
75080
75081 fi
75082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75083 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75084
75085 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75086 for ac_func in _isnanl
75087 do :
75088 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75089 if test "x$ac_cv_func__isnanl" = x""yes; then :
75090 cat >>confdefs.h <<_ACEOF
75091 #define HAVE__ISNANL 1
75092 _ACEOF
75093
75094 fi
75095 done
75096
75097 fi
75098 fi
75099
75100
75101
75102
75103
75104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75105 $as_echo_n "checking for isinfl declaration... " >&6; }
75106 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75107 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75108 $as_echo_n "(cached) " >&6
75109 else
75110
75111
75112 ac_ext=cpp
75113 ac_cpp='$CXXCPP $CPPFLAGS'
75114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75117
75118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75119 /* end confdefs.h. */
75120 #include <math.h>
75121 #ifdef HAVE_IEEEFP_H
75122 #include <ieeefp.h>
75123 #endif
75124
75125 int
75126 main ()
75127 {
75128 isinfl(0);
75129 ;
75130 return 0;
75131 }
75132 _ACEOF
75133 if ac_fn_cxx_try_compile "$LINENO"; then :
75134 glibcxx_cv_func_isinfl_use=yes
75135 else
75136 glibcxx_cv_func_isinfl_use=no
75137 fi
75138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75139 ac_ext=c
75140 ac_cpp='$CPP $CPPFLAGS'
75141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75144
75145
75146 fi
75147
75148 fi
75149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75150 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75151
75152 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75153 for ac_func in isinfl
75154 do :
75155 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75156 if test "x$ac_cv_func_isinfl" = x""yes; then :
75157 cat >>confdefs.h <<_ACEOF
75158 #define HAVE_ISINFL 1
75159 _ACEOF
75160
75161 fi
75162 done
75163
75164 else
75165
75166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75167 $as_echo_n "checking for _isinfl declaration... " >&6; }
75168 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75169 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75170 $as_echo_n "(cached) " >&6
75171 else
75172
75173
75174 ac_ext=cpp
75175 ac_cpp='$CXXCPP $CPPFLAGS'
75176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75179
75180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75181 /* end confdefs.h. */
75182 #include <math.h>
75183 #ifdef HAVE_IEEEFP_H
75184 #include <ieeefp.h>
75185 #endif
75186
75187 int
75188 main ()
75189 {
75190 _isinfl(0);
75191 ;
75192 return 0;
75193 }
75194 _ACEOF
75195 if ac_fn_cxx_try_compile "$LINENO"; then :
75196 glibcxx_cv_func__isinfl_use=yes
75197 else
75198 glibcxx_cv_func__isinfl_use=no
75199 fi
75200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75201 ac_ext=c
75202 ac_cpp='$CPP $CPPFLAGS'
75203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75206
75207
75208 fi
75209
75210 fi
75211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75212 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75213
75214 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75215 for ac_func in _isinfl
75216 do :
75217 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75218 if test "x$ac_cv_func__isinfl" = x""yes; then :
75219 cat >>confdefs.h <<_ACEOF
75220 #define HAVE__ISINFL 1
75221 _ACEOF
75222
75223 fi
75224 done
75225
75226 fi
75227 fi
75228
75229
75230
75231
75232
75233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75234 $as_echo_n "checking for atan2l declaration... " >&6; }
75235 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75236 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75237 $as_echo_n "(cached) " >&6
75238 else
75239
75240
75241 ac_ext=cpp
75242 ac_cpp='$CXXCPP $CPPFLAGS'
75243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75246
75247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75248 /* end confdefs.h. */
75249 #include <math.h>
75250 int
75251 main ()
75252 {
75253 atan2l(0, 0);
75254 ;
75255 return 0;
75256 }
75257 _ACEOF
75258 if ac_fn_cxx_try_compile "$LINENO"; then :
75259 glibcxx_cv_func_atan2l_use=yes
75260 else
75261 glibcxx_cv_func_atan2l_use=no
75262 fi
75263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75264 ac_ext=c
75265 ac_cpp='$CPP $CPPFLAGS'
75266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75269
75270
75271 fi
75272
75273 fi
75274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75275 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75276
75277 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75278 for ac_func in atan2l
75279 do :
75280 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75281 if test "x$ac_cv_func_atan2l" = x""yes; then :
75282 cat >>confdefs.h <<_ACEOF
75283 #define HAVE_ATAN2L 1
75284 _ACEOF
75285
75286 fi
75287 done
75288
75289 else
75290
75291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75292 $as_echo_n "checking for _atan2l declaration... " >&6; }
75293 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75294 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75295 $as_echo_n "(cached) " >&6
75296 else
75297
75298
75299 ac_ext=cpp
75300 ac_cpp='$CXXCPP $CPPFLAGS'
75301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75304
75305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75306 /* end confdefs.h. */
75307 #include <math.h>
75308 int
75309 main ()
75310 {
75311 _atan2l(0, 0);
75312 ;
75313 return 0;
75314 }
75315 _ACEOF
75316 if ac_fn_cxx_try_compile "$LINENO"; then :
75317 glibcxx_cv_func__atan2l_use=yes
75318 else
75319 glibcxx_cv_func__atan2l_use=no
75320 fi
75321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75322 ac_ext=c
75323 ac_cpp='$CPP $CPPFLAGS'
75324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75327
75328
75329 fi
75330
75331 fi
75332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75333 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75334
75335 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75336 for ac_func in _atan2l
75337 do :
75338 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75339 if test "x$ac_cv_func__atan2l" = x""yes; then :
75340 cat >>confdefs.h <<_ACEOF
75341 #define HAVE__ATAN2L 1
75342 _ACEOF
75343
75344 fi
75345 done
75346
75347 fi
75348 fi
75349
75350
75351
75352
75353
75354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75355 $as_echo_n "checking for expl declaration... " >&6; }
75356 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75357 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75358 $as_echo_n "(cached) " >&6
75359 else
75360
75361
75362 ac_ext=cpp
75363 ac_cpp='$CXXCPP $CPPFLAGS'
75364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75367
75368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75369 /* end confdefs.h. */
75370 #include <math.h>
75371 #ifdef HAVE_IEEEFP_H
75372 #include <ieeefp.h>
75373 #endif
75374
75375 int
75376 main ()
75377 {
75378 expl(0);
75379 ;
75380 return 0;
75381 }
75382 _ACEOF
75383 if ac_fn_cxx_try_compile "$LINENO"; then :
75384 glibcxx_cv_func_expl_use=yes
75385 else
75386 glibcxx_cv_func_expl_use=no
75387 fi
75388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75389 ac_ext=c
75390 ac_cpp='$CPP $CPPFLAGS'
75391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75394
75395
75396 fi
75397
75398 fi
75399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75400 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75401
75402 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75403 for ac_func in expl
75404 do :
75405 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75406 if test "x$ac_cv_func_expl" = x""yes; then :
75407 cat >>confdefs.h <<_ACEOF
75408 #define HAVE_EXPL 1
75409 _ACEOF
75410
75411 fi
75412 done
75413
75414 else
75415
75416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75417 $as_echo_n "checking for _expl declaration... " >&6; }
75418 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75419 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75420 $as_echo_n "(cached) " >&6
75421 else
75422
75423
75424 ac_ext=cpp
75425 ac_cpp='$CXXCPP $CPPFLAGS'
75426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75429
75430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75431 /* end confdefs.h. */
75432 #include <math.h>
75433 #ifdef HAVE_IEEEFP_H
75434 #include <ieeefp.h>
75435 #endif
75436
75437 int
75438 main ()
75439 {
75440 _expl(0);
75441 ;
75442 return 0;
75443 }
75444 _ACEOF
75445 if ac_fn_cxx_try_compile "$LINENO"; then :
75446 glibcxx_cv_func__expl_use=yes
75447 else
75448 glibcxx_cv_func__expl_use=no
75449 fi
75450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75451 ac_ext=c
75452 ac_cpp='$CPP $CPPFLAGS'
75453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75456
75457
75458 fi
75459
75460 fi
75461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75462 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75463
75464 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75465 for ac_func in _expl
75466 do :
75467 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75468 if test "x$ac_cv_func__expl" = x""yes; then :
75469 cat >>confdefs.h <<_ACEOF
75470 #define HAVE__EXPL 1
75471 _ACEOF
75472
75473 fi
75474 done
75475
75476 fi
75477 fi
75478
75479
75480
75481
75482
75483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75484 $as_echo_n "checking for fabsl declaration... " >&6; }
75485 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75486 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75487 $as_echo_n "(cached) " >&6
75488 else
75489
75490
75491 ac_ext=cpp
75492 ac_cpp='$CXXCPP $CPPFLAGS'
75493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75496
75497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75498 /* end confdefs.h. */
75499 #include <math.h>
75500 #ifdef HAVE_IEEEFP_H
75501 #include <ieeefp.h>
75502 #endif
75503
75504 int
75505 main ()
75506 {
75507 fabsl(0);
75508 ;
75509 return 0;
75510 }
75511 _ACEOF
75512 if ac_fn_cxx_try_compile "$LINENO"; then :
75513 glibcxx_cv_func_fabsl_use=yes
75514 else
75515 glibcxx_cv_func_fabsl_use=no
75516 fi
75517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75518 ac_ext=c
75519 ac_cpp='$CPP $CPPFLAGS'
75520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75523
75524
75525 fi
75526
75527 fi
75528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75529 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75530
75531 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75532 for ac_func in fabsl
75533 do :
75534 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75535 if test "x$ac_cv_func_fabsl" = x""yes; then :
75536 cat >>confdefs.h <<_ACEOF
75537 #define HAVE_FABSL 1
75538 _ACEOF
75539
75540 fi
75541 done
75542
75543 else
75544
75545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75546 $as_echo_n "checking for _fabsl declaration... " >&6; }
75547 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75548 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75549 $as_echo_n "(cached) " >&6
75550 else
75551
75552
75553 ac_ext=cpp
75554 ac_cpp='$CXXCPP $CPPFLAGS'
75555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75558
75559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75560 /* end confdefs.h. */
75561 #include <math.h>
75562 #ifdef HAVE_IEEEFP_H
75563 #include <ieeefp.h>
75564 #endif
75565
75566 int
75567 main ()
75568 {
75569 _fabsl(0);
75570 ;
75571 return 0;
75572 }
75573 _ACEOF
75574 if ac_fn_cxx_try_compile "$LINENO"; then :
75575 glibcxx_cv_func__fabsl_use=yes
75576 else
75577 glibcxx_cv_func__fabsl_use=no
75578 fi
75579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75580 ac_ext=c
75581 ac_cpp='$CPP $CPPFLAGS'
75582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75585
75586
75587 fi
75588
75589 fi
75590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75591 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75592
75593 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75594 for ac_func in _fabsl
75595 do :
75596 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75597 if test "x$ac_cv_func__fabsl" = x""yes; then :
75598 cat >>confdefs.h <<_ACEOF
75599 #define HAVE__FABSL 1
75600 _ACEOF
75601
75602 fi
75603 done
75604
75605 fi
75606 fi
75607
75608
75609
75610
75611
75612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75613 $as_echo_n "checking for fmodl declaration... " >&6; }
75614 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75615 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75616 $as_echo_n "(cached) " >&6
75617 else
75618
75619
75620 ac_ext=cpp
75621 ac_cpp='$CXXCPP $CPPFLAGS'
75622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75625
75626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75627 /* end confdefs.h. */
75628 #include <math.h>
75629 int
75630 main ()
75631 {
75632 fmodl(0, 0);
75633 ;
75634 return 0;
75635 }
75636 _ACEOF
75637 if ac_fn_cxx_try_compile "$LINENO"; then :
75638 glibcxx_cv_func_fmodl_use=yes
75639 else
75640 glibcxx_cv_func_fmodl_use=no
75641 fi
75642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75643 ac_ext=c
75644 ac_cpp='$CPP $CPPFLAGS'
75645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75648
75649
75650 fi
75651
75652 fi
75653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75654 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75655
75656 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75657 for ac_func in fmodl
75658 do :
75659 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75660 if test "x$ac_cv_func_fmodl" = x""yes; then :
75661 cat >>confdefs.h <<_ACEOF
75662 #define HAVE_FMODL 1
75663 _ACEOF
75664
75665 fi
75666 done
75667
75668 else
75669
75670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75671 $as_echo_n "checking for _fmodl declaration... " >&6; }
75672 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75673 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75674 $as_echo_n "(cached) " >&6
75675 else
75676
75677
75678 ac_ext=cpp
75679 ac_cpp='$CXXCPP $CPPFLAGS'
75680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75683
75684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75685 /* end confdefs.h. */
75686 #include <math.h>
75687 int
75688 main ()
75689 {
75690 _fmodl(0, 0);
75691 ;
75692 return 0;
75693 }
75694 _ACEOF
75695 if ac_fn_cxx_try_compile "$LINENO"; then :
75696 glibcxx_cv_func__fmodl_use=yes
75697 else
75698 glibcxx_cv_func__fmodl_use=no
75699 fi
75700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75701 ac_ext=c
75702 ac_cpp='$CPP $CPPFLAGS'
75703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75706
75707
75708 fi
75709
75710 fi
75711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75712 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75713
75714 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75715 for ac_func in _fmodl
75716 do :
75717 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75718 if test "x$ac_cv_func__fmodl" = x""yes; then :
75719 cat >>confdefs.h <<_ACEOF
75720 #define HAVE__FMODL 1
75721 _ACEOF
75722
75723 fi
75724 done
75725
75726 fi
75727 fi
75728
75729
75730
75731
75732
75733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75734 $as_echo_n "checking for frexpl declaration... " >&6; }
75735 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75736 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75737 $as_echo_n "(cached) " >&6
75738 else
75739
75740
75741 ac_ext=cpp
75742 ac_cpp='$CXXCPP $CPPFLAGS'
75743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75746
75747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75748 /* end confdefs.h. */
75749 #include <math.h>
75750 int
75751 main ()
75752 {
75753 frexpl(0, 0);
75754 ;
75755 return 0;
75756 }
75757 _ACEOF
75758 if ac_fn_cxx_try_compile "$LINENO"; then :
75759 glibcxx_cv_func_frexpl_use=yes
75760 else
75761 glibcxx_cv_func_frexpl_use=no
75762 fi
75763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75764 ac_ext=c
75765 ac_cpp='$CPP $CPPFLAGS'
75766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75769
75770
75771 fi
75772
75773 fi
75774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75775 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75776
75777 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75778 for ac_func in frexpl
75779 do :
75780 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75781 if test "x$ac_cv_func_frexpl" = x""yes; then :
75782 cat >>confdefs.h <<_ACEOF
75783 #define HAVE_FREXPL 1
75784 _ACEOF
75785
75786 fi
75787 done
75788
75789 else
75790
75791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75792 $as_echo_n "checking for _frexpl declaration... " >&6; }
75793 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75794 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75795 $as_echo_n "(cached) " >&6
75796 else
75797
75798
75799 ac_ext=cpp
75800 ac_cpp='$CXXCPP $CPPFLAGS'
75801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75804
75805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75806 /* end confdefs.h. */
75807 #include <math.h>
75808 int
75809 main ()
75810 {
75811 _frexpl(0, 0);
75812 ;
75813 return 0;
75814 }
75815 _ACEOF
75816 if ac_fn_cxx_try_compile "$LINENO"; then :
75817 glibcxx_cv_func__frexpl_use=yes
75818 else
75819 glibcxx_cv_func__frexpl_use=no
75820 fi
75821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75822 ac_ext=c
75823 ac_cpp='$CPP $CPPFLAGS'
75824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75827
75828
75829 fi
75830
75831 fi
75832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75833 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75834
75835 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75836 for ac_func in _frexpl
75837 do :
75838 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75839 if test "x$ac_cv_func__frexpl" = x""yes; then :
75840 cat >>confdefs.h <<_ACEOF
75841 #define HAVE__FREXPL 1
75842 _ACEOF
75843
75844 fi
75845 done
75846
75847 fi
75848 fi
75849
75850
75851
75852
75853
75854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75855 $as_echo_n "checking for hypotl declaration... " >&6; }
75856 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75857 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75858 $as_echo_n "(cached) " >&6
75859 else
75860
75861
75862 ac_ext=cpp
75863 ac_cpp='$CXXCPP $CPPFLAGS'
75864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75867
75868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75869 /* end confdefs.h. */
75870 #include <math.h>
75871 int
75872 main ()
75873 {
75874 hypotl(0, 0);
75875 ;
75876 return 0;
75877 }
75878 _ACEOF
75879 if ac_fn_cxx_try_compile "$LINENO"; then :
75880 glibcxx_cv_func_hypotl_use=yes
75881 else
75882 glibcxx_cv_func_hypotl_use=no
75883 fi
75884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75885 ac_ext=c
75886 ac_cpp='$CPP $CPPFLAGS'
75887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75890
75891
75892 fi
75893
75894 fi
75895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75896 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75897
75898 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75899 for ac_func in hypotl
75900 do :
75901 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75902 if test "x$ac_cv_func_hypotl" = x""yes; then :
75903 cat >>confdefs.h <<_ACEOF
75904 #define HAVE_HYPOTL 1
75905 _ACEOF
75906
75907 fi
75908 done
75909
75910 else
75911
75912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75913 $as_echo_n "checking for _hypotl declaration... " >&6; }
75914 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75915 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75916 $as_echo_n "(cached) " >&6
75917 else
75918
75919
75920 ac_ext=cpp
75921 ac_cpp='$CXXCPP $CPPFLAGS'
75922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75925
75926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75927 /* end confdefs.h. */
75928 #include <math.h>
75929 int
75930 main ()
75931 {
75932 _hypotl(0, 0);
75933 ;
75934 return 0;
75935 }
75936 _ACEOF
75937 if ac_fn_cxx_try_compile "$LINENO"; then :
75938 glibcxx_cv_func__hypotl_use=yes
75939 else
75940 glibcxx_cv_func__hypotl_use=no
75941 fi
75942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75943 ac_ext=c
75944 ac_cpp='$CPP $CPPFLAGS'
75945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75948
75949
75950 fi
75951
75952 fi
75953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75954 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75955
75956 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75957 for ac_func in _hypotl
75958 do :
75959 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75960 if test "x$ac_cv_func__hypotl" = x""yes; then :
75961 cat >>confdefs.h <<_ACEOF
75962 #define HAVE__HYPOTL 1
75963 _ACEOF
75964
75965 fi
75966 done
75967
75968 fi
75969 fi
75970
75971
75972
75973
75974
75975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75976 $as_echo_n "checking for ldexpl declaration... " >&6; }
75977 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75978 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75979 $as_echo_n "(cached) " >&6
75980 else
75981
75982
75983 ac_ext=cpp
75984 ac_cpp='$CXXCPP $CPPFLAGS'
75985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75988
75989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75990 /* end confdefs.h. */
75991 #include <math.h>
75992 int
75993 main ()
75994 {
75995 ldexpl(0, 0);
75996 ;
75997 return 0;
75998 }
75999 _ACEOF
76000 if ac_fn_cxx_try_compile "$LINENO"; then :
76001 glibcxx_cv_func_ldexpl_use=yes
76002 else
76003 glibcxx_cv_func_ldexpl_use=no
76004 fi
76005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76006 ac_ext=c
76007 ac_cpp='$CPP $CPPFLAGS'
76008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76011
76012
76013 fi
76014
76015 fi
76016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76017 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76018
76019 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76020 for ac_func in ldexpl
76021 do :
76022 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76023 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76024 cat >>confdefs.h <<_ACEOF
76025 #define HAVE_LDEXPL 1
76026 _ACEOF
76027
76028 fi
76029 done
76030
76031 else
76032
76033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76034 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76035 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76036 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76037 $as_echo_n "(cached) " >&6
76038 else
76039
76040
76041 ac_ext=cpp
76042 ac_cpp='$CXXCPP $CPPFLAGS'
76043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76046
76047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76048 /* end confdefs.h. */
76049 #include <math.h>
76050 int
76051 main ()
76052 {
76053 _ldexpl(0, 0);
76054 ;
76055 return 0;
76056 }
76057 _ACEOF
76058 if ac_fn_cxx_try_compile "$LINENO"; then :
76059 glibcxx_cv_func__ldexpl_use=yes
76060 else
76061 glibcxx_cv_func__ldexpl_use=no
76062 fi
76063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76064 ac_ext=c
76065 ac_cpp='$CPP $CPPFLAGS'
76066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76069
76070
76071 fi
76072
76073 fi
76074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76075 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76076
76077 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76078 for ac_func in _ldexpl
76079 do :
76080 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76081 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76082 cat >>confdefs.h <<_ACEOF
76083 #define HAVE__LDEXPL 1
76084 _ACEOF
76085
76086 fi
76087 done
76088
76089 fi
76090 fi
76091
76092
76093
76094
76095
76096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76097 $as_echo_n "checking for logl declaration... " >&6; }
76098 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76099 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76100 $as_echo_n "(cached) " >&6
76101 else
76102
76103
76104 ac_ext=cpp
76105 ac_cpp='$CXXCPP $CPPFLAGS'
76106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76109
76110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76111 /* end confdefs.h. */
76112 #include <math.h>
76113 #ifdef HAVE_IEEEFP_H
76114 #include <ieeefp.h>
76115 #endif
76116
76117 int
76118 main ()
76119 {
76120 logl(0);
76121 ;
76122 return 0;
76123 }
76124 _ACEOF
76125 if ac_fn_cxx_try_compile "$LINENO"; then :
76126 glibcxx_cv_func_logl_use=yes
76127 else
76128 glibcxx_cv_func_logl_use=no
76129 fi
76130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76131 ac_ext=c
76132 ac_cpp='$CPP $CPPFLAGS'
76133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76136
76137
76138 fi
76139
76140 fi
76141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76142 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76143
76144 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76145 for ac_func in logl
76146 do :
76147 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76148 if test "x$ac_cv_func_logl" = x""yes; then :
76149 cat >>confdefs.h <<_ACEOF
76150 #define HAVE_LOGL 1
76151 _ACEOF
76152
76153 fi
76154 done
76155
76156 else
76157
76158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76159 $as_echo_n "checking for _logl declaration... " >&6; }
76160 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76161 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76162 $as_echo_n "(cached) " >&6
76163 else
76164
76165
76166 ac_ext=cpp
76167 ac_cpp='$CXXCPP $CPPFLAGS'
76168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76171
76172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76173 /* end confdefs.h. */
76174 #include <math.h>
76175 #ifdef HAVE_IEEEFP_H
76176 #include <ieeefp.h>
76177 #endif
76178
76179 int
76180 main ()
76181 {
76182 _logl(0);
76183 ;
76184 return 0;
76185 }
76186 _ACEOF
76187 if ac_fn_cxx_try_compile "$LINENO"; then :
76188 glibcxx_cv_func__logl_use=yes
76189 else
76190 glibcxx_cv_func__logl_use=no
76191 fi
76192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76193 ac_ext=c
76194 ac_cpp='$CPP $CPPFLAGS'
76195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76198
76199
76200 fi
76201
76202 fi
76203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76204 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76205
76206 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76207 for ac_func in _logl
76208 do :
76209 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76210 if test "x$ac_cv_func__logl" = x""yes; then :
76211 cat >>confdefs.h <<_ACEOF
76212 #define HAVE__LOGL 1
76213 _ACEOF
76214
76215 fi
76216 done
76217
76218 fi
76219 fi
76220
76221
76222
76223
76224
76225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76226 $as_echo_n "checking for log10l declaration... " >&6; }
76227 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76228 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76229 $as_echo_n "(cached) " >&6
76230 else
76231
76232
76233 ac_ext=cpp
76234 ac_cpp='$CXXCPP $CPPFLAGS'
76235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76238
76239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76240 /* end confdefs.h. */
76241 #include <math.h>
76242 #ifdef HAVE_IEEEFP_H
76243 #include <ieeefp.h>
76244 #endif
76245
76246 int
76247 main ()
76248 {
76249 log10l(0);
76250 ;
76251 return 0;
76252 }
76253 _ACEOF
76254 if ac_fn_cxx_try_compile "$LINENO"; then :
76255 glibcxx_cv_func_log10l_use=yes
76256 else
76257 glibcxx_cv_func_log10l_use=no
76258 fi
76259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76260 ac_ext=c
76261 ac_cpp='$CPP $CPPFLAGS'
76262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76265
76266
76267 fi
76268
76269 fi
76270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76271 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76272
76273 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76274 for ac_func in log10l
76275 do :
76276 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76277 if test "x$ac_cv_func_log10l" = x""yes; then :
76278 cat >>confdefs.h <<_ACEOF
76279 #define HAVE_LOG10L 1
76280 _ACEOF
76281
76282 fi
76283 done
76284
76285 else
76286
76287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76288 $as_echo_n "checking for _log10l declaration... " >&6; }
76289 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76290 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76291 $as_echo_n "(cached) " >&6
76292 else
76293
76294
76295 ac_ext=cpp
76296 ac_cpp='$CXXCPP $CPPFLAGS'
76297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76300
76301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76302 /* end confdefs.h. */
76303 #include <math.h>
76304 #ifdef HAVE_IEEEFP_H
76305 #include <ieeefp.h>
76306 #endif
76307
76308 int
76309 main ()
76310 {
76311 _log10l(0);
76312 ;
76313 return 0;
76314 }
76315 _ACEOF
76316 if ac_fn_cxx_try_compile "$LINENO"; then :
76317 glibcxx_cv_func__log10l_use=yes
76318 else
76319 glibcxx_cv_func__log10l_use=no
76320 fi
76321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76322 ac_ext=c
76323 ac_cpp='$CPP $CPPFLAGS'
76324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76327
76328
76329 fi
76330
76331 fi
76332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76333 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76334
76335 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76336 for ac_func in _log10l
76337 do :
76338 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76339 if test "x$ac_cv_func__log10l" = x""yes; then :
76340 cat >>confdefs.h <<_ACEOF
76341 #define HAVE__LOG10L 1
76342 _ACEOF
76343
76344 fi
76345 done
76346
76347 fi
76348 fi
76349
76350
76351
76352
76353
76354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76355 $as_echo_n "checking for modfl declaration... " >&6; }
76356 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76357 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76358 $as_echo_n "(cached) " >&6
76359 else
76360
76361
76362 ac_ext=cpp
76363 ac_cpp='$CXXCPP $CPPFLAGS'
76364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76367
76368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76369 /* end confdefs.h. */
76370 #include <math.h>
76371 int
76372 main ()
76373 {
76374 modfl(0, 0);
76375 ;
76376 return 0;
76377 }
76378 _ACEOF
76379 if ac_fn_cxx_try_compile "$LINENO"; then :
76380 glibcxx_cv_func_modfl_use=yes
76381 else
76382 glibcxx_cv_func_modfl_use=no
76383 fi
76384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76385 ac_ext=c
76386 ac_cpp='$CPP $CPPFLAGS'
76387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76390
76391
76392 fi
76393
76394 fi
76395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76396 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76397
76398 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76399 for ac_func in modfl
76400 do :
76401 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76402 if test "x$ac_cv_func_modfl" = x""yes; then :
76403 cat >>confdefs.h <<_ACEOF
76404 #define HAVE_MODFL 1
76405 _ACEOF
76406
76407 fi
76408 done
76409
76410 else
76411
76412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76413 $as_echo_n "checking for _modfl declaration... " >&6; }
76414 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76415 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76416 $as_echo_n "(cached) " >&6
76417 else
76418
76419
76420 ac_ext=cpp
76421 ac_cpp='$CXXCPP $CPPFLAGS'
76422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76425
76426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76427 /* end confdefs.h. */
76428 #include <math.h>
76429 int
76430 main ()
76431 {
76432 _modfl(0, 0);
76433 ;
76434 return 0;
76435 }
76436 _ACEOF
76437 if ac_fn_cxx_try_compile "$LINENO"; then :
76438 glibcxx_cv_func__modfl_use=yes
76439 else
76440 glibcxx_cv_func__modfl_use=no
76441 fi
76442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76443 ac_ext=c
76444 ac_cpp='$CPP $CPPFLAGS'
76445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76448
76449
76450 fi
76451
76452 fi
76453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76454 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76455
76456 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76457 for ac_func in _modfl
76458 do :
76459 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76460 if test "x$ac_cv_func__modfl" = x""yes; then :
76461 cat >>confdefs.h <<_ACEOF
76462 #define HAVE__MODFL 1
76463 _ACEOF
76464
76465 fi
76466 done
76467
76468 fi
76469 fi
76470
76471
76472
76473
76474
76475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76476 $as_echo_n "checking for powl declaration... " >&6; }
76477 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76478 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76479 $as_echo_n "(cached) " >&6
76480 else
76481
76482
76483 ac_ext=cpp
76484 ac_cpp='$CXXCPP $CPPFLAGS'
76485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76488
76489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76490 /* end confdefs.h. */
76491 #include <math.h>
76492 int
76493 main ()
76494 {
76495 powl(0, 0);
76496 ;
76497 return 0;
76498 }
76499 _ACEOF
76500 if ac_fn_cxx_try_compile "$LINENO"; then :
76501 glibcxx_cv_func_powl_use=yes
76502 else
76503 glibcxx_cv_func_powl_use=no
76504 fi
76505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76506 ac_ext=c
76507 ac_cpp='$CPP $CPPFLAGS'
76508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76511
76512
76513 fi
76514
76515 fi
76516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76517 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76518
76519 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76520 for ac_func in powl
76521 do :
76522 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76523 if test "x$ac_cv_func_powl" = x""yes; then :
76524 cat >>confdefs.h <<_ACEOF
76525 #define HAVE_POWL 1
76526 _ACEOF
76527
76528 fi
76529 done
76530
76531 else
76532
76533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76534 $as_echo_n "checking for _powl declaration... " >&6; }
76535 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76536 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76537 $as_echo_n "(cached) " >&6
76538 else
76539
76540
76541 ac_ext=cpp
76542 ac_cpp='$CXXCPP $CPPFLAGS'
76543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76546
76547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76548 /* end confdefs.h. */
76549 #include <math.h>
76550 int
76551 main ()
76552 {
76553 _powl(0, 0);
76554 ;
76555 return 0;
76556 }
76557 _ACEOF
76558 if ac_fn_cxx_try_compile "$LINENO"; then :
76559 glibcxx_cv_func__powl_use=yes
76560 else
76561 glibcxx_cv_func__powl_use=no
76562 fi
76563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76564 ac_ext=c
76565 ac_cpp='$CPP $CPPFLAGS'
76566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76569
76570
76571 fi
76572
76573 fi
76574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76575 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76576
76577 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76578 for ac_func in _powl
76579 do :
76580 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76581 if test "x$ac_cv_func__powl" = x""yes; then :
76582 cat >>confdefs.h <<_ACEOF
76583 #define HAVE__POWL 1
76584 _ACEOF
76585
76586 fi
76587 done
76588
76589 fi
76590 fi
76591
76592
76593
76594
76595
76596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76597 $as_echo_n "checking for sqrtl declaration... " >&6; }
76598 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76599 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76600 $as_echo_n "(cached) " >&6
76601 else
76602
76603
76604 ac_ext=cpp
76605 ac_cpp='$CXXCPP $CPPFLAGS'
76606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76609
76610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76611 /* end confdefs.h. */
76612 #include <math.h>
76613 #ifdef HAVE_IEEEFP_H
76614 #include <ieeefp.h>
76615 #endif
76616
76617 int
76618 main ()
76619 {
76620 sqrtl(0);
76621 ;
76622 return 0;
76623 }
76624 _ACEOF
76625 if ac_fn_cxx_try_compile "$LINENO"; then :
76626 glibcxx_cv_func_sqrtl_use=yes
76627 else
76628 glibcxx_cv_func_sqrtl_use=no
76629 fi
76630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76631 ac_ext=c
76632 ac_cpp='$CPP $CPPFLAGS'
76633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76636
76637
76638 fi
76639
76640 fi
76641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76642 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76643
76644 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76645 for ac_func in sqrtl
76646 do :
76647 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76648 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76649 cat >>confdefs.h <<_ACEOF
76650 #define HAVE_SQRTL 1
76651 _ACEOF
76652
76653 fi
76654 done
76655
76656 else
76657
76658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76659 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76660 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76661 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76662 $as_echo_n "(cached) " >&6
76663 else
76664
76665
76666 ac_ext=cpp
76667 ac_cpp='$CXXCPP $CPPFLAGS'
76668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76671
76672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76673 /* end confdefs.h. */
76674 #include <math.h>
76675 #ifdef HAVE_IEEEFP_H
76676 #include <ieeefp.h>
76677 #endif
76678
76679 int
76680 main ()
76681 {
76682 _sqrtl(0);
76683 ;
76684 return 0;
76685 }
76686 _ACEOF
76687 if ac_fn_cxx_try_compile "$LINENO"; then :
76688 glibcxx_cv_func__sqrtl_use=yes
76689 else
76690 glibcxx_cv_func__sqrtl_use=no
76691 fi
76692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76693 ac_ext=c
76694 ac_cpp='$CPP $CPPFLAGS'
76695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76698
76699
76700 fi
76701
76702 fi
76703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76704 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76705
76706 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76707 for ac_func in _sqrtl
76708 do :
76709 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76710 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76711 cat >>confdefs.h <<_ACEOF
76712 #define HAVE__SQRTL 1
76713 _ACEOF
76714
76715 fi
76716 done
76717
76718 fi
76719 fi
76720
76721
76722
76723
76724
76725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76726 $as_echo_n "checking for sincosl declaration... " >&6; }
76727 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76728 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76729 $as_echo_n "(cached) " >&6
76730 else
76731
76732
76733 ac_ext=cpp
76734 ac_cpp='$CXXCPP $CPPFLAGS'
76735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76738
76739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76740 /* end confdefs.h. */
76741 #include <math.h>
76742 int
76743 main ()
76744 {
76745 sincosl(0, 0, 0);
76746 ;
76747 return 0;
76748 }
76749 _ACEOF
76750 if ac_fn_cxx_try_compile "$LINENO"; then :
76751 glibcxx_cv_func_sincosl_use=yes
76752 else
76753 glibcxx_cv_func_sincosl_use=no
76754 fi
76755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76756 ac_ext=c
76757 ac_cpp='$CPP $CPPFLAGS'
76758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76761
76762
76763 fi
76764
76765 fi
76766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76767 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76768
76769 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76770 for ac_func in sincosl
76771 do :
76772 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76773 if test "x$ac_cv_func_sincosl" = x""yes; then :
76774 cat >>confdefs.h <<_ACEOF
76775 #define HAVE_SINCOSL 1
76776 _ACEOF
76777
76778 fi
76779 done
76780
76781 else
76782
76783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76784 $as_echo_n "checking for _sincosl declaration... " >&6; }
76785 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76786 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76787 $as_echo_n "(cached) " >&6
76788 else
76789
76790
76791 ac_ext=cpp
76792 ac_cpp='$CXXCPP $CPPFLAGS'
76793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76796
76797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76798 /* end confdefs.h. */
76799 #include <math.h>
76800 int
76801 main ()
76802 {
76803 _sincosl(0, 0, 0);
76804 ;
76805 return 0;
76806 }
76807 _ACEOF
76808 if ac_fn_cxx_try_compile "$LINENO"; then :
76809 glibcxx_cv_func__sincosl_use=yes
76810 else
76811 glibcxx_cv_func__sincosl_use=no
76812 fi
76813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76814 ac_ext=c
76815 ac_cpp='$CPP $CPPFLAGS'
76816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76819
76820
76821 fi
76822
76823 fi
76824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76825 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76826
76827 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76828 for ac_func in _sincosl
76829 do :
76830 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76831 if test "x$ac_cv_func__sincosl" = x""yes; then :
76832 cat >>confdefs.h <<_ACEOF
76833 #define HAVE__SINCOSL 1
76834 _ACEOF
76835
76836 fi
76837 done
76838
76839 fi
76840 fi
76841
76842
76843
76844
76845
76846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76847 $as_echo_n "checking for finitel declaration... " >&6; }
76848 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76849 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76850 $as_echo_n "(cached) " >&6
76851 else
76852
76853
76854 ac_ext=cpp
76855 ac_cpp='$CXXCPP $CPPFLAGS'
76856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76859
76860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76861 /* end confdefs.h. */
76862 #include <math.h>
76863 #ifdef HAVE_IEEEFP_H
76864 #include <ieeefp.h>
76865 #endif
76866
76867 int
76868 main ()
76869 {
76870 finitel(0);
76871 ;
76872 return 0;
76873 }
76874 _ACEOF
76875 if ac_fn_cxx_try_compile "$LINENO"; then :
76876 glibcxx_cv_func_finitel_use=yes
76877 else
76878 glibcxx_cv_func_finitel_use=no
76879 fi
76880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76881 ac_ext=c
76882 ac_cpp='$CPP $CPPFLAGS'
76883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76886
76887
76888 fi
76889
76890 fi
76891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76892 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76893
76894 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76895 for ac_func in finitel
76896 do :
76897 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76898 if test "x$ac_cv_func_finitel" = x""yes; then :
76899 cat >>confdefs.h <<_ACEOF
76900 #define HAVE_FINITEL 1
76901 _ACEOF
76902
76903 fi
76904 done
76905
76906 else
76907
76908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76909 $as_echo_n "checking for _finitel declaration... " >&6; }
76910 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76911 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76912 $as_echo_n "(cached) " >&6
76913 else
76914
76915
76916 ac_ext=cpp
76917 ac_cpp='$CXXCPP $CPPFLAGS'
76918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76921
76922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76923 /* end confdefs.h. */
76924 #include <math.h>
76925 #ifdef HAVE_IEEEFP_H
76926 #include <ieeefp.h>
76927 #endif
76928
76929 int
76930 main ()
76931 {
76932 _finitel(0);
76933 ;
76934 return 0;
76935 }
76936 _ACEOF
76937 if ac_fn_cxx_try_compile "$LINENO"; then :
76938 glibcxx_cv_func__finitel_use=yes
76939 else
76940 glibcxx_cv_func__finitel_use=no
76941 fi
76942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76943 ac_ext=c
76944 ac_cpp='$CPP $CPPFLAGS'
76945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76948
76949
76950 fi
76951
76952 fi
76953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76954 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76955
76956 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76957 for ac_func in _finitel
76958 do :
76959 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76960 if test "x$ac_cv_func__finitel" = x""yes; then :
76961 cat >>confdefs.h <<_ACEOF
76962 #define HAVE__FINITEL 1
76963 _ACEOF
76964
76965 fi
76966 done
76967
76968 fi
76969 fi
76970
76971
76972
76973
76974 LIBS="$ac_save_LIBS"
76975 CXXFLAGS="$ac_save_CXXFLAGS"
76976
76977
76978 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76979 ac_save_CXXFLAGS="$CXXFLAGS"
76980 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76981
76982
76983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76984 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76985 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76986 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76987 $as_echo_n "(cached) " >&6
76988 else
76989
76990
76991 ac_ext=cpp
76992 ac_cpp='$CXXCPP $CPPFLAGS'
76993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76996
76997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76998 /* end confdefs.h. */
76999 #include <stdlib.h>
77000 int
77001 main ()
77002 {
77003 at_quick_exit(0);
77004 ;
77005 return 0;
77006 }
77007 _ACEOF
77008 if ac_fn_cxx_try_compile "$LINENO"; then :
77009 glibcxx_cv_func_at_quick_exit_use=yes
77010 else
77011 glibcxx_cv_func_at_quick_exit_use=no
77012 fi
77013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77014 ac_ext=c
77015 ac_cpp='$CPP $CPPFLAGS'
77016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77019
77020
77021 fi
77022
77023 fi
77024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77025 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77026 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77027 for ac_func in at_quick_exit
77028 do :
77029 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77030 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77031 cat >>confdefs.h <<_ACEOF
77032 #define HAVE_AT_QUICK_EXIT 1
77033 _ACEOF
77034
77035 fi
77036 done
77037
77038 fi
77039
77040
77041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77042 $as_echo_n "checking for quick_exit declaration... " >&6; }
77043 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77044 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77045 $as_echo_n "(cached) " >&6
77046 else
77047
77048
77049 ac_ext=cpp
77050 ac_cpp='$CXXCPP $CPPFLAGS'
77051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77054
77055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77056 /* end confdefs.h. */
77057 #include <stdlib.h>
77058 int
77059 main ()
77060 {
77061 quick_exit(0);
77062 ;
77063 return 0;
77064 }
77065 _ACEOF
77066 if ac_fn_cxx_try_compile "$LINENO"; then :
77067 glibcxx_cv_func_quick_exit_use=yes
77068 else
77069 glibcxx_cv_func_quick_exit_use=no
77070 fi
77071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77072 ac_ext=c
77073 ac_cpp='$CPP $CPPFLAGS'
77074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77077
77078
77079 fi
77080
77081 fi
77082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77083 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77084 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77085 for ac_func in quick_exit
77086 do :
77087 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77088 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77089 cat >>confdefs.h <<_ACEOF
77090 #define HAVE_QUICK_EXIT 1
77091 _ACEOF
77092
77093 fi
77094 done
77095
77096 fi
77097
77098
77099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77100 $as_echo_n "checking for strtold declaration... " >&6; }
77101 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77102 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77103 $as_echo_n "(cached) " >&6
77104 else
77105
77106
77107 ac_ext=cpp
77108 ac_cpp='$CXXCPP $CPPFLAGS'
77109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77112
77113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77114 /* end confdefs.h. */
77115 #include <stdlib.h>
77116 int
77117 main ()
77118 {
77119 strtold(0, 0);
77120 ;
77121 return 0;
77122 }
77123 _ACEOF
77124 if ac_fn_cxx_try_compile "$LINENO"; then :
77125 glibcxx_cv_func_strtold_use=yes
77126 else
77127 glibcxx_cv_func_strtold_use=no
77128 fi
77129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77130 ac_ext=c
77131 ac_cpp='$CPP $CPPFLAGS'
77132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77135
77136
77137 fi
77138
77139 fi
77140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77141 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77142 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77143 for ac_func in strtold
77144 do :
77145 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77146 if test "x$ac_cv_func_strtold" = x""yes; then :
77147 cat >>confdefs.h <<_ACEOF
77148 #define HAVE_STRTOLD 1
77149 _ACEOF
77150
77151 fi
77152 done
77153
77154 fi
77155
77156
77157
77158
77159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77160 $as_echo_n "checking for strtof declaration... " >&6; }
77161 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77162 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77163 $as_echo_n "(cached) " >&6
77164 else
77165
77166
77167 ac_ext=cpp
77168 ac_cpp='$CXXCPP $CPPFLAGS'
77169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77172
77173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77174 /* end confdefs.h. */
77175 #include <stdlib.h>
77176 int
77177 main ()
77178 {
77179 strtof(0, 0);
77180 ;
77181 return 0;
77182 }
77183 _ACEOF
77184 if ac_fn_cxx_try_compile "$LINENO"; then :
77185 glibcxx_cv_func_strtof_use=yes
77186 else
77187 glibcxx_cv_func_strtof_use=no
77188 fi
77189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77190 ac_ext=c
77191 ac_cpp='$CPP $CPPFLAGS'
77192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77195
77196
77197 fi
77198
77199 fi
77200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77201 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77202 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77203 for ac_func in strtof
77204 do :
77205 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77206 if test "x$ac_cv_func_strtof" = x""yes; then :
77207 cat >>confdefs.h <<_ACEOF
77208 #define HAVE_STRTOF 1
77209 _ACEOF
77210
77211 fi
77212 done
77213
77214 fi
77215
77216
77217
77218
77219 CXXFLAGS="$ac_save_CXXFLAGS"
77220
77221 ;;
77222 *-vxworks)
77223 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77224
77225 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77226
77227 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77228
77229 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77230
77231 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77232
77233 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77234
77235 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77236
77237 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77238
77239 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77240
77241 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77242
77243 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77244
77245 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77246
77247 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77248
77249 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77250
77251 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77252
77253 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77254
77255 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77256
77257 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77258
77259 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77260
77261 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77262
77263 ;;
77264 *)
77265 as_fn_error "No support for this host/target combination." "$LINENO" 5
77266 ;;
77267 esac
77268
77269 fi
77270
77271 # At some point, we should differentiate between architectures
77272 # like x86, which have long double versions, and alpha/powerpc/etc.,
77273 # which don't. For the time being, punt.
77274 if test x"long_double_math_on_this_cpu" = x"yes"; then
77275 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77276
77277 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77278
77279 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77280
77281 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77282
77283 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77284
77285 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77286
77287 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77288
77289 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77290
77291 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77292
77293 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77294
77295 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77296
77297 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77298
77299 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77300
77301 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77302
77303 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77304
77305 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77306
77307 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77308
77309 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77310
77311 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77312
77313 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77314
77315 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77316
77317 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77318
77319 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77320
77321 fi
77322 fi
77323
77324 # Check for _Unwind_GetIPInfo.
77325
77326
77327 # Check whether --with-system-libunwind was given.
77328 if test "${with_system_libunwind+set}" = set; then :
77329 withval=$with_system_libunwind;
77330 fi
77331
77332 # If system-libunwind was not specifically set, pick a default setting.
77333 if test x$with_system_libunwind = x; then
77334 case ${target} in
77335 ia64-*-hpux*) with_system_libunwind=yes ;;
77336 *) with_system_libunwind=no ;;
77337 esac
77338 fi
77339 # Based on system-libunwind and target, do we have ipinfo?
77340 if test x$with_system_libunwind = xyes; then
77341 case ${target} in
77342 ia64-*-*) have_unwind_getipinfo=no ;;
77343 *) have_unwind_getipinfo=yes ;;
77344 esac
77345 else
77346 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77347
77348 case ${target} in
77349 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77350 *) have_unwind_getipinfo=yes ;;
77351 esac
77352
77353 fi
77354
77355 if test x$have_unwind_getipinfo = xyes; then
77356
77357 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77358
77359 fi
77360
77361
77362 # Check whether --enable-linux-futex was given.
77363 if test "${enable_linux_futex+set}" = set; then :
77364 enableval=$enable_linux_futex;
77365 case "$enableval" in
77366 yes|no|default) ;;
77367 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77368 esac
77369
77370 else
77371 enable_linux_futex=default
77372 fi
77373
77374
77375 case "$target" in
77376 *-linux*)
77377 case "$enable_linux_futex" in
77378 default)
77379 # If headers don't have gettid/futex syscalls definition, then
77380 # default to no, otherwise there will be compile time failures.
77381 # Otherwise, default to yes. If we don't detect we are
77382 # compiled/linked against NPTL and not cross-compiling, check
77383 # if programs are run by default against NPTL and if not, issue
77384 # a warning.
77385 enable_linux_futex=no
77386 if test x$gcc_no_link = xyes; then
77387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77388 fi
77389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77390 /* end confdefs.h. */
77391 #include <sys/syscall.h>
77392 int lk;
77393 int
77394 main ()
77395 {
77396 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77397 ;
77398 return 0;
77399 }
77400 _ACEOF
77401 if ac_fn_c_try_link "$LINENO"; then :
77402 save_LIBS="$LIBS"
77403 LIBS="-lpthread $LIBS"
77404 if test x$gcc_no_link = xyes; then
77405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77406 fi
77407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77408 /* end confdefs.h. */
77409 #ifndef _GNU_SOURCE
77410 #define _GNU_SOURCE 1
77411 #endif
77412 #include <pthread.h>
77413 pthread_t th; void *status;
77414 int
77415 main ()
77416 {
77417 pthread_tryjoin_np (th, &status);
77418 ;
77419 return 0;
77420 }
77421 _ACEOF
77422 if ac_fn_c_try_link "$LINENO"; then :
77423 enable_linux_futex=yes
77424 else
77425 if test x$cross_compiling = xno; then
77426 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77427 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77429 If so, please configure with --disable-linux-futex" >&5
77430 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77431 If so, please configure with --disable-linux-futex" >&2;}
77432 fi
77433 fi
77434 enable_linux_futex=yes
77435 fi
77436 rm -f core conftest.err conftest.$ac_objext \
77437 conftest$ac_exeext conftest.$ac_ext
77438 LIBS="$save_LIBS"
77439 fi
77440 rm -f core conftest.err conftest.$ac_objext \
77441 conftest$ac_exeext conftest.$ac_ext
77442 ;;
77443 yes)
77444 if test x$gcc_no_link = xyes; then
77445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77446 fi
77447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77448 /* end confdefs.h. */
77449 #include <sys/syscall.h>
77450 int lk;
77451 int
77452 main ()
77453 {
77454 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77455 ;
77456 return 0;
77457 }
77458 _ACEOF
77459 if ac_fn_c_try_link "$LINENO"; then :
77460
77461 else
77462 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77463 fi
77464 rm -f core conftest.err conftest.$ac_objext \
77465 conftest$ac_exeext conftest.$ac_ext
77466 ;;
77467 esac
77468 ;;
77469 *)
77470 enable_linux_futex=no
77471 ;;
77472 esac
77473 if test x$enable_linux_futex = xyes; then
77474
77475 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77476
77477 fi
77478
77479
77480
77481
77482 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77483
77484 acx_cv_header_stdint=stddef.h
77485 acx_cv_header_stdint_kind="(already complete)"
77486 for i in stdint.h $inttype_headers; do
77487 unset ac_cv_type_uintptr_t
77488 unset ac_cv_type_uintmax_t
77489 unset ac_cv_type_int_least32_t
77490 unset ac_cv_type_int_fast32_t
77491 unset ac_cv_type_uint64_t
77492 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77493 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77494 #include <$i>
77495 "
77496 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77497 acx_cv_header_stdint=$i
77498 else
77499 continue
77500 fi
77501
77502 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77503 #include <$i>
77504 "
77505 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77506
77507 else
77508 acx_cv_header_stdint_kind="(mostly complete)"
77509 fi
77510
77511 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77512 #include <$i>
77513 "
77514 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77515
77516 else
77517 acx_cv_header_stdint_kind="(mostly complete)"
77518 fi
77519
77520 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77521 #include <$i>
77522 "
77523 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77524
77525 else
77526 acx_cv_header_stdint_kind="(mostly complete)"
77527 fi
77528
77529 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77530 #include <$i>
77531 "
77532 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77533
77534 else
77535 acx_cv_header_stdint_kind="(lacks uint64_t)"
77536 fi
77537
77538 break
77539 done
77540 if test "$acx_cv_header_stdint" = stddef.h; then
77541 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77542 for i in stdint.h $inttype_headers; do
77543 unset ac_cv_type_uintptr_t
77544 unset ac_cv_type_uint32_t
77545 unset ac_cv_type_uint64_t
77546 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77547 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77548 #include <$i>
77549 "
77550 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77551 acx_cv_header_stdint=$i
77552 else
77553 continue
77554 fi
77555
77556 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77557 #include <$i>
77558 "
77559 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77560
77561 fi
77562
77563 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77564 #include <$i>
77565 "
77566 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77567
77568 fi
77569
77570 break
77571 done
77572 fi
77573 if test "$acx_cv_header_stdint" = stddef.h; then
77574 acx_cv_header_stdint_kind="(u_intXX_t style)"
77575 for i in sys/types.h $inttype_headers; do
77576 unset ac_cv_type_u_int32_t
77577 unset ac_cv_type_u_int64_t
77578 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77579 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77580 #include <$i>
77581 "
77582 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77583 acx_cv_header_stdint=$i
77584 else
77585 continue
77586 fi
77587
77588 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77589 #include <$i>
77590 "
77591 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77592
77593 fi
77594
77595 break
77596 done
77597 fi
77598 if test "$acx_cv_header_stdint" = stddef.h; then
77599 acx_cv_header_stdint_kind="(using manual detection)"
77600 fi
77601
77602 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77603 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77604 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77605 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77606 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77607
77608 # ----------------- Summarize what we found so far
77609
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77611 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77612
77613 case `$as_basename -- include/gstdint.h ||
77614 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77615 Xinclude/gstdint.h : 'X\(//\)$' \| \
77616 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77617 $as_echo X/include/gstdint.h |
77618 sed '/^.*\/\([^/][^/]*\)\/*$/{
77619 s//\1/
77620 q
77621 }
77622 /^X\/\(\/\/\)$/{
77623 s//\1/
77624 q
77625 }
77626 /^X\/\(\/\).*/{
77627 s//\1/
77628 q
77629 }
77630 s/.*/./; q'` in
77631 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77632 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77633 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77634 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77635 *) ;;
77636 esac
77637
77638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77639 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77640
77641 # ----------------- done included file, check C basic types --------
77642
77643 # Lacking an uintptr_t? Test size of void *
77644 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77645 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77646 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77647 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77648 # This bug is HP SR number 8606223364.
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77650 $as_echo_n "checking size of void *... " >&6; }
77651 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77652 $as_echo_n "(cached) " >&6
77653 else
77654 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77655
77656 else
77657 if test "$ac_cv_type_void_p" = yes; then
77658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77660 { as_fn_set_status 77
77661 as_fn_error "cannot compute sizeof (void *)
77662 See \`config.log' for more details." "$LINENO" 5; }; }
77663 else
77664 ac_cv_sizeof_void_p=0
77665 fi
77666 fi
77667
77668 fi
77669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77670 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77671
77672
77673
77674 cat >>confdefs.h <<_ACEOF
77675 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77676 _ACEOF
77677
77678 ;;
77679 esac
77680
77681 # Lacking an uint64_t? Test size of long
77682 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77683 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77686 # This bug is HP SR number 8606223364.
77687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77688 $as_echo_n "checking size of long... " >&6; }
77689 if test "${ac_cv_sizeof_long+set}" = set; then :
77690 $as_echo_n "(cached) " >&6
77691 else
77692 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77693
77694 else
77695 if test "$ac_cv_type_long" = yes; then
77696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77698 { as_fn_set_status 77
77699 as_fn_error "cannot compute sizeof (long)
77700 See \`config.log' for more details." "$LINENO" 5; }; }
77701 else
77702 ac_cv_sizeof_long=0
77703 fi
77704 fi
77705
77706 fi
77707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77708 $as_echo "$ac_cv_sizeof_long" >&6; }
77709
77710
77711
77712 cat >>confdefs.h <<_ACEOF
77713 #define SIZEOF_LONG $ac_cv_sizeof_long
77714 _ACEOF
77715
77716 ;;
77717 esac
77718
77719 if test $acx_cv_header_stdint = stddef.h; then
77720 # Lacking a good header? Test size of everything and deduce all types.
77721 # The cast to long int works around a bug in the HP C Compiler
77722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77724 # This bug is HP SR number 8606223364.
77725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77726 $as_echo_n "checking size of int... " >&6; }
77727 if test "${ac_cv_sizeof_int+set}" = set; then :
77728 $as_echo_n "(cached) " >&6
77729 else
77730 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77731
77732 else
77733 if test "$ac_cv_type_int" = yes; then
77734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77736 { as_fn_set_status 77
77737 as_fn_error "cannot compute sizeof (int)
77738 See \`config.log' for more details." "$LINENO" 5; }; }
77739 else
77740 ac_cv_sizeof_int=0
77741 fi
77742 fi
77743
77744 fi
77745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77746 $as_echo "$ac_cv_sizeof_int" >&6; }
77747
77748
77749
77750 cat >>confdefs.h <<_ACEOF
77751 #define SIZEOF_INT $ac_cv_sizeof_int
77752 _ACEOF
77753
77754
77755 # The cast to long int works around a bug in the HP C Compiler
77756 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77757 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77758 # This bug is HP SR number 8606223364.
77759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77760 $as_echo_n "checking size of short... " >&6; }
77761 if test "${ac_cv_sizeof_short+set}" = set; then :
77762 $as_echo_n "(cached) " >&6
77763 else
77764 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77765
77766 else
77767 if test "$ac_cv_type_short" = yes; then
77768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77770 { as_fn_set_status 77
77771 as_fn_error "cannot compute sizeof (short)
77772 See \`config.log' for more details." "$LINENO" 5; }; }
77773 else
77774 ac_cv_sizeof_short=0
77775 fi
77776 fi
77777
77778 fi
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77780 $as_echo "$ac_cv_sizeof_short" >&6; }
77781
77782
77783
77784 cat >>confdefs.h <<_ACEOF
77785 #define SIZEOF_SHORT $ac_cv_sizeof_short
77786 _ACEOF
77787
77788
77789 # The cast to long int works around a bug in the HP C Compiler
77790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77792 # This bug is HP SR number 8606223364.
77793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77794 $as_echo_n "checking size of char... " >&6; }
77795 if test "${ac_cv_sizeof_char+set}" = set; then :
77796 $as_echo_n "(cached) " >&6
77797 else
77798 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77799
77800 else
77801 if test "$ac_cv_type_char" = yes; then
77802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77804 { as_fn_set_status 77
77805 as_fn_error "cannot compute sizeof (char)
77806 See \`config.log' for more details." "$LINENO" 5; }; }
77807 else
77808 ac_cv_sizeof_char=0
77809 fi
77810 fi
77811
77812 fi
77813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77814 $as_echo "$ac_cv_sizeof_char" >&6; }
77815
77816
77817
77818 cat >>confdefs.h <<_ACEOF
77819 #define SIZEOF_CHAR $ac_cv_sizeof_char
77820 _ACEOF
77821
77822
77823
77824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77825 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77826 case "$ac_cv_sizeof_char" in
77827 1) acx_cv_type_int8_t=char ;;
77828 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77829 esac
77830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77831 $as_echo "$acx_cv_type_int8_t" >&6; }
77832
77833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77834 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77835 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77836 2:*) acx_cv_type_int16_t=int ;;
77837 *:2) acx_cv_type_int16_t=short ;;
77838 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77839 esac
77840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77841 $as_echo "$acx_cv_type_int16_t" >&6; }
77842
77843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77844 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77845 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77846 4:*) acx_cv_type_int32_t=int ;;
77847 *:4) acx_cv_type_int32_t=long ;;
77848 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77849 esac
77850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77851 $as_echo "$acx_cv_type_int32_t" >&6; }
77852 fi
77853
77854 # These tests are here to make the output prettier
77855
77856 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77857 case "$ac_cv_sizeof_long" in
77858 8) acx_cv_type_int64_t=long ;;
77859 esac
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77861 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77863 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77864 fi
77865
77866 # Now we can use the above types
77867
77868 if test "$ac_cv_type_uintptr_t" != yes; then
77869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77870 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77871 case $ac_cv_sizeof_void_p in
77872 2) acx_cv_type_intptr_t=int16_t ;;
77873 4) acx_cv_type_intptr_t=int32_t ;;
77874 8) acx_cv_type_intptr_t=int64_t ;;
77875 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77876 esac
77877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77878 $as_echo "$acx_cv_type_intptr_t" >&6; }
77879 fi
77880
77881 # ----------------- done all checks, emit header -------------
77882 ac_config_commands="$ac_config_commands include/gstdint.h"
77883
77884
77885
77886
77887
77888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77889 $as_echo_n "checking for GNU c++filt... " >&6; }
77890 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77891 $as_echo_n "(cached) " >&6
77892 else
77893 if test -z "$CXXFILT"; then
77894 ac_path_CXXFILT_found=false
77895 # Loop through the user's path and test for each of PROGNAME-LIST
77896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77897 for as_dir in $PATH
77898 do
77899 IFS=$as_save_IFS
77900 test -z "$as_dir" && as_dir=.
77901 for ac_prog in c++filt gc++filt; do
77902 for ac_exec_ext in '' $ac_executable_extensions; do
77903 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77904 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77905 # Check for GNU $ac_path_CXXFILT
77906 case `"$ac_path_CXXFILT" --version 2>&1` in
77907 *GNU*)
77908 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77909 esac
77910
77911 $ac_path_CXXFILT_found && break 3
77912 done
77913 done
77914 done
77915 IFS=$as_save_IFS
77916 if test -z "$ac_cv_path_CXXFILT"; then
77917 :
77918 fi
77919 else
77920 ac_cv_path_CXXFILT=$CXXFILT
77921 fi
77922
77923 fi
77924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77925 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77926 CXXFILT=$ac_cv_path_CXXFILT
77927
77928
77929
77930 # Check whether --enable-symvers was given.
77931 if test "${enable_symvers+set}" = set; then :
77932 enableval=$enable_symvers;
77933 case "$enableval" in
77934 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77935 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77936 esac
77937
77938 else
77939 enable_symvers=yes
77940 fi
77941
77942
77943
77944 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77945 # don't know enough about $LD to do tricks...
77946
77947 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77948 # with extern "C++" in version scripts.
77949
77950
77951 # Turn a 'yes' into a suitable default.
77952 if test x$enable_symvers = xyes ; then
77953 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77954 enable_symvers=no
77955 else
77956 if test $with_gnu_ld = yes ; then
77957 case ${target_os} in
77958 hpux*)
77959 enable_symvers=no ;;
77960 *)
77961 enable_symvers=gnu ;;
77962 esac
77963 else
77964 case ${target_os} in
77965 darwin*)
77966 enable_symvers=darwin ;;
77967 # Sun symbol versioning exists since Solaris 2.5.
77968 solaris2.[5-9]* | solaris2.1[0-9]*)
77969 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77970 # version scripts, so disable symbol versioning if none can be
77971 # found.
77972 if test -z "$ac_cv_path_CXXFILT"; then
77973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77974 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77976 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77978 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77979 enable_symvers=no
77980 else
77981 enable_symvers=sun
77982 fi
77983 ;;
77984 *)
77985 enable_symvers=no ;;
77986 esac
77987 fi
77988 fi
77989 fi
77990
77991 # Check to see if 'darwin' or 'darwin-export' can win.
77992 if test x$enable_symvers = xdarwin-export ; then
77993 enable_symvers=darwin
77994 fi
77995
77996 # Check if 'sun' was requested on non-Solaris 2 platforms.
77997 if test x$enable_symvers = xsun ; then
77998 case ${target_os} in
77999 solaris2*)
78000 # All fine.
78001 ;;
78002 *)
78003 # Unlikely to work.
78004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78005 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78007 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78009 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78010 enable_symvers=no
78011 ;;
78012 esac
78013 fi
78014
78015 # Check to see if 'gnu' can win.
78016 if test $enable_symvers = gnu ||
78017 test $enable_symvers = gnu-versioned-namespace ||
78018 test $enable_symvers = sun; then
78019 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78021 $as_echo_n "checking for shared libgcc... " >&6; }
78022 ac_save_CFLAGS="$CFLAGS"
78023 CFLAGS=' -lgcc_s'
78024 if test x$gcc_no_link = xyes; then
78025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78026 fi
78027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78028 /* end confdefs.h. */
78029
78030 int
78031 main ()
78032 {
78033 return 0;
78034 ;
78035 return 0;
78036 }
78037 _ACEOF
78038 if ac_fn_c_try_link "$LINENO"; then :
78039 glibcxx_shared_libgcc=yes
78040 else
78041 glibcxx_shared_libgcc=no
78042 fi
78043 rm -f core conftest.err conftest.$ac_objext \
78044 conftest$ac_exeext conftest.$ac_ext
78045 CFLAGS="$ac_save_CFLAGS"
78046 if test $glibcxx_shared_libgcc = no; then
78047 cat > conftest.c <<EOF
78048 int main (void) { return 0; }
78049 EOF
78050 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78051 -shared -shared-libgcc -o conftest.so \
78052 conftest.c -v 2>&1 >/dev/null \
78053 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78054 rm -f conftest.c conftest.so
78055 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78056 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78057 if test x$gcc_no_link = xyes; then
78058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78059 fi
78060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78061 /* end confdefs.h. */
78062
78063 int
78064 main ()
78065 {
78066 return 0;
78067 ;
78068 return 0;
78069 }
78070 _ACEOF
78071 if ac_fn_c_try_link "$LINENO"; then :
78072 glibcxx_shared_libgcc=yes
78073 fi
78074 rm -f core conftest.err conftest.$ac_objext \
78075 conftest$ac_exeext conftest.$ac_ext
78076 CFLAGS="$ac_save_CFLAGS"
78077 fi
78078 fi
78079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78080 $as_echo "$glibcxx_shared_libgcc" >&6; }
78081
78082 # For GNU ld, we need at least this version. The format is described in
78083 # GLIBCXX_CHECK_LINKER_FEATURES above.
78084 glibcxx_min_gnu_ld_version=21400
78085
78086 # If no shared libgcc, can't win.
78087 if test $glibcxx_shared_libgcc != yes; then
78088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78089 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78091 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78093 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78094 enable_symvers=no
78095 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78096 : All interesting versions of Sun ld support sun style symbol versioning.
78097 elif test $with_gnu_ld != yes ; then
78098 # just fail for now
78099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78100 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78102 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78104 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78105 enable_symvers=no
78106 elif test $glibcxx_ld_is_gold = yes ; then
78107 : All versions of gold support symbol versioning.
78108 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78109 # The right tools, the right setup, but too old. Fallbacks?
78110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78111 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78113 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78115 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78117 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78119 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78120 enable_symvers=no
78121 fi
78122 fi
78123
78124 # For libtool versioning info, format is CURRENT:REVISION:AGE
78125 libtool_VERSION=6:22:0
78126
78127 # Everything parsed; figure out what files and settings to use.
78128 case $enable_symvers in
78129 no)
78130 SYMVER_FILE=config/abi/pre/none.ver
78131 ;;
78132 gnu)
78133 SYMVER_FILE=config/abi/pre/gnu.ver
78134
78135 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78136
78137 ;;
78138 gnu-versioned-namespace)
78139 libtool_VERSION=7:0:0
78140 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78141
78142 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78143
78144 ;;
78145 darwin)
78146 SYMVER_FILE=config/abi/pre/gnu.ver
78147
78148 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78149
78150 ;;
78151 sun)
78152 SYMVER_FILE=config/abi/pre/gnu.ver
78153
78154 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78155
78156 ;;
78157 esac
78158
78159 if test x$enable_symvers != xno ; then
78160
78161 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78162
78163 fi
78164
78165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78166 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78167 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78168 $as_echo_n "(cached) " >&6
78169 else
78170
78171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78172 /* end confdefs.h. */
78173 void foo (void); __asm (".symver foo, bar@SYMVER");
78174 int
78175 main ()
78176 {
78177
78178 ;
78179 return 0;
78180 }
78181 _ACEOF
78182 if ac_fn_c_try_compile "$LINENO"; then :
78183 glibcxx_cv_have_as_symver_directive=yes
78184 else
78185 glibcxx_cv_have_as_symver_directive=no
78186 fi
78187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78188 fi
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78190 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78191 if test $glibcxx_cv_have_as_symver_directive = yes; then
78192
78193 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78194
78195 fi
78196
78197
78198
78199
78200
78201
78202
78203
78204 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78205 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78206
78207 if test $enable_symvers != no ; then
78208 case ${target_os} in
78209 # The Solaris 2 runtime linker doesn't support the GNU extension of
78210 # binding the same symbol to different versions
78211 solaris2*)
78212 ;;
78213 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78214 *)
78215
78216 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78217
78218 ;;
78219 esac
78220 fi
78221
78222 # Now, set up compatibility support, if any.
78223 # In addition, need this to deal with std::size_t mangling in
78224 # src/compatibility.cc. In a perfect world, could use
78225 # typeid(std::size_t).name()[0] to do direct substitution.
78226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78227 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78228 ac_save_CFLAGS="$CFLAGS"
78229 CFLAGS="-Werror"
78230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78231 /* end confdefs.h. */
78232
78233 int
78234 main ()
78235 {
78236 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78237 ;
78238 return 0;
78239 }
78240 _ACEOF
78241 if ac_fn_c_try_compile "$LINENO"; then :
78242 glibcxx_size_t_is_i=yes
78243 else
78244 glibcxx_size_t_is_i=no
78245 fi
78246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78247 CFLAGS=$ac_save_CFLAGS
78248 if test "$glibcxx_size_t_is_i" = yes; then
78249
78250 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78251
78252 fi
78253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78254 $as_echo "$glibcxx_size_t_is_i" >&6; }
78255
78256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78257 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78258 ac_save_CFLAGS="$CFLAGS"
78259 CFLAGS="-Werror"
78260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78261 /* end confdefs.h. */
78262
78263 int
78264 main ()
78265 {
78266 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78267 ;
78268 return 0;
78269 }
78270 _ACEOF
78271 if ac_fn_c_try_compile "$LINENO"; then :
78272 glibcxx_ptrdiff_t_is_i=yes
78273 else
78274 glibcxx_ptrdiff_t_is_i=no
78275 fi
78276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78277 CFLAGS=$ac_save_CFLAGS
78278 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78279
78280 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78281
78282 fi
78283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78284 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78285
78286
78287
78288
78289 # Check whether --enable-libstdcxx-visibility was given.
78290 if test "${enable_libstdcxx_visibility+set}" = set; then :
78291 enableval=$enable_libstdcxx_visibility;
78292 case "$enableval" in
78293 yes|no) ;;
78294 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78295 esac
78296
78297 else
78298 enable_libstdcxx_visibility=yes
78299 fi
78300
78301
78302
78303 if test x$enable_libstdcxx_visibility = xyes ; then
78304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78305 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78306 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78307 $as_echo_n "(cached) " >&6
78308 else
78309
78310 save_CFLAGS="$CFLAGS"
78311 CFLAGS="$CFLAGS -Werror"
78312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78313 /* end confdefs.h. */
78314 void __attribute__((visibility("hidden"))) foo(void) { }
78315 int
78316 main ()
78317 {
78318
78319 ;
78320 return 0;
78321 }
78322 _ACEOF
78323 if ac_fn_c_try_compile "$LINENO"; then :
78324 glibcxx_cv_have_attribute_visibility=yes
78325 else
78326 glibcxx_cv_have_attribute_visibility=no
78327 fi
78328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78329 CFLAGS="$save_CFLAGS"
78330 fi
78331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78332 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78333 if test $glibcxx_cv_have_attribute_visibility = no; then
78334 enable_libstdcxx_visibility=no
78335 fi
78336 fi
78337
78338
78339 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78340 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78341
78342
78343
78344 # Check whether --enable-libstdcxx-dual-abi was given.
78345 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78346 enableval=$enable_libstdcxx_dual_abi;
78347 case "$enableval" in
78348 yes|no) ;;
78349 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78350 esac
78351
78352 else
78353 enable_libstdcxx_dual_abi=yes
78354 fi
78355
78356
78357 if test x$enable_symvers = xgnu-versioned-namespace; then
78358 # gnu-versioned-namespace is incompatible with the dual ABI.
78359 enable_libstdcxx_dual_abi="no"
78360 fi
78361 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78362 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78363 $as_echo "$as_me: dual ABI is disabled" >&6;}
78364 default_libstdcxx_abi="gcc4-compatible"
78365 fi
78366
78367
78368
78369 if test x$enable_libstdcxx_dual_abi = xyes; then
78370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78371 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78372
78373 # Check whether --with-default-libstdcxx-abi was given.
78374 if test "${with_default_libstdcxx_abi+set}" = set; then :
78375 withval=$with_default_libstdcxx_abi; case "$withval" in
78376 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
78377 new|cxx11) default_libstdcxx_abi="new" ;;
78378 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
78379 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78380 esac
78381
78382 else
78383 default_libstdcxx_abi="new"
78384 fi
78385
78386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78387 $as_echo "${default_libstdcxx_abi}" >&6; }
78388 fi
78389 if test $default_libstdcxx_abi = "new"; then
78390 glibcxx_cxx11_abi=1
78391 glibcxx_cxx98_abi=0
78392 else
78393 glibcxx_cxx11_abi=0
78394 glibcxx_cxx98_abi=1
78395 fi
78396
78397
78398
78399
78400 ac_ldbl_compat=no
78401 case "$target" in
78402 powerpc*-*-linux* | \
78403 sparc*-*-linux* | \
78404 s390*-*-linux* | \
78405 alpha*-*-linux*)
78406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78407 /* end confdefs.h. */
78408
78409 int
78410 main ()
78411 {
78412
78413 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78414 #error no need for long double compatibility
78415 #endif
78416
78417 ;
78418 return 0;
78419 }
78420 _ACEOF
78421 if ac_fn_c_try_compile "$LINENO"; then :
78422 ac_ldbl_compat=yes
78423 else
78424 ac_ldbl_compat=no
78425 fi
78426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78427 if test "$ac_ldbl_compat" = yes; then
78428
78429 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78430
78431 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78432 fi
78433 esac
78434
78435
78436 # Check if assembler supports disabling hardware capability support.
78437
78438 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78439
78440 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78441 # with a different meaning.
78442 case ${target_os} in
78443 solaris2*)
78444 ac_save_CFLAGS="$CFLAGS"
78445 CFLAGS="$CFLAGS -Wa,-nH"
78446
78447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78448 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78450 /* end confdefs.h. */
78451
78452 int
78453 main ()
78454 {
78455 return 0;
78456 ;
78457 return 0;
78458 }
78459 _ACEOF
78460 if ac_fn_c_try_compile "$LINENO"; then :
78461 ac_hwcap_flags=yes
78462 else
78463 ac_hwcap_flags=no
78464 fi
78465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78466 if test "$ac_hwcap_flags" = "yes"; then
78467 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78468 fi
78469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78470 $as_echo "$ac_hwcap_flags" >&6; }
78471
78472 CFLAGS="$ac_save_CFLAGS"
78473 ;;
78474 esac
78475
78476
78477
78478
78479 # Check if assembler supports rdrand opcode.
78480
78481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78482 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78483 if test "${ac_cv_x86_rdrand+set}" = set; then :
78484 $as_echo_n "(cached) " >&6
78485 else
78486
78487 ac_cv_x86_rdrand=no
78488 case "$target" in
78489 i?86-*-* | \
78490 x86_64-*-*)
78491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78492 /* end confdefs.h. */
78493
78494 int
78495 main ()
78496 {
78497 asm("rdrand %eax");
78498 ;
78499 return 0;
78500 }
78501 _ACEOF
78502 if ac_fn_c_try_compile "$LINENO"; then :
78503 ac_cv_x86_rdrand=yes
78504 else
78505 ac_cv_x86_rdrand=no
78506 fi
78507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78508 esac
78509
78510 fi
78511
78512 if test $ac_cv_x86_rdrand = yes; then
78513
78514 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78515
78516 fi
78517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78518 $as_echo "$ac_cv_x86_rdrand" >&6; }
78519
78520
78521 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78522
78523 if $GLIBCXX_IS_NATIVE ; then
78524 # Do checks for resource limit functions.
78525
78526 setrlimit_have_headers=yes
78527 for ac_header in unistd.h sys/time.h sys/resource.h
78528 do :
78529 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78530 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78531 eval as_val=\$$as_ac_Header
78532 if test "x$as_val" = x""yes; then :
78533 cat >>confdefs.h <<_ACEOF
78534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78535 _ACEOF
78536
78537 else
78538 setrlimit_have_headers=no
78539 fi
78540
78541 done
78542
78543 # If don't have the headers, then we can't run the tests now, and we
78544 # won't be seeing any of these during testsuite compilation.
78545 if test $setrlimit_have_headers = yes; then
78546 # Can't do these in a loop, else the resulting syntax is wrong.
78547
78548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78549 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78551 /* end confdefs.h. */
78552 #include <unistd.h>
78553 #include <sys/time.h>
78554 #include <sys/resource.h>
78555
78556 int
78557 main ()
78558 {
78559 int f = RLIMIT_DATA ;
78560 ;
78561 return 0;
78562 }
78563 _ACEOF
78564 if ac_fn_c_try_compile "$LINENO"; then :
78565 glibcxx_mresult=1
78566 else
78567 glibcxx_mresult=0
78568 fi
78569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78570
78571 cat >>confdefs.h <<_ACEOF
78572 #define HAVE_LIMIT_DATA $glibcxx_mresult
78573 _ACEOF
78574
78575 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78577 $as_echo "$res" >&6; }
78578
78579
78580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78581 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78583 /* end confdefs.h. */
78584 #include <unistd.h>
78585 #include <sys/time.h>
78586 #include <sys/resource.h>
78587
78588 int
78589 main ()
78590 {
78591 int f = RLIMIT_RSS ;
78592 ;
78593 return 0;
78594 }
78595 _ACEOF
78596 if ac_fn_c_try_compile "$LINENO"; then :
78597 glibcxx_mresult=1
78598 else
78599 glibcxx_mresult=0
78600 fi
78601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78602
78603 cat >>confdefs.h <<_ACEOF
78604 #define HAVE_LIMIT_RSS $glibcxx_mresult
78605 _ACEOF
78606
78607 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78609 $as_echo "$res" >&6; }
78610
78611
78612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78613 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78615 /* end confdefs.h. */
78616 #include <unistd.h>
78617 #include <sys/time.h>
78618 #include <sys/resource.h>
78619
78620 int
78621 main ()
78622 {
78623 int f = RLIMIT_VMEM ;
78624 ;
78625 return 0;
78626 }
78627 _ACEOF
78628 if ac_fn_c_try_compile "$LINENO"; then :
78629 glibcxx_mresult=1
78630 else
78631 glibcxx_mresult=0
78632 fi
78633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78634
78635 cat >>confdefs.h <<_ACEOF
78636 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78637 _ACEOF
78638
78639 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78641 $as_echo "$res" >&6; }
78642
78643
78644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78645 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78647 /* end confdefs.h. */
78648 #include <unistd.h>
78649 #include <sys/time.h>
78650 #include <sys/resource.h>
78651
78652 int
78653 main ()
78654 {
78655 int f = RLIMIT_AS ;
78656 ;
78657 return 0;
78658 }
78659 _ACEOF
78660 if ac_fn_c_try_compile "$LINENO"; then :
78661 glibcxx_mresult=1
78662 else
78663 glibcxx_mresult=0
78664 fi
78665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78666
78667 cat >>confdefs.h <<_ACEOF
78668 #define HAVE_LIMIT_AS $glibcxx_mresult
78669 _ACEOF
78670
78671 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78673 $as_echo "$res" >&6; }
78674
78675
78676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78677 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78679 /* end confdefs.h. */
78680 #include <unistd.h>
78681 #include <sys/time.h>
78682 #include <sys/resource.h>
78683
78684 int
78685 main ()
78686 {
78687 int f = RLIMIT_FSIZE ;
78688 ;
78689 return 0;
78690 }
78691 _ACEOF
78692 if ac_fn_c_try_compile "$LINENO"; then :
78693 glibcxx_mresult=1
78694 else
78695 glibcxx_mresult=0
78696 fi
78697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78698
78699 cat >>confdefs.h <<_ACEOF
78700 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78701 _ACEOF
78702
78703 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78705 $as_echo "$res" >&6; }
78706
78707
78708 # Check for rlimit, setrlimit.
78709 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78710 $as_echo_n "(cached) " >&6
78711 else
78712
78713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78714 /* end confdefs.h. */
78715 #include <unistd.h>
78716 #include <sys/time.h>
78717 #include <sys/resource.h>
78718
78719 int
78720 main ()
78721 {
78722 struct rlimit r;
78723 setrlimit(0, &r);
78724 ;
78725 return 0;
78726 }
78727 _ACEOF
78728 if ac_fn_c_try_compile "$LINENO"; then :
78729 glibcxx_cv_setrlimit=yes
78730 else
78731 glibcxx_cv_setrlimit=no
78732 fi
78733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78734
78735 fi
78736
78737 fi
78738
78739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78740 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78741 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78742 ac_res_limits=yes
78743
78744 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78745
78746 else
78747 ac_res_limits=no
78748 fi
78749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78750 $as_echo "$ac_res_limits" >&6; }
78751
78752
78753 # Look for setenv, so that extended locale tests can be performed.
78754
78755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78756 $as_echo_n "checking for setenv declaration... " >&6; }
78757 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78758 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78759 $as_echo_n "(cached) " >&6
78760 else
78761
78762
78763 ac_ext=cpp
78764 ac_cpp='$CXXCPP $CPPFLAGS'
78765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78768
78769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78770 /* end confdefs.h. */
78771 #include <stdlib.h>
78772 int
78773 main ()
78774 {
78775 setenv(0, 0, 0);
78776 ;
78777 return 0;
78778 }
78779 _ACEOF
78780 if ac_fn_cxx_try_compile "$LINENO"; then :
78781 glibcxx_cv_func_setenv_use=yes
78782 else
78783 glibcxx_cv_func_setenv_use=no
78784 fi
78785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78786 ac_ext=c
78787 ac_cpp='$CPP $CPPFLAGS'
78788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78791
78792
78793 fi
78794
78795 fi
78796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78797 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78798 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78799 for ac_func in setenv
78800 do :
78801 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78802 if test "x$ac_cv_func_setenv" = x""yes; then :
78803 cat >>confdefs.h <<_ACEOF
78804 #define HAVE_SETENV 1
78805 _ACEOF
78806
78807 fi
78808 done
78809
78810 fi
78811
78812 fi
78813
78814 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78815 test $enable_symvers != no; then
78816 case "$host" in
78817 *-*-cygwin*)
78818 enable_abi_check=no ;;
78819 *)
78820 enable_abi_check=yes ;;
78821 esac
78822 else
78823 # Only build this as native, since automake does not understand
78824 # CXX_FOR_BUILD.
78825 enable_abi_check=no
78826 fi
78827
78828 # Export file names for ABI checking.
78829 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78830
78831 baseline_subdir_switch="$abi_baseline_subdir_switch"
78832
78833
78834
78835 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78836
78837 # Check whether --enable-libstdcxx-threads was given.
78838 if test "${enable_libstdcxx_threads+set}" = set; then :
78839 enableval=$enable_libstdcxx_threads;
78840 case "$enableval" in
78841 yes|no) ;;
78842 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78843 esac
78844
78845 else
78846 enable_libstdcxx_threads=auto
78847 fi
78848
78849
78850
78851 if test x$enable_libstdcxx_threads = xauto ||
78852 test x$enable_libstdcxx_threads = xyes; then
78853
78854
78855 ac_ext=cpp
78856 ac_cpp='$CXXCPP $CPPFLAGS'
78857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78860
78861
78862 ac_save_CXXFLAGS="$CXXFLAGS"
78863 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78864 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78865
78866 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78867 case $target_thread_file in
78868 posix)
78869 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78870 esac
78871
78872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78873 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78874
78875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78876 /* end confdefs.h. */
78877 #include <unistd.h>
78878 int
78879 main ()
78880 {
78881
78882 // In case of POSIX threads check _POSIX_TIMEOUTS.
78883 #if (defined(_PTHREADS) \
78884 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78885 #error
78886 #endif
78887
78888 ;
78889 return 0;
78890 }
78891 _ACEOF
78892 if ac_fn_cxx_try_compile "$LINENO"; then :
78893 ac_gthread_use_mutex_timedlock=1
78894 else
78895 ac_gthread_use_mutex_timedlock=0
78896 fi
78897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78898
78899
78900 cat >>confdefs.h <<_ACEOF
78901 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78902 _ACEOF
78903
78904
78905 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78906 else res_mutex_timedlock=no ; fi
78907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78908 $as_echo "$res_mutex_timedlock" >&6; }
78909
78910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78911 $as_echo_n "checking for gthreads library... " >&6; }
78912
78913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78914 /* end confdefs.h. */
78915 #include "gthr.h"
78916 int
78917 main ()
78918 {
78919
78920 #ifndef __GTHREADS_CXX0X
78921 #error
78922 #endif
78923
78924 ;
78925 return 0;
78926 }
78927 _ACEOF
78928 if ac_fn_cxx_try_compile "$LINENO"; then :
78929 ac_has_gthreads=yes
78930 else
78931 ac_has_gthreads=no
78932 fi
78933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78934 else
78935 ac_has_gthreads=no
78936 fi
78937
78938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78939 $as_echo "$ac_has_gthreads" >&6; }
78940
78941 if test x"$ac_has_gthreads" = x"yes"; then
78942
78943 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78944
78945
78946 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
78947 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
78948 "
78949 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
78950
78951 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
78952
78953 fi
78954
78955 fi
78956
78957 CXXFLAGS="$ac_save_CXXFLAGS"
78958 ac_ext=c
78959 ac_cpp='$CPP $CPPFLAGS'
78960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78963
78964
78965
78966 # For Filesystem TS.
78967 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
78968 do :
78969 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78970 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78971 eval as_val=\$$as_ac_Header
78972 if test "x$as_val" = x""yes; then :
78973 cat >>confdefs.h <<_ACEOF
78974 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78975 _ACEOF
78976
78977 fi
78978
78979 done
78980
78981
78982 # Check whether --enable-libstdcxx-filesystem-ts was given.
78983 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
78984 enableval=$enable_libstdcxx_filesystem_ts;
78985 case "$enableval" in
78986 yes|no|auto) ;;
78987 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
78988 esac
78989
78990 else
78991 enable_libstdcxx_filesystem_ts=auto
78992 fi
78993
78994
78995
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
78997 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
78998 if test x"$ac_cv_header_dirent_h" != x"yes"; then
78999 enable_libstdcxx_filesystem_ts=no
79000 fi
79001 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79002 case "${target_os}" in
79003 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79004 enable_libstdcxx_filesystem_ts=yes
79005 ;;
79006 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79007 enable_libstdcxx_filesystem_ts=yes
79008 ;;
79009 solaris*)
79010 enable_libstdcxx_filesystem_ts=yes
79011 ;;
79012 *)
79013 enable_libstdcxx_filesystem_ts=no
79014 ;;
79015 esac
79016 fi
79017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79018 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79019
79020
79021
79022 ac_ext=cpp
79023 ac_cpp='$CXXCPP $CPPFLAGS'
79024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79027
79028 ac_save_CXXFLAGS="$CXXFLAGS"
79029 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79031 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79032 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79033 $as_echo_n "(cached) " >&6
79034 else
79035 if test x$gcc_no_link = xyes; then
79036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79037 /* end confdefs.h. */
79038 #include <dirent.h>
79039 int
79040 main ()
79041 {
79042
79043 struct dirent d;
79044 if (sizeof d.d_type) return 0;
79045
79046 ;
79047 return 0;
79048 }
79049 _ACEOF
79050 if ac_fn_cxx_try_compile "$LINENO"; then :
79051 glibcxx_cv_dirent_d_type=yes
79052 else
79053 glibcxx_cv_dirent_d_type=no
79054 fi
79055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79056 else
79057 if test x$gcc_no_link = xyes; then
79058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79059 fi
79060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79061 /* end confdefs.h. */
79062 #include <dirent.h>
79063 int
79064 main ()
79065 {
79066
79067 struct dirent d;
79068 if (sizeof d.d_type) return 0;
79069
79070 ;
79071 return 0;
79072 }
79073 _ACEOF
79074 if ac_fn_cxx_try_link "$LINENO"; then :
79075 glibcxx_cv_dirent_d_type=yes
79076 else
79077 glibcxx_cv_dirent_d_type=no
79078 fi
79079 rm -f core conftest.err conftest.$ac_objext \
79080 conftest$ac_exeext conftest.$ac_ext
79081 fi
79082
79083 fi
79084
79085 if test $glibcxx_cv_dirent_d_type = yes; then
79086
79087 $as_echo "#define _GLIBCXX_HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
79088
79089 fi
79090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
79091 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
79092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79093 $as_echo_n "checking for realpath... " >&6; }
79094 if test "${glibcxx_cv_realpath+set}" = set; then :
79095 $as_echo_n "(cached) " >&6
79096 else
79097 if test x$gcc_no_link = xyes; then
79098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79099 /* end confdefs.h. */
79100 #include <stdlib.h>
79101 int
79102 main ()
79103 {
79104 char *tmp = realpath((const char*)NULL, (char*)NULL);
79105 ;
79106 return 0;
79107 }
79108 _ACEOF
79109 if ac_fn_cxx_try_compile "$LINENO"; then :
79110 glibcxx_cv_realpath=yes
79111 else
79112 glibcxx_cv_realpath=no
79113 fi
79114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79115 else
79116 if test x$gcc_no_link = xyes; then
79117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79118 fi
79119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79120 /* end confdefs.h. */
79121 #include <stdlib.h>
79122 int
79123 main ()
79124 {
79125 char *tmp = realpath((const char*)NULL, (char*)NULL);
79126 ;
79127 return 0;
79128 }
79129 _ACEOF
79130 if ac_fn_cxx_try_link "$LINENO"; then :
79131 glibcxx_cv_realpath=yes
79132 else
79133 glibcxx_cv_realpath=no
79134 fi
79135 rm -f core conftest.err conftest.$ac_objext \
79136 conftest$ac_exeext conftest.$ac_ext
79137 fi
79138
79139 fi
79140
79141 if test $glibcxx_cv_realpath = yes; then
79142
79143 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79144
79145 fi
79146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79147 $as_echo "$glibcxx_cv_realpath" >&6; }
79148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79149 $as_echo_n "checking for utimensat... " >&6; }
79150 if test "${glibcxx_cv_utimensat+set}" = set; then :
79151 $as_echo_n "(cached) " >&6
79152 else
79153 if test x$gcc_no_link = xyes; then
79154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79155 /* end confdefs.h. */
79156
79157 #include <fcntl.h>
79158 #include <sys/stat.h>
79159
79160 int
79161 main ()
79162 {
79163
79164 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79165 int i = utimensat(AT_FDCWD, "path", ts, 0);
79166
79167 ;
79168 return 0;
79169 }
79170 _ACEOF
79171 if ac_fn_cxx_try_compile "$LINENO"; then :
79172 glibcxx_cv_utimensat=yes
79173 else
79174 glibcxx_cv_utimensat=no
79175 fi
79176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79177 else
79178 if test x$gcc_no_link = xyes; then
79179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79180 fi
79181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79182 /* end confdefs.h. */
79183
79184 #include <fcntl.h>
79185 #include <sys/stat.h>
79186
79187 int
79188 main ()
79189 {
79190
79191 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79192 int i = utimensat(AT_FDCWD, "path", ts, 0);
79193
79194 ;
79195 return 0;
79196 }
79197 _ACEOF
79198 if ac_fn_cxx_try_link "$LINENO"; then :
79199 glibcxx_cv_utimensat=yes
79200 else
79201 glibcxx_cv_utimensat=no
79202 fi
79203 rm -f core conftest.err conftest.$ac_objext \
79204 conftest$ac_exeext conftest.$ac_ext
79205 fi
79206
79207 fi
79208
79209 if test $glibcxx_cv_utimensat = yes; then
79210
79211 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79212
79213 fi
79214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79215 $as_echo "$glibcxx_cv_utimensat" >&6; }
79216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79217 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79218 if test "${glibcxx_cv_st_mtim+set}" = set; then :
79219 $as_echo_n "(cached) " >&6
79220 else
79221 if test x$gcc_no_link = xyes; then
79222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79223 /* end confdefs.h. */
79224 #include <sys/stat.h>
79225 int
79226 main ()
79227 {
79228
79229 struct stat st;
79230 return st.st_mtim.tv_nsec;
79231
79232 ;
79233 return 0;
79234 }
79235 _ACEOF
79236 if ac_fn_cxx_try_compile "$LINENO"; then :
79237 glibcxx_cv_st_mtim=yes
79238 else
79239 glibcxx_cv_st_mtim=no
79240 fi
79241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79242 else
79243 if test x$gcc_no_link = xyes; then
79244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79245 fi
79246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79247 /* end confdefs.h. */
79248 #include <sys/stat.h>
79249 int
79250 main ()
79251 {
79252
79253 struct stat st;
79254 return st.st_mtim.tv_nsec;
79255
79256 ;
79257 return 0;
79258 }
79259 _ACEOF
79260 if ac_fn_cxx_try_link "$LINENO"; then :
79261 glibcxx_cv_st_mtim=yes
79262 else
79263 glibcxx_cv_st_mtim=no
79264 fi
79265 rm -f core conftest.err conftest.$ac_objext \
79266 conftest$ac_exeext conftest.$ac_ext
79267 fi
79268
79269 fi
79270
79271 if test $glibcxx_cv_st_mtim = yes; then
79272
79273 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
79274
79275 fi
79276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
79277 $as_echo "$glibcxx_cv_st_mtim" >&6; }
79278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
79279 $as_echo_n "checking for fchmod... " >&6; }
79280 if test "${glibcxx_cv_fchmod+set}" = set; then :
79281 $as_echo_n "(cached) " >&6
79282 else
79283 if test x$gcc_no_link = xyes; then
79284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79285 /* end confdefs.h. */
79286 #include <sys/stat.h>
79287 int
79288 main ()
79289 {
79290 fchmod(1, S_IWUSR);
79291 ;
79292 return 0;
79293 }
79294 _ACEOF
79295 if ac_fn_cxx_try_compile "$LINENO"; then :
79296 glibcxx_cv_fchmod=yes
79297 else
79298 glibcxx_cv_fchmod=no
79299 fi
79300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79301 else
79302 if test x$gcc_no_link = xyes; then
79303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79304 fi
79305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79306 /* end confdefs.h. */
79307 #include <sys/stat.h>
79308 int
79309 main ()
79310 {
79311 fchmod(1, S_IWUSR);
79312 ;
79313 return 0;
79314 }
79315 _ACEOF
79316 if ac_fn_cxx_try_link "$LINENO"; then :
79317 glibcxx_cv_fchmod=yes
79318 else
79319 glibcxx_cv_fchmod=no
79320 fi
79321 rm -f core conftest.err conftest.$ac_objext \
79322 conftest$ac_exeext conftest.$ac_ext
79323 fi
79324
79325 fi
79326
79327 if test $glibcxx_cv_fchmod = yes; then
79328
79329 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
79330
79331 fi
79332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
79333 $as_echo "$glibcxx_cv_fchmod" >&6; }
79334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
79335 $as_echo_n "checking for fchmodat... " >&6; }
79336 if test "${glibcxx_cv_fchmodat+set}" = set; then :
79337 $as_echo_n "(cached) " >&6
79338 else
79339 if test x$gcc_no_link = xyes; then
79340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79341 /* end confdefs.h. */
79342
79343 #include <fcntl.h>
79344 #include <sys/stat.h>
79345
79346 int
79347 main ()
79348 {
79349 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79350 ;
79351 return 0;
79352 }
79353 _ACEOF
79354 if ac_fn_cxx_try_compile "$LINENO"; then :
79355 glibcxx_cv_fchmodat=yes
79356 else
79357 glibcxx_cv_fchmodat=no
79358 fi
79359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79360 else
79361 if test x$gcc_no_link = xyes; then
79362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79363 fi
79364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79365 /* end confdefs.h. */
79366
79367 #include <fcntl.h>
79368 #include <sys/stat.h>
79369
79370 int
79371 main ()
79372 {
79373 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79374 ;
79375 return 0;
79376 }
79377 _ACEOF
79378 if ac_fn_cxx_try_link "$LINENO"; then :
79379 glibcxx_cv_fchmodat=yes
79380 else
79381 glibcxx_cv_fchmodat=no
79382 fi
79383 rm -f core conftest.err conftest.$ac_objext \
79384 conftest$ac_exeext conftest.$ac_ext
79385 fi
79386
79387 fi
79388
79389 if test $glibcxx_cv_fchmodat = yes; then
79390
79391 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
79392
79393 fi
79394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
79395 $as_echo "$glibcxx_cv_fchmodat" >&6; }
79396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
79397 $as_echo_n "checking for sendfile that can copy files... " >&6; }
79398 if test "${glibcxx_cv_sendfile+set}" = set; then :
79399 $as_echo_n "(cached) " >&6
79400 else
79401 case "${target_os}" in
79402 gnu* | linux* | solaris*)
79403 if test x$gcc_no_link = xyes; then
79404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79405 /* end confdefs.h. */
79406 #include <sys/sendfile.h>
79407 int
79408 main ()
79409 {
79410 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79411 ;
79412 return 0;
79413 }
79414 _ACEOF
79415 if ac_fn_cxx_try_compile "$LINENO"; then :
79416 glibcxx_cv_sendfile=yes
79417 else
79418 glibcxx_cv_sendfile=no
79419 fi
79420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79421 else
79422 if test x$gcc_no_link = xyes; then
79423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79424 fi
79425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79426 /* end confdefs.h. */
79427 #include <sys/sendfile.h>
79428 int
79429 main ()
79430 {
79431 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79432 ;
79433 return 0;
79434 }
79435 _ACEOF
79436 if ac_fn_cxx_try_link "$LINENO"; then :
79437 glibcxx_cv_sendfile=yes
79438 else
79439 glibcxx_cv_sendfile=no
79440 fi
79441 rm -f core conftest.err conftest.$ac_objext \
79442 conftest$ac_exeext conftest.$ac_ext
79443 fi
79444 ;;
79445 *)
79446 glibcxx_cv_sendfile=no
79447 ;;
79448 esac
79449
79450 fi
79451
79452 if test $glibcxx_cv_sendfile = yes; then
79453
79454 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
79455
79456 fi
79457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
79458 $as_echo "$glibcxx_cv_sendfile" >&6; }
79459 CXXFLAGS="$ac_save_CXXFLAGS"
79460 ac_ext=c
79461 ac_cpp='$CPP $CPPFLAGS'
79462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79465
79466
79467
79468 # Define documentation rules conditionally.
79469
79470 # See if makeinfo has been installed and is modern enough
79471 # that we can use it.
79472
79473 # Extract the first word of "makeinfo", so it can be a program name with args.
79474 set dummy makeinfo; ac_word=$2
79475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79476 $as_echo_n "checking for $ac_word... " >&6; }
79477 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
79478 $as_echo_n "(cached) " >&6
79479 else
79480 if test -n "$MAKEINFO"; then
79481 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
79482 else
79483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79484 for as_dir in $PATH
79485 do
79486 IFS=$as_save_IFS
79487 test -z "$as_dir" && as_dir=.
79488 for ac_exec_ext in '' $ac_executable_extensions; do
79489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79490 ac_cv_prog_MAKEINFO="makeinfo"
79491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79492 break 2
79493 fi
79494 done
79495 done
79496 IFS=$as_save_IFS
79497
79498 fi
79499 fi
79500 MAKEINFO=$ac_cv_prog_MAKEINFO
79501 if test -n "$MAKEINFO"; then
79502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
79503 $as_echo "$MAKEINFO" >&6; }
79504 else
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79506 $as_echo "no" >&6; }
79507 fi
79508
79509
79510 if test -n "$MAKEINFO"; then
79511 # Found it, now check the version.
79512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
79513 $as_echo_n "checking for modern makeinfo... " >&6; }
79514 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
79515 $as_echo_n "(cached) " >&6
79516 else
79517 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
79518 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
79519
79520 case $ac_prog_version in
79521 '') gcc_cv_prog_makeinfo_modern=no;;
79522 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
79523 *) gcc_cv_prog_makeinfo_modern=no;;
79524 esac
79525
79526 fi
79527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
79528 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
79529 else
79530 gcc_cv_prog_makeinfo_modern=no
79531 fi
79532 if test $gcc_cv_prog_makeinfo_modern = no; then
79533 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
79534 fi
79535
79536 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
79537 BUILD_INFO_TRUE=
79538 BUILD_INFO_FALSE='#'
79539 else
79540 BUILD_INFO_TRUE='#'
79541 BUILD_INFO_FALSE=
79542 fi
79543
79544
79545 # Check for doxygen
79546 # Extract the first word of "doxygen", so it can be a program name with args.
79547 set dummy doxygen; ac_word=$2
79548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79549 $as_echo_n "checking for $ac_word... " >&6; }
79550 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
79551 $as_echo_n "(cached) " >&6
79552 else
79553 if test -n "$DOXYGEN"; then
79554 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
79555 else
79556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79557 for as_dir in $PATH
79558 do
79559 IFS=$as_save_IFS
79560 test -z "$as_dir" && as_dir=.
79561 for ac_exec_ext in '' $ac_executable_extensions; do
79562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79563 ac_cv_prog_DOXYGEN="yes"
79564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79565 break 2
79566 fi
79567 done
79568 done
79569 IFS=$as_save_IFS
79570
79571 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
79572 fi
79573 fi
79574 DOXYGEN=$ac_cv_prog_DOXYGEN
79575 if test -n "$DOXYGEN"; then
79576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
79577 $as_echo "$DOXYGEN" >&6; }
79578 else
79579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79580 $as_echo "no" >&6; }
79581 fi
79582
79583
79584 # Extract the first word of "dot", so it can be a program name with args.
79585 set dummy dot; ac_word=$2
79586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79587 $as_echo_n "checking for $ac_word... " >&6; }
79588 if test "${ac_cv_prog_DOT+set}" = set; then :
79589 $as_echo_n "(cached) " >&6
79590 else
79591 if test -n "$DOT"; then
79592 ac_cv_prog_DOT="$DOT" # Let the user override the test.
79593 else
79594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79595 for as_dir in $PATH
79596 do
79597 IFS=$as_save_IFS
79598 test -z "$as_dir" && as_dir=.
79599 for ac_exec_ext in '' $ac_executable_extensions; do
79600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79601 ac_cv_prog_DOT="yes"
79602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79603 break 2
79604 fi
79605 done
79606 done
79607 IFS=$as_save_IFS
79608
79609 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79610 fi
79611 fi
79612 DOT=$ac_cv_prog_DOT
79613 if test -n "$DOT"; then
79614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79615 $as_echo "$DOT" >&6; }
79616 else
79617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79618 $as_echo "no" >&6; }
79619 fi
79620
79621
79622
79623 # Check for docbook
79624 # Extract the first word of "xsltproc", so it can be a program name with args.
79625 set dummy xsltproc; ac_word=$2
79626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79627 $as_echo_n "checking for $ac_word... " >&6; }
79628 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79629 $as_echo_n "(cached) " >&6
79630 else
79631 if test -n "$XSLTPROC"; then
79632 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79633 else
79634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79635 for as_dir in $PATH
79636 do
79637 IFS=$as_save_IFS
79638 test -z "$as_dir" && as_dir=.
79639 for ac_exec_ext in '' $ac_executable_extensions; do
79640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79641 ac_cv_prog_XSLTPROC="yes"
79642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79643 break 2
79644 fi
79645 done
79646 done
79647 IFS=$as_save_IFS
79648
79649 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79650 fi
79651 fi
79652 XSLTPROC=$ac_cv_prog_XSLTPROC
79653 if test -n "$XSLTPROC"; then
79654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79655 $as_echo "$XSLTPROC" >&6; }
79656 else
79657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79658 $as_echo "no" >&6; }
79659 fi
79660
79661
79662 # Extract the first word of "xmllint", so it can be a program name with args.
79663 set dummy xmllint; ac_word=$2
79664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79665 $as_echo_n "checking for $ac_word... " >&6; }
79666 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79667 $as_echo_n "(cached) " >&6
79668 else
79669 if test -n "$XMLLINT"; then
79670 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79671 else
79672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79673 for as_dir in $PATH
79674 do
79675 IFS=$as_save_IFS
79676 test -z "$as_dir" && as_dir=.
79677 for ac_exec_ext in '' $ac_executable_extensions; do
79678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79679 ac_cv_prog_XMLLINT="yes"
79680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79681 break 2
79682 fi
79683 done
79684 done
79685 IFS=$as_save_IFS
79686
79687 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79688 fi
79689 fi
79690 XMLLINT=$ac_cv_prog_XMLLINT
79691 if test -n "$XMLLINT"; then
79692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79693 $as_echo "$XMLLINT" >&6; }
79694 else
79695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79696 $as_echo "no" >&6; }
79697 fi
79698
79699
79700
79701
79702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79703 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79704 glibcxx_stylesheets=no
79705 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
79706 glibcxx_stylesheets=yes
79707 fi
79708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79709 $as_echo "$glibcxx_stylesheets" >&6; }
79710
79711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79712 $as_echo_n "checking for local stylesheet directory... " >&6; }
79713 glibcxx_local_stylesheets=no
79714 if test x"$glibcxx_stylesheets" = x"yes"; then
79715 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79716 glibcxx_local_stylesheets=yes
79717 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79718 fi
79719 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79720 glibcxx_local_stylesheets=yes
79721 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79722 fi
79723 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79724 glibcxx_local_stylesheets=yes
79725 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79726 fi
79727 fi
79728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79729 $as_echo "$glibcxx_local_stylesheets" >&6; }
79730
79731 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79732
79733 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79734 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79735 else
79736 glibcxx_stylesheets=no
79737 fi
79738
79739 # Check for epub3 dependencies.
79740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79741 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79742 glibcxx_epub_stylesheets=no
79743 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79744 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79745 glibcxx_epub_stylesheets=yes
79746 fi
79747 fi
79748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79749 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79750 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79751 BUILD_EPUB_TRUE=
79752 BUILD_EPUB_FALSE='#'
79753 else
79754 BUILD_EPUB_TRUE='#'
79755 BUILD_EPUB_FALSE=
79756 fi
79757
79758
79759
79760
79761 # Check for xml/html dependencies.
79762 if test $ac_cv_prog_DOXYGEN = "yes" &&
79763 test $ac_cv_prog_DOT = "yes" &&
79764 test $ac_cv_prog_XSLTPROC = "yes" &&
79765 test $ac_cv_prog_XMLLINT = "yes" &&
79766 test $glibcxx_stylesheets = "yes"; then
79767 BUILD_XML_TRUE=
79768 BUILD_XML_FALSE='#'
79769 else
79770 BUILD_XML_TRUE='#'
79771 BUILD_XML_FALSE=
79772 fi
79773
79774
79775 if test $ac_cv_prog_DOXYGEN = "yes" &&
79776 test $ac_cv_prog_DOT = "yes" &&
79777 test $ac_cv_prog_XSLTPROC = "yes" &&
79778 test $ac_cv_prog_XMLLINT = "yes" &&
79779 test $glibcxx_stylesheets = "yes"; then
79780 BUILD_HTML_TRUE=
79781 BUILD_HTML_FALSE='#'
79782 else
79783 BUILD_HTML_TRUE='#'
79784 BUILD_HTML_FALSE=
79785 fi
79786
79787
79788 # Check for man dependencies.
79789 if test $ac_cv_prog_DOXYGEN = "yes" &&
79790 test $ac_cv_prog_DOT = "yes"; then
79791 BUILD_MAN_TRUE=
79792 BUILD_MAN_FALSE='#'
79793 else
79794 BUILD_MAN_TRUE='#'
79795 BUILD_MAN_FALSE=
79796 fi
79797
79798
79799 # Check for pdf dependencies.
79800 # Extract the first word of "dblatex", so it can be a program name with args.
79801 set dummy dblatex; ac_word=$2
79802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79803 $as_echo_n "checking for $ac_word... " >&6; }
79804 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79805 $as_echo_n "(cached) " >&6
79806 else
79807 if test -n "$DBLATEX"; then
79808 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79809 else
79810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79811 for as_dir in $PATH
79812 do
79813 IFS=$as_save_IFS
79814 test -z "$as_dir" && as_dir=.
79815 for ac_exec_ext in '' $ac_executable_extensions; do
79816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79817 ac_cv_prog_DBLATEX="yes"
79818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79819 break 2
79820 fi
79821 done
79822 done
79823 IFS=$as_save_IFS
79824
79825 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79826 fi
79827 fi
79828 DBLATEX=$ac_cv_prog_DBLATEX
79829 if test -n "$DBLATEX"; then
79830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79831 $as_echo "$DBLATEX" >&6; }
79832 else
79833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79834 $as_echo "no" >&6; }
79835 fi
79836
79837
79838 # Extract the first word of "pdflatex", so it can be a program name with args.
79839 set dummy pdflatex; ac_word=$2
79840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79841 $as_echo_n "checking for $ac_word... " >&6; }
79842 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79843 $as_echo_n "(cached) " >&6
79844 else
79845 if test -n "$PDFLATEX"; then
79846 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79847 else
79848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79849 for as_dir in $PATH
79850 do
79851 IFS=$as_save_IFS
79852 test -z "$as_dir" && as_dir=.
79853 for ac_exec_ext in '' $ac_executable_extensions; do
79854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79855 ac_cv_prog_PDFLATEX="yes"
79856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79857 break 2
79858 fi
79859 done
79860 done
79861 IFS=$as_save_IFS
79862
79863 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79864 fi
79865 fi
79866 PDFLATEX=$ac_cv_prog_PDFLATEX
79867 if test -n "$PDFLATEX"; then
79868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79869 $as_echo "$PDFLATEX" >&6; }
79870 else
79871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79872 $as_echo "no" >&6; }
79873 fi
79874
79875
79876 if test $ac_cv_prog_DBLATEX = "yes" &&
79877 test $ac_cv_prog_PDFLATEX = "yes"; then
79878 BUILD_PDF_TRUE=
79879 BUILD_PDF_FALSE='#'
79880 else
79881 BUILD_PDF_TRUE='#'
79882 BUILD_PDF_FALSE=
79883 fi
79884
79885
79886
79887 # Propagate the target-specific source directories through the build chain.
79888 ATOMICITY_SRCDIR=config/${atomicity_dir}
79889 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79890 ATOMIC_FLAGS=${atomic_flags}
79891 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79892 OS_INC_SRCDIR=config/${os_include_dir}
79893 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79894 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79895 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79896 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79897
79898
79899
79900
79901
79902
79903
79904
79905
79906
79907
79908 # Determine cross-compile flags and AM_CONDITIONALs.
79909 #AC_SUBST(GLIBCXX_IS_NATIVE)
79910 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79911 if test $is_hosted = yes; then
79912 GLIBCXX_HOSTED_TRUE=
79913 GLIBCXX_HOSTED_FALSE='#'
79914 else
79915 GLIBCXX_HOSTED_TRUE='#'
79916 GLIBCXX_HOSTED_FALSE=
79917 fi
79918
79919
79920 if test $enable_libstdcxx_pch = yes; then
79921 GLIBCXX_BUILD_PCH_TRUE=
79922 GLIBCXX_BUILD_PCH_FALSE='#'
79923 else
79924 GLIBCXX_BUILD_PCH_TRUE='#'
79925 GLIBCXX_BUILD_PCH_FALSE=
79926 fi
79927
79928
79929 if test $enable_cheaders = c; then
79930 GLIBCXX_C_HEADERS_C_TRUE=
79931 GLIBCXX_C_HEADERS_C_FALSE='#'
79932 else
79933 GLIBCXX_C_HEADERS_C_TRUE='#'
79934 GLIBCXX_C_HEADERS_C_FALSE=
79935 fi
79936
79937
79938 if test $enable_cheaders = c_std; then
79939 GLIBCXX_C_HEADERS_C_STD_TRUE=
79940 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79941 else
79942 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79943 GLIBCXX_C_HEADERS_C_STD_FALSE=
79944 fi
79945
79946
79947 if test $enable_cheaders = c_global; then
79948 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79949 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79950 else
79951 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79952 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79953 fi
79954
79955
79956 if test $c_compatibility = yes; then
79957 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79958 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79959 else
79960 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79961 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79962 fi
79963
79964
79965 if test $enable_libstdcxx_debug = yes; then
79966 GLIBCXX_BUILD_DEBUG_TRUE=
79967 GLIBCXX_BUILD_DEBUG_FALSE='#'
79968 else
79969 GLIBCXX_BUILD_DEBUG_TRUE='#'
79970 GLIBCXX_BUILD_DEBUG_FALSE=
79971 fi
79972
79973
79974 if test $enable_extern_template = yes; then
79975 ENABLE_EXTERN_TEMPLATE_TRUE=
79976 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79977 else
79978 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79979 ENABLE_EXTERN_TEMPLATE_FALSE=
79980 fi
79981
79982
79983 if test $python_mod_dir != no; then
79984 ENABLE_PYTHONDIR_TRUE=
79985 ENABLE_PYTHONDIR_FALSE='#'
79986 else
79987 ENABLE_PYTHONDIR_TRUE='#'
79988 ENABLE_PYTHONDIR_FALSE=
79989 fi
79990
79991
79992 if test $enable_werror = yes; then
79993 ENABLE_WERROR_TRUE=
79994 ENABLE_WERROR_FALSE='#'
79995 else
79996 ENABLE_WERROR_TRUE='#'
79997 ENABLE_WERROR_FALSE=
79998 fi
79999
80000
80001 if test $enable_vtable_verify = yes; then
80002 ENABLE_VTABLE_VERIFY_TRUE=
80003 ENABLE_VTABLE_VERIFY_FALSE='#'
80004 else
80005 ENABLE_VTABLE_VERIFY_TRUE='#'
80006 ENABLE_VTABLE_VERIFY_FALSE=
80007 fi
80008
80009
80010 if test $enable_symvers != no; then
80011 ENABLE_SYMVERS_TRUE=
80012 ENABLE_SYMVERS_FALSE='#'
80013 else
80014 ENABLE_SYMVERS_TRUE='#'
80015 ENABLE_SYMVERS_FALSE=
80016 fi
80017
80018
80019 if test $enable_symvers = gnu; then
80020 ENABLE_SYMVERS_GNU_TRUE=
80021 ENABLE_SYMVERS_GNU_FALSE='#'
80022 else
80023 ENABLE_SYMVERS_GNU_TRUE='#'
80024 ENABLE_SYMVERS_GNU_FALSE=
80025 fi
80026
80027
80028 if test $enable_symvers = gnu-versioned-namespace; then
80029 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80030 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80031 else
80032 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80033 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
80034 fi
80035
80036
80037 if test $enable_symvers = darwin; then
80038 ENABLE_SYMVERS_DARWIN_TRUE=
80039 ENABLE_SYMVERS_DARWIN_FALSE='#'
80040 else
80041 ENABLE_SYMVERS_DARWIN_TRUE='#'
80042 ENABLE_SYMVERS_DARWIN_FALSE=
80043 fi
80044
80045
80046 if test $enable_symvers = sun; then
80047 ENABLE_SYMVERS_SUN_TRUE=
80048 ENABLE_SYMVERS_SUN_FALSE='#'
80049 else
80050 ENABLE_SYMVERS_SUN_TRUE='#'
80051 ENABLE_SYMVERS_SUN_FALSE=
80052 fi
80053
80054
80055 if test $enable_libstdcxx_visibility = yes; then
80056 ENABLE_VISIBILITY_TRUE=
80057 ENABLE_VISIBILITY_FALSE='#'
80058 else
80059 ENABLE_VISIBILITY_TRUE='#'
80060 ENABLE_VISIBILITY_FALSE=
80061 fi
80062
80063
80064 if test $enable_libstdcxx_dual_abi = yes; then
80065 ENABLE_DUAL_ABI_TRUE=
80066 ENABLE_DUAL_ABI_FALSE='#'
80067 else
80068 ENABLE_DUAL_ABI_TRUE='#'
80069 ENABLE_DUAL_ABI_FALSE=
80070 fi
80071
80072
80073 if test $glibcxx_cxx11_abi = 1; then
80074 ENABLE_CXX11_ABI_TRUE=
80075 ENABLE_CXX11_ABI_FALSE='#'
80076 else
80077 ENABLE_CXX11_ABI_TRUE='#'
80078 ENABLE_CXX11_ABI_FALSE=
80079 fi
80080
80081
80082 if test $ac_ldbl_compat = yes; then
80083 GLIBCXX_LDBL_COMPAT_TRUE=
80084 GLIBCXX_LDBL_COMPAT_FALSE='#'
80085 else
80086 GLIBCXX_LDBL_COMPAT_TRUE='#'
80087 GLIBCXX_LDBL_COMPAT_FALSE=
80088 fi
80089
80090
80091 if test $enable_libstdcxx_filesystem_ts = yes; then
80092 ENABLE_FILESYSTEM_TS_TRUE=
80093 ENABLE_FILESYSTEM_TS_FALSE='#'
80094 else
80095 ENABLE_FILESYSTEM_TS_TRUE='#'
80096 ENABLE_FILESYSTEM_TS_FALSE=
80097 fi
80098
80099
80100
80101
80102 cat >confcache <<\_ACEOF
80103 # This file is a shell script that caches the results of configure
80104 # tests run on this system so they can be shared between configure
80105 # scripts and configure runs, see configure's option --config-cache.
80106 # It is not useful on other systems. If it contains results you don't
80107 # want to keep, you may remove or edit it.
80108 #
80109 # config.status only pays attention to the cache file if you give it
80110 # the --recheck option to rerun configure.
80111 #
80112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80114 # following values.
80115
80116 _ACEOF
80117
80118 # The following way of writing the cache mishandles newlines in values,
80119 # but we know of no workaround that is simple, portable, and efficient.
80120 # So, we kill variables containing newlines.
80121 # Ultrix sh set writes to stderr and can't be redirected directly,
80122 # and sets the high bit in the cache file unless we assign to the vars.
80123 (
80124 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80125 eval ac_val=\$$ac_var
80126 case $ac_val in #(
80127 *${as_nl}*)
80128 case $ac_var in #(
80129 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80130 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80131 esac
80132 case $ac_var in #(
80133 _ | IFS | as_nl) ;; #(
80134 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80135 *) { eval $ac_var=; unset $ac_var;} ;;
80136 esac ;;
80137 esac
80138 done
80139
80140 (set) 2>&1 |
80141 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80142 *${as_nl}ac_space=\ *)
80143 # `set' does not quote correctly, so add quotes: double-quote
80144 # substitution turns \\\\ into \\, and sed turns \\ into \.
80145 sed -n \
80146 "s/'/'\\\\''/g;
80147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80148 ;; #(
80149 *)
80150 # `set' quotes correctly as required by POSIX, so do not add quotes.
80151 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80152 ;;
80153 esac |
80154 sort
80155 ) |
80156 sed '
80157 /^ac_cv_env_/b end
80158 t clear
80159 :clear
80160 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80161 t end
80162 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80163 :end' >>confcache
80164 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80165 if test -w "$cache_file"; then
80166 test "x$cache_file" != "x/dev/null" &&
80167 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80168 $as_echo "$as_me: updating cache $cache_file" >&6;}
80169 cat confcache >$cache_file
80170 else
80171 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80172 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80173 fi
80174 fi
80175 rm -f confcache
80176
80177 if test ${multilib} = yes; then
80178 multilib_arg="--enable-multilib"
80179 else
80180 multilib_arg=
80181 fi
80182
80183 # Export all the install information.
80184
80185 glibcxx_toolexecdir=no
80186 glibcxx_toolexeclibdir=no
80187 glibcxx_prefixdir=$prefix
80188
80189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80190 $as_echo_n "checking for gxx-include-dir... " >&6; }
80191
80192 # Check whether --with-gxx-include-dir was given.
80193 if test "${with_gxx_include_dir+set}" = set; then :
80194 withval=$with_gxx_include_dir; case "$withval" in
80195 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80196 no) gxx_include_dir=no ;;
80197 *) gxx_include_dir=$withval ;;
80198 esac
80199 else
80200 gxx_include_dir=no
80201 fi
80202
80203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80204 $as_echo "$gxx_include_dir" >&6; }
80205
80206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80207 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80208 # Check whether --enable-version-specific-runtime-libs was given.
80209 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80210 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80211 yes) version_specific_libs=yes ;;
80212 no) version_specific_libs=no ;;
80213 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80214 esac
80215 else
80216 version_specific_libs=no
80217 fi
80218
80219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
80220 $as_echo "$version_specific_libs" >&6; }
80221
80222 # Default case for install directory for include files.
80223 if test $version_specific_libs = no && test $gxx_include_dir = no; then
80224 gxx_include_dir='include/c++/${gcc_version}'
80225 if test -n "$with_cross_host" &&
80226 test x"$with_cross_host" != x"no"; then
80227 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
80228 else
80229 gxx_include_dir='${prefix}/'"$gxx_include_dir"
80230 fi
80231 fi
80232
80233 # Version-specific runtime libs processing.
80234 if test $version_specific_libs = yes; then
80235 # Need the gcc compiler version to know where to install libraries
80236 # and header files if --enable-version-specific-runtime-libs option
80237 # is selected. FIXME: these variables are misnamed, there are
80238 # no executables installed in _toolexecdir or _toolexeclibdir.
80239 if test x"$gxx_include_dir" = x"no"; then
80240 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
80241 fi
80242 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80243 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
80244 fi
80245
80246 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
80247 # Install a library built with a cross compiler in tooldir, not libdir.
80248 if test x"$glibcxx_toolexecdir" = x"no"; then
80249 if test -n "$with_cross_host" &&
80250 test x"$with_cross_host" != x"no"; then
80251 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
80252 glibcxx_toolexeclibdir='${toolexecdir}/lib'
80253 else
80254 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80255 glibcxx_toolexeclibdir='${libdir}'
80256 fi
80257 multi_os_directory=`$CXX -print-multi-os-directory`
80258 case $multi_os_directory in
80259 .) ;; # Avoid trailing /.
80260 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
80261 esac
80262 fi
80263
80264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
80265 $as_echo_n "checking for install location... " >&6; }
80266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80267 $as_echo "$gxx_include_dir" >&6; }
80268
80269
80270
80271
80272
80273
80274
80275 # Export all the include and flag information to Makefiles.
80276
80277 # Used for every C++ compile we perform.
80278 GLIBCXX_INCLUDES="\
80279 -I$glibcxx_builddir/include/$host_alias \
80280 -I$glibcxx_builddir/include \
80281 -I$glibcxx_srcdir/libsupc++"
80282
80283 # For Canadian crosses, pick this up too.
80284 if test $CANADIAN = yes; then
80285 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
80286 fi
80287
80288 # Stuff in the actual top level. Currently only used by libsupc++ to
80289 # get unwind* headers from the libgcc dir.
80290 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
80291 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
80292
80293 # Now, export this to all the little Makefiles....
80294
80295
80296
80297
80298 # Optimization flags that are probably a good idea for thrill-seekers. Just
80299 # uncomment the lines below and make, everything else is ready to go...
80300 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
80301 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
80302
80303
80304 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
80305
80306
80307
80308 ac_config_files="$ac_config_files Makefile"
80309
80310 ac_config_files="$ac_config_files scripts/testsuite_flags"
80311
80312 ac_config_files="$ac_config_files scripts/extract_symvers"
80313
80314 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
80315
80316
80317 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
80318 # that multilib installs will end up installed in the correct place.
80319 # The testsuite needs it for multilib-aware ABI baseline files.
80320 # To work around this not being passed down from config-ml.in ->
80321 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
80322 # append it here. Only modify Makefiles that have just been created.
80323 #
80324 # Also, get rid of this simulated-VPATH thing that automake does.
80325 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
80326
80327
80328 ac_config_commands="$ac_config_commands generate-headers"
80329
80330
80331 cat >confcache <<\_ACEOF
80332 # This file is a shell script that caches the results of configure
80333 # tests run on this system so they can be shared between configure
80334 # scripts and configure runs, see configure's option --config-cache.
80335 # It is not useful on other systems. If it contains results you don't
80336 # want to keep, you may remove or edit it.
80337 #
80338 # config.status only pays attention to the cache file if you give it
80339 # the --recheck option to rerun configure.
80340 #
80341 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80342 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80343 # following values.
80344
80345 _ACEOF
80346
80347 # The following way of writing the cache mishandles newlines in values,
80348 # but we know of no workaround that is simple, portable, and efficient.
80349 # So, we kill variables containing newlines.
80350 # Ultrix sh set writes to stderr and can't be redirected directly,
80351 # and sets the high bit in the cache file unless we assign to the vars.
80352 (
80353 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80354 eval ac_val=\$$ac_var
80355 case $ac_val in #(
80356 *${as_nl}*)
80357 case $ac_var in #(
80358 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80359 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80360 esac
80361 case $ac_var in #(
80362 _ | IFS | as_nl) ;; #(
80363 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80364 *) { eval $ac_var=; unset $ac_var;} ;;
80365 esac ;;
80366 esac
80367 done
80368
80369 (set) 2>&1 |
80370 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80371 *${as_nl}ac_space=\ *)
80372 # `set' does not quote correctly, so add quotes: double-quote
80373 # substitution turns \\\\ into \\, and sed turns \\ into \.
80374 sed -n \
80375 "s/'/'\\\\''/g;
80376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80377 ;; #(
80378 *)
80379 # `set' quotes correctly as required by POSIX, so do not add quotes.
80380 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80381 ;;
80382 esac |
80383 sort
80384 ) |
80385 sed '
80386 /^ac_cv_env_/b end
80387 t clear
80388 :clear
80389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80390 t end
80391 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80392 :end' >>confcache
80393 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80394 if test -w "$cache_file"; then
80395 test "x$cache_file" != "x/dev/null" &&
80396 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80397 $as_echo "$as_me: updating cache $cache_file" >&6;}
80398 cat confcache >$cache_file
80399 else
80400 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80401 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80402 fi
80403 fi
80404 rm -f confcache
80405
80406 test "x$prefix" = xNONE && prefix=$ac_default_prefix
80407 # Let make expand exec_prefix.
80408 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
80409
80410 DEFS=-DHAVE_CONFIG_H
80411
80412 ac_libobjs=
80413 ac_ltlibobjs=
80414 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
80415 # 1. Remove the extension, and $U if already installed.
80416 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
80417 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
80418 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
80419 # will be set to the directory where LIBOBJS objects are built.
80420 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
80421 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
80422 done
80423 LIBOBJS=$ac_libobjs
80424
80425 LTLIBOBJS=$ac_ltlibobjs
80426
80427
80428 if test -n "$EXEEXT"; then
80429 am__EXEEXT_TRUE=
80430 am__EXEEXT_FALSE='#'
80431 else
80432 am__EXEEXT_TRUE='#'
80433 am__EXEEXT_FALSE=
80434 fi
80435
80436 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
80437 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
80438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80439 fi
80440 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
80441 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
80442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80443 fi
80444 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
80445 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
80446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80447 fi
80448 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
80449 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
80450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80451 fi
80452 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
80453 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
80454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80455 fi
80456 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
80457 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
80458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80459 fi
80460 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
80461 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
80462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80463 fi
80464 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
80465 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
80466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80467 fi
80468 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
80469 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
80470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80471 fi
80472 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
80473 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
80474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80475 fi
80476 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
80477 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
80478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80479 fi
80480 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
80481 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
80482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80483 fi
80484 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
80485 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
80486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80487 fi
80488 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
80489 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
80490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80491 fi
80492 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
80493 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
80494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80495 fi
80496 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
80497 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
80498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80499 fi
80500 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
80501 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
80502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80503 fi
80504 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
80505 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
80506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80507 fi
80508 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
80509 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
80510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80511 fi
80512 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
80513 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
80514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80515 fi
80516 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
80517 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
80518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80519 fi
80520 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
80521 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
80522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80523 fi
80524 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
80525 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
80526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80527 fi
80528 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
80529 as_fn_error "conditional \"BUILD_INFO\" was never defined.
80530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80531 fi
80532 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
80533 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
80534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80535 fi
80536 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
80537 as_fn_error "conditional \"BUILD_XML\" was never defined.
80538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80539 fi
80540 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
80541 as_fn_error "conditional \"BUILD_HTML\" was never defined.
80542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80543 fi
80544 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
80545 as_fn_error "conditional \"BUILD_MAN\" was never defined.
80546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80547 fi
80548 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
80549 as_fn_error "conditional \"BUILD_PDF\" was never defined.
80550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80551 fi
80552
80553 : ${CONFIG_STATUS=./config.status}
80554 ac_write_fail=0
80555 ac_clean_files_save=$ac_clean_files
80556 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
80557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
80558 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
80559 as_write_fail=0
80560 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
80561 #! $SHELL
80562 # Generated by $as_me.
80563 # Run this file to recreate the current configuration.
80564 # Compiler output produced by configure, useful for debugging
80565 # configure, is in config.log if it exists.
80566
80567 debug=false
80568 ac_cs_recheck=false
80569 ac_cs_silent=false
80570
80571 SHELL=\${CONFIG_SHELL-$SHELL}
80572 export SHELL
80573 _ASEOF
80574 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
80575 ## -------------------- ##
80576 ## M4sh Initialization. ##
80577 ## -------------------- ##
80578
80579 # Be more Bourne compatible
80580 DUALCASE=1; export DUALCASE # for MKS sh
80581 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
80582 emulate sh
80583 NULLCMD=:
80584 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
80585 # is contrary to our usage. Disable this feature.
80586 alias -g '${1+"$@"}'='"$@"'
80587 setopt NO_GLOB_SUBST
80588 else
80589 case `(set -o) 2>/dev/null` in #(
80590 *posix*) :
80591 set -o posix ;; #(
80592 *) :
80593 ;;
80594 esac
80595 fi
80596
80597
80598 as_nl='
80599 '
80600 export as_nl
80601 # Printing a long string crashes Solaris 7 /usr/bin/printf.
80602 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
80603 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
80604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
80605 # Prefer a ksh shell builtin over an external printf program on Solaris,
80606 # but without wasting forks for bash or zsh.
80607 if test -z "$BASH_VERSION$ZSH_VERSION" \
80608 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80609 as_echo='print -r --'
80610 as_echo_n='print -rn --'
80611 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80612 as_echo='printf %s\n'
80613 as_echo_n='printf %s'
80614 else
80615 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80616 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80617 as_echo_n='/usr/ucb/echo -n'
80618 else
80619 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80620 as_echo_n_body='eval
80621 arg=$1;
80622 case $arg in #(
80623 *"$as_nl"*)
80624 expr "X$arg" : "X\\(.*\\)$as_nl";
80625 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80626 esac;
80627 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80628 '
80629 export as_echo_n_body
80630 as_echo_n='sh -c $as_echo_n_body as_echo'
80631 fi
80632 export as_echo_body
80633 as_echo='sh -c $as_echo_body as_echo'
80634 fi
80635
80636 # The user is always right.
80637 if test "${PATH_SEPARATOR+set}" != set; then
80638 PATH_SEPARATOR=:
80639 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80640 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80641 PATH_SEPARATOR=';'
80642 }
80643 fi
80644
80645
80646 # IFS
80647 # We need space, tab and new line, in precisely that order. Quoting is
80648 # there to prevent editors from complaining about space-tab.
80649 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80650 # splitting by setting IFS to empty value.)
80651 IFS=" "" $as_nl"
80652
80653 # Find who we are. Look in the path if we contain no directory separator.
80654 case $0 in #((
80655 *[\\/]* ) as_myself=$0 ;;
80656 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80657 for as_dir in $PATH
80658 do
80659 IFS=$as_save_IFS
80660 test -z "$as_dir" && as_dir=.
80661 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80662 done
80663 IFS=$as_save_IFS
80664
80665 ;;
80666 esac
80667 # We did not find ourselves, most probably we were run as `sh COMMAND'
80668 # in which case we are not to be found in the path.
80669 if test "x$as_myself" = x; then
80670 as_myself=$0
80671 fi
80672 if test ! -f "$as_myself"; then
80673 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80674 exit 1
80675 fi
80676
80677 # Unset variables that we do not need and which cause bugs (e.g. in
80678 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80679 # suppresses any "Segmentation fault" message there. '((' could
80680 # trigger a bug in pdksh 5.2.14.
80681 for as_var in BASH_ENV ENV MAIL MAILPATH
80682 do eval test x\${$as_var+set} = xset \
80683 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80684 done
80685 PS1='$ '
80686 PS2='> '
80687 PS4='+ '
80688
80689 # NLS nuisances.
80690 LC_ALL=C
80691 export LC_ALL
80692 LANGUAGE=C
80693 export LANGUAGE
80694
80695 # CDPATH.
80696 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80697
80698
80699 # as_fn_error ERROR [LINENO LOG_FD]
80700 # ---------------------------------
80701 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80702 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80703 # script with status $?, using 1 if that was 0.
80704 as_fn_error ()
80705 {
80706 as_status=$?; test $as_status -eq 0 && as_status=1
80707 if test "$3"; then
80708 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80709 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80710 fi
80711 $as_echo "$as_me: error: $1" >&2
80712 as_fn_exit $as_status
80713 } # as_fn_error
80714
80715
80716 # as_fn_set_status STATUS
80717 # -----------------------
80718 # Set $? to STATUS, without forking.
80719 as_fn_set_status ()
80720 {
80721 return $1
80722 } # as_fn_set_status
80723
80724 # as_fn_exit STATUS
80725 # -----------------
80726 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80727 as_fn_exit ()
80728 {
80729 set +e
80730 as_fn_set_status $1
80731 exit $1
80732 } # as_fn_exit
80733
80734 # as_fn_unset VAR
80735 # ---------------
80736 # Portably unset VAR.
80737 as_fn_unset ()
80738 {
80739 { eval $1=; unset $1;}
80740 }
80741 as_unset=as_fn_unset
80742 # as_fn_append VAR VALUE
80743 # ----------------------
80744 # Append the text in VALUE to the end of the definition contained in VAR. Take
80745 # advantage of any shell optimizations that allow amortized linear growth over
80746 # repeated appends, instead of the typical quadratic growth present in naive
80747 # implementations.
80748 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80749 eval 'as_fn_append ()
80750 {
80751 eval $1+=\$2
80752 }'
80753 else
80754 as_fn_append ()
80755 {
80756 eval $1=\$$1\$2
80757 }
80758 fi # as_fn_append
80759
80760 # as_fn_arith ARG...
80761 # ------------------
80762 # Perform arithmetic evaluation on the ARGs, and store the result in the
80763 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80764 # must be portable across $(()) and expr.
80765 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80766 eval 'as_fn_arith ()
80767 {
80768 as_val=$(( $* ))
80769 }'
80770 else
80771 as_fn_arith ()
80772 {
80773 as_val=`expr "$@" || test $? -eq 1`
80774 }
80775 fi # as_fn_arith
80776
80777
80778 if expr a : '\(a\)' >/dev/null 2>&1 &&
80779 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80780 as_expr=expr
80781 else
80782 as_expr=false
80783 fi
80784
80785 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80786 as_basename=basename
80787 else
80788 as_basename=false
80789 fi
80790
80791 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80792 as_dirname=dirname
80793 else
80794 as_dirname=false
80795 fi
80796
80797 as_me=`$as_basename -- "$0" ||
80798 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80799 X"$0" : 'X\(//\)$' \| \
80800 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80801 $as_echo X/"$0" |
80802 sed '/^.*\/\([^/][^/]*\)\/*$/{
80803 s//\1/
80804 q
80805 }
80806 /^X\/\(\/\/\)$/{
80807 s//\1/
80808 q
80809 }
80810 /^X\/\(\/\).*/{
80811 s//\1/
80812 q
80813 }
80814 s/.*/./; q'`
80815
80816 # Avoid depending upon Character Ranges.
80817 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80818 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80819 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80820 as_cr_digits='0123456789'
80821 as_cr_alnum=$as_cr_Letters$as_cr_digits
80822
80823 ECHO_C= ECHO_N= ECHO_T=
80824 case `echo -n x` in #(((((
80825 -n*)
80826 case `echo 'xy\c'` in
80827 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80828 xy) ECHO_C='\c';;
80829 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80830 ECHO_T=' ';;
80831 esac;;
80832 *)
80833 ECHO_N='-n';;
80834 esac
80835
80836 rm -f conf$$ conf$$.exe conf$$.file
80837 if test -d conf$$.dir; then
80838 rm -f conf$$.dir/conf$$.file
80839 else
80840 rm -f conf$$.dir
80841 mkdir conf$$.dir 2>/dev/null
80842 fi
80843 if (echo >conf$$.file) 2>/dev/null; then
80844 if ln -s conf$$.file conf$$ 2>/dev/null; then
80845 as_ln_s='ln -s'
80846 # ... but there are two gotchas:
80847 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80848 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80849 # In both cases, we have to default to `cp -p'.
80850 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80851 as_ln_s='cp -p'
80852 elif ln conf$$.file conf$$ 2>/dev/null; then
80853 as_ln_s=ln
80854 else
80855 as_ln_s='cp -p'
80856 fi
80857 else
80858 as_ln_s='cp -p'
80859 fi
80860 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80861 rmdir conf$$.dir 2>/dev/null
80862
80863
80864 # as_fn_mkdir_p
80865 # -------------
80866 # Create "$as_dir" as a directory, including parents if necessary.
80867 as_fn_mkdir_p ()
80868 {
80869
80870 case $as_dir in #(
80871 -*) as_dir=./$as_dir;;
80872 esac
80873 test -d "$as_dir" || eval $as_mkdir_p || {
80874 as_dirs=
80875 while :; do
80876 case $as_dir in #(
80877 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80878 *) as_qdir=$as_dir;;
80879 esac
80880 as_dirs="'$as_qdir' $as_dirs"
80881 as_dir=`$as_dirname -- "$as_dir" ||
80882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80883 X"$as_dir" : 'X\(//\)[^/]' \| \
80884 X"$as_dir" : 'X\(//\)$' \| \
80885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80886 $as_echo X"$as_dir" |
80887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80888 s//\1/
80889 q
80890 }
80891 /^X\(\/\/\)[^/].*/{
80892 s//\1/
80893 q
80894 }
80895 /^X\(\/\/\)$/{
80896 s//\1/
80897 q
80898 }
80899 /^X\(\/\).*/{
80900 s//\1/
80901 q
80902 }
80903 s/.*/./; q'`
80904 test -d "$as_dir" && break
80905 done
80906 test -z "$as_dirs" || eval "mkdir $as_dirs"
80907 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80908
80909
80910 } # as_fn_mkdir_p
80911 if mkdir -p . 2>/dev/null; then
80912 as_mkdir_p='mkdir -p "$as_dir"'
80913 else
80914 test -d ./-p && rmdir ./-p
80915 as_mkdir_p=false
80916 fi
80917
80918 if test -x / >/dev/null 2>&1; then
80919 as_test_x='test -x'
80920 else
80921 if ls -dL / >/dev/null 2>&1; then
80922 as_ls_L_option=L
80923 else
80924 as_ls_L_option=
80925 fi
80926 as_test_x='
80927 eval sh -c '\''
80928 if test -d "$1"; then
80929 test -d "$1/.";
80930 else
80931 case $1 in #(
80932 -*)set "./$1";;
80933 esac;
80934 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80935 ???[sx]*):;;*)false;;esac;fi
80936 '\'' sh
80937 '
80938 fi
80939 as_executable_p=$as_test_x
80940
80941 # Sed expression to map a string onto a valid CPP name.
80942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80943
80944 # Sed expression to map a string onto a valid variable name.
80945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80946
80947
80948 exec 6>&1
80949 ## ----------------------------------- ##
80950 ## Main body of $CONFIG_STATUS script. ##
80951 ## ----------------------------------- ##
80952 _ASEOF
80953 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80954
80955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80956 # Save the log message, to keep $0 and so on meaningful, and to
80957 # report actual input values of CONFIG_FILES etc. instead of their
80958 # values after options handling.
80959 ac_log="
80960 This file was extended by package-unused $as_me version-unused, which was
80961 generated by GNU Autoconf 2.64. Invocation command line was
80962
80963 CONFIG_FILES = $CONFIG_FILES
80964 CONFIG_HEADERS = $CONFIG_HEADERS
80965 CONFIG_LINKS = $CONFIG_LINKS
80966 CONFIG_COMMANDS = $CONFIG_COMMANDS
80967 $ $0 $@
80968
80969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80970 "
80971
80972 _ACEOF
80973
80974 case $ac_config_files in *"
80975 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80976 esac
80977
80978 case $ac_config_headers in *"
80979 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80980 esac
80981
80982
80983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80984 # Files that config.status was made for.
80985 config_files="$ac_config_files"
80986 config_headers="$ac_config_headers"
80987 config_commands="$ac_config_commands"
80988
80989 _ACEOF
80990
80991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80992 ac_cs_usage="\
80993 \`$as_me' instantiates files and other configuration actions
80994 from templates according to the current configuration. Unless the files
80995 and actions are specified as TAGs, all are instantiated by default.
80996
80997 Usage: $0 [OPTION]... [TAG]...
80998
80999 -h, --help print this help, then exit
81000 -V, --version print version number and configuration settings, then exit
81001 -q, --quiet, --silent
81002 do not print progress messages
81003 -d, --debug don't remove temporary files
81004 --recheck update $as_me by reconfiguring in the same conditions
81005 --file=FILE[:TEMPLATE]
81006 instantiate the configuration file FILE
81007 --header=FILE[:TEMPLATE]
81008 instantiate the configuration header FILE
81009
81010 Configuration files:
81011 $config_files
81012
81013 Configuration headers:
81014 $config_headers
81015
81016 Configuration commands:
81017 $config_commands
81018
81019 Report bugs to the package provider."
81020
81021 _ACEOF
81022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81023 ac_cs_version="\\
81024 package-unused config.status version-unused
81025 configured by $0, generated by GNU Autoconf 2.64,
81026 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81027
81028 Copyright (C) 2009 Free Software Foundation, Inc.
81029 This config.status script is free software; the Free Software Foundation
81030 gives unlimited permission to copy, distribute and modify it."
81031
81032 ac_pwd='$ac_pwd'
81033 srcdir='$srcdir'
81034 INSTALL='$INSTALL'
81035 MKDIR_P='$MKDIR_P'
81036 AWK='$AWK'
81037 test -n "\$AWK" || AWK=awk
81038 _ACEOF
81039
81040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81041 # The default lists apply if the user does not specify any file.
81042 ac_need_defaults=:
81043 while test $# != 0
81044 do
81045 case $1 in
81046 --*=*)
81047 ac_option=`expr "X$1" : 'X\([^=]*\)='`
81048 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
81049 ac_shift=:
81050 ;;
81051 *)
81052 ac_option=$1
81053 ac_optarg=$2
81054 ac_shift=shift
81055 ;;
81056 esac
81057
81058 case $ac_option in
81059 # Handling of the options.
81060 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
81061 ac_cs_recheck=: ;;
81062 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
81063 $as_echo "$ac_cs_version"; exit ;;
81064 --debug | --debu | --deb | --de | --d | -d )
81065 debug=: ;;
81066 --file | --fil | --fi | --f )
81067 $ac_shift
81068 case $ac_optarg in
81069 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81070 esac
81071 as_fn_append CONFIG_FILES " '$ac_optarg'"
81072 ac_need_defaults=false;;
81073 --header | --heade | --head | --hea )
81074 $ac_shift
81075 case $ac_optarg in
81076 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81077 esac
81078 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
81079 ac_need_defaults=false;;
81080 --he | --h)
81081 # Conflict between --help and --header
81082 as_fn_error "ambiguous option: \`$1'
81083 Try \`$0 --help' for more information.";;
81084 --help | --hel | -h )
81085 $as_echo "$ac_cs_usage"; exit ;;
81086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
81087 | -silent | --silent | --silen | --sile | --sil | --si | --s)
81088 ac_cs_silent=: ;;
81089
81090 # This is an error.
81091 -*) as_fn_error "unrecognized option: \`$1'
81092 Try \`$0 --help' for more information." ;;
81093
81094 *) as_fn_append ac_config_targets " $1"
81095 ac_need_defaults=false ;;
81096
81097 esac
81098 shift
81099 done
81100
81101 ac_configure_extra_args=
81102
81103 if $ac_cs_silent; then
81104 exec 6>/dev/null
81105 ac_configure_extra_args="$ac_configure_extra_args --silent"
81106 fi
81107
81108 _ACEOF
81109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81110 if \$ac_cs_recheck; then
81111 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81112 shift
81113 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
81114 CONFIG_SHELL='$SHELL'
81115 export CONFIG_SHELL
81116 exec "\$@"
81117 fi
81118
81119 _ACEOF
81120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81121 exec 5>>config.log
81122 {
81123 echo
81124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
81125 ## Running $as_me. ##
81126 _ASBOX
81127 $as_echo "$ac_log"
81128 } >&5
81129
81130 _ACEOF
81131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81132 #
81133 # INIT-COMMANDS
81134 #
81135
81136 srcdir="$srcdir"
81137 host="$host"
81138 target="$target"
81139 with_multisubdir="$with_multisubdir"
81140 with_multisrctop="$with_multisrctop"
81141 with_target_subdir="$with_target_subdir"
81142 ac_configure_args="${multilib_arg} ${ac_configure_args}"
81143 multi_basedir="$multi_basedir"
81144 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
81145 CC="$CC"
81146 CXX="$CXX"
81147 GFORTRAN="$GFORTRAN"
81148 GCJ="$GCJ"
81149
81150
81151 # The HP-UX ksh and POSIX shell print the target directory to stdout
81152 # if CDPATH is set.
81153 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81154
81155 sed_quote_subst='$sed_quote_subst'
81156 double_quote_subst='$double_quote_subst'
81157 delay_variable_subst='$delay_variable_subst'
81158 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
81159 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
81160 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
81161 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
81162 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
81163 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
81164 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
81165 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
81166 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
81167 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
81168 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
81169 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
81170 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
81171 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
81172 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
81173 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
81174 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
81175 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
81176 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
81177 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
81178 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
81179 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
81180 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
81181 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
81182 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81183 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81184 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81185 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81186 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81187 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81188 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81189 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81190 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81191 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81192 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81193 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81194 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81195 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81196 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81197 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81198 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81199 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81200 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81201 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81202 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81203 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81204 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81205 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81206 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"`'
81207 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81208 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81209 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81210 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81211 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81212 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81213 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81214 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81215 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81216 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81217 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81218 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
81219 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
81220 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
81221 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
81222 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81223 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
81224 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
81225 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
81226 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
81227 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
81228 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
81229 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81230 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
81231 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81232 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
81233 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81234 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
81235 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
81236 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
81237 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
81238 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
81239 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
81240 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
81241 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
81242 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
81243 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
81244 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
81245 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
81246 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
81247 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
81248 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
81249 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
81250 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
81251 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
81252 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
81253 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
81254 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
81255 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
81256 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
81257 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
81258 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
81259 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
81260 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
81261 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
81262 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
81263 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
81264 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
81265 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81266 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81267 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
81268 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
81269 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
81270 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
81271 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
81272 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
81273 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
81274 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
81275 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
81276 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
81277 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
81278 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
81279 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
81280 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
81281 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
81282 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
81283 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
81284 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
81285 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
81286 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81287 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81288 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
81289 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
81290 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
81291 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
81292 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
81293 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
81294 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
81295 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
81296 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
81297 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81298 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81299 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
81300 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81301 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81302 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81303 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81304 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81305 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81306 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
81307 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81308 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81309 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81310 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
81311 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
81312 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
81313 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
81314 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
81315 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
81316 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
81317 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
81318 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
81319 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
81320 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
81321 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81322 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81323 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81324 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81325 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
81326 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
81327 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
81328 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81329 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81330 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
81331 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
81332 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
81333
81334 LTCC='$LTCC'
81335 LTCFLAGS='$LTCFLAGS'
81336 compiler='$compiler_DEFAULT'
81337
81338 # A function that is used when there is no print builtin or printf.
81339 func_fallback_echo ()
81340 {
81341 eval 'cat <<_LTECHO_EOF
81342 \$1
81343 _LTECHO_EOF'
81344 }
81345
81346 # Quote evaled strings.
81347 for var in SHELL \
81348 ECHO \
81349 SED \
81350 GREP \
81351 EGREP \
81352 FGREP \
81353 LD \
81354 NM \
81355 LN_S \
81356 lt_SP2NL \
81357 lt_NL2SP \
81358 reload_flag \
81359 OBJDUMP \
81360 deplibs_check_method \
81361 file_magic_cmd \
81362 AR \
81363 AR_FLAGS \
81364 STRIP \
81365 RANLIB \
81366 CC \
81367 CFLAGS \
81368 compiler \
81369 lt_cv_sys_global_symbol_pipe \
81370 lt_cv_sys_global_symbol_to_cdecl \
81371 lt_cv_sys_global_symbol_to_c_name_address \
81372 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
81373 lt_prog_compiler_no_builtin_flag \
81374 lt_prog_compiler_wl \
81375 lt_prog_compiler_pic \
81376 lt_prog_compiler_static \
81377 lt_cv_prog_compiler_c_o \
81378 need_locks \
81379 DSYMUTIL \
81380 NMEDIT \
81381 LIPO \
81382 OTOOL \
81383 OTOOL64 \
81384 shrext_cmds \
81385 export_dynamic_flag_spec \
81386 whole_archive_flag_spec \
81387 compiler_needs_object \
81388 with_gnu_ld \
81389 allow_undefined_flag \
81390 no_undefined_flag \
81391 hardcode_libdir_flag_spec \
81392 hardcode_libdir_flag_spec_ld \
81393 hardcode_libdir_separator \
81394 fix_srcfile_path \
81395 exclude_expsyms \
81396 include_expsyms \
81397 file_list_spec \
81398 variables_saved_for_relink \
81399 libname_spec \
81400 library_names_spec \
81401 soname_spec \
81402 install_override_mode \
81403 finish_eval \
81404 old_striplib \
81405 striplib \
81406 compiler_lib_search_dirs \
81407 predep_objects \
81408 postdep_objects \
81409 predeps \
81410 postdeps \
81411 compiler_lib_search_path \
81412 LD_CXX \
81413 reload_flag_CXX \
81414 compiler_CXX \
81415 lt_prog_compiler_no_builtin_flag_CXX \
81416 lt_prog_compiler_wl_CXX \
81417 lt_prog_compiler_pic_CXX \
81418 lt_prog_compiler_static_CXX \
81419 lt_cv_prog_compiler_c_o_CXX \
81420 export_dynamic_flag_spec_CXX \
81421 whole_archive_flag_spec_CXX \
81422 compiler_needs_object_CXX \
81423 with_gnu_ld_CXX \
81424 allow_undefined_flag_CXX \
81425 no_undefined_flag_CXX \
81426 hardcode_libdir_flag_spec_CXX \
81427 hardcode_libdir_flag_spec_ld_CXX \
81428 hardcode_libdir_separator_CXX \
81429 fix_srcfile_path_CXX \
81430 exclude_expsyms_CXX \
81431 include_expsyms_CXX \
81432 file_list_spec_CXX \
81433 compiler_lib_search_dirs_CXX \
81434 predep_objects_CXX \
81435 postdep_objects_CXX \
81436 predeps_CXX \
81437 postdeps_CXX \
81438 compiler_lib_search_path_CXX; do
81439 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81440 *[\\\\\\\`\\"\\\$]*)
81441 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
81442 ;;
81443 *)
81444 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81445 ;;
81446 esac
81447 done
81448
81449 # Double-quote double-evaled strings.
81450 for var in reload_cmds \
81451 old_postinstall_cmds \
81452 old_postuninstall_cmds \
81453 old_archive_cmds \
81454 extract_expsyms_cmds \
81455 old_archive_from_new_cmds \
81456 old_archive_from_expsyms_cmds \
81457 archive_cmds \
81458 archive_expsym_cmds \
81459 module_cmds \
81460 module_expsym_cmds \
81461 export_symbols_cmds \
81462 prelink_cmds \
81463 postinstall_cmds \
81464 postuninstall_cmds \
81465 finish_cmds \
81466 sys_lib_search_path_spec \
81467 sys_lib_dlsearch_path_spec \
81468 reload_cmds_CXX \
81469 old_archive_cmds_CXX \
81470 old_archive_from_new_cmds_CXX \
81471 old_archive_from_expsyms_cmds_CXX \
81472 archive_cmds_CXX \
81473 archive_expsym_cmds_CXX \
81474 module_cmds_CXX \
81475 module_expsym_cmds_CXX \
81476 export_symbols_cmds_CXX \
81477 prelink_cmds_CXX; do
81478 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81479 *[\\\\\\\`\\"\\\$]*)
81480 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
81481 ;;
81482 *)
81483 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81484 ;;
81485 esac
81486 done
81487
81488 ac_aux_dir='$ac_aux_dir'
81489 xsi_shell='$xsi_shell'
81490 lt_shell_append='$lt_shell_append'
81491
81492 # See if we are running on zsh, and set the options which allow our
81493 # commands through without removal of \ escapes INIT.
81494 if test -n "\${ZSH_VERSION+set}" ; then
81495 setopt NO_GLOB_SUBST
81496 fi
81497
81498
81499 PACKAGE='$PACKAGE'
81500 VERSION='$VERSION'
81501 TIMESTAMP='$TIMESTAMP'
81502 RM='$RM'
81503 ofile='$ofile'
81504
81505
81506
81507
81508
81509
81510 GCC="$GCC"
81511 CC="$CC"
81512 acx_cv_header_stdint="$acx_cv_header_stdint"
81513 acx_cv_type_int8_t="$acx_cv_type_int8_t"
81514 acx_cv_type_int16_t="$acx_cv_type_int16_t"
81515 acx_cv_type_int32_t="$acx_cv_type_int32_t"
81516 acx_cv_type_int64_t="$acx_cv_type_int64_t"
81517 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
81518 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
81519 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
81520 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
81521 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
81522 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
81523 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
81524 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
81525 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
81526
81527
81528 _ACEOF
81529
81530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81531
81532 # Handling of arguments.
81533 for ac_config_target in $ac_config_targets
81534 do
81535 case $ac_config_target in
81536 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
81537 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
81538 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
81539 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
81540 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81541 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
81542 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
81543 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
81544 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
81545 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
81546 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
81547 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
81548 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
81549 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
81550 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81551 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
81552 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
81553 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
81554 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
81555
81556 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
81557 esac
81558 done
81559
81560
81561 # If the user did not use the arguments to specify the items to instantiate,
81562 # then the envvar interface is used. Set only those that are not.
81563 # We use the long form for the default assignment because of an extremely
81564 # bizarre bug on SunOS 4.1.3.
81565 if $ac_need_defaults; then
81566 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
81567 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
81568 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
81569 fi
81570
81571 # Have a temporary directory for convenience. Make it in the build tree
81572 # simply because there is no reason against having it here, and in addition,
81573 # creating and moving files from /tmp can sometimes cause problems.
81574 # Hook for its removal unless debugging.
81575 # Note that there is a small window in which the directory will not be cleaned:
81576 # after its creation but before its name has been assigned to `$tmp'.
81577 $debug ||
81578 {
81579 tmp=
81580 trap 'exit_status=$?
81581 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
81582 ' 0
81583 trap 'as_fn_exit 1' 1 2 13 15
81584 }
81585 # Create a (secure) tmp directory for tmp files.
81586
81587 {
81588 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
81589 test -n "$tmp" && test -d "$tmp"
81590 } ||
81591 {
81592 tmp=./conf$$-$RANDOM
81593 (umask 077 && mkdir "$tmp")
81594 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
81595
81596 # Set up the scripts for CONFIG_FILES section.
81597 # No need to generate them if there are no CONFIG_FILES.
81598 # This happens for instance with `./config.status config.h'.
81599 if test -n "$CONFIG_FILES"; then
81600
81601
81602 ac_cr=`echo X | tr X '\015'`
81603 # On cygwin, bash can eat \r inside `` if the user requested igncr.
81604 # But we know of no other shell where ac_cr would be empty at this
81605 # point, so we can use a bashism as a fallback.
81606 if test "x$ac_cr" = x; then
81607 eval ac_cr=\$\'\\r\'
81608 fi
81609 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
81610 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
81611 ac_cs_awk_cr='\r'
81612 else
81613 ac_cs_awk_cr=$ac_cr
81614 fi
81615
81616 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81617 _ACEOF
81618
81619
81620 {
81621 echo "cat >conf$$subs.awk <<_ACEOF" &&
81622 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81623 echo "_ACEOF"
81624 } >conf$$subs.sh ||
81625 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81626 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81627 ac_delim='%!_!# '
81628 for ac_last_try in false false false false false :; do
81629 . ./conf$$subs.sh ||
81630 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81631
81632 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81633 if test $ac_delim_n = $ac_delim_num; then
81634 break
81635 elif $ac_last_try; then
81636 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81637 else
81638 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81639 fi
81640 done
81641 rm -f conf$$subs.sh
81642
81643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81644 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81645 _ACEOF
81646 sed -n '
81647 h
81648 s/^/S["/; s/!.*/"]=/
81649 p
81650 g
81651 s/^[^!]*!//
81652 :repl
81653 t repl
81654 s/'"$ac_delim"'$//
81655 t delim
81656 :nl
81657 h
81658 s/\(.\{148\}\).*/\1/
81659 t more1
81660 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81661 p
81662 n
81663 b repl
81664 :more1
81665 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81666 p
81667 g
81668 s/.\{148\}//
81669 t nl
81670 :delim
81671 h
81672 s/\(.\{148\}\).*/\1/
81673 t more2
81674 s/["\\]/\\&/g; s/^/"/; s/$/"/
81675 p
81676 b
81677 :more2
81678 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81679 p
81680 g
81681 s/.\{148\}//
81682 t delim
81683 ' <conf$$subs.awk | sed '
81684 /^[^""]/{
81685 N
81686 s/\n//
81687 }
81688 ' >>$CONFIG_STATUS || ac_write_fail=1
81689 rm -f conf$$subs.awk
81690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81691 _ACAWK
81692 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81693 for (key in S) S_is_set[key] = 1
81694 FS = "\a"
81695
81696 }
81697 {
81698 line = $ 0
81699 nfields = split(line, field, "@")
81700 substed = 0
81701 len = length(field[1])
81702 for (i = 2; i < nfields; i++) {
81703 key = field[i]
81704 keylen = length(key)
81705 if (S_is_set[key]) {
81706 value = S[key]
81707 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81708 len += length(value) + length(field[++i])
81709 substed = 1
81710 } else
81711 len += 1 + keylen
81712 }
81713
81714 print line
81715 }
81716
81717 _ACAWK
81718 _ACEOF
81719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81720 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81721 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81722 else
81723 cat
81724 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81725 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81726 _ACEOF
81727
81728 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81729 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81730 # trailing colons and then remove the whole line if VPATH becomes empty
81731 # (actually we leave an empty line to preserve line numbers).
81732 if test "x$srcdir" = x.; then
81733 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81734 s/:*\$(srcdir):*/:/
81735 s/:*\${srcdir}:*/:/
81736 s/:*@srcdir@:*/:/
81737 s/^\([^=]*=[ ]*\):*/\1/
81738 s/:*$//
81739 s/^[^=]*=[ ]*$//
81740 }'
81741 fi
81742
81743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81744 fi # test -n "$CONFIG_FILES"
81745
81746 # Set up the scripts for CONFIG_HEADERS section.
81747 # No need to generate them if there are no CONFIG_HEADERS.
81748 # This happens for instance with `./config.status Makefile'.
81749 if test -n "$CONFIG_HEADERS"; then
81750 cat >"$tmp/defines.awk" <<\_ACAWK ||
81751 BEGIN {
81752 _ACEOF
81753
81754 # Transform confdefs.h into an awk script `defines.awk', embedded as
81755 # here-document in config.status, that substitutes the proper values into
81756 # config.h.in to produce config.h.
81757
81758 # Create a delimiter string that does not exist in confdefs.h, to ease
81759 # handling of long lines.
81760 ac_delim='%!_!# '
81761 for ac_last_try in false false :; do
81762 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81763 if test -z "$ac_t"; then
81764 break
81765 elif $ac_last_try; then
81766 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81767 else
81768 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81769 fi
81770 done
81771
81772 # For the awk script, D is an array of macro values keyed by name,
81773 # likewise P contains macro parameters if any. Preserve backslash
81774 # newline sequences.
81775
81776 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81777 sed -n '
81778 s/.\{148\}/&'"$ac_delim"'/g
81779 t rset
81780 :rset
81781 s/^[ ]*#[ ]*define[ ][ ]*/ /
81782 t def
81783 d
81784 :def
81785 s/\\$//
81786 t bsnl
81787 s/["\\]/\\&/g
81788 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81789 D["\1"]=" \3"/p
81790 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81791 d
81792 :bsnl
81793 s/["\\]/\\&/g
81794 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81795 D["\1"]=" \3\\\\\\n"\\/p
81796 t cont
81797 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81798 t cont
81799 d
81800 :cont
81801 n
81802 s/.\{148\}/&'"$ac_delim"'/g
81803 t clear
81804 :clear
81805 s/\\$//
81806 t bsnlc
81807 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81808 d
81809 :bsnlc
81810 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81811 b cont
81812 ' <confdefs.h | sed '
81813 s/'"$ac_delim"'/"\\\
81814 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81815
81816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81817 for (key in D) D_is_set[key] = 1
81818 FS = "\a"
81819 }
81820 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81821 line = \$ 0
81822 split(line, arg, " ")
81823 if (arg[1] == "#") {
81824 defundef = arg[2]
81825 mac1 = arg[3]
81826 } else {
81827 defundef = substr(arg[1], 2)
81828 mac1 = arg[2]
81829 }
81830 split(mac1, mac2, "(") #)
81831 macro = mac2[1]
81832 prefix = substr(line, 1, index(line, defundef) - 1)
81833 if (D_is_set[macro]) {
81834 # Preserve the white space surrounding the "#".
81835 print prefix "define", macro P[macro] D[macro]
81836 next
81837 } else {
81838 # Replace #undef with comments. This is necessary, for example,
81839 # in the case of _POSIX_SOURCE, which is predefined and required
81840 # on some systems where configure will not decide to define it.
81841 if (defundef == "undef") {
81842 print "/*", prefix defundef, macro, "*/"
81843 next
81844 }
81845 }
81846 }
81847 { print }
81848 _ACAWK
81849 _ACEOF
81850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81851 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81852 fi # test -n "$CONFIG_HEADERS"
81853
81854
81855 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81856 shift
81857 for ac_tag
81858 do
81859 case $ac_tag in
81860 :[FHLC]) ac_mode=$ac_tag; continue;;
81861 esac
81862 case $ac_mode$ac_tag in
81863 :[FHL]*:*);;
81864 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81865 :[FH]-) ac_tag=-:-;;
81866 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81867 esac
81868 ac_save_IFS=$IFS
81869 IFS=:
81870 set x $ac_tag
81871 IFS=$ac_save_IFS
81872 shift
81873 ac_file=$1
81874 shift
81875
81876 case $ac_mode in
81877 :L) ac_source=$1;;
81878 :[FH])
81879 ac_file_inputs=
81880 for ac_f
81881 do
81882 case $ac_f in
81883 -) ac_f="$tmp/stdin";;
81884 *) # Look for the file first in the build tree, then in the source tree
81885 # (if the path is not absolute). The absolute path cannot be DOS-style,
81886 # because $ac_f cannot contain `:'.
81887 test -f "$ac_f" ||
81888 case $ac_f in
81889 [\\/$]*) false;;
81890 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81891 esac ||
81892 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81893 esac
81894 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81895 as_fn_append ac_file_inputs " '$ac_f'"
81896 done
81897
81898 # Let's still pretend it is `configure' which instantiates (i.e., don't
81899 # use $as_me), people would be surprised to read:
81900 # /* config.h. Generated by config.status. */
81901 configure_input='Generated from '`
81902 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81903 `' by configure.'
81904 if test x"$ac_file" != x-; then
81905 configure_input="$ac_file. $configure_input"
81906 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81907 $as_echo "$as_me: creating $ac_file" >&6;}
81908 fi
81909 # Neutralize special characters interpreted by sed in replacement strings.
81910 case $configure_input in #(
81911 *\&* | *\|* | *\\* )
81912 ac_sed_conf_input=`$as_echo "$configure_input" |
81913 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81914 *) ac_sed_conf_input=$configure_input;;
81915 esac
81916
81917 case $ac_tag in
81918 *:-:* | *:-) cat >"$tmp/stdin" \
81919 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81920 esac
81921 ;;
81922 esac
81923
81924 ac_dir=`$as_dirname -- "$ac_file" ||
81925 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81926 X"$ac_file" : 'X\(//\)[^/]' \| \
81927 X"$ac_file" : 'X\(//\)$' \| \
81928 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81929 $as_echo X"$ac_file" |
81930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81931 s//\1/
81932 q
81933 }
81934 /^X\(\/\/\)[^/].*/{
81935 s//\1/
81936 q
81937 }
81938 /^X\(\/\/\)$/{
81939 s//\1/
81940 q
81941 }
81942 /^X\(\/\).*/{
81943 s//\1/
81944 q
81945 }
81946 s/.*/./; q'`
81947 as_dir="$ac_dir"; as_fn_mkdir_p
81948 ac_builddir=.
81949
81950 case "$ac_dir" in
81951 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81952 *)
81953 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81954 # A ".." for each directory in $ac_dir_suffix.
81955 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81956 case $ac_top_builddir_sub in
81957 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81958 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81959 esac ;;
81960 esac
81961 ac_abs_top_builddir=$ac_pwd
81962 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81963 # for backward compatibility:
81964 ac_top_builddir=$ac_top_build_prefix
81965
81966 case $srcdir in
81967 .) # We are building in place.
81968 ac_srcdir=.
81969 ac_top_srcdir=$ac_top_builddir_sub
81970 ac_abs_top_srcdir=$ac_pwd ;;
81971 [\\/]* | ?:[\\/]* ) # Absolute name.
81972 ac_srcdir=$srcdir$ac_dir_suffix;
81973 ac_top_srcdir=$srcdir
81974 ac_abs_top_srcdir=$srcdir ;;
81975 *) # Relative name.
81976 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81977 ac_top_srcdir=$ac_top_build_prefix$srcdir
81978 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81979 esac
81980 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81981
81982
81983 case $ac_mode in
81984 :F)
81985 #
81986 # CONFIG_FILE
81987 #
81988
81989 case $INSTALL in
81990 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81991 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81992 esac
81993 ac_MKDIR_P=$MKDIR_P
81994 case $MKDIR_P in
81995 [\\/$]* | ?:[\\/]* ) ;;
81996 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81997 esac
81998 _ACEOF
81999
82000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82001 # If the template does not know about datarootdir, expand it.
82002 # FIXME: This hack should be removed a few years after 2.60.
82003 ac_datarootdir_hack=; ac_datarootdir_seen=
82004 ac_sed_dataroot='
82005 /datarootdir/ {
82006 p
82007 q
82008 }
82009 /@datadir@/p
82010 /@docdir@/p
82011 /@infodir@/p
82012 /@localedir@/p
82013 /@mandir@/p'
82014 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
82015 *datarootdir*) ac_datarootdir_seen=yes;;
82016 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
82017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
82018 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
82019 _ACEOF
82020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82021 ac_datarootdir_hack='
82022 s&@datadir@&$datadir&g
82023 s&@docdir@&$docdir&g
82024 s&@infodir@&$infodir&g
82025 s&@localedir@&$localedir&g
82026 s&@mandir@&$mandir&g
82027 s&\\\${datarootdir}&$datarootdir&g' ;;
82028 esac
82029 _ACEOF
82030
82031 # Neutralize VPATH when `$srcdir' = `.'.
82032 # Shell code in configure.ac might set extrasub.
82033 # FIXME: do we really want to maintain this feature?
82034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82035 ac_sed_extra="$ac_vpsub
82036 $extrasub
82037 _ACEOF
82038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82039 :t
82040 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82041 s|@configure_input@|$ac_sed_conf_input|;t t
82042 s&@top_builddir@&$ac_top_builddir_sub&;t t
82043 s&@top_build_prefix@&$ac_top_build_prefix&;t t
82044 s&@srcdir@&$ac_srcdir&;t t
82045 s&@abs_srcdir@&$ac_abs_srcdir&;t t
82046 s&@top_srcdir@&$ac_top_srcdir&;t t
82047 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
82048 s&@builddir@&$ac_builddir&;t t
82049 s&@abs_builddir@&$ac_abs_builddir&;t t
82050 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
82051 s&@INSTALL@&$ac_INSTALL&;t t
82052 s&@MKDIR_P@&$ac_MKDIR_P&;t t
82053 $ac_datarootdir_hack
82054 "
82055 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
82056 || as_fn_error "could not create $ac_file" "$LINENO" 5
82057
82058 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
82059 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
82060 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
82061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82062 which seems to be undefined. Please make sure it is defined." >&5
82063 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82064 which seems to be undefined. Please make sure it is defined." >&2;}
82065
82066 rm -f "$tmp/stdin"
82067 case $ac_file in
82068 -) cat "$tmp/out" && rm -f "$tmp/out";;
82069 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
82070 esac \
82071 || as_fn_error "could not create $ac_file" "$LINENO" 5
82072 ;;
82073 :H)
82074 #
82075 # CONFIG_HEADER
82076 #
82077 if test x"$ac_file" != x-; then
82078 {
82079 $as_echo "/* $configure_input */" \
82080 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
82081 } >"$tmp/config.h" \
82082 || as_fn_error "could not create $ac_file" "$LINENO" 5
82083 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
82084 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
82085 $as_echo "$as_me: $ac_file is unchanged" >&6;}
82086 else
82087 rm -f "$ac_file"
82088 mv "$tmp/config.h" "$ac_file" \
82089 || as_fn_error "could not create $ac_file" "$LINENO" 5
82090 fi
82091 else
82092 $as_echo "/* $configure_input */" \
82093 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
82094 || as_fn_error "could not create -" "$LINENO" 5
82095 fi
82096 # Compute "$ac_file"'s index in $config_headers.
82097 _am_arg="$ac_file"
82098 _am_stamp_count=1
82099 for _am_header in $config_headers :; do
82100 case $_am_header in
82101 $_am_arg | $_am_arg:* )
82102 break ;;
82103 * )
82104 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
82105 esac
82106 done
82107 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
82108 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82109 X"$_am_arg" : 'X\(//\)[^/]' \| \
82110 X"$_am_arg" : 'X\(//\)$' \| \
82111 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
82112 $as_echo X"$_am_arg" |
82113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82114 s//\1/
82115 q
82116 }
82117 /^X\(\/\/\)[^/].*/{
82118 s//\1/
82119 q
82120 }
82121 /^X\(\/\/\)$/{
82122 s//\1/
82123 q
82124 }
82125 /^X\(\/\).*/{
82126 s//\1/
82127 q
82128 }
82129 s/.*/./; q'`/stamp-h$_am_stamp_count
82130 ;;
82131
82132 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
82133 $as_echo "$as_me: executing $ac_file commands" >&6;}
82134 ;;
82135 esac
82136
82137
82138 case $ac_file$ac_mode in
82139 "default-1":C)
82140 # Only add multilib support code if we just rebuilt the top-level
82141 # Makefile.
82142 case " $CONFIG_FILES " in
82143 *" Makefile "*)
82144 ac_file=Makefile . ${multi_basedir}/config-ml.in
82145 ;;
82146 esac ;;
82147 "libtool":C)
82148
82149 # See if we are running on zsh, and set the options which allow our
82150 # commands through without removal of \ escapes.
82151 if test -n "${ZSH_VERSION+set}" ; then
82152 setopt NO_GLOB_SUBST
82153 fi
82154
82155 cfgfile="${ofile}T"
82156 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
82157 $RM "$cfgfile"
82158
82159 cat <<_LT_EOF >> "$cfgfile"
82160 #! $SHELL
82161
82162 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
82163 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
82164 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
82165 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
82166 #
82167 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
82168 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82169 # Written by Gordon Matzigkeit, 1996
82170 #
82171 # This file is part of GNU Libtool.
82172 #
82173 # GNU Libtool is free software; you can redistribute it and/or
82174 # modify it under the terms of the GNU General Public License as
82175 # published by the Free Software Foundation; either version 2 of
82176 # the License, or (at your option) any later version.
82177 #
82178 # As a special exception to the GNU General Public License,
82179 # if you distribute this file as part of a program or library that
82180 # is built using GNU Libtool, you may include this file under the
82181 # same distribution terms that you use for the rest of that program.
82182 #
82183 # GNU Libtool is distributed in the hope that it will be useful,
82184 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82185 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82186 # GNU General Public License for more details.
82187 #
82188 # You should have received a copy of the GNU General Public License
82189 # along with GNU Libtool; see the file COPYING. If not, a copy
82190 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82191 # obtained by writing to the Free Software Foundation, Inc.,
82192 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82193
82194
82195 # The names of the tagged configurations supported by this script.
82196 available_tags="CXX "
82197
82198 # ### BEGIN LIBTOOL CONFIG
82199
82200 # Which release of libtool.m4 was used?
82201 macro_version=$macro_version
82202 macro_revision=$macro_revision
82203
82204 # Whether or not to build shared libraries.
82205 build_libtool_libs=$enable_shared
82206
82207 # Whether or not to build static libraries.
82208 build_old_libs=$enable_static
82209
82210 # What type of objects to build.
82211 pic_mode=$pic_mode
82212
82213 # Whether or not to optimize for fast installation.
82214 fast_install=$enable_fast_install
82215
82216 # Shell to use when invoking shell scripts.
82217 SHELL=$lt_SHELL
82218
82219 # An echo program that protects backslashes.
82220 ECHO=$lt_ECHO
82221
82222 # The host system.
82223 host_alias=$host_alias
82224 host=$host
82225 host_os=$host_os
82226
82227 # The build system.
82228 build_alias=$build_alias
82229 build=$build
82230 build_os=$build_os
82231
82232 # A sed program that does not truncate output.
82233 SED=$lt_SED
82234
82235 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
82236 Xsed="\$SED -e 1s/^X//"
82237
82238 # A grep program that handles long lines.
82239 GREP=$lt_GREP
82240
82241 # An ERE matcher.
82242 EGREP=$lt_EGREP
82243
82244 # A literal string matcher.
82245 FGREP=$lt_FGREP
82246
82247 # A BSD- or MS-compatible name lister.
82248 NM=$lt_NM
82249
82250 # Whether we need soft or hard links.
82251 LN_S=$lt_LN_S
82252
82253 # What is the maximum length of a command?
82254 max_cmd_len=$max_cmd_len
82255
82256 # Object file suffix (normally "o").
82257 objext=$ac_objext
82258
82259 # Executable file suffix (normally "").
82260 exeext=$exeext
82261
82262 # whether the shell understands "unset".
82263 lt_unset=$lt_unset
82264
82265 # turn spaces into newlines.
82266 SP2NL=$lt_lt_SP2NL
82267
82268 # turn newlines into spaces.
82269 NL2SP=$lt_lt_NL2SP
82270
82271 # An object symbol dumper.
82272 OBJDUMP=$lt_OBJDUMP
82273
82274 # Method to check whether dependent libraries are shared objects.
82275 deplibs_check_method=$lt_deplibs_check_method
82276
82277 # Command to use when deplibs_check_method == "file_magic".
82278 file_magic_cmd=$lt_file_magic_cmd
82279
82280 # The archiver.
82281 AR=$lt_AR
82282 AR_FLAGS=$lt_AR_FLAGS
82283
82284 # A symbol stripping program.
82285 STRIP=$lt_STRIP
82286
82287 # Commands used to install an old-style archive.
82288 RANLIB=$lt_RANLIB
82289 old_postinstall_cmds=$lt_old_postinstall_cmds
82290 old_postuninstall_cmds=$lt_old_postuninstall_cmds
82291
82292 # Whether to use a lock for old archive extraction.
82293 lock_old_archive_extraction=$lock_old_archive_extraction
82294
82295 # A C compiler.
82296 LTCC=$lt_CC
82297
82298 # LTCC compiler flags.
82299 LTCFLAGS=$lt_CFLAGS
82300
82301 # Take the output of nm and produce a listing of raw symbols and C names.
82302 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
82303
82304 # Transform the output of nm in a proper C declaration.
82305 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
82306
82307 # Transform the output of nm in a C name address pair.
82308 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
82309
82310 # Transform the output of nm in a C name address pair when lib prefix is needed.
82311 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
82312
82313 # The name of the directory that contains temporary libtool files.
82314 objdir=$objdir
82315
82316 # Used to examine libraries when file_magic_cmd begins with "file".
82317 MAGIC_CMD=$MAGIC_CMD
82318
82319 # Must we lock files when doing compilation?
82320 need_locks=$lt_need_locks
82321
82322 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
82323 DSYMUTIL=$lt_DSYMUTIL
82324
82325 # Tool to change global to local symbols on Mac OS X.
82326 NMEDIT=$lt_NMEDIT
82327
82328 # Tool to manipulate fat objects and archives on Mac OS X.
82329 LIPO=$lt_LIPO
82330
82331 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
82332 OTOOL=$lt_OTOOL
82333
82334 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
82335 OTOOL64=$lt_OTOOL64
82336
82337 # Old archive suffix (normally "a").
82338 libext=$libext
82339
82340 # Shared library suffix (normally ".so").
82341 shrext_cmds=$lt_shrext_cmds
82342
82343 # The commands to extract the exported symbol list from a shared archive.
82344 extract_expsyms_cmds=$lt_extract_expsyms_cmds
82345
82346 # Variables whose values should be saved in libtool wrapper scripts and
82347 # restored at link time.
82348 variables_saved_for_relink=$lt_variables_saved_for_relink
82349
82350 # Do we need the "lib" prefix for modules?
82351 need_lib_prefix=$need_lib_prefix
82352
82353 # Do we need a version for libraries?
82354 need_version=$need_version
82355
82356 # Library versioning type.
82357 version_type=$version_type
82358
82359 # Shared library runtime path variable.
82360 runpath_var=$runpath_var
82361
82362 # Shared library path variable.
82363 shlibpath_var=$shlibpath_var
82364
82365 # Is shlibpath searched before the hard-coded library search path?
82366 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
82367
82368 # Format of library name prefix.
82369 libname_spec=$lt_libname_spec
82370
82371 # List of archive names. First name is the real one, the rest are links.
82372 # The last name is the one that the linker finds with -lNAME
82373 library_names_spec=$lt_library_names_spec
82374
82375 # The coded name of the library, if different from the real name.
82376 soname_spec=$lt_soname_spec
82377
82378 # Permission mode override for installation of shared libraries.
82379 install_override_mode=$lt_install_override_mode
82380
82381 # Command to use after installation of a shared archive.
82382 postinstall_cmds=$lt_postinstall_cmds
82383
82384 # Command to use after uninstallation of a shared archive.
82385 postuninstall_cmds=$lt_postuninstall_cmds
82386
82387 # Commands used to finish a libtool library installation in a directory.
82388 finish_cmds=$lt_finish_cmds
82389
82390 # As "finish_cmds", except a single script fragment to be evaled but
82391 # not shown.
82392 finish_eval=$lt_finish_eval
82393
82394 # Whether we should hardcode library paths into libraries.
82395 hardcode_into_libs=$hardcode_into_libs
82396
82397 # Compile-time system search path for libraries.
82398 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
82399
82400 # Run-time system search path for libraries.
82401 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
82402
82403 # Whether dlopen is supported.
82404 dlopen_support=$enable_dlopen
82405
82406 # Whether dlopen of programs is supported.
82407 dlopen_self=$enable_dlopen_self
82408
82409 # Whether dlopen of statically linked programs is supported.
82410 dlopen_self_static=$enable_dlopen_self_static
82411
82412 # Commands to strip libraries.
82413 old_striplib=$lt_old_striplib
82414 striplib=$lt_striplib
82415
82416
82417 # The linker used to build libraries.
82418 LD=$lt_LD
82419
82420 # How to create reloadable object files.
82421 reload_flag=$lt_reload_flag
82422 reload_cmds=$lt_reload_cmds
82423
82424 # Commands used to build an old-style archive.
82425 old_archive_cmds=$lt_old_archive_cmds
82426
82427 # A language specific compiler.
82428 CC=$lt_compiler
82429
82430 # Is the compiler the GNU compiler?
82431 with_gcc=$GCC
82432
82433 # Compiler flag to turn off builtin functions.
82434 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
82435
82436 # How to pass a linker flag through the compiler.
82437 wl=$lt_lt_prog_compiler_wl
82438
82439 # Additional compiler flags for building library objects.
82440 pic_flag=$lt_lt_prog_compiler_pic
82441
82442 # Compiler flag to prevent dynamic linking.
82443 link_static_flag=$lt_lt_prog_compiler_static
82444
82445 # Does compiler simultaneously support -c and -o options?
82446 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
82447
82448 # Whether or not to add -lc for building shared libraries.
82449 build_libtool_need_lc=$archive_cmds_need_lc
82450
82451 # Whether or not to disallow shared libs when runtime libs are static.
82452 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
82453
82454 # Compiler flag to allow reflexive dlopens.
82455 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
82456
82457 # Compiler flag to generate shared objects directly from archives.
82458 whole_archive_flag_spec=$lt_whole_archive_flag_spec
82459
82460 # Whether the compiler copes with passing no objects directly.
82461 compiler_needs_object=$lt_compiler_needs_object
82462
82463 # Create an old-style archive from a shared archive.
82464 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
82465
82466 # Create a temporary old-style archive to link instead of a shared archive.
82467 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
82468
82469 # Commands used to build a shared archive.
82470 archive_cmds=$lt_archive_cmds
82471 archive_expsym_cmds=$lt_archive_expsym_cmds
82472
82473 # Commands used to build a loadable module if different from building
82474 # a shared archive.
82475 module_cmds=$lt_module_cmds
82476 module_expsym_cmds=$lt_module_expsym_cmds
82477
82478 # Whether we are building with GNU ld or not.
82479 with_gnu_ld=$lt_with_gnu_ld
82480
82481 # Flag that allows shared libraries with undefined symbols to be built.
82482 allow_undefined_flag=$lt_allow_undefined_flag
82483
82484 # Flag that enforces no undefined symbols.
82485 no_undefined_flag=$lt_no_undefined_flag
82486
82487 # Flag to hardcode \$libdir into a binary during linking.
82488 # This must work even if \$libdir does not exist
82489 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
82490
82491 # If ld is used when linking, flag to hardcode \$libdir into a binary
82492 # during linking. This must work even if \$libdir does not exist.
82493 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
82494
82495 # Whether we need a single "-rpath" flag with a separated argument.
82496 hardcode_libdir_separator=$lt_hardcode_libdir_separator
82497
82498 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82499 # DIR into the resulting binary.
82500 hardcode_direct=$hardcode_direct
82501
82502 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82503 # DIR into the resulting binary and the resulting library dependency is
82504 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82505 # library is relocated.
82506 hardcode_direct_absolute=$hardcode_direct_absolute
82507
82508 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82509 # into the resulting binary.
82510 hardcode_minus_L=$hardcode_minus_L
82511
82512 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82513 # into the resulting binary.
82514 hardcode_shlibpath_var=$hardcode_shlibpath_var
82515
82516 # Set to "yes" if building a shared library automatically hardcodes DIR
82517 # into the library and all subsequent libraries and executables linked
82518 # against it.
82519 hardcode_automatic=$hardcode_automatic
82520
82521 # Set to yes if linker adds runtime paths of dependent libraries
82522 # to runtime path list.
82523 inherit_rpath=$inherit_rpath
82524
82525 # Whether libtool must link a program against all its dependency libraries.
82526 link_all_deplibs=$link_all_deplibs
82527
82528 # Fix the shell variable \$srcfile for the compiler.
82529 fix_srcfile_path=$lt_fix_srcfile_path
82530
82531 # Set to "yes" if exported symbols are required.
82532 always_export_symbols=$always_export_symbols
82533
82534 # The commands to list exported symbols.
82535 export_symbols_cmds=$lt_export_symbols_cmds
82536
82537 # Symbols that should not be listed in the preloaded symbols.
82538 exclude_expsyms=$lt_exclude_expsyms
82539
82540 # Symbols that must always be exported.
82541 include_expsyms=$lt_include_expsyms
82542
82543 # Commands necessary for linking programs (against libraries) with templates.
82544 prelink_cmds=$lt_prelink_cmds
82545
82546 # Specify filename containing input files.
82547 file_list_spec=$lt_file_list_spec
82548
82549 # How to hardcode a shared library path into an executable.
82550 hardcode_action=$hardcode_action
82551
82552 # The directories searched by this compiler when creating a shared library.
82553 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
82554
82555 # Dependencies to place before and after the objects being linked to
82556 # create a shared library.
82557 predep_objects=$lt_predep_objects
82558 postdep_objects=$lt_postdep_objects
82559 predeps=$lt_predeps
82560 postdeps=$lt_postdeps
82561
82562 # The library search path used internally by the compiler when linking
82563 # a shared library.
82564 compiler_lib_search_path=$lt_compiler_lib_search_path
82565
82566 # ### END LIBTOOL CONFIG
82567
82568 _LT_EOF
82569
82570 case $host_os in
82571 aix3*)
82572 cat <<\_LT_EOF >> "$cfgfile"
82573 # AIX sometimes has problems with the GCC collect2 program. For some
82574 # reason, if we set the COLLECT_NAMES environment variable, the problems
82575 # vanish in a puff of smoke.
82576 if test "X${COLLECT_NAMES+set}" != Xset; then
82577 COLLECT_NAMES=
82578 export COLLECT_NAMES
82579 fi
82580 _LT_EOF
82581 ;;
82582 esac
82583
82584
82585 ltmain="$ac_aux_dir/ltmain.sh"
82586
82587
82588 # We use sed instead of cat because bash on DJGPP gets confused if
82589 # if finds mixed CR/LF and LF-only lines. Since sed operates in
82590 # text mode, it properly converts lines to CR/LF. This bash problem
82591 # is reportedly fixed, but why not run on old versions too?
82592 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
82593 || (rm -f "$cfgfile"; exit 1)
82594
82595 case $xsi_shell in
82596 yes)
82597 cat << \_LT_EOF >> "$cfgfile"
82598
82599 # func_dirname file append nondir_replacement
82600 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82601 # otherwise set result to NONDIR_REPLACEMENT.
82602 func_dirname ()
82603 {
82604 case ${1} in
82605 */*) func_dirname_result="${1%/*}${2}" ;;
82606 * ) func_dirname_result="${3}" ;;
82607 esac
82608 }
82609
82610 # func_basename file
82611 func_basename ()
82612 {
82613 func_basename_result="${1##*/}"
82614 }
82615
82616 # func_dirname_and_basename file append nondir_replacement
82617 # perform func_basename and func_dirname in a single function
82618 # call:
82619 # dirname: Compute the dirname of FILE. If nonempty,
82620 # add APPEND to the result, otherwise set result
82621 # to NONDIR_REPLACEMENT.
82622 # value returned in "$func_dirname_result"
82623 # basename: Compute filename of FILE.
82624 # value retuned in "$func_basename_result"
82625 # Implementation must be kept synchronized with func_dirname
82626 # and func_basename. For efficiency, we do not delegate to
82627 # those functions but instead duplicate the functionality here.
82628 func_dirname_and_basename ()
82629 {
82630 case ${1} in
82631 */*) func_dirname_result="${1%/*}${2}" ;;
82632 * ) func_dirname_result="${3}" ;;
82633 esac
82634 func_basename_result="${1##*/}"
82635 }
82636
82637 # func_stripname prefix suffix name
82638 # strip PREFIX and SUFFIX off of NAME.
82639 # PREFIX and SUFFIX must not contain globbing or regex special
82640 # characters, hashes, percent signs, but SUFFIX may contain a leading
82641 # dot (in which case that matches only a dot).
82642 func_stripname ()
82643 {
82644 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82645 # positional parameters, so assign one to ordinary parameter first.
82646 func_stripname_result=${3}
82647 func_stripname_result=${func_stripname_result#"${1}"}
82648 func_stripname_result=${func_stripname_result%"${2}"}
82649 }
82650
82651 # func_opt_split
82652 func_opt_split ()
82653 {
82654 func_opt_split_opt=${1%%=*}
82655 func_opt_split_arg=${1#*=}
82656 }
82657
82658 # func_lo2o object
82659 func_lo2o ()
82660 {
82661 case ${1} in
82662 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82663 *) func_lo2o_result=${1} ;;
82664 esac
82665 }
82666
82667 # func_xform libobj-or-source
82668 func_xform ()
82669 {
82670 func_xform_result=${1%.*}.lo
82671 }
82672
82673 # func_arith arithmetic-term...
82674 func_arith ()
82675 {
82676 func_arith_result=$(( $* ))
82677 }
82678
82679 # func_len string
82680 # STRING may not start with a hyphen.
82681 func_len ()
82682 {
82683 func_len_result=${#1}
82684 }
82685
82686 _LT_EOF
82687 ;;
82688 *) # Bourne compatible functions.
82689 cat << \_LT_EOF >> "$cfgfile"
82690
82691 # func_dirname file append nondir_replacement
82692 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82693 # otherwise set result to NONDIR_REPLACEMENT.
82694 func_dirname ()
82695 {
82696 # Extract subdirectory from the argument.
82697 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82698 if test "X$func_dirname_result" = "X${1}"; then
82699 func_dirname_result="${3}"
82700 else
82701 func_dirname_result="$func_dirname_result${2}"
82702 fi
82703 }
82704
82705 # func_basename file
82706 func_basename ()
82707 {
82708 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82709 }
82710
82711
82712 # func_stripname prefix suffix name
82713 # strip PREFIX and SUFFIX off of NAME.
82714 # PREFIX and SUFFIX must not contain globbing or regex special
82715 # characters, hashes, percent signs, but SUFFIX may contain a leading
82716 # dot (in which case that matches only a dot).
82717 # func_strip_suffix prefix name
82718 func_stripname ()
82719 {
82720 case ${2} in
82721 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82722 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82723 esac
82724 }
82725
82726 # sed scripts:
82727 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82728 my_sed_long_arg='1s/^-[^=]*=//'
82729
82730 # func_opt_split
82731 func_opt_split ()
82732 {
82733 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82734 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82735 }
82736
82737 # func_lo2o object
82738 func_lo2o ()
82739 {
82740 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82741 }
82742
82743 # func_xform libobj-or-source
82744 func_xform ()
82745 {
82746 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82747 }
82748
82749 # func_arith arithmetic-term...
82750 func_arith ()
82751 {
82752 func_arith_result=`expr "$@"`
82753 }
82754
82755 # func_len string
82756 # STRING may not start with a hyphen.
82757 func_len ()
82758 {
82759 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82760 }
82761
82762 _LT_EOF
82763 esac
82764
82765 case $lt_shell_append in
82766 yes)
82767 cat << \_LT_EOF >> "$cfgfile"
82768
82769 # func_append var value
82770 # Append VALUE to the end of shell variable VAR.
82771 func_append ()
82772 {
82773 eval "$1+=\$2"
82774 }
82775 _LT_EOF
82776 ;;
82777 *)
82778 cat << \_LT_EOF >> "$cfgfile"
82779
82780 # func_append var value
82781 # Append VALUE to the end of shell variable VAR.
82782 func_append ()
82783 {
82784 eval "$1=\$$1\$2"
82785 }
82786
82787 _LT_EOF
82788 ;;
82789 esac
82790
82791
82792 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82793 || (rm -f "$cfgfile"; exit 1)
82794
82795 mv -f "$cfgfile" "$ofile" ||
82796 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82797 chmod +x "$ofile"
82798
82799
82800 cat <<_LT_EOF >> "$ofile"
82801
82802 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82803
82804 # The linker used to build libraries.
82805 LD=$lt_LD_CXX
82806
82807 # How to create reloadable object files.
82808 reload_flag=$lt_reload_flag_CXX
82809 reload_cmds=$lt_reload_cmds_CXX
82810
82811 # Commands used to build an old-style archive.
82812 old_archive_cmds=$lt_old_archive_cmds_CXX
82813
82814 # A language specific compiler.
82815 CC=$lt_compiler_CXX
82816
82817 # Is the compiler the GNU compiler?
82818 with_gcc=$GCC_CXX
82819
82820 # Compiler flag to turn off builtin functions.
82821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82822
82823 # How to pass a linker flag through the compiler.
82824 wl=$lt_lt_prog_compiler_wl_CXX
82825
82826 # Additional compiler flags for building library objects.
82827 pic_flag=$lt_lt_prog_compiler_pic_CXX
82828
82829 # Compiler flag to prevent dynamic linking.
82830 link_static_flag=$lt_lt_prog_compiler_static_CXX
82831
82832 # Does compiler simultaneously support -c and -o options?
82833 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82834
82835 # Whether or not to add -lc for building shared libraries.
82836 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82837
82838 # Whether or not to disallow shared libs when runtime libs are static.
82839 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82840
82841 # Compiler flag to allow reflexive dlopens.
82842 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82843
82844 # Compiler flag to generate shared objects directly from archives.
82845 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82846
82847 # Whether the compiler copes with passing no objects directly.
82848 compiler_needs_object=$lt_compiler_needs_object_CXX
82849
82850 # Create an old-style archive from a shared archive.
82851 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82852
82853 # Create a temporary old-style archive to link instead of a shared archive.
82854 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82855
82856 # Commands used to build a shared archive.
82857 archive_cmds=$lt_archive_cmds_CXX
82858 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82859
82860 # Commands used to build a loadable module if different from building
82861 # a shared archive.
82862 module_cmds=$lt_module_cmds_CXX
82863 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82864
82865 # Whether we are building with GNU ld or not.
82866 with_gnu_ld=$lt_with_gnu_ld_CXX
82867
82868 # Flag that allows shared libraries with undefined symbols to be built.
82869 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82870
82871 # Flag that enforces no undefined symbols.
82872 no_undefined_flag=$lt_no_undefined_flag_CXX
82873
82874 # Flag to hardcode \$libdir into a binary during linking.
82875 # This must work even if \$libdir does not exist
82876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82877
82878 # If ld is used when linking, flag to hardcode \$libdir into a binary
82879 # during linking. This must work even if \$libdir does not exist.
82880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82881
82882 # Whether we need a single "-rpath" flag with a separated argument.
82883 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82884
82885 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82886 # DIR into the resulting binary.
82887 hardcode_direct=$hardcode_direct_CXX
82888
82889 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82890 # DIR into the resulting binary and the resulting library dependency is
82891 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82892 # library is relocated.
82893 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82894
82895 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82896 # into the resulting binary.
82897 hardcode_minus_L=$hardcode_minus_L_CXX
82898
82899 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82900 # into the resulting binary.
82901 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82902
82903 # Set to "yes" if building a shared library automatically hardcodes DIR
82904 # into the library and all subsequent libraries and executables linked
82905 # against it.
82906 hardcode_automatic=$hardcode_automatic_CXX
82907
82908 # Set to yes if linker adds runtime paths of dependent libraries
82909 # to runtime path list.
82910 inherit_rpath=$inherit_rpath_CXX
82911
82912 # Whether libtool must link a program against all its dependency libraries.
82913 link_all_deplibs=$link_all_deplibs_CXX
82914
82915 # Fix the shell variable \$srcfile for the compiler.
82916 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82917
82918 # Set to "yes" if exported symbols are required.
82919 always_export_symbols=$always_export_symbols_CXX
82920
82921 # The commands to list exported symbols.
82922 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82923
82924 # Symbols that should not be listed in the preloaded symbols.
82925 exclude_expsyms=$lt_exclude_expsyms_CXX
82926
82927 # Symbols that must always be exported.
82928 include_expsyms=$lt_include_expsyms_CXX
82929
82930 # Commands necessary for linking programs (against libraries) with templates.
82931 prelink_cmds=$lt_prelink_cmds_CXX
82932
82933 # Specify filename containing input files.
82934 file_list_spec=$lt_file_list_spec_CXX
82935
82936 # How to hardcode a shared library path into an executable.
82937 hardcode_action=$hardcode_action_CXX
82938
82939 # The directories searched by this compiler when creating a shared library.
82940 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82941
82942 # Dependencies to place before and after the objects being linked to
82943 # create a shared library.
82944 predep_objects=$lt_predep_objects_CXX
82945 postdep_objects=$lt_postdep_objects_CXX
82946 predeps=$lt_predeps_CXX
82947 postdeps=$lt_postdeps_CXX
82948
82949 # The library search path used internally by the compiler when linking
82950 # a shared library.
82951 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82952
82953 # ### END LIBTOOL TAG CONFIG: CXX
82954 _LT_EOF
82955
82956 ;;
82957 "include/gstdint.h":C)
82958 if test "$GCC" = yes; then
82959 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82960 else
82961 echo "/* generated for $CC */" > tmp-stdint.h
82962 fi
82963
82964 sed 's/^ *//' >> tmp-stdint.h <<EOF
82965
82966 #ifndef GCC_GENERATED_STDINT_H
82967 #define GCC_GENERATED_STDINT_H 1
82968
82969 #include <sys/types.h>
82970 EOF
82971
82972 if test "$acx_cv_header_stdint" != stdint.h; then
82973 echo "#include <stddef.h>" >> tmp-stdint.h
82974 fi
82975 if test "$acx_cv_header_stdint" != stddef.h; then
82976 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82977 fi
82978
82979 sed 's/^ *//' >> tmp-stdint.h <<EOF
82980 /* glibc uses these symbols as guards to prevent redefinitions. */
82981 #ifdef __int8_t_defined
82982 #define _INT8_T
82983 #define _INT16_T
82984 #define _INT32_T
82985 #endif
82986 #ifdef __uint32_t_defined
82987 #define _UINT32_T
82988 #endif
82989
82990 EOF
82991
82992 # ----------------- done header, emit basic int types -------------
82993 if test "$acx_cv_header_stdint" = stddef.h; then
82994 sed 's/^ *//' >> tmp-stdint.h <<EOF
82995
82996 #ifndef _UINT8_T
82997 #define _UINT8_T
82998 #ifndef __uint8_t_defined
82999 #define __uint8_t_defined
83000 #ifndef uint8_t
83001 typedef unsigned $acx_cv_type_int8_t uint8_t;
83002 #endif
83003 #endif
83004 #endif
83005
83006 #ifndef _UINT16_T
83007 #define _UINT16_T
83008 #ifndef __uint16_t_defined
83009 #define __uint16_t_defined
83010 #ifndef uint16_t
83011 typedef unsigned $acx_cv_type_int16_t uint16_t;
83012 #endif
83013 #endif
83014 #endif
83015
83016 #ifndef _UINT32_T
83017 #define _UINT32_T
83018 #ifndef __uint32_t_defined
83019 #define __uint32_t_defined
83020 #ifndef uint32_t
83021 typedef unsigned $acx_cv_type_int32_t uint32_t;
83022 #endif
83023 #endif
83024 #endif
83025
83026 #ifndef _INT8_T
83027 #define _INT8_T
83028 #ifndef __int8_t_defined
83029 #define __int8_t_defined
83030 #ifndef int8_t
83031 typedef $acx_cv_type_int8_t int8_t;
83032 #endif
83033 #endif
83034 #endif
83035
83036 #ifndef _INT16_T
83037 #define _INT16_T
83038 #ifndef __int16_t_defined
83039 #define __int16_t_defined
83040 #ifndef int16_t
83041 typedef $acx_cv_type_int16_t int16_t;
83042 #endif
83043 #endif
83044 #endif
83045
83046 #ifndef _INT32_T
83047 #define _INT32_T
83048 #ifndef __int32_t_defined
83049 #define __int32_t_defined
83050 #ifndef int32_t
83051 typedef $acx_cv_type_int32_t int32_t;
83052 #endif
83053 #endif
83054 #endif
83055 EOF
83056 elif test "$ac_cv_type_u_int32_t" = yes; then
83057 sed 's/^ *//' >> tmp-stdint.h <<EOF
83058
83059 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
83060 #ifndef _INT8_T
83061 #define _INT8_T
83062 #endif
83063 #ifndef _INT16_T
83064 #define _INT16_T
83065 #endif
83066 #ifndef _INT32_T
83067 #define _INT32_T
83068 #endif
83069
83070 #ifndef _UINT8_T
83071 #define _UINT8_T
83072 #ifndef __uint8_t_defined
83073 #define __uint8_t_defined
83074 #ifndef uint8_t
83075 typedef u_int8_t uint8_t;
83076 #endif
83077 #endif
83078 #endif
83079
83080 #ifndef _UINT16_T
83081 #define _UINT16_T
83082 #ifndef __uint16_t_defined
83083 #define __uint16_t_defined
83084 #ifndef uint16_t
83085 typedef u_int16_t uint16_t;
83086 #endif
83087 #endif
83088 #endif
83089
83090 #ifndef _UINT32_T
83091 #define _UINT32_T
83092 #ifndef __uint32_t_defined
83093 #define __uint32_t_defined
83094 #ifndef uint32_t
83095 typedef u_int32_t uint32_t;
83096 #endif
83097 #endif
83098 #endif
83099 EOF
83100 else
83101 sed 's/^ *//' >> tmp-stdint.h <<EOF
83102
83103 /* Some systems have guard macros to prevent redefinitions, define them. */
83104 #ifndef _INT8_T
83105 #define _INT8_T
83106 #endif
83107 #ifndef _INT16_T
83108 #define _INT16_T
83109 #endif
83110 #ifndef _INT32_T
83111 #define _INT32_T
83112 #endif
83113 #ifndef _UINT8_T
83114 #define _UINT8_T
83115 #endif
83116 #ifndef _UINT16_T
83117 #define _UINT16_T
83118 #endif
83119 #ifndef _UINT32_T
83120 #define _UINT32_T
83121 #endif
83122 EOF
83123 fi
83124
83125 # ------------- done basic int types, emit int64_t types ------------
83126 if test "$ac_cv_type_uint64_t" = yes; then
83127 sed 's/^ *//' >> tmp-stdint.h <<EOF
83128
83129 /* system headers have good uint64_t and int64_t */
83130 #ifndef _INT64_T
83131 #define _INT64_T
83132 #endif
83133 #ifndef _UINT64_T
83134 #define _UINT64_T
83135 #endif
83136 EOF
83137 elif test "$ac_cv_type_u_int64_t" = yes; then
83138 sed 's/^ *//' >> tmp-stdint.h <<EOF
83139
83140 /* system headers have an u_int64_t (and int64_t) */
83141 #ifndef _INT64_T
83142 #define _INT64_T
83143 #endif
83144 #ifndef _UINT64_T
83145 #define _UINT64_T
83146 #ifndef __uint64_t_defined
83147 #define __uint64_t_defined
83148 #ifndef uint64_t
83149 typedef u_int64_t uint64_t;
83150 #endif
83151 #endif
83152 #endif
83153 EOF
83154 elif test -n "$acx_cv_type_int64_t"; then
83155 sed 's/^ *//' >> tmp-stdint.h <<EOF
83156
83157 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
83158 #ifndef _INT64_T
83159 #define _INT64_T
83160 #ifndef int64_t
83161 typedef $acx_cv_type_int64_t int64_t;
83162 #endif
83163 #endif
83164 #ifndef _UINT64_T
83165 #define _UINT64_T
83166 #ifndef __uint64_t_defined
83167 #define __uint64_t_defined
83168 #ifndef uint64_t
83169 typedef unsigned $acx_cv_type_int64_t uint64_t;
83170 #endif
83171 #endif
83172 #endif
83173 EOF
83174 else
83175 sed 's/^ *//' >> tmp-stdint.h <<EOF
83176
83177 /* some common heuristics for int64_t, using compiler-specific tests */
83178 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
83179 #ifndef _INT64_T
83180 #define _INT64_T
83181 #ifndef __int64_t_defined
83182 #ifndef int64_t
83183 typedef long long int64_t;
83184 #endif
83185 #endif
83186 #endif
83187 #ifndef _UINT64_T
83188 #define _UINT64_T
83189 #ifndef uint64_t
83190 typedef unsigned long long uint64_t;
83191 #endif
83192 #endif
83193
83194 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83195 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83196 does not implement __extension__. But that compiler doesn't define
83197 __GNUC_MINOR__. */
83198 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83199 # define __extension__
83200 # endif
83201
83202 # ifndef _INT64_T
83203 # define _INT64_T
83204 # ifndef int64_t
83205 __extension__ typedef long long int64_t;
83206 # endif
83207 # endif
83208 # ifndef _UINT64_T
83209 # define _UINT64_T
83210 # ifndef uint64_t
83211 __extension__ typedef unsigned long long uint64_t;
83212 # endif
83213 # endif
83214
83215 #elif !defined __STRICT_ANSI__
83216 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83217
83218 # ifndef _INT64_T
83219 # define _INT64_T
83220 # ifndef int64_t
83221 typedef __int64 int64_t;
83222 # endif
83223 # endif
83224 # ifndef _UINT64_T
83225 # define _UINT64_T
83226 # ifndef uint64_t
83227 typedef unsigned __int64 uint64_t;
83228 # endif
83229 # endif
83230 # endif /* compiler */
83231
83232 #endif /* ANSI version */
83233 EOF
83234 fi
83235
83236 # ------------- done int64_t types, emit intptr types ------------
83237 if test "$ac_cv_type_uintptr_t" != yes; then
83238 sed 's/^ *//' >> tmp-stdint.h <<EOF
83239
83240 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
83241 #ifndef __uintptr_t_defined
83242 #ifndef uintptr_t
83243 typedef u$acx_cv_type_intptr_t uintptr_t;
83244 #endif
83245 #endif
83246 #ifndef __intptr_t_defined
83247 #ifndef intptr_t
83248 typedef $acx_cv_type_intptr_t intptr_t;
83249 #endif
83250 #endif
83251 EOF
83252 fi
83253
83254 # ------------- done intptr types, emit int_least types ------------
83255 if test "$ac_cv_type_int_least32_t" != yes; then
83256 sed 's/^ *//' >> tmp-stdint.h <<EOF
83257
83258 /* Define int_least types */
83259 typedef int8_t int_least8_t;
83260 typedef int16_t int_least16_t;
83261 typedef int32_t int_least32_t;
83262 #ifdef _INT64_T
83263 typedef int64_t int_least64_t;
83264 #endif
83265
83266 typedef uint8_t uint_least8_t;
83267 typedef uint16_t uint_least16_t;
83268 typedef uint32_t uint_least32_t;
83269 #ifdef _UINT64_T
83270 typedef uint64_t uint_least64_t;
83271 #endif
83272 EOF
83273 fi
83274
83275 # ------------- done intptr types, emit int_fast types ------------
83276 if test "$ac_cv_type_int_fast32_t" != yes; then
83277 sed 's/^ *//' >> tmp-stdint.h <<EOF
83278
83279 /* Define int_fast types. short is often slow */
83280 typedef int8_t int_fast8_t;
83281 typedef int int_fast16_t;
83282 typedef int32_t int_fast32_t;
83283 #ifdef _INT64_T
83284 typedef int64_t int_fast64_t;
83285 #endif
83286
83287 typedef uint8_t uint_fast8_t;
83288 typedef unsigned int uint_fast16_t;
83289 typedef uint32_t uint_fast32_t;
83290 #ifdef _UINT64_T
83291 typedef uint64_t uint_fast64_t;
83292 #endif
83293 EOF
83294 fi
83295
83296 if test "$ac_cv_type_uintmax_t" != yes; then
83297 sed 's/^ *//' >> tmp-stdint.h <<EOF
83298
83299 /* Define intmax based on what we found */
83300 #ifndef intmax_t
83301 #ifdef _INT64_T
83302 typedef int64_t intmax_t;
83303 #else
83304 typedef long intmax_t;
83305 #endif
83306 #endif
83307 #ifndef uintmax_t
83308 #ifdef _UINT64_T
83309 typedef uint64_t uintmax_t;
83310 #else
83311 typedef unsigned long uintmax_t;
83312 #endif
83313 #endif
83314 EOF
83315 fi
83316
83317 sed 's/^ *//' >> tmp-stdint.h <<EOF
83318
83319 #endif /* GCC_GENERATED_STDINT_H */
83320 EOF
83321
83322 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
83323 rm -f tmp-stdint.h
83324 else
83325 mv -f tmp-stdint.h include/gstdint.h
83326 fi
83327
83328 ;;
83329 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
83330 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
83331 "include/Makefile":F) cat > vpsed$$ << \_EOF
83332 s!`test -f '$<' || echo '$(srcdir)/'`!!
83333 _EOF
83334 sed -f vpsed$$ $ac_file > tmp$$
83335 mv tmp$$ $ac_file
83336 rm vpsed$$
83337 echo 'MULTISUBDIR =' >> $ac_file
83338 ml_norecursion=yes
83339 . ${multi_basedir}/config-ml.in
83340 { ml_norecursion=; unset ml_norecursion;}
83341 ;;
83342 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
83343 s!`test -f '$<' || echo '$(srcdir)/'`!!
83344 _EOF
83345 sed -f vpsed$$ $ac_file > tmp$$
83346 mv tmp$$ $ac_file
83347 rm vpsed$$
83348 echo 'MULTISUBDIR =' >> $ac_file
83349 ml_norecursion=yes
83350 . ${multi_basedir}/config-ml.in
83351 { ml_norecursion=; unset ml_norecursion;}
83352 ;;
83353 "src/Makefile":F) cat > vpsed$$ << \_EOF
83354 s!`test -f '$<' || echo '$(srcdir)/'`!!
83355 _EOF
83356 sed -f vpsed$$ $ac_file > tmp$$
83357 mv tmp$$ $ac_file
83358 rm vpsed$$
83359 echo 'MULTISUBDIR =' >> $ac_file
83360 ml_norecursion=yes
83361 . ${multi_basedir}/config-ml.in
83362 { ml_norecursion=; unset ml_norecursion;}
83363 ;;
83364 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
83365 s!`test -f '$<' || echo '$(srcdir)/'`!!
83366 _EOF
83367 sed -f vpsed$$ $ac_file > tmp$$
83368 mv tmp$$ $ac_file
83369 rm vpsed$$
83370 echo 'MULTISUBDIR =' >> $ac_file
83371 ml_norecursion=yes
83372 . ${multi_basedir}/config-ml.in
83373 { ml_norecursion=; unset ml_norecursion;}
83374 ;;
83375 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
83376 s!`test -f '$<' || echo '$(srcdir)/'`!!
83377 _EOF
83378 sed -f vpsed$$ $ac_file > tmp$$
83379 mv tmp$$ $ac_file
83380 rm vpsed$$
83381 echo 'MULTISUBDIR =' >> $ac_file
83382 ml_norecursion=yes
83383 . ${multi_basedir}/config-ml.in
83384 { ml_norecursion=; unset ml_norecursion;}
83385 ;;
83386 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
83387 s!`test -f '$<' || echo '$(srcdir)/'`!!
83388 _EOF
83389 sed -f vpsed$$ $ac_file > tmp$$
83390 mv tmp$$ $ac_file
83391 rm vpsed$$
83392 echo 'MULTISUBDIR =' >> $ac_file
83393 ml_norecursion=yes
83394 . ${multi_basedir}/config-ml.in
83395 { ml_norecursion=; unset ml_norecursion;}
83396 ;;
83397 "doc/Makefile":F) cat > vpsed$$ << \_EOF
83398 s!`test -f '$<' || echo '$(srcdir)/'`!!
83399 _EOF
83400 sed -f vpsed$$ $ac_file > tmp$$
83401 mv tmp$$ $ac_file
83402 rm vpsed$$
83403 echo 'MULTISUBDIR =' >> $ac_file
83404 ml_norecursion=yes
83405 . ${multi_basedir}/config-ml.in
83406 { ml_norecursion=; unset ml_norecursion;}
83407 ;;
83408 "po/Makefile":F) cat > vpsed$$ << \_EOF
83409 s!`test -f '$<' || echo '$(srcdir)/'`!!
83410 _EOF
83411 sed -f vpsed$$ $ac_file > tmp$$
83412 mv tmp$$ $ac_file
83413 rm vpsed$$
83414 echo 'MULTISUBDIR =' >> $ac_file
83415 ml_norecursion=yes
83416 . ${multi_basedir}/config-ml.in
83417 { ml_norecursion=; unset ml_norecursion;}
83418 ;;
83419 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
83420 s!`test -f '$<' || echo '$(srcdir)/'`!!
83421 _EOF
83422 sed -f vpsed$$ $ac_file > tmp$$
83423 mv tmp$$ $ac_file
83424 rm vpsed$$
83425 echo 'MULTISUBDIR =' >> $ac_file
83426 ml_norecursion=yes
83427 . ${multi_basedir}/config-ml.in
83428 { ml_norecursion=; unset ml_norecursion;}
83429 ;;
83430 "python/Makefile":F) cat > vpsed$$ << \_EOF
83431 s!`test -f '$<' || echo '$(srcdir)/'`!!
83432 _EOF
83433 sed -f vpsed$$ $ac_file > tmp$$
83434 mv tmp$$ $ac_file
83435 rm vpsed$$
83436 echo 'MULTISUBDIR =' >> $ac_file
83437 ml_norecursion=yes
83438 . ${multi_basedir}/config-ml.in
83439 { ml_norecursion=; unset ml_norecursion;}
83440 ;;
83441 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
83442
83443 esac
83444 done # for ac_tag
83445
83446
83447 as_fn_exit 0
83448 _ACEOF
83449 ac_clean_files=$ac_clean_files_save
83450
83451 test $ac_write_fail = 0 ||
83452 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
83453
83454
83455 # configure is writing to config.log, and then calls config.status.
83456 # config.status does its own redirection, appending to config.log.
83457 # Unfortunately, on DOS this fails, as config.log is still kept open
83458 # by configure, so config.status won't be able to write to it; its
83459 # output is simply discarded. So we exec the FD to /dev/null,
83460 # effectively closing config.log, so it can be properly (re)opened and
83461 # appended to by config.status. When coming back to configure, we
83462 # need to make the FD available again.
83463 if test "$no_create" != yes; then
83464 ac_cs_success=:
83465 ac_config_status_args=
83466 test "$silent" = yes &&
83467 ac_config_status_args="$ac_config_status_args --quiet"
83468 exec 5>/dev/null
83469 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
83470 exec 5>>config.log
83471 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83472 # would make configure fail if this is the last instruction.
83473 $ac_cs_success || as_fn_exit $?
83474 fi
83475 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
83476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83477 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
83478 fi
83479