]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
Use autoconf to check for features needed by Networking TS
[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 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 EXTRA_CFLAGS
615 CPU_OPT_BITS_RANDOM
616 CPU_OPT_EXT_RANDOM
617 ERROR_CONSTANTS_SRCDIR
618 OS_INC_SRCDIR
619 ABI_TWEAKS_SRCDIR
620 CPU_DEFINES_SRCDIR
621 ATOMIC_FLAGS
622 ATOMIC_WORD_SRCDIR
623 ATOMICITY_SRCDIR
624 INCLUDE_DIR_NOTPARALLEL_FALSE
625 INCLUDE_DIR_NOTPARALLEL_TRUE
626 BUILD_PDF_FALSE
627 BUILD_PDF_TRUE
628 PDFLATEX
629 DBLATEX
630 BUILD_MAN_FALSE
631 BUILD_MAN_TRUE
632 BUILD_HTML_FALSE
633 BUILD_HTML_TRUE
634 BUILD_XML_FALSE
635 BUILD_XML_TRUE
636 BUILD_EPUB_FALSE
637 BUILD_EPUB_TRUE
638 XSL_STYLE_DIR
639 XMLLINT
640 XSLTPROC
641 DOT
642 DOXYGEN
643 BUILD_INFO_FALSE
644 BUILD_INFO_TRUE
645 ENABLE_FILESYSTEM_TS_FALSE
646 ENABLE_FILESYSTEM_TS_TRUE
647 baseline_subdir_switch
648 baseline_dir
649 HWCAP_CFLAGS
650 GLIBCXX_LDBL_COMPAT_FALSE
651 GLIBCXX_LDBL_COMPAT_TRUE
652 LONG_DOUBLE_COMPAT_FLAGS
653 ENABLE_CXX11_ABI_FALSE
654 ENABLE_CXX11_ABI_TRUE
655 glibcxx_cxx98_abi
656 ENABLE_DUAL_ABI_FALSE
657 ENABLE_DUAL_ABI_TRUE
658 ENABLE_VISIBILITY_FALSE
659 ENABLE_VISIBILITY_TRUE
660 libtool_VERSION
661 ENABLE_SYMVERS_SUN_FALSE
662 ENABLE_SYMVERS_SUN_TRUE
663 ENABLE_SYMVERS_DARWIN_FALSE
664 ENABLE_SYMVERS_DARWIN_TRUE
665 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
667 ENABLE_SYMVERS_GNU_FALSE
668 ENABLE_SYMVERS_GNU_TRUE
669 ENABLE_SYMVERS_FALSE
670 ENABLE_SYMVERS_TRUE
671 port_specific_symbol_files
672 SYMVER_FILE
673 CXXFILT
674 LTLIBICONV
675 LIBICONV
676 OPT_LDFLAGS
677 SECTION_LDFLAGS
678 GLIBCXX_LIBS
679 ENABLE_VTABLE_VERIFY_FALSE
680 ENABLE_VTABLE_VERIFY_TRUE
681 VTV_CYGMIN_FALSE
682 VTV_CYGMIN_TRUE
683 VTV_CXXLINKFLAGS
684 VTV_PCH_CXXFLAGS
685 VTV_CXXFLAGS
686 ENABLE_WERROR_FALSE
687 ENABLE_WERROR_TRUE
688 ENABLE_PYTHONDIR_FALSE
689 ENABLE_PYTHONDIR_TRUE
690 python_mod_dir
691 ENABLE_EXTERN_TEMPLATE_FALSE
692 ENABLE_EXTERN_TEMPLATE_TRUE
693 EXTRA_CXX_FLAGS
694 GLIBCXX_BUILD_DEBUG_FALSE
695 GLIBCXX_BUILD_DEBUG_TRUE
696 DEBUG_FLAGS
697 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
698 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
699 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
700 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
701 GLIBCXX_C_HEADERS_C_STD_FALSE
702 GLIBCXX_C_HEADERS_C_STD_TRUE
703 GLIBCXX_C_HEADERS_C_FALSE
704 GLIBCXX_C_HEADERS_C_TRUE
705 C_INCLUDE_DIR
706 ALLOCATOR_NAME
707 ALLOCATOR_H
708 ENABLE_ALLOCATOR_NEW_FALSE
709 ENABLE_ALLOCATOR_NEW_TRUE
710 CLOCALE_INTERNAL_H
711 CLOCALE_CC
712 CTIME_CC
713 CTIME_H
714 CNUMERIC_CC
715 CMONEY_CC
716 CMESSAGES_CC
717 CCTYPE_CC
718 CCOLLATE_CC
719 CCODECVT_CC
720 CMESSAGES_H
721 CLOCALE_H
722 USE_NLS
723 glibcxx_localedir
724 glibcxx_POFILES
725 glibcxx_MOFILES
726 check_msgfmt
727 BASIC_FILE_CC
728 BASIC_FILE_H
729 CSTDIO_H
730 SECTION_FLAGS
731 ENABLE_FLOAT128_FALSE
732 ENABLE_FLOAT128_TRUE
733 thread_header
734 glibcxx_PCHFLAGS
735 GLIBCXX_BUILD_PCH_FALSE
736 GLIBCXX_BUILD_PCH_TRUE
737 GLIBCXX_HOSTED_FALSE
738 GLIBCXX_HOSTED_TRUE
739 glibcxx_compiler_shared_flag
740 glibcxx_compiler_pic_flag
741 glibcxx_lt_pic_flag
742 enable_static
743 enable_shared
744 lt_host_flags
745 CXXCPP
746 OTOOL64
747 OTOOL
748 LIPO
749 NMEDIT
750 DSYMUTIL
751 OBJDUMP
752 NM
753 ac_ct_DUMPBIN
754 DUMPBIN
755 LD
756 FGREP
757 SED
758 LIBTOOL
759 EGREP
760 GREP
761 CPP
762 MAINT
763 MAINTAINER_MODE_FALSE
764 MAINTAINER_MODE_TRUE
765 RANLIB
766 AR
767 AS
768 LN_S
769 toplevel_srcdir
770 toplevel_builddir
771 glibcxx_srcdir
772 glibcxx_builddir
773 ac_ct_CXX
774 CXXFLAGS
775 CXX
776 OBJEXT
777 EXEEXT
778 ac_ct_CC
779 CPPFLAGS
780 LDFLAGS
781 CFLAGS
782 CC
783 am__untar
784 am__tar
785 AMTAR
786 am__leading_dot
787 SET_MAKE
788 AWK
789 mkdir_p
790 MKDIR_P
791 INSTALL_STRIP_PROGRAM
792 STRIP
793 install_sh
794 MAKEINFO
795 AUTOHEADER
796 AUTOMAKE
797 AUTOCONF
798 ACLOCAL
799 VERSION
800 PACKAGE
801 CYGPATH_W
802 am__isrc
803 INSTALL_DATA
804 INSTALL_SCRIPT
805 INSTALL_PROGRAM
806 target_os
807 target_vendor
808 target_cpu
809 target
810 host_os
811 host_vendor
812 host_cpu
813 host
814 build_os
815 build_vendor
816 build_cpu
817 build
818 multi_basedir
819 target_alias
820 host_alias
821 build_alias
822 LIBS
823 ECHO_T
824 ECHO_N
825 ECHO_C
826 DEFS
827 mandir
828 localedir
829 libdir
830 psdir
831 pdfdir
832 dvidir
833 htmldir
834 infodir
835 docdir
836 oldincludedir
837 includedir
838 localstatedir
839 sharedstatedir
840 sysconfdir
841 datadir
842 datarootdir
843 libexecdir
844 sbindir
845 bindir
846 program_transform_name
847 prefix
848 exec_prefix
849 PACKAGE_URL
850 PACKAGE_BUGREPORT
851 PACKAGE_STRING
852 PACKAGE_VERSION
853 PACKAGE_TARNAME
854 PACKAGE_NAME
855 PATH_SEPARATOR
856 SHELL'
857 ac_subst_files=''
858 ac_user_opts='
859 enable_option_checking
860 enable_multilib
861 with_target_subdir
862 with_cross_host
863 with_newlib
864 enable_maintainer_mode
865 enable_shared
866 enable_static
867 with_pic
868 enable_fast_install
869 with_gnu_ld
870 enable_libtool_lock
871 enable_hosted_libstdcxx
872 enable_libstdcxx_verbose
873 enable_libstdcxx_pch
874 enable_cstdio
875 enable_clocale
876 enable_nls
877 enable_libstdcxx_allocator
878 enable_cheaders
879 enable_long_long
880 enable_wchar_t
881 enable_c99
882 enable_concept_checks
883 enable_libstdcxx_debug_flags
884 enable_libstdcxx_debug
885 enable_cxx_flags
886 enable_fully_dynamic_string
887 enable_extern_template
888 with_python_dir
889 enable_werror
890 enable_vtable_verify
891 enable_libstdcxx_time
892 enable_tls
893 enable_rpath
894 with_libiconv_prefix
895 with_system_libunwind
896 enable_linux_futex
897 enable_symvers
898 enable_libstdcxx_visibility
899 enable_libstdcxx_dual_abi
900 with_default_libstdcxx_abi
901 enable_libstdcxx_threads
902 enable_libstdcxx_filesystem_ts
903 enable_cet
904 with_gxx_include_dir
905 enable_version_specific_runtime_libs
906 with_gcc_major_version_only
907 '
908 ac_precious_vars='build_alias
909 host_alias
910 target_alias
911 CC
912 CFLAGS
913 LDFLAGS
914 LIBS
915 CPPFLAGS
916 CXX
917 CXXFLAGS
918 CCC
919 CPP
920 CXXCPP
921 CXXFILT'
922
923
924 # Initialize some variables set by options.
925 ac_init_help=
926 ac_init_version=false
927 ac_unrecognized_opts=
928 ac_unrecognized_sep=
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
931 cache_file=/dev/null
932 exec_prefix=NONE
933 no_create=
934 no_recursion=
935 prefix=NONE
936 program_prefix=NONE
937 program_suffix=NONE
938 program_transform_name=s,x,x,
939 silent=
940 site=
941 srcdir=
942 verbose=
943 x_includes=NONE
944 x_libraries=NONE
945
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir='${exec_prefix}/bin'
953 sbindir='${exec_prefix}/sbin'
954 libexecdir='${exec_prefix}/libexec'
955 datarootdir='${prefix}/share'
956 datadir='${datarootdir}'
957 sysconfdir='${prefix}/etc'
958 sharedstatedir='${prefix}/com'
959 localstatedir='${prefix}/var'
960 includedir='${prefix}/include'
961 oldincludedir='/usr/include'
962 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
963 infodir='${datarootdir}/info'
964 htmldir='${docdir}'
965 dvidir='${docdir}'
966 pdfdir='${docdir}'
967 psdir='${docdir}'
968 libdir='${exec_prefix}/lib'
969 localedir='${datarootdir}/locale'
970 mandir='${datarootdir}/man'
971
972 ac_prev=
973 ac_dashdash=
974 for ac_option
975 do
976 # If the previous option needs an argument, assign it.
977 if test -n "$ac_prev"; then
978 eval $ac_prev=\$ac_option
979 ac_prev=
980 continue
981 fi
982
983 case $ac_option in
984 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
985 *) ac_optarg=yes ;;
986 esac
987
988 # Accept the important Cygnus configure options, so we can diagnose typos.
989
990 case $ac_dashdash$ac_option in
991 --)
992 ac_dashdash=yes ;;
993
994 -bindir | --bindir | --bindi | --bind | --bin | --bi)
995 ac_prev=bindir ;;
996 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997 bindir=$ac_optarg ;;
998
999 -build | --build | --buil | --bui | --bu)
1000 ac_prev=build_alias ;;
1001 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1002 build_alias=$ac_optarg ;;
1003
1004 -cache-file | --cache-file | --cache-fil | --cache-fi \
1005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1006 ac_prev=cache_file ;;
1007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1009 cache_file=$ac_optarg ;;
1010
1011 --config-cache | -C)
1012 cache_file=config.cache ;;
1013
1014 -datadir | --datadir | --datadi | --datad)
1015 ac_prev=datadir ;;
1016 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1017 datadir=$ac_optarg ;;
1018
1019 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1020 | --dataroo | --dataro | --datar)
1021 ac_prev=datarootdir ;;
1022 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1023 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1024 datarootdir=$ac_optarg ;;
1025
1026 -disable-* | --disable-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error "invalid feature name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1034 *"
1035 "enable_$ac_useropt"
1036 "*) ;;
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1039 esac
1040 eval enable_$ac_useropt=no ;;
1041
1042 -docdir | --docdir | --docdi | --doc | --do)
1043 ac_prev=docdir ;;
1044 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1045 docdir=$ac_optarg ;;
1046
1047 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048 ac_prev=dvidir ;;
1049 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1050 dvidir=$ac_optarg ;;
1051
1052 -enable-* | --enable-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error "invalid feature name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1060 *"
1061 "enable_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval enable_$ac_useropt=\$ac_optarg ;;
1067
1068 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1069 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1070 | --exec | --exe | --ex)
1071 ac_prev=exec_prefix ;;
1072 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1073 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1074 | --exec=* | --exe=* | --ex=*)
1075 exec_prefix=$ac_optarg ;;
1076
1077 -gas | --gas | --ga | --g)
1078 # Obsolete; use --with-gas.
1079 with_gas=yes ;;
1080
1081 -help | --help | --hel | --he | -h)
1082 ac_init_help=long ;;
1083 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1084 ac_init_help=recursive ;;
1085 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1086 ac_init_help=short ;;
1087
1088 -host | --host | --hos | --ho)
1089 ac_prev=host_alias ;;
1090 -host=* | --host=* | --hos=* | --ho=*)
1091 host_alias=$ac_optarg ;;
1092
1093 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1094 ac_prev=htmldir ;;
1095 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1096 | --ht=*)
1097 htmldir=$ac_optarg ;;
1098
1099 -includedir | --includedir | --includedi | --included | --include \
1100 | --includ | --inclu | --incl | --inc)
1101 ac_prev=includedir ;;
1102 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1103 | --includ=* | --inclu=* | --incl=* | --inc=*)
1104 includedir=$ac_optarg ;;
1105
1106 -infodir | --infodir | --infodi | --infod | --info | --inf)
1107 ac_prev=infodir ;;
1108 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109 infodir=$ac_optarg ;;
1110
1111 -libdir | --libdir | --libdi | --libd)
1112 ac_prev=libdir ;;
1113 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1114 libdir=$ac_optarg ;;
1115
1116 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1117 | --libexe | --libex | --libe)
1118 ac_prev=libexecdir ;;
1119 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1120 | --libexe=* | --libex=* | --libe=*)
1121 libexecdir=$ac_optarg ;;
1122
1123 -localedir | --localedir | --localedi | --localed | --locale)
1124 ac_prev=localedir ;;
1125 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126 localedir=$ac_optarg ;;
1127
1128 -localstatedir | --localstatedir | --localstatedi | --localstated \
1129 | --localstate | --localstat | --localsta | --localst | --locals)
1130 ac_prev=localstatedir ;;
1131 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1132 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1133 localstatedir=$ac_optarg ;;
1134
1135 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1136 ac_prev=mandir ;;
1137 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138 mandir=$ac_optarg ;;
1139
1140 -nfp | --nfp | --nf)
1141 # Obsolete; use --without-fp.
1142 with_fp=no ;;
1143
1144 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145 | --no-cr | --no-c | -n)
1146 no_create=yes ;;
1147
1148 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1150 no_recursion=yes ;;
1151
1152 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1153 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1154 | --oldin | --oldi | --old | --ol | --o)
1155 ac_prev=oldincludedir ;;
1156 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1157 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1158 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1159 oldincludedir=$ac_optarg ;;
1160
1161 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1162 ac_prev=prefix ;;
1163 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164 prefix=$ac_optarg ;;
1165
1166 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1167 | --program-pre | --program-pr | --program-p)
1168 ac_prev=program_prefix ;;
1169 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1170 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1171 program_prefix=$ac_optarg ;;
1172
1173 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1174 | --program-suf | --program-su | --program-s)
1175 ac_prev=program_suffix ;;
1176 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1177 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1178 program_suffix=$ac_optarg ;;
1179
1180 -program-transform-name | --program-transform-name \
1181 | --program-transform-nam | --program-transform-na \
1182 | --program-transform-n | --program-transform- \
1183 | --program-transform | --program-transfor \
1184 | --program-transfo | --program-transf \
1185 | --program-trans | --program-tran \
1186 | --progr-tra | --program-tr | --program-t)
1187 ac_prev=program_transform_name ;;
1188 -program-transform-name=* | --program-transform-name=* \
1189 | --program-transform-nam=* | --program-transform-na=* \
1190 | --program-transform-n=* | --program-transform-=* \
1191 | --program-transform=* | --program-transfor=* \
1192 | --program-transfo=* | --program-transf=* \
1193 | --program-trans=* | --program-tran=* \
1194 | --progr-tra=* | --program-tr=* | --program-t=*)
1195 program_transform_name=$ac_optarg ;;
1196
1197 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1198 ac_prev=pdfdir ;;
1199 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200 pdfdir=$ac_optarg ;;
1201
1202 -psdir | --psdir | --psdi | --psd | --ps)
1203 ac_prev=psdir ;;
1204 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1205 psdir=$ac_optarg ;;
1206
1207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208 | -silent | --silent | --silen | --sile | --sil)
1209 silent=yes ;;
1210
1211 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1212 ac_prev=sbindir ;;
1213 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1214 | --sbi=* | --sb=*)
1215 sbindir=$ac_optarg ;;
1216
1217 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1218 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1219 | --sharedst | --shareds | --shared | --share | --shar \
1220 | --sha | --sh)
1221 ac_prev=sharedstatedir ;;
1222 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1223 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1224 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1225 | --sha=* | --sh=*)
1226 sharedstatedir=$ac_optarg ;;
1227
1228 -site | --site | --sit)
1229 ac_prev=site ;;
1230 -site=* | --site=* | --sit=*)
1231 site=$ac_optarg ;;
1232
1233 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1234 ac_prev=srcdir ;;
1235 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1236 srcdir=$ac_optarg ;;
1237
1238 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1239 | --syscon | --sysco | --sysc | --sys | --sy)
1240 ac_prev=sysconfdir ;;
1241 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1242 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1243 sysconfdir=$ac_optarg ;;
1244
1245 -target | --target | --targe | --targ | --tar | --ta | --t)
1246 ac_prev=target_alias ;;
1247 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1248 target_alias=$ac_optarg ;;
1249
1250 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1251 verbose=yes ;;
1252
1253 -version | --version | --versio | --versi | --vers | -V)
1254 ac_init_version=: ;;
1255
1256 -with-* | --with-*)
1257 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1260 as_fn_error "invalid package name: $ac_useropt"
1261 ac_useropt_orig=$ac_useropt
1262 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1263 case $ac_user_opts in
1264 *"
1265 "with_$ac_useropt"
1266 "*) ;;
1267 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1268 ac_unrecognized_sep=', ';;
1269 esac
1270 eval with_$ac_useropt=\$ac_optarg ;;
1271
1272 -without-* | --without-*)
1273 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276 as_fn_error "invalid package name: $ac_useropt"
1277 ac_useropt_orig=$ac_useropt
1278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in
1280 *"
1281 "with_$ac_useropt"
1282 "*) ;;
1283 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284 ac_unrecognized_sep=', ';;
1285 esac
1286 eval with_$ac_useropt=no ;;
1287
1288 --x)
1289 # Obsolete; use --with-x.
1290 with_x=yes ;;
1291
1292 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1293 | --x-incl | --x-inc | --x-in | --x-i)
1294 ac_prev=x_includes ;;
1295 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1296 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1297 x_includes=$ac_optarg ;;
1298
1299 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1300 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1301 ac_prev=x_libraries ;;
1302 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1303 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1304 x_libraries=$ac_optarg ;;
1305
1306 -*) as_fn_error "unrecognized option: \`$ac_option'
1307 Try \`$0 --help' for more information."
1308 ;;
1309
1310 *=*)
1311 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1312 # Reject names that are not valid shell variable names.
1313 case $ac_envvar in #(
1314 '' | [0-9]* | *[!_$as_cr_alnum]* )
1315 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1316 esac
1317 eval $ac_envvar=\$ac_optarg
1318 export $ac_envvar ;;
1319
1320 *)
1321 # FIXME: should be removed in autoconf 3.0.
1322 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1323 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1324 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1325 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1326 ;;
1327
1328 esac
1329 done
1330
1331 if test -n "$ac_prev"; then
1332 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1333 as_fn_error "missing argument to $ac_option"
1334 fi
1335
1336 if test -n "$ac_unrecognized_opts"; then
1337 case $enable_option_checking in
1338 no) ;;
1339 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1340 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1341 esac
1342 fi
1343
1344 # Check all directory arguments for consistency.
1345 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346 datadir sysconfdir sharedstatedir localstatedir includedir \
1347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348 libdir localedir mandir
1349 do
1350 eval ac_val=\$$ac_var
1351 # Remove trailing slashes.
1352 case $ac_val in
1353 */ )
1354 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355 eval $ac_var=\$ac_val;;
1356 esac
1357 # Be sure to have absolute directory names.
1358 case $ac_val in
1359 [\\/$]* | ?:[\\/]* ) continue;;
1360 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1361 esac
1362 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1363 done
1364
1365 # There might be people who depend on the old broken behavior: `$host'
1366 # used to hold the argument of --host etc.
1367 # FIXME: To remove some day.
1368 build=$build_alias
1369 host=$host_alias
1370 target=$target_alias
1371
1372 # FIXME: To remove some day.
1373 if test "x$host_alias" != x; then
1374 if test "x$build_alias" = x; then
1375 cross_compiling=maybe
1376 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1377 If a cross compiler is detected then cross compile mode will be used." >&2
1378 elif test "x$build_alias" != "x$host_alias"; then
1379 cross_compiling=yes
1380 fi
1381 fi
1382
1383 ac_tool_prefix=
1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1385
1386 test "$silent" = yes && exec 6>/dev/null
1387
1388
1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di=`ls -di .` &&
1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error "working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error "pwd does not report name of working directory"
1395
1396
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 s//\1/
1409 q
1410 }
1411 /^X\(\/\/\)[^/].*/{
1412 s//\1/
1413 q
1414 }
1415 /^X\(\/\/\)$/{
1416 s//\1/
1417 q
1418 }
1419 /^X\(\/\).*/{
1420 s//\1/
1421 q
1422 }
1423 s/.*/./; q'`
1424 srcdir=$ac_confdir
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 srcdir=..
1427 fi
1428 else
1429 ac_srcdir_defaulted=no
1430 fi
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1434 fi
1435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1436 ac_abs_confdir=`(
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1438 pwd)`
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 srcdir=.
1442 fi
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1446 case $srcdir in
1447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1448 esac
1449 for ac_var in $ac_precious_vars; do
1450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_${ac_var}_value=\$${ac_var}
1452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1454 done
1455
1456 #
1457 # Report the --help message.
1458 #
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1462 cat <<_ACEOF
1463 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1464
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1466
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1469
1470 Defaults for the options are specified in brackets.
1471
1472 Configuration:
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1482
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 [PREFIX]
1488
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1493
1494 For better control, use the options below.
1495
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1516 _ACEOF
1517
1518 cat <<\_ACEOF
1519
1520 Program names:
1521 --program-prefix=PREFIX prepend PREFIX to installed program names
1522 --program-suffix=SUFFIX append SUFFIX to installed program names
1523 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1524
1525 System types:
1526 --build=BUILD configure for building on BUILD [guessed]
1527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1528 --target=TARGET configure for building compilers for TARGET [HOST]
1529 _ACEOF
1530 fi
1531
1532 if test -n "$ac_init_help"; then
1533 case $ac_init_help in
1534 short | recursive ) echo "Configuration of package-unused version-unused:";;
1535 esac
1536 cat <<\_ACEOF
1537
1538 Optional Features:
1539 --disable-option-checking ignore unrecognized --enable/--with options
1540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1542 --enable-multilib build many library versions (default)
1543 --enable-maintainer-mode enable make rules and dependencies not useful
1544 (and sometimes confusing) to the casual installer
1545 --enable-shared[=PKGS] build shared libraries [default=yes]
1546 --enable-static[=PKGS] build static libraries [default=yes]
1547 --enable-fast-install[=PKGS]
1548 optimize for fast installation [default=yes]
1549 --disable-libtool-lock avoid locking (might break parallel builds)
1550 --disable-hosted-libstdcxx
1551 only build freestanding C++ runtime support
1552 --disable-libstdcxx-verbose
1553 disable termination messages to standard error
1554 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1555 [default=$is_hosted]
1556 --enable-cstdio[=PACKAGE]
1557 use target-specific I/O package [default=stdio]
1558 --enable-clocale[=MODEL]
1559 use MODEL for target locale package [default=auto]
1560 --enable-nls use Native Language Support (default)
1561 --enable-libstdcxx-allocator[=KIND]
1562 use KIND for target std::allocator base
1563 [default=auto]
1564 --enable-cheaders[=KIND]
1565 construct "C" headers for g++ [default=$c_model]
1566 --enable-long-long enable template specializations for 'long long'
1567 [default=yes]
1568 --enable-wchar_t enable template specializations for 'wchar_t'
1569 [default=yes]
1570 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1571 --enable-concept-checks use Boost-derived template checks [default=no]
1572 --enable-libstdcxx-debug-flags=FLAGS
1573 pass compiler FLAGS when building debug library
1574 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1575 --enable-libstdcxx-debug
1576 build extra debug library [default=no]
1577 --enable-cxx-flags=FLAGS
1578 pass compiler FLAGS when building library [default=]
1579 --enable-fully-dynamic-string
1580 do not put empty strings in per-process static
1581 memory [default=no]
1582 --enable-extern-template
1583 enable extern template [default=yes]
1584 --enable-werror turns on -Werror [default=no]
1585 --enable-vtable-verify enable vtable verify [default=no]
1586 --enable-libstdcxx-time[=KIND]
1587 use KIND for check type [default=auto]
1588 --enable-tls Use thread-local storage [default=yes]
1589 --disable-rpath do not hardcode runtime library paths
1590 --enable-linux-futex use the Linux futex system call [default=default]
1591 --enable-symvers[=STYLE]
1592 enables symbol versioning of the shared library
1593 [default=yes]
1594 --enable-libstdcxx-visibility
1595 enables visibility safe usage [default=yes]
1596 --enable-libstdcxx-dual-abi
1597 support two versions of std::string [default=yes]
1598 --enable-libstdcxx-threads
1599 enable C++11 threads support [default=auto]
1600 --enable-libstdcxx-filesystem-ts
1601 turns on ISO/IEC TS 18822 support [default=auto]
1602 --enable-cet enable Intel CET in target libraries [default=no]
1603 --enable-version-specific-runtime-libs
1604 Specify that runtime libraries should be installed
1605 in a compiler-specific directory
1606
1607 Optional Packages:
1608 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1609 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1610 --with-target-subdir=SUBDIR
1611 configuring in a subdirectory
1612 --with-cross-host=HOST configuring with a cross compiler
1613 --with-newlib assume newlib as a system C library
1614 --with-pic try to use only PIC/non-PIC objects [default=use
1615 both]
1616 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1617 --with-python-dir the location to install Python modules. This path is
1618 relative starting from the prefix.
1619 --with-gnu-ld assume the C compiler uses GNU ld default=no
1620 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1621 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1622 --with-system-libunwind use installed libunwind
1623 --with-default-libstdcxx-abi
1624 set the std::string ABI to use by default
1625 --with-gxx-include-dir=DIR
1626 installation directory for include files
1627 --with-gcc-major-version-only
1628 use only GCC major number in filesystem paths
1629
1630 Some influential environment variables:
1631 CC C compiler command
1632 CFLAGS C compiler flags
1633 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1634 nonstandard directory <lib dir>
1635 LIBS libraries to pass to the linker, e.g. -l<library>
1636 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1637 you have headers in a nonstandard directory <include dir>
1638 CXX C++ compiler command
1639 CXXFLAGS C++ compiler flags
1640 CPP C preprocessor
1641 CXXCPP C++ preprocessor
1642 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1643 `c++filt', `gc++filt' on PATH.
1644
1645 Use these variables to override the choices made by `configure' or to help
1646 it to find libraries and programs with nonstandard names/locations.
1647
1648 Report bugs to the package provider.
1649 _ACEOF
1650 ac_status=$?
1651 fi
1652
1653 if test "$ac_init_help" = "recursive"; then
1654 # If there are subdirs, report their specific --help.
1655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656 test -d "$ac_dir" ||
1657 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1658 continue
1659 ac_builddir=.
1660
1661 case "$ac_dir" in
1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 *)
1664 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1665 # A ".." for each directory in $ac_dir_suffix.
1666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1667 case $ac_top_builddir_sub in
1668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670 esac ;;
1671 esac
1672 ac_abs_top_builddir=$ac_pwd
1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674 # for backward compatibility:
1675 ac_top_builddir=$ac_top_build_prefix
1676
1677 case $srcdir in
1678 .) # We are building in place.
1679 ac_srcdir=.
1680 ac_top_srcdir=$ac_top_builddir_sub
1681 ac_abs_top_srcdir=$ac_pwd ;;
1682 [\\/]* | ?:[\\/]* ) # Absolute name.
1683 ac_srcdir=$srcdir$ac_dir_suffix;
1684 ac_top_srcdir=$srcdir
1685 ac_abs_top_srcdir=$srcdir ;;
1686 *) # Relative name.
1687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688 ac_top_srcdir=$ac_top_build_prefix$srcdir
1689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690 esac
1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1692
1693 cd "$ac_dir" || { ac_status=$?; continue; }
1694 # Check for guested configure.
1695 if test -f "$ac_srcdir/configure.gnu"; then
1696 echo &&
1697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698 elif test -f "$ac_srcdir/configure"; then
1699 echo &&
1700 $SHELL "$ac_srcdir/configure" --help=recursive
1701 else
1702 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703 fi || ac_status=$?
1704 cd "$ac_pwd" || { ac_status=$?; break; }
1705 done
1706 fi
1707
1708 test -n "$ac_init_help" && exit $ac_status
1709 if $ac_init_version; then
1710 cat <<\_ACEOF
1711 package-unused configure version-unused
1712 generated by GNU Autoconf 2.64
1713
1714 Copyright (C) 2009 Free Software Foundation, Inc.
1715 This configure script is free software; the Free Software Foundation
1716 gives unlimited permission to copy, distribute and modify it.
1717 _ACEOF
1718 exit
1719 fi
1720
1721 ## ------------------------ ##
1722 ## Autoconf initialization. ##
1723 ## ------------------------ ##
1724
1725 # ac_fn_c_try_compile LINENO
1726 # --------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_compile ()
1729 {
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1740 ac_status=$?
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1745 fi
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1751 ac_retval=0
1752 else
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1755
1756 ac_retval=1
1757 fi
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 return $ac_retval
1760
1761 } # ac_fn_c_try_compile
1762
1763 # ac_fn_cxx_try_compile LINENO
1764 # ----------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_cxx_try_compile ()
1767 {
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext
1770 if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_compile") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1783 fi
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_cxx_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest.$ac_objext; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1793
1794 ac_retval=1
1795 fi
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 return $ac_retval
1798
1799 } # ac_fn_cxx_try_compile
1800
1801 # ac_fn_c_try_cpp LINENO
1802 # ----------------------
1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_c_try_cpp ()
1805 {
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 case "(($ac_try" in
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 ac_status=$?
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1820 fi
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } >/dev/null && {
1823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831 ac_retval=1
1832 fi
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 return $ac_retval
1835
1836 } # ac_fn_c_try_cpp
1837
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_link ()
1842 {
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1846 case "(($ac_try" in
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1853 ac_status=$?
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1858 fi
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest$ac_exeext
1866 }; then :
1867 ac_retval=0
1868 else
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1871
1872 ac_retval=1
1873 fi
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 return $ac_retval
1881
1882 } # ac_fn_c_try_link
1883
1884 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists and can be compiled using the include files in
1887 # INCLUDES, setting the cache variable VAR accordingly.
1888 ac_fn_c_check_header_compile ()
1889 {
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894 $as_echo_n "(cached) " >&6
1895 else
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 $4
1899 #include <$2>
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 eval "$3=yes"
1903 else
1904 eval "$3=no"
1905 fi
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 fi
1908 eval ac_res=\$$3
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912
1913 } # ac_fn_c_check_header_compile
1914
1915 # ac_fn_c_try_run LINENO
1916 # ----------------------
1917 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1918 # that executables *can* be run.
1919 ac_fn_c_try_run ()
1920 {
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 if { { ac_try="$ac_link"
1923 case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_link") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1933 { { case "(($ac_try" in
1934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1936 esac
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_try") 2>&5
1940 ac_status=$?
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; }; }; then :
1943 ac_retval=0
1944 else
1945 $as_echo "$as_me: program exited with status $ac_status" >&5
1946 $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.$ac_ext >&5
1948
1949 ac_retval=$ac_status
1950 fi
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 return $ac_retval
1954
1955 } # ac_fn_c_try_run
1956
1957 # ac_fn_c_check_func LINENO FUNC VAR
1958 # ----------------------------------
1959 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1960 ac_fn_c_check_func ()
1961 {
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1966 $as_echo_n "(cached) " >&6
1967 else
1968 if test x$gcc_no_link = xyes; then
1969 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1970 fi
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1975 #define $2 innocuous_$2
1976
1977 /* System header to define __stub macros and hopefully few prototypes,
1978 which can conflict with char $2 (); below.
1979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1980 <limits.h> exists even on freestanding compilers. */
1981
1982 #ifdef __STDC__
1983 # include <limits.h>
1984 #else
1985 # include <assert.h>
1986 #endif
1987
1988 #undef $2
1989
1990 /* Override any GCC internal prototype to avoid an error.
1991 Use char because int might match the return type of a GCC
1992 builtin and then its argument prototype would still apply. */
1993 #ifdef __cplusplus
1994 extern "C"
1995 #endif
1996 char $2 ();
1997 /* The GNU C library defines this for functions which it implements
1998 to always fail with ENOSYS. Some functions are actually named
1999 something starting with __ and the normal name is an alias. */
2000 #if defined __stub_$2 || defined __stub___$2
2001 choke me
2002 #endif
2003
2004 int
2005 main ()
2006 {
2007 return $2 ();
2008 ;
2009 return 0;
2010 }
2011 _ACEOF
2012 if ac_fn_c_try_link "$LINENO"; then :
2013 eval "$3=yes"
2014 else
2015 eval "$3=no"
2016 fi
2017 rm -f core conftest.err conftest.$ac_objext \
2018 conftest$ac_exeext conftest.$ac_ext
2019 fi
2020 eval ac_res=\$$3
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2024
2025 } # ac_fn_c_check_func
2026
2027 # ac_fn_cxx_try_cpp LINENO
2028 # ------------------------
2029 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_cpp ()
2031 {
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 if { { ac_try="$ac_cpp conftest.$ac_ext"
2034 case "(($ac_try" in
2035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036 *) ac_try_echo=$ac_try;;
2037 esac
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2041 ac_status=$?
2042 if test -s conftest.err; then
2043 grep -v '^ *+' conftest.err >conftest.er1
2044 cat conftest.er1 >&5
2045 mv -f conftest.er1 conftest.err
2046 fi
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 test $ac_status = 0; } >/dev/null && {
2049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2050 test ! -s conftest.err
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057 ac_retval=1
2058 fi
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 return $ac_retval
2061
2062 } # ac_fn_cxx_try_cpp
2063
2064 # ac_fn_cxx_try_link LINENO
2065 # -------------------------
2066 # Try to link conftest.$ac_ext, and return whether this succeeded.
2067 ac_fn_cxx_try_link ()
2068 {
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 rm -f conftest.$ac_objext conftest$ac_exeext
2071 if { { ac_try="$ac_link"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_link") 2>conftest.err
2079 ac_status=$?
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2084 fi
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } && {
2087 test -z "$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2089 } && test -s conftest$ac_exeext && {
2090 test "$cross_compiling" = yes ||
2091 $as_test_x conftest$ac_exeext
2092 }; then :
2093 ac_retval=0
2094 else
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2097
2098 ac_retval=1
2099 fi
2100 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2101 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2102 # interfere with the next link command; also delete a directory that is
2103 # left behind by Apple's compiler. We do this before executing the actions.
2104 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106 return $ac_retval
2107
2108 } # ac_fn_cxx_try_link
2109
2110 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2111 # -------------------------------------------------------
2112 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2113 # the include files in INCLUDES and setting the cache variable VAR
2114 # accordingly.
2115 ac_fn_c_check_header_mongrel ()
2116 {
2117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2122 $as_echo_n "(cached) " >&6
2123 fi
2124 eval ac_res=\$$3
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 else
2128 # Is the header compilable?
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2130 $as_echo_n "checking $2 usability... " >&6; }
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h. */
2133 $4
2134 #include <$2>
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137 ac_header_compiler=yes
2138 else
2139 ac_header_compiler=no
2140 fi
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2143 $as_echo "$ac_header_compiler" >&6; }
2144
2145 # Is the header present?
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2147 $as_echo_n "checking $2 presence... " >&6; }
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2150 #include <$2>
2151 _ACEOF
2152 if ac_fn_c_try_cpp "$LINENO"; then :
2153 ac_header_preproc=yes
2154 else
2155 ac_header_preproc=no
2156 fi
2157 rm -f conftest.err conftest.$ac_ext
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2159 $as_echo "$ac_header_preproc" >&6; }
2160
2161 # So? What about this header?
2162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2163 yes:no: )
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2165 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2167 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2168 ;;
2169 no:yes:* )
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2171 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2173 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2175 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2177 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2179 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2180 ;;
2181 esac
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183 $as_echo_n "checking for $2... " >&6; }
2184 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185 $as_echo_n "(cached) " >&6
2186 else
2187 eval "$3=\$ac_header_compiler"
2188 fi
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2192 fi
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194
2195 } # ac_fn_c_check_header_mongrel
2196
2197 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2198 # ---------------------------------------------------------
2199 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2200 # the include files in INCLUDES and setting the cache variable VAR
2201 # accordingly.
2202 ac_fn_cxx_check_header_mongrel ()
2203 {
2204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2207 $as_echo_n "checking for $2... " >&6; }
2208 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2210 fi
2211 eval ac_res=\$$3
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2213 $as_echo "$ac_res" >&6; }
2214 else
2215 # Is the header compilable?
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2217 $as_echo_n "checking $2 usability... " >&6; }
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2220 $4
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_cxx_try_compile "$LINENO"; then :
2224 ac_header_compiler=yes
2225 else
2226 ac_header_compiler=no
2227 fi
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2230 $as_echo "$ac_header_compiler" >&6; }
2231
2232 # Is the header present?
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2234 $as_echo_n "checking $2 presence... " >&6; }
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2237 #include <$2>
2238 _ACEOF
2239 if ac_fn_cxx_try_cpp "$LINENO"; then :
2240 ac_header_preproc=yes
2241 else
2242 ac_header_preproc=no
2243 fi
2244 rm -f conftest.err conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2246 $as_echo "$ac_header_preproc" >&6; }
2247
2248 # So? What about this header?
2249 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2250 yes:no: )
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2252 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2254 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2255 ;;
2256 no:yes:* )
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2258 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2260 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2262 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2264 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2266 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2267 ;;
2268 esac
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2270 $as_echo_n "checking for $2... " >&6; }
2271 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2272 $as_echo_n "(cached) " >&6
2273 else
2274 eval "$3=\$ac_header_compiler"
2275 fi
2276 eval ac_res=\$$3
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2279 fi
2280 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2281
2282 } # ac_fn_cxx_check_header_mongrel
2283
2284 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2285 # --------------------------------------------
2286 # Tries to find the compile-time value of EXPR in a program that includes
2287 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2288 # computed
2289 ac_fn_c_compute_int ()
2290 {
2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2292 if test "$cross_compiling" = yes; then
2293 # Depending upon the size, compute the lo and hi bounds.
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2296 $4
2297 int
2298 main ()
2299 {
2300 static int test_array [1 - 2 * !(($2) >= 0)];
2301 test_array [0] = 0
2302
2303 ;
2304 return 0;
2305 }
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_lo=0 ac_mid=0
2309 while :; do
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2312 $4
2313 int
2314 main ()
2315 {
2316 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2317 test_array [0] = 0
2318
2319 ;
2320 return 0;
2321 }
2322 _ACEOF
2323 if ac_fn_c_try_compile "$LINENO"; then :
2324 ac_hi=$ac_mid; break
2325 else
2326 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2327 if test $ac_lo -le $ac_mid; then
2328 ac_lo= ac_hi=
2329 break
2330 fi
2331 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2332 fi
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 done
2335 else
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2338 $4
2339 int
2340 main ()
2341 {
2342 static int test_array [1 - 2 * !(($2) < 0)];
2343 test_array [0] = 0
2344
2345 ;
2346 return 0;
2347 }
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_hi=-1 ac_mid=-1
2351 while :; do
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2359 test_array [0] = 0
2360
2361 ;
2362 return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_lo=$ac_mid; break
2367 else
2368 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2369 if test $ac_mid -le $ac_hi; then
2370 ac_lo= ac_hi=
2371 break
2372 fi
2373 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2374 fi
2375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2376 done
2377 else
2378 ac_lo= ac_hi=
2379 fi
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 fi
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 # Binary search between lo and hi bounds.
2384 while test "x$ac_lo" != "x$ac_hi"; do
2385 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2388 $4
2389 int
2390 main ()
2391 {
2392 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2393 test_array [0] = 0
2394
2395 ;
2396 return 0;
2397 }
2398 _ACEOF
2399 if ac_fn_c_try_compile "$LINENO"; then :
2400 ac_hi=$ac_mid
2401 else
2402 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2403 fi
2404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405 done
2406 case $ac_lo in #((
2407 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2408 '') ac_retval=1 ;;
2409 esac
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2413 $4
2414 static long int longval () { return $2; }
2415 static unsigned long int ulongval () { return $2; }
2416 #include <stdio.h>
2417 #include <stdlib.h>
2418 int
2419 main ()
2420 {
2421
2422 FILE *f = fopen ("conftest.val", "w");
2423 if (! f)
2424 return 1;
2425 if (($2) < 0)
2426 {
2427 long int i = longval ();
2428 if (i != ($2))
2429 return 1;
2430 fprintf (f, "%ld", i);
2431 }
2432 else
2433 {
2434 unsigned long int i = ulongval ();
2435 if (i != ($2))
2436 return 1;
2437 fprintf (f, "%lu", i);
2438 }
2439 /* Do not output a trailing newline, as this causes \r\n confusion
2440 on some platforms. */
2441 return ferror (f) || fclose (f) != 0;
2442
2443 ;
2444 return 0;
2445 }
2446 _ACEOF
2447 if ac_fn_c_try_run "$LINENO"; then :
2448 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2449 else
2450 ac_retval=1
2451 fi
2452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2453 conftest.$ac_objext conftest.beam conftest.$ac_ext
2454 rm -f conftest.val
2455
2456 fi
2457 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2458 return $ac_retval
2459
2460 } # ac_fn_c_compute_int
2461
2462 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2463 # -------------------------------------------
2464 # Tests whether TYPE exists after having included INCLUDES, setting cache
2465 # variable VAR accordingly.
2466 ac_fn_c_check_type ()
2467 {
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2470 $as_echo_n "checking for $2... " >&6; }
2471 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2472 $as_echo_n "(cached) " >&6
2473 else
2474 eval "$3=no"
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2490 $4
2491 int
2492 main ()
2493 {
2494 if (sizeof (($2)))
2495 return 0;
2496 ;
2497 return 0;
2498 }
2499 _ACEOF
2500 if ac_fn_c_try_compile "$LINENO"; then :
2501
2502 else
2503 eval "$3=yes"
2504 fi
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 fi
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 fi
2509 eval ac_res=\$$3
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2511 $as_echo "$ac_res" >&6; }
2512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2513
2514 } # ac_fn_c_check_type
2515
2516 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2517 # ---------------------------------------------
2518 # Tests whether TYPE exists after having included INCLUDES, setting cache
2519 # variable VAR accordingly.
2520 ac_fn_cxx_check_type ()
2521 {
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 eval "$3=no"
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2544 $4
2545 int
2546 main ()
2547 {
2548 if (sizeof (($2)))
2549 return 0;
2550 ;
2551 return 0;
2552 }
2553 _ACEOF
2554 if ac_fn_cxx_try_compile "$LINENO"; then :
2555
2556 else
2557 eval "$3=yes"
2558 fi
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 fi
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 fi
2563 eval ac_res=\$$3
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2567
2568 } # ac_fn_cxx_check_type
2569 cat >config.log <<_ACEOF
2570 This file contains any messages produced by compilers while
2571 running configure, to aid debugging if configure makes a mistake.
2572
2573 It was created by package-unused $as_me version-unused, which was
2574 generated by GNU Autoconf 2.64. Invocation command line was
2575
2576 $ $0 $@
2577
2578 _ACEOF
2579 exec 5>>config.log
2580 {
2581 cat <<_ASUNAME
2582 ## --------- ##
2583 ## Platform. ##
2584 ## --------- ##
2585
2586 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2587 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2588 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2589 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2590 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2591
2592 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2593 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2594
2595 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2596 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2597 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2598 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2599 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2600 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2601 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2602
2603 _ASUNAME
2604
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2607 do
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 $as_echo "PATH: $as_dir"
2611 done
2612 IFS=$as_save_IFS
2613
2614 } >&5
2615
2616 cat >&5 <<_ACEOF
2617
2618
2619 ## ----------- ##
2620 ## Core tests. ##
2621 ## ----------- ##
2622
2623 _ACEOF
2624
2625
2626 # Keep a trace of the command line.
2627 # Strip out --no-create and --no-recursion so they do not pile up.
2628 # Strip out --silent because we don't want to record it for future runs.
2629 # Also quote any args containing shell meta-characters.
2630 # Make two passes to allow for proper duplicate-argument suppression.
2631 ac_configure_args=
2632 ac_configure_args0=
2633 ac_configure_args1=
2634 ac_must_keep_next=false
2635 for ac_pass in 1 2
2636 do
2637 for ac_arg
2638 do
2639 case $ac_arg in
2640 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2642 | -silent | --silent | --silen | --sile | --sil)
2643 continue ;;
2644 *\'*)
2645 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2646 esac
2647 case $ac_pass in
2648 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2649 2)
2650 as_fn_append ac_configure_args1 " '$ac_arg'"
2651 if test $ac_must_keep_next = true; then
2652 ac_must_keep_next=false # Got value, back to normal.
2653 else
2654 case $ac_arg in
2655 *=* | --config-cache | -C | -disable-* | --disable-* \
2656 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2657 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2658 | -with-* | --with-* | -without-* | --without-* | --x)
2659 case "$ac_configure_args0 " in
2660 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2661 esac
2662 ;;
2663 -* ) ac_must_keep_next=true ;;
2664 esac
2665 fi
2666 as_fn_append ac_configure_args " '$ac_arg'"
2667 ;;
2668 esac
2669 done
2670 done
2671 { ac_configure_args0=; unset ac_configure_args0;}
2672 { ac_configure_args1=; unset ac_configure_args1;}
2673
2674 # When interrupted or exit'd, cleanup temporary files, and complete
2675 # config.log. We remove comments because anyway the quotes in there
2676 # would cause problems or look ugly.
2677 # WARNING: Use '\'' to represent an apostrophe within the trap.
2678 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2679 trap 'exit_status=$?
2680 # Save into config.log some information that might help in debugging.
2681 {
2682 echo
2683
2684 cat <<\_ASBOX
2685 ## ---------------- ##
2686 ## Cache variables. ##
2687 ## ---------------- ##
2688 _ASBOX
2689 echo
2690 # The following way of writing the cache mishandles newlines in values,
2691 (
2692 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2693 eval ac_val=\$$ac_var
2694 case $ac_val in #(
2695 *${as_nl}*)
2696 case $ac_var in #(
2697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2699 esac
2700 case $ac_var in #(
2701 _ | IFS | as_nl) ;; #(
2702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2703 *) { eval $ac_var=; unset $ac_var;} ;;
2704 esac ;;
2705 esac
2706 done
2707 (set) 2>&1 |
2708 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2709 *${as_nl}ac_space=\ *)
2710 sed -n \
2711 "s/'\''/'\''\\\\'\'''\''/g;
2712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2713 ;; #(
2714 *)
2715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2716 ;;
2717 esac |
2718 sort
2719 )
2720 echo
2721
2722 cat <<\_ASBOX
2723 ## ----------------- ##
2724 ## Output variables. ##
2725 ## ----------------- ##
2726 _ASBOX
2727 echo
2728 for ac_var in $ac_subst_vars
2729 do
2730 eval ac_val=\$$ac_var
2731 case $ac_val in
2732 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2733 esac
2734 $as_echo "$ac_var='\''$ac_val'\''"
2735 done | sort
2736 echo
2737
2738 if test -n "$ac_subst_files"; then
2739 cat <<\_ASBOX
2740 ## ------------------- ##
2741 ## File substitutions. ##
2742 ## ------------------- ##
2743 _ASBOX
2744 echo
2745 for ac_var in $ac_subst_files
2746 do
2747 eval ac_val=\$$ac_var
2748 case $ac_val in
2749 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2750 esac
2751 $as_echo "$ac_var='\''$ac_val'\''"
2752 done | sort
2753 echo
2754 fi
2755
2756 if test -s confdefs.h; then
2757 cat <<\_ASBOX
2758 ## ----------- ##
2759 ## confdefs.h. ##
2760 ## ----------- ##
2761 _ASBOX
2762 echo
2763 cat confdefs.h
2764 echo
2765 fi
2766 test "$ac_signal" != 0 &&
2767 $as_echo "$as_me: caught signal $ac_signal"
2768 $as_echo "$as_me: exit $exit_status"
2769 } >&5
2770 rm -f core *.core core.conftest.* &&
2771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2772 exit $exit_status
2773 ' 0
2774 for ac_signal in 1 2 13 15; do
2775 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2776 done
2777 ac_signal=0
2778
2779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2780 rm -f -r conftest* confdefs.h
2781
2782 $as_echo "/* confdefs.h */" > confdefs.h
2783
2784 # Predefined preprocessor variables.
2785
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE_NAME "$PACKAGE_NAME"
2788 _ACEOF
2789
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2792 _ACEOF
2793
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2796 _ACEOF
2797
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_STRING "$PACKAGE_STRING"
2800 _ACEOF
2801
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2804 _ACEOF
2805
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_URL "$PACKAGE_URL"
2808 _ACEOF
2809
2810
2811 # Let the site file select an alternate cache file if it wants to.
2812 # Prefer an explicitly selected file to automatically selected ones.
2813 ac_site_file1=NONE
2814 ac_site_file2=NONE
2815 if test -n "$CONFIG_SITE"; then
2816 ac_site_file1=$CONFIG_SITE
2817 elif test "x$prefix" != xNONE; then
2818 ac_site_file1=$prefix/share/config.site
2819 ac_site_file2=$prefix/etc/config.site
2820 else
2821 ac_site_file1=$ac_default_prefix/share/config.site
2822 ac_site_file2=$ac_default_prefix/etc/config.site
2823 fi
2824 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2825 do
2826 test "x$ac_site_file" = xNONE && continue
2827 if test -r "$ac_site_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2829 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2830 sed 's/^/| /' "$ac_site_file" >&5
2831 . "$ac_site_file"
2832 fi
2833 done
2834
2835 if test -r "$cache_file"; then
2836 # Some versions of bash will fail to source /dev/null (special
2837 # files actually), so we avoid doing that.
2838 if test -f "$cache_file"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2840 $as_echo "$as_me: loading cache $cache_file" >&6;}
2841 case $cache_file in
2842 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2843 *) . "./$cache_file";;
2844 esac
2845 fi
2846 else
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2848 $as_echo "$as_me: creating cache $cache_file" >&6;}
2849 >$cache_file
2850 fi
2851
2852 # Check that the precious variables saved in the cache have kept the same
2853 # value.
2854 ac_cache_corrupted=false
2855 for ac_var in $ac_precious_vars; do
2856 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2857 eval ac_new_set=\$ac_env_${ac_var}_set
2858 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2859 eval ac_new_val=\$ac_env_${ac_var}_value
2860 case $ac_old_set,$ac_new_set in
2861 set,)
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2863 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2864 ac_cache_corrupted=: ;;
2865 ,set)
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2867 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2868 ac_cache_corrupted=: ;;
2869 ,);;
2870 *)
2871 if test "x$ac_old_val" != "x$ac_new_val"; then
2872 # differences in whitespace do not lead to failure.
2873 ac_old_val_w=`echo x $ac_old_val`
2874 ac_new_val_w=`echo x $ac_new_val`
2875 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2877 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2878 ac_cache_corrupted=:
2879 else
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2881 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2882 eval $ac_var=\$ac_old_val
2883 fi
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2885 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2887 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2888 fi;;
2889 esac
2890 # Pass precious variables to config.status.
2891 if test "$ac_new_set" = set; then
2892 case $ac_new_val in
2893 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2894 *) ac_arg=$ac_var=$ac_new_val ;;
2895 esac
2896 case " $ac_configure_args " in
2897 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2898 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2899 esac
2900 fi
2901 done
2902 if $ac_cache_corrupted; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2906 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2907 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2908 fi
2909 ## -------------------- ##
2910 ## Main body of script. ##
2911 ## -------------------- ##
2912
2913 ac_ext=c
2914 ac_cpp='$CPP $CPPFLAGS'
2915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2918
2919
2920
2921
2922
2923
2924 ac_config_headers="$ac_config_headers config.h"
2925
2926
2927 # This works around the fact that libtool configuration may change LD
2928 # for this particular configuration, but some shells, instead of
2929 # keeping the changes in LD private, export them just because LD is
2930 # exported. Only used at the end of this file.
2931 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2932
2933 # Find the rest of the source tree framework.
2934 # Default to --enable-multilib
2935 # Check whether --enable-multilib was given.
2936 if test "${enable_multilib+set}" = set; then :
2937 enableval=$enable_multilib; case "$enableval" in
2938 yes) multilib=yes ;;
2939 no) multilib=no ;;
2940 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2941 esac
2942 else
2943 multilib=yes
2944 fi
2945
2946
2947 # We may get other options which we leave undocumented:
2948 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2949 # See config-ml.in if you want the gory details.
2950
2951 if test "$srcdir" = "."; then
2952 if test "$with_target_subdir" != "."; then
2953 multi_basedir="$srcdir/$with_multisrctop../.."
2954 else
2955 multi_basedir="$srcdir/$with_multisrctop.."
2956 fi
2957 else
2958 multi_basedir="$srcdir/.."
2959 fi
2960
2961
2962 # Even if the default multilib is not a cross compilation,
2963 # it may be that some of the other multilibs are.
2964 if test $cross_compiling = no && test $multilib = yes \
2965 && test "x${with_multisubdir}" != x ; then
2966 cross_compiling=maybe
2967 fi
2968
2969 ac_config_commands="$ac_config_commands default-1"
2970
2971
2972 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2973 #
2974 # You will slowly go insane if you do not grok the following fact: when
2975 # building v3 as part of the compiler, the top-level /target/ becomes the
2976 # library's /host/. configure then causes --target to default to --host,
2977 # exactly like any other package using autoconf. Therefore, 'target' and
2978 # 'host' will always be the same. This makes sense both for native and
2979 # cross compilers, just think about it for a little while. :-)
2980 #
2981 # Also, if v3 is being configured as part of a cross compiler, the top-level
2982 # configure script will pass the "real" host as $with_cross_host.
2983 #
2984 # Do not delete or change the following two lines. For why, see
2985 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2986 ac_aux_dir=
2987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2988 for ac_t in install-sh install.sh shtool; do
2989 if test -f "$ac_dir/$ac_t"; then
2990 ac_aux_dir=$ac_dir
2991 ac_install_sh="$ac_aux_dir/$ac_t -c"
2992 break 2
2993 fi
2994 done
2995 done
2996 if test -z "$ac_aux_dir"; then
2997 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2998 fi
2999
3000 # These three variables are undocumented and unsupported,
3001 # and are intended to be withdrawn in a future Autoconf release.
3002 # They can cause serious problems if a builder's source tree is in a directory
3003 # whose full name contains unusual characters.
3004 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3005 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3006 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3007
3008
3009 # Make sure we can run config.sub.
3010 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3011 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3012
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3014 $as_echo_n "checking build system type... " >&6; }
3015 if test "${ac_cv_build+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 ac_build_alias=$build_alias
3019 test "x$ac_build_alias" = x &&
3020 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3021 test "x$ac_build_alias" = x &&
3022 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3024 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3025
3026 fi
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3028 $as_echo "$ac_cv_build" >&6; }
3029 case $ac_cv_build in
3030 *-*-*) ;;
3031 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3032 esac
3033 build=$ac_cv_build
3034 ac_save_IFS=$IFS; IFS='-'
3035 set x $ac_cv_build
3036 shift
3037 build_cpu=$1
3038 build_vendor=$2
3039 shift; shift
3040 # Remember, the first character of IFS is used to create $*,
3041 # except with old shells:
3042 build_os=$*
3043 IFS=$ac_save_IFS
3044 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3045
3046
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3048 $as_echo_n "checking host system type... " >&6; }
3049 if test "${ac_cv_host+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 if test "x$host_alias" = x; then
3053 ac_cv_host=$ac_cv_build
3054 else
3055 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3056 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3057 fi
3058
3059 fi
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3061 $as_echo "$ac_cv_host" >&6; }
3062 case $ac_cv_host in
3063 *-*-*) ;;
3064 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3065 esac
3066 host=$ac_cv_host
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_host
3069 shift
3070 host_cpu=$1
3071 host_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 host_os=$*
3076 IFS=$ac_save_IFS
3077 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3078
3079
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3081 $as_echo_n "checking target system type... " >&6; }
3082 if test "${ac_cv_target+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 if test "x$target_alias" = x; then
3086 ac_cv_target=$ac_cv_host
3087 else
3088 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3089 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3090 fi
3091
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3094 $as_echo "$ac_cv_target" >&6; }
3095 case $ac_cv_target in
3096 *-*-*) ;;
3097 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3098 esac
3099 target=$ac_cv_target
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_target
3102 shift
3103 target_cpu=$1
3104 target_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 target_os=$*
3109 IFS=$ac_save_IFS
3110 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3111
3112
3113 # The aliases save the names the user supplied, while $host etc.
3114 # will get canonicalized.
3115 test -n "$target_alias" &&
3116 test "$program_prefix$program_suffix$program_transform_name" = \
3117 NONENONEs,x,x, &&
3118 program_prefix=${target_alias}-
3119
3120 target_alias=${target_alias-$host_alias}
3121
3122 # Handy for debugging:
3123 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3124
3125 if test "$build" != "$host"; then
3126 # We are being configured with some form of cross compiler.
3127 GLIBCXX_IS_NATIVE=false
3128 case "$host","$target" in
3129 # Darwin crosses can use the host system's libraries and headers,
3130 # because of the fat library support. Of course, it must be the
3131 # same version of Darwin on both sides. Allow the user to
3132 # just say --target=foo-darwin without a version number to mean
3133 # "the version on this system".
3134 *-*-darwin*,*-*-darwin*)
3135 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3136 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3137 if test $hostos = $targetos -o $targetos = darwin ; then
3138 GLIBCXX_IS_NATIVE=true
3139 fi
3140 ;;
3141
3142 *)
3143
3144 ;;
3145 esac
3146 else
3147 GLIBCXX_IS_NATIVE=true
3148 fi
3149
3150 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3151 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3152 # 1.x: minimum required version
3153 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3154 # of other PACKAGE_* variables will, however, and there's nothing
3155 # we can do about that; they come from AC_INIT).
3156 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3157 # file in the top srcdir, etc, etc), so stop complaining.
3158 # no-dependencies: turns off auto dependency generation (just for now)
3159 # no-dist: we don't want 'dist' and related rules.
3160 # -Wall: turns on all automake warnings...
3161 # -Wno-portability: ...except this one, since GNU make is now required.
3162 am__api_version='1.11'
3163
3164 # Find a good install program. We prefer a C program (faster),
3165 # so one script is as good as another. But avoid the broken or
3166 # incompatible versions:
3167 # SysV /etc/install, /usr/sbin/install
3168 # SunOS /usr/etc/install
3169 # IRIX /sbin/install
3170 # AIX /bin/install
3171 # AmigaOS /C/install, which installs bootblocks on floppy discs
3172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3175 # OS/2's system install, which has a completely different semantic
3176 # ./install, which can be erroneously created by make from ./install.sh.
3177 # Reject install programs that cannot install multiple files.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3179 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3180 if test -z "$INSTALL"; then
3181 if test "${ac_cv_path_install+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3186 do
3187 IFS=$as_save_IFS
3188 test -z "$as_dir" && as_dir=.
3189 # Account for people who put trailing slashes in PATH elements.
3190 case $as_dir/ in #((
3191 ./ | .// | /[cC]/* | \
3192 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3193 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3194 /usr/ucb/* ) ;;
3195 *)
3196 # OSF1 and SCO ODT 3.0 have their own names for install.
3197 # Don't use installbsd from OSF since it installs stuff as root
3198 # by default.
3199 for ac_prog in ginstall scoinst install; do
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3202 if test $ac_prog = install &&
3203 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3204 # AIX install. It has an incompatible calling convention.
3205 :
3206 elif test $ac_prog = install &&
3207 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3208 # program-specific install script used by HP pwplus--don't use.
3209 :
3210 else
3211 rm -rf conftest.one conftest.two conftest.dir
3212 echo one > conftest.one
3213 echo two > conftest.two
3214 mkdir conftest.dir
3215 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3216 test -s conftest.one && test -s conftest.two &&
3217 test -s conftest.dir/conftest.one &&
3218 test -s conftest.dir/conftest.two
3219 then
3220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3221 break 3
3222 fi
3223 fi
3224 fi
3225 done
3226 done
3227 ;;
3228 esac
3229
3230 done
3231 IFS=$as_save_IFS
3232
3233 rm -rf conftest.one conftest.two conftest.dir
3234
3235 fi
3236 if test "${ac_cv_path_install+set}" = set; then
3237 INSTALL=$ac_cv_path_install
3238 else
3239 # As a last resort, use the slow shell script. Don't cache a
3240 # value for INSTALL within a source directory, because that will
3241 # break other packages using the cache if that directory is
3242 # removed, or if the value is a relative name.
3243 INSTALL=$ac_install_sh
3244 fi
3245 fi
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3247 $as_echo "$INSTALL" >&6; }
3248
3249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3250 # It thinks the first close brace ends the variable substitution.
3251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3252
3253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3254
3255 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3256
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3258 $as_echo_n "checking whether build environment is sane... " >&6; }
3259 # Just in case
3260 sleep 1
3261 echo timestamp > conftest.file
3262 # Reject unsafe characters in $srcdir or the absolute working directory
3263 # name. Accept space and tab only in the latter.
3264 am_lf='
3265 '
3266 case `pwd` in
3267 *[\\\"\#\$\&\'\`$am_lf]*)
3268 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3269 esac
3270 case $srcdir in
3271 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3272 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3273 esac
3274
3275 # Do `set' in a subshell so we don't clobber the current shell's
3276 # arguments. Must try -L first in case configure is actually a
3277 # symlink; some systems play weird games with the mod time of symlinks
3278 # (eg FreeBSD returns the mod time of the symlink's containing
3279 # directory).
3280 if (
3281 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3282 if test "$*" = "X"; then
3283 # -L didn't work.
3284 set X `ls -t "$srcdir/configure" conftest.file`
3285 fi
3286 rm -f conftest.file
3287 if test "$*" != "X $srcdir/configure conftest.file" \
3288 && test "$*" != "X conftest.file $srcdir/configure"; then
3289
3290 # If neither matched, then we have a broken ls. This can happen
3291 # if, for instance, CONFIG_SHELL is bash and it inherits a
3292 # broken ls alias from the environment. This has actually
3293 # happened. Such a system could not be considered "sane".
3294 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3295 alias in your environment" "$LINENO" 5
3296 fi
3297
3298 test "$2" = conftest.file
3299 )
3300 then
3301 # Ok.
3302 :
3303 else
3304 as_fn_error "newly created file is older than distributed files!
3305 Check your system clock" "$LINENO" 5
3306 fi
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3309 test "$program_prefix" != NONE &&
3310 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3311 # Use a double $ so make ignores it.
3312 test "$program_suffix" != NONE &&
3313 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3314 # Double any \ or $.
3315 # By default was `s,x,x', remove it if useless.
3316 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3317 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3318
3319 # expand $ac_aux_dir to an absolute path
3320 am_aux_dir=`cd $ac_aux_dir && pwd`
3321
3322 if test x"${MISSING+set}" != xset; then
3323 case $am_aux_dir in
3324 *\ * | *\ *)
3325 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3326 *)
3327 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3328 esac
3329 fi
3330 # Use eval to expand $SHELL
3331 if eval "$MISSING --run true"; then
3332 am_missing_run="$MISSING --run "
3333 else
3334 am_missing_run=
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3336 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3337 fi
3338
3339 if test x"${install_sh}" != xset; then
3340 case $am_aux_dir in
3341 *\ * | *\ *)
3342 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3343 *)
3344 install_sh="\${SHELL} $am_aux_dir/install-sh"
3345 esac
3346 fi
3347
3348 # Installed binaries are usually stripped using `strip' when the user
3349 # run `make install-strip'. However `strip' might not be the right
3350 # tool to use in cross-compilation environments, therefore Automake
3351 # will honor the `STRIP' environment variable to overrule this program.
3352 if test "$cross_compiling" != no; then
3353 if test -n "$ac_tool_prefix"; then
3354 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3355 set dummy ${ac_tool_prefix}strip; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_STRIP+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3360 else
3361 if test -n "$STRIP"; then
3362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3366 do
3367 IFS=$as_save_IFS
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3374 fi
3375 done
3376 done
3377 IFS=$as_save_IFS
3378
3379 fi
3380 fi
3381 STRIP=$ac_cv_prog_STRIP
3382 if test -n "$STRIP"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3384 $as_echo "$STRIP" >&6; }
3385 else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388 fi
3389
3390
3391 fi
3392 if test -z "$ac_cv_prog_STRIP"; then
3393 ac_ct_STRIP=$STRIP
3394 # Extract the first word of "strip", so it can be a program name with args.
3395 set dummy strip; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -n "$ac_ct_STRIP"; then
3402 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3406 do
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_ac_ct_STRIP="strip"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3414 fi
3415 done
3416 done
3417 IFS=$as_save_IFS
3418
3419 fi
3420 fi
3421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3422 if test -n "$ac_ct_STRIP"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3424 $as_echo "$ac_ct_STRIP" >&6; }
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 fi
3429
3430 if test "x$ac_ct_STRIP" = x; then
3431 STRIP=":"
3432 else
3433 case $cross_compiling:$ac_tool_warned in
3434 yes:)
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3437 ac_tool_warned=yes ;;
3438 esac
3439 STRIP=$ac_ct_STRIP
3440 fi
3441 else
3442 STRIP="$ac_cv_prog_STRIP"
3443 fi
3444
3445 fi
3446 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3447
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3449 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3450 if test -z "$MKDIR_P"; then
3451 if test "${ac_cv_path_mkdir+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3456 do
3457 IFS=$as_save_IFS
3458 test -z "$as_dir" && as_dir=.
3459 for ac_prog in mkdir gmkdir; do
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3462 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3463 'mkdir (GNU coreutils) '* | \
3464 'mkdir (coreutils) '* | \
3465 'mkdir (fileutils) '4.1*)
3466 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3467 break 3;;
3468 esac
3469 done
3470 done
3471 done
3472 IFS=$as_save_IFS
3473
3474 fi
3475
3476 if test "${ac_cv_path_mkdir+set}" = set; then
3477 MKDIR_P="$ac_cv_path_mkdir -p"
3478 else
3479 # As a last resort, use the slow shell script. Don't cache a
3480 # value for MKDIR_P within a source directory, because that will
3481 # break other packages using the cache if that directory is
3482 # removed, or if the value is a relative name.
3483 test -d ./--version && rmdir ./--version
3484 MKDIR_P="$ac_install_sh -d"
3485 fi
3486 fi
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3488 $as_echo "$MKDIR_P" >&6; }
3489
3490 mkdir_p="$MKDIR_P"
3491 case $mkdir_p in
3492 [\\/$]* | ?:[\\/]*) ;;
3493 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3494 esac
3495
3496 for ac_prog in gawk mawk nawk awk
3497 do
3498 # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3501 $as_echo_n "checking for $ac_word... " >&6; }
3502 if test "${ac_cv_prog_AWK+set}" = set; then :
3503 $as_echo_n "(cached) " >&6
3504 else
3505 if test -n "$AWK"; then
3506 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3515 ac_cv_prog_AWK="$ac_prog"
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3518 fi
3519 done
3520 done
3521 IFS=$as_save_IFS
3522
3523 fi
3524 fi
3525 AWK=$ac_cv_prog_AWK
3526 if test -n "$AWK"; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3528 $as_echo "$AWK" >&6; }
3529 else
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3532 fi
3533
3534
3535 test -n "$AWK" && break
3536 done
3537
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3540 set x ${MAKE-make}
3541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3542 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3543 $as_echo_n "(cached) " >&6
3544 else
3545 cat >conftest.make <<\_ACEOF
3546 SHELL = /bin/sh
3547 all:
3548 @echo '@@@%%%=$(MAKE)=@@@%%%'
3549 _ACEOF
3550 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3552 *@@@%%%=?*=@@@%%%*)
3553 eval ac_cv_prog_make_${ac_make}_set=yes;;
3554 *)
3555 eval ac_cv_prog_make_${ac_make}_set=no;;
3556 esac
3557 rm -f conftest.make
3558 fi
3559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3562 SET_MAKE=
3563 else
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566 SET_MAKE="MAKE=${MAKE-make}"
3567 fi
3568
3569 rm -rf .tst 2>/dev/null
3570 mkdir .tst 2>/dev/null
3571 if test -d .tst; then
3572 am__leading_dot=.
3573 else
3574 am__leading_dot=_
3575 fi
3576 rmdir .tst 2>/dev/null
3577
3578 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3579 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3580 # is not polluted with repeated "-I."
3581 am__isrc=' -I$(srcdir)'
3582 # test to see if srcdir already configured
3583 if test -f $srcdir/config.status; then
3584 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3585 fi
3586 fi
3587
3588 # test whether we have cygpath
3589 if test -z "$CYGPATH_W"; then
3590 if (cygpath --version) >/dev/null 2>/dev/null; then
3591 CYGPATH_W='cygpath -w'
3592 else
3593 CYGPATH_W=echo
3594 fi
3595 fi
3596
3597
3598 # Define the identity of the package.
3599 PACKAGE='libstdc++'
3600 VERSION='version-unused'
3601
3602
3603 # Some tools Automake needs.
3604
3605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3606
3607
3608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3609
3610
3611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3612
3613
3614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3615
3616
3617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3618
3619 # We need awk for the "check" target. The system "awk" is bad on
3620 # some platforms.
3621 # Always define AMTAR for backward compatibility. Yes, it's still used
3622 # in the wild :-( We should find a proper way to deprecate it ...
3623 AMTAR='$${TAR-tar}'
3624
3625 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3626
3627
3628
3629
3630
3631
3632
3633
3634 # -fno-builtin must be present here so that a non-conflicting form of
3635 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3636
3637 save_CXXFLAGS="$CXXFLAGS"
3638 CXXFLAGS="$CXXFLAGS -fno-builtin"
3639 ac_ext=c
3640 ac_cpp='$CPP $CPPFLAGS'
3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644 if test -n "$ac_tool_prefix"; then
3645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3657 do
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3665 fi
3666 done
3667 done
3668 IFS=$as_save_IFS
3669
3670 fi
3671 fi
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3679 fi
3680
3681
3682 fi
3683 if test -z "$ac_cv_prog_CC"; then
3684 ac_ct_CC=$CC
3685 # Extract the first word of "gcc", so it can be a program name with args.
3686 set dummy gcc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3691 else
3692 if test -n "$ac_ct_CC"; then
3693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3697 do
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 ac_cv_prog_ac_ct_CC="gcc"
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3705 fi
3706 done
3707 done
3708 IFS=$as_save_IFS
3709
3710 fi
3711 fi
3712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3713 if test -n "$ac_ct_CC"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3715 $as_echo "$ac_ct_CC" >&6; }
3716 else
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3719 fi
3720
3721 if test "x$ac_ct_CC" = x; then
3722 CC=""
3723 else
3724 case $cross_compiling:$ac_tool_warned in
3725 yes:)
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728 ac_tool_warned=yes ;;
3729 esac
3730 CC=$ac_ct_CC
3731 fi
3732 else
3733 CC="$ac_cv_prog_CC"
3734 fi
3735
3736 if test -z "$CC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3739 set dummy ${ac_tool_prefix}cc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3750 do
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC="${ac_tool_prefix}cc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3758 fi
3759 done
3760 done
3761 IFS=$as_save_IFS
3762
3763 fi
3764 fi
3765 CC=$ac_cv_prog_CC
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3772 fi
3773
3774
3775 fi
3776 fi
3777 if test -z "$CC"; then
3778 # Extract the first word of "cc", so it can be a program name with args.
3779 set dummy cc; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC="$CC" # Let the user override the test.
3787 else
3788 ac_prog_rejected=no
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3791 do
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3797 ac_prog_rejected=yes
3798 continue
3799 fi
3800 ac_cv_prog_CC="cc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3803 fi
3804 done
3805 done
3806 IFS=$as_save_IFS
3807
3808 if test $ac_prog_rejected = yes; then
3809 # We found a bogon in the path, so make sure we never use it.
3810 set dummy $ac_cv_prog_CC
3811 shift
3812 if test $# != 0; then
3813 # We chose a different compiler from the bogus one.
3814 # However, it has the same basename, so the bogon will be chosen
3815 # first if we set CC to just the basename; use the full file name.
3816 shift
3817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3818 fi
3819 fi
3820 fi
3821 fi
3822 CC=$ac_cv_prog_CC
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3829 fi
3830
3831
3832 fi
3833 if test -z "$CC"; then
3834 if test -n "$ac_tool_prefix"; then
3835 for ac_prog in cl.exe
3836 do
3837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if test "${ac_cv_prog_CC+set}" = set; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH
3849 do
3850 IFS=$as_save_IFS
3851 test -z "$as_dir" && as_dir=.
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 break 2
3857 fi
3858 done
3859 done
3860 IFS=$as_save_IFS
3861
3862 fi
3863 fi
3864 CC=$ac_cv_prog_CC
3865 if test -n "$CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3867 $as_echo "$CC" >&6; }
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3871 fi
3872
3873
3874 test -n "$CC" && break
3875 done
3876 fi
3877 if test -z "$CC"; then
3878 ac_ct_CC=$CC
3879 for ac_prog in cl.exe
3880 do
3881 # Extract the first word of "$ac_prog", so it can be a program name with args.
3882 set dummy $ac_prog; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$ac_ct_CC"; then
3889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3893 do
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 ac_cv_prog_ac_ct_CC="$ac_prog"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3901 fi
3902 done
3903 done
3904 IFS=$as_save_IFS
3905
3906 fi
3907 fi
3908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3909 if test -n "$ac_ct_CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3911 $as_echo "$ac_ct_CC" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3915 fi
3916
3917
3918 test -n "$ac_ct_CC" && break
3919 done
3920
3921 if test "x$ac_ct_CC" = x; then
3922 CC=""
3923 else
3924 case $cross_compiling:$ac_tool_warned in
3925 yes:)
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3928 ac_tool_warned=yes ;;
3929 esac
3930 CC=$ac_ct_CC
3931 fi
3932 fi
3933
3934 fi
3935
3936
3937 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "no acceptable C compiler found in \$PATH
3940 See \`config.log' for more details." "$LINENO" 5; }
3941
3942 # Provide some information about the compiler.
3943 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3944 set X $ac_compile
3945 ac_compiler=$2
3946 for ac_option in --version -v -V -qversion; do
3947 { { ac_try="$ac_compiler $ac_option >&5"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3955 ac_status=$?
3956 if test -s conftest.err; then
3957 sed '10a\
3958 ... rest of stderr output deleted ...
3959 10q' conftest.err >conftest.er1
3960 cat conftest.er1 >&5
3961 rm -f conftest.er1 conftest.err
3962 fi
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }
3965 done
3966
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3969
3970 int
3971 main ()
3972 {
3973
3974 ;
3975 return 0;
3976 }
3977 _ACEOF
3978 # FIXME: Cleanup?
3979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3980 (eval $ac_link) 2>&5
3981 ac_status=$?
3982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983 test $ac_status = 0; }; then :
3984 gcc_no_link=no
3985 else
3986 gcc_no_link=yes
3987 fi
3988 if test x$gcc_no_link = xyes; then
3989 # Setting cross_compile will disable run tests; it will
3990 # also disable AC_CHECK_FILE but that's generally
3991 # correct if we can't link.
3992 cross_compiling=yes
3993 EXEEXT=
3994 else
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3997
3998 int
3999 main ()
4000 {
4001
4002 ;
4003 return 0;
4004 }
4005 _ACEOF
4006 ac_clean_files_save=$ac_clean_files
4007 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4008 # Try to create an executable without -o first, disregard a.out.
4009 # It will help us diagnose broken compilers, and finding out an intuition
4010 # of exeext.
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4012 $as_echo_n "checking for C compiler default output file name... " >&6; }
4013 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4014
4015 # The possible output files:
4016 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4017
4018 ac_rmfiles=
4019 for ac_file in $ac_files
4020 do
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4024 esac
4025 done
4026 rm -f $ac_rmfiles
4027
4028 if { { ac_try="$ac_link_default"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link_default") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4040 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4041 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4042 # so that the user can short-circuit this test for compilers unknown to
4043 # Autoconf.
4044 for ac_file in $ac_files ''
4045 do
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4049 ;;
4050 [ab].out )
4051 # We found the default executable, but exeext='' is most
4052 # certainly right.
4053 break;;
4054 *.* )
4055 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4056 then :; else
4057 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4058 fi
4059 # We set ac_cv_exeext here because the later test for it is not
4060 # safe: cross compilers may not add the suffix if given an `-o'
4061 # argument, so we may need to know it at that point already.
4062 # Even if this section looks crufty: it has the advantage of
4063 # actually working.
4064 break;;
4065 * )
4066 break;;
4067 esac
4068 done
4069 test "$ac_cv_exeext" = no && ac_cv_exeext=
4070
4071 else
4072 ac_file=''
4073 fi
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4075 $as_echo "$ac_file" >&6; }
4076 if test -z "$ac_file"; then :
4077 $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4079
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 { as_fn_set_status 77
4083 as_fn_error "C compiler cannot create executables
4084 See \`config.log' for more details." "$LINENO" 5; }; }
4085 fi
4086 ac_exeext=$ac_cv_exeext
4087
4088 # Check that the compiler produces executables we can run. If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4091 $as_echo_n "checking whether the C compiler works... " >&6; }
4092 # If not cross compiling, check that we can run a simple program.
4093 if test "$cross_compiling" != yes; then
4094 if { ac_try='./$ac_file'
4095 { { case "(($ac_try" in
4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_try") 2>&5
4102 ac_status=$?
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; }; then
4105 cross_compiling=no
4106 else
4107 if test "$cross_compiling" = maybe; then
4108 cross_compiling=yes
4109 else
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot run C compiled programs.
4113 If you meant to cross compile, use \`--host'.
4114 See \`config.log' for more details." "$LINENO" 5; }
4115 fi
4116 fi
4117 fi
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4120
4121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4122 ac_clean_files=$ac_clean_files_save
4123 # Check that the compiler produces executables we can run. If not, either
4124 # the compiler is broken, or we cross compile.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4126 $as_echo_n "checking whether we are cross compiling... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4128 $as_echo "$cross_compiling" >&6; }
4129
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4131 $as_echo_n "checking for suffix of executables... " >&6; }
4132 if { { ac_try="$ac_link"
4133 case "(($ac_try" in
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4136 esac
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_link") 2>&5
4140 ac_status=$?
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }; then :
4143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4145 # work properly (i.e., refer to `conftest.exe'), while it won't with
4146 # `rm'.
4147 for ac_file in conftest.exe conftest conftest.*; do
4148 test -f "$ac_file" || continue
4149 case $ac_file in
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4152 break;;
4153 * ) break;;
4154 esac
4155 done
4156 else
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error "cannot compute suffix of executables: cannot compile and link
4160 See \`config.log' for more details." "$LINENO" 5; }
4161 fi
4162 rm -f conftest$ac_cv_exeext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4164 $as_echo "$ac_cv_exeext" >&6; }
4165
4166 rm -f conftest.$ac_ext
4167 EXEEXT=$ac_cv_exeext
4168 ac_exeext=$EXEEXT
4169 fi
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4171 $as_echo_n "checking for suffix of object files... " >&6; }
4172 if test "${ac_cv_objext+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4177
4178 int
4179 main ()
4180 {
4181
4182 ;
4183 return 0;
4184 }
4185 _ACEOF
4186 rm -f conftest.o conftest.obj
4187 if { { ac_try="$ac_compile"
4188 case "(($ac_try" in
4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4191 esac
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 $as_echo "$ac_try_echo"; } >&5
4194 (eval "$ac_compile") 2>&5
4195 ac_status=$?
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }; then :
4198 for ac_file in conftest.o conftest.obj conftest.*; do
4199 test -f "$ac_file" || continue;
4200 case $ac_file in
4201 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4202 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4203 break;;
4204 esac
4205 done
4206 else
4207 $as_echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4209
4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4212 as_fn_error "cannot compute suffix of object files: cannot compile
4213 See \`config.log' for more details." "$LINENO" 5; }
4214 fi
4215 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4216 fi
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4218 $as_echo "$ac_cv_objext" >&6; }
4219 OBJEXT=$ac_cv_objext
4220 ac_objext=$OBJEXT
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4222 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4223 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4228
4229 int
4230 main ()
4231 {
4232 #ifndef __GNUC__
4233 choke me
4234 #endif
4235
4236 ;
4237 return 0;
4238 }
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 ac_compiler_gnu=yes
4242 else
4243 ac_compiler_gnu=no
4244 fi
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4247
4248 fi
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4250 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4251 if test $ac_compiler_gnu = yes; then
4252 GCC=yes
4253 else
4254 GCC=
4255 fi
4256 ac_test_CFLAGS=${CFLAGS+set}
4257 ac_save_CFLAGS=$CFLAGS
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4259 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4260 if test "${ac_cv_prog_cc_g+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 ac_save_c_werror_flag=$ac_c_werror_flag
4264 ac_c_werror_flag=yes
4265 ac_cv_prog_cc_g=no
4266 CFLAGS="-g"
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4269
4270 int
4271 main ()
4272 {
4273
4274 ;
4275 return 0;
4276 }
4277 _ACEOF
4278 if ac_fn_c_try_compile "$LINENO"; then :
4279 ac_cv_prog_cc_g=yes
4280 else
4281 CFLAGS=""
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4284
4285 int
4286 main ()
4287 {
4288
4289 ;
4290 return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294
4295 else
4296 ac_c_werror_flag=$ac_save_c_werror_flag
4297 CFLAGS="-g"
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4300
4301 int
4302 main ()
4303 {
4304
4305 ;
4306 return 0;
4307 }
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 ac_cv_prog_cc_g=yes
4311 fi
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4313 fi
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 fi
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 ac_c_werror_flag=$ac_save_c_werror_flag
4318 fi
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4320 $as_echo "$ac_cv_prog_cc_g" >&6; }
4321 if test "$ac_test_CFLAGS" = set; then
4322 CFLAGS=$ac_save_CFLAGS
4323 elif test $ac_cv_prog_cc_g = yes; then
4324 if test "$GCC" = yes; then
4325 CFLAGS="-g -O2"
4326 else
4327 CFLAGS="-g"
4328 fi
4329 else
4330 if test "$GCC" = yes; then
4331 CFLAGS="-O2"
4332 else
4333 CFLAGS=
4334 fi
4335 fi
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4337 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4338 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 ac_cv_prog_cc_c89=no
4342 ac_save_CC=$CC
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4345 #include <stdarg.h>
4346 #include <stdio.h>
4347 #include <sys/types.h>
4348 #include <sys/stat.h>
4349 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4350 struct buf { int x; };
4351 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4352 static char *e (p, i)
4353 char **p;
4354 int i;
4355 {
4356 return p[i];
4357 }
4358 static char *f (char * (*g) (char **, int), char **p, ...)
4359 {
4360 char *s;
4361 va_list v;
4362 va_start (v,p);
4363 s = g (p, va_arg (v,int));
4364 va_end (v);
4365 return s;
4366 }
4367
4368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4369 function prototypes and stuff, but not '\xHH' hex character constants.
4370 These don't provoke an error unfortunately, instead are silently treated
4371 as 'x'. The following induces an error, until -std is added to get
4372 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4373 array size at least. It's necessary to write '\x00'==0 to get something
4374 that's true only with -std. */
4375 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4376
4377 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4378 inside strings and character constants. */
4379 #define FOO(x) 'x'
4380 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4381
4382 int test (int i, double x);
4383 struct s1 {int (*f) (int a);};
4384 struct s2 {int (*f) (double a);};
4385 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4386 int argc;
4387 char **argv;
4388 int
4389 main ()
4390 {
4391 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4392 ;
4393 return 0;
4394 }
4395 _ACEOF
4396 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4397 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4398 do
4399 CC="$ac_save_CC $ac_arg"
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401 ac_cv_prog_cc_c89=$ac_arg
4402 fi
4403 rm -f core conftest.err conftest.$ac_objext
4404 test "x$ac_cv_prog_cc_c89" != "xno" && break
4405 done
4406 rm -f conftest.$ac_ext
4407 CC=$ac_save_CC
4408
4409 fi
4410 # AC_CACHE_VAL
4411 case "x$ac_cv_prog_cc_c89" in
4412 x)
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4414 $as_echo "none needed" >&6; } ;;
4415 xno)
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4417 $as_echo "unsupported" >&6; } ;;
4418 *)
4419 CC="$CC $ac_cv_prog_cc_c89"
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4421 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4422 esac
4423 if test "x$ac_cv_prog_cc_c89" != xno; then :
4424
4425 fi
4426
4427 ac_ext=c
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4432
4433 ac_ext=cpp
4434 ac_cpp='$CXXCPP $CPPFLAGS'
4435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4438 if test -z "$CXX"; then
4439 if test -n "$CCC"; then
4440 CXX=$CCC
4441 else
4442 if test -n "$ac_tool_prefix"; then
4443 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4444 do
4445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if test "${ac_cv_prog_CXX+set}" = set; then :
4450 $as_echo_n "(cached) " >&6
4451 else
4452 if test -n "$CXX"; then
4453 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4454 else
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH
4457 do
4458 IFS=$as_save_IFS
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 break 2
4465 fi
4466 done
4467 done
4468 IFS=$as_save_IFS
4469
4470 fi
4471 fi
4472 CXX=$ac_cv_prog_CXX
4473 if test -n "$CXX"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4475 $as_echo "$CXX" >&6; }
4476 else
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4479 fi
4480
4481
4482 test -n "$CXX" && break
4483 done
4484 fi
4485 if test -z "$CXX"; then
4486 ac_ct_CXX=$CXX
4487 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4488 do
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 if test -n "$ac_ct_CXX"; then
4497 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4501 do
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506 ac_cv_prog_ac_ct_CXX="$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4509 fi
4510 done
4511 done
4512 IFS=$as_save_IFS
4513
4514 fi
4515 fi
4516 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4517 if test -n "$ac_ct_CXX"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4519 $as_echo "$ac_ct_CXX" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4523 fi
4524
4525
4526 test -n "$ac_ct_CXX" && break
4527 done
4528
4529 if test "x$ac_ct_CXX" = x; then
4530 CXX="g++"
4531 else
4532 case $cross_compiling:$ac_tool_warned in
4533 yes:)
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4536 ac_tool_warned=yes ;;
4537 esac
4538 CXX=$ac_ct_CXX
4539 fi
4540 fi
4541
4542 fi
4543 fi
4544 # Provide some information about the compiler.
4545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4546 set X $ac_compile
4547 ac_compiler=$2
4548 for ac_option in --version -v -V -qversion; do
4549 { { ac_try="$ac_compiler $ac_option >&5"
4550 case "(($ac_try" in
4551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4553 esac
4554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4555 $as_echo "$ac_try_echo"; } >&5
4556 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4557 ac_status=$?
4558 if test -s conftest.err; then
4559 sed '10a\
4560 ... rest of stderr output deleted ...
4561 10q' conftest.err >conftest.er1
4562 cat conftest.er1 >&5
4563 rm -f conftest.er1 conftest.err
4564 fi
4565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4566 test $ac_status = 0; }
4567 done
4568
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4570 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4571 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4576
4577 int
4578 main ()
4579 {
4580 #ifndef __GNUC__
4581 choke me
4582 #endif
4583
4584 ;
4585 return 0;
4586 }
4587 _ACEOF
4588 if ac_fn_cxx_try_compile "$LINENO"; then :
4589 ac_compiler_gnu=yes
4590 else
4591 ac_compiler_gnu=no
4592 fi
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4595
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4599 if test $ac_compiler_gnu = yes; then
4600 GXX=yes
4601 else
4602 GXX=
4603 fi
4604 ac_test_CXXFLAGS=${CXXFLAGS+set}
4605 ac_save_CXXFLAGS=$CXXFLAGS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4608 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4612 ac_cxx_werror_flag=yes
4613 ac_cv_prog_cxx_g=no
4614 CXXFLAGS="-g"
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4617
4618 int
4619 main ()
4620 {
4621
4622 ;
4623 return 0;
4624 }
4625 _ACEOF
4626 if ac_fn_cxx_try_compile "$LINENO"; then :
4627 ac_cv_prog_cxx_g=yes
4628 else
4629 CXXFLAGS=""
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4632
4633 int
4634 main ()
4635 {
4636
4637 ;
4638 return 0;
4639 }
4640 _ACEOF
4641 if ac_fn_cxx_try_compile "$LINENO"; then :
4642
4643 else
4644 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4645 CXXFLAGS="-g"
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648
4649 int
4650 main ()
4651 {
4652
4653 ;
4654 return 0;
4655 }
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4658 ac_cv_prog_cxx_g=yes
4659 fi
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 fi
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 fi
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4666 fi
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4668 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4669 if test "$ac_test_CXXFLAGS" = set; then
4670 CXXFLAGS=$ac_save_CXXFLAGS
4671 elif test $ac_cv_prog_cxx_g = yes; then
4672 if test "$GXX" = yes; then
4673 CXXFLAGS="-g -O2"
4674 else
4675 CXXFLAGS="-g"
4676 fi
4677 else
4678 if test "$GXX" = yes; then
4679 CXXFLAGS="-O2"
4680 else
4681 CXXFLAGS=
4682 fi
4683 fi
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689
4690 CXXFLAGS="$save_CXXFLAGS"
4691
4692 # Runs configure.host, and assorted other critical bits. Sets
4693 # up critical shell variables.
4694
4695 ac_ext=c
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4702 # On Suns, sometimes $CPP names a directory.
4703 if test -n "$CPP" && test -d "$CPP"; then
4704 CPP=
4705 fi
4706 if test -z "$CPP"; then
4707 if test "${ac_cv_prog_CPP+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 # Double quotes because CPP needs to be expanded
4711 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4712 do
4713 ac_preproc_ok=false
4714 for ac_c_preproc_warn_flag in '' yes
4715 do
4716 # Use a header file that comes with gcc, so configuring glibc
4717 # with a fresh cross-compiler works.
4718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4719 # <limits.h> exists even on freestanding compilers.
4720 # On the NeXT, cc -E runs the code through the compiler's parser,
4721 # not just through cpp. "Syntax error" is here to catch this case.
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 #ifdef __STDC__
4725 # include <limits.h>
4726 #else
4727 # include <assert.h>
4728 #endif
4729 Syntax error
4730 _ACEOF
4731 if ac_fn_c_try_cpp "$LINENO"; then :
4732
4733 else
4734 # Broken: fails on valid input.
4735 continue
4736 fi
4737 rm -f conftest.err conftest.$ac_ext
4738
4739 # OK, works on sane cases. Now check whether nonexistent headers
4740 # can be detected and how.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if ac_fn_c_try_cpp "$LINENO"; then :
4746 # Broken: success on invalid input.
4747 continue
4748 else
4749 # Passes both tests.
4750 ac_preproc_ok=:
4751 break
4752 fi
4753 rm -f conftest.err conftest.$ac_ext
4754
4755 done
4756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4757 rm -f conftest.err conftest.$ac_ext
4758 if $ac_preproc_ok; then :
4759 break
4760 fi
4761
4762 done
4763 ac_cv_prog_CPP=$CPP
4764
4765 fi
4766 CPP=$ac_cv_prog_CPP
4767 else
4768 ac_cv_prog_CPP=$CPP
4769 fi
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4771 $as_echo "$CPP" >&6; }
4772 ac_preproc_ok=false
4773 for ac_c_preproc_warn_flag in '' yes
4774 do
4775 # Use a header file that comes with gcc, so configuring glibc
4776 # with a fresh cross-compiler works.
4777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 # <limits.h> exists even on freestanding compilers.
4779 # On the NeXT, cc -E runs the code through the compiler's parser,
4780 # not just through cpp. "Syntax error" is here to catch this case.
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4783 #ifdef __STDC__
4784 # include <limits.h>
4785 #else
4786 # include <assert.h>
4787 #endif
4788 Syntax error
4789 _ACEOF
4790 if ac_fn_c_try_cpp "$LINENO"; then :
4791
4792 else
4793 # Broken: fails on valid input.
4794 continue
4795 fi
4796 rm -f conftest.err conftest.$ac_ext
4797
4798 # OK, works on sane cases. Now check whether nonexistent headers
4799 # can be detected and how.
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #include <ac_nonexistent.h>
4803 _ACEOF
4804 if ac_fn_c_try_cpp "$LINENO"; then :
4805 # Broken: success on invalid input.
4806 continue
4807 else
4808 # Passes both tests.
4809 ac_preproc_ok=:
4810 break
4811 fi
4812 rm -f conftest.err conftest.$ac_ext
4813
4814 done
4815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4816 rm -f conftest.err conftest.$ac_ext
4817 if $ac_preproc_ok; then :
4818
4819 else
4820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4822 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4823 See \`config.log' for more details." "$LINENO" 5; }
4824 fi
4825
4826 ac_ext=c
4827 ac_cpp='$CPP $CPPFLAGS'
4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4831
4832
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4834 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4835 if test "${ac_cv_path_GREP+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 if test -z "$GREP"; then
4839 ac_path_GREP_found=false
4840 # Loop through the user's path and test for each of PROGNAME-LIST
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4843 do
4844 IFS=$as_save_IFS
4845 test -z "$as_dir" && as_dir=.
4846 for ac_prog in grep ggrep; do
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4849 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4850 # Check for GNU ac_path_GREP and select it if it is found.
4851 # Check for GNU $ac_path_GREP
4852 case `"$ac_path_GREP" --version 2>&1` in
4853 *GNU*)
4854 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4855 *)
4856 ac_count=0
4857 $as_echo_n 0123456789 >"conftest.in"
4858 while :
4859 do
4860 cat "conftest.in" "conftest.in" >"conftest.tmp"
4861 mv "conftest.tmp" "conftest.in"
4862 cp "conftest.in" "conftest.nl"
4863 $as_echo 'GREP' >> "conftest.nl"
4864 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4865 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4866 as_fn_arith $ac_count + 1 && ac_count=$as_val
4867 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4868 # Best one so far, save it but keep looking for a better one
4869 ac_cv_path_GREP="$ac_path_GREP"
4870 ac_path_GREP_max=$ac_count
4871 fi
4872 # 10*(2^10) chars as input seems more than enough
4873 test $ac_count -gt 10 && break
4874 done
4875 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4876 esac
4877
4878 $ac_path_GREP_found && break 3
4879 done
4880 done
4881 done
4882 IFS=$as_save_IFS
4883 if test -z "$ac_cv_path_GREP"; then
4884 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4885 fi
4886 else
4887 ac_cv_path_GREP=$GREP
4888 fi
4889
4890 fi
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4892 $as_echo "$ac_cv_path_GREP" >&6; }
4893 GREP="$ac_cv_path_GREP"
4894
4895
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4897 $as_echo_n "checking for egrep... " >&6; }
4898 if test "${ac_cv_path_EGREP+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4902 then ac_cv_path_EGREP="$GREP -E"
4903 else
4904 if test -z "$EGREP"; then
4905 ac_path_EGREP_found=false
4906 # Loop through the user's path and test for each of PROGNAME-LIST
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4909 do
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_prog in egrep; do
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4915 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4916 # Check for GNU ac_path_EGREP and select it if it is found.
4917 # Check for GNU $ac_path_EGREP
4918 case `"$ac_path_EGREP" --version 2>&1` in
4919 *GNU*)
4920 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4921 *)
4922 ac_count=0
4923 $as_echo_n 0123456789 >"conftest.in"
4924 while :
4925 do
4926 cat "conftest.in" "conftest.in" >"conftest.tmp"
4927 mv "conftest.tmp" "conftest.in"
4928 cp "conftest.in" "conftest.nl"
4929 $as_echo 'EGREP' >> "conftest.nl"
4930 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4931 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4932 as_fn_arith $ac_count + 1 && ac_count=$as_val
4933 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4934 # Best one so far, save it but keep looking for a better one
4935 ac_cv_path_EGREP="$ac_path_EGREP"
4936 ac_path_EGREP_max=$ac_count
4937 fi
4938 # 10*(2^10) chars as input seems more than enough
4939 test $ac_count -gt 10 && break
4940 done
4941 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4942 esac
4943
4944 $ac_path_EGREP_found && break 3
4945 done
4946 done
4947 done
4948 IFS=$as_save_IFS
4949 if test -z "$ac_cv_path_EGREP"; then
4950 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4951 fi
4952 else
4953 ac_cv_path_EGREP=$EGREP
4954 fi
4955
4956 fi
4957 fi
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4959 $as_echo "$ac_cv_path_EGREP" >&6; }
4960 EGREP="$ac_cv_path_EGREP"
4961
4962
4963
4964 # Keep these sync'd with the list in Makefile.am. The first provides an
4965 # expandable list at autoconf time; the second provides an expandable list
4966 # (i.e., shell variable) at configure time.
4967
4968 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
4969
4970 # These need to be absolute paths, yet at the same time need to
4971 # canonicalize only relative paths, because then amd will not unmount
4972 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4973 glibcxx_builddir=`${PWDCMD-pwd}`
4974 case $srcdir in
4975 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4976 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4977 esac
4978 toplevel_builddir=${glibcxx_builddir}/..
4979 toplevel_srcdir=${glibcxx_srcdir}/..
4980
4981
4982
4983
4984
4985 # We use these options to decide which functions to include. They are
4986 # set from the top level.
4987
4988 # Check whether --with-target-subdir was given.
4989 if test "${with_target_subdir+set}" = set; then :
4990 withval=$with_target_subdir;
4991 fi
4992
4993
4994
4995 # Check whether --with-cross-host was given.
4996 if test "${with_cross_host+set}" = set; then :
4997 withval=$with_cross_host;
4998 fi
4999
5000
5001
5002 # Check whether --with-newlib was given.
5003 if test "${with_newlib+set}" = set; then :
5004 withval=$with_newlib;
5005 fi
5006
5007
5008 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5009 # available). Uncomment the next line to force a particular method.
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5011 $as_echo_n "checking whether ln -s works... " >&6; }
5012 LN_S=$as_ln_s
5013 if test "$LN_S" = "ln -s"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5015 $as_echo "yes" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5018 $as_echo "no, using $LN_S" >&6; }
5019 fi
5020
5021 #LN_S='cp -p'
5022
5023 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5025 set dummy ${ac_tool_prefix}as; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_AS+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 if test -n "$AS"; then
5032 ac_cv_prog_AS="$AS" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5036 do
5037 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_AS="${ac_tool_prefix}as"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2
5044 fi
5045 done
5046 done
5047 IFS=$as_save_IFS
5048
5049 fi
5050 fi
5051 AS=$ac_cv_prog_AS
5052 if test -n "$AS"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5054 $as_echo "$AS" >&6; }
5055 else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5058 fi
5059
5060
5061 fi
5062 if test -z "$ac_cv_prog_AS"; then
5063 ac_ct_AS=$AS
5064 # Extract the first word of "as", so it can be a program name with args.
5065 set dummy as; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$ac_ct_AS"; then
5072 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5076 do
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_AS="as"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5084 fi
5085 done
5086 done
5087 IFS=$as_save_IFS
5088
5089 fi
5090 fi
5091 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5092 if test -n "$ac_ct_AS"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5094 $as_echo "$ac_ct_AS" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5098 fi
5099
5100 if test "x$ac_ct_AS" = x; then
5101 AS=""
5102 else
5103 case $cross_compiling:$ac_tool_warned in
5104 yes:)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned=yes ;;
5108 esac
5109 AS=$ac_ct_AS
5110 fi
5111 else
5112 AS="$ac_cv_prog_AS"
5113 fi
5114
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5117 set dummy ${ac_tool_prefix}ar; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_AR+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if test -n "$AR"; then
5124 ac_cv_prog_AR="$AR" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5128 do
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_AR="${ac_tool_prefix}ar"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5136 fi
5137 done
5138 done
5139 IFS=$as_save_IFS
5140
5141 fi
5142 fi
5143 AR=$ac_cv_prog_AR
5144 if test -n "$AR"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5146 $as_echo "$AR" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5150 fi
5151
5152
5153 fi
5154 if test -z "$ac_cv_prog_AR"; then
5155 ac_ct_AR=$AR
5156 # Extract the first word of "ar", so it can be a program name with args.
5157 set dummy ar; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$ac_ct_AR"; then
5164 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5168 do
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ac_ct_AR="ar"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5176 fi
5177 done
5178 done
5179 IFS=$as_save_IFS
5180
5181 fi
5182 fi
5183 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5184 if test -n "$ac_ct_AR"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5186 $as_echo "$ac_ct_AR" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5190 fi
5191
5192 if test "x$ac_ct_AR" = x; then
5193 AR=""
5194 else
5195 case $cross_compiling:$ac_tool_warned in
5196 yes:)
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned=yes ;;
5200 esac
5201 AR=$ac_ct_AR
5202 fi
5203 else
5204 AR="$ac_cv_prog_AR"
5205 fi
5206
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$RANLIB"; then
5216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5220 do
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5228 fi
5229 done
5230 done
5231 IFS=$as_save_IFS
5232
5233 fi
5234 fi
5235 RANLIB=$ac_cv_prog_RANLIB
5236 if test -n "$RANLIB"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5238 $as_echo "$RANLIB" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5242 fi
5243
5244
5245 fi
5246 if test -z "$ac_cv_prog_RANLIB"; then
5247 ac_ct_RANLIB=$RANLIB
5248 # Extract the first word of "ranlib", so it can be a program name with args.
5249 set dummy ranlib; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$ac_ct_RANLIB"; then
5256 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5260 do
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_RANLIB="ranlib"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5268 fi
5269 done
5270 done
5271 IFS=$as_save_IFS
5272
5273 fi
5274 fi
5275 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5276 if test -n "$ac_ct_RANLIB"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5278 $as_echo "$ac_ct_RANLIB" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5282 fi
5283
5284 if test "x$ac_ct_RANLIB" = x; then
5285 RANLIB="ranlib-not-found-in-path-error"
5286 else
5287 case $cross_compiling:$ac_tool_warned in
5288 yes:)
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5292 esac
5293 RANLIB=$ac_ct_RANLIB
5294 fi
5295 else
5296 RANLIB="$ac_cv_prog_RANLIB"
5297 fi
5298
5299
5300
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5302 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5303 # Check whether --enable-maintainer-mode was given.
5304 if test "${enable_maintainer_mode+set}" = set; then :
5305 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5306 else
5307 USE_MAINTAINER_MODE=no
5308 fi
5309
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5311 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5312 if test $USE_MAINTAINER_MODE = yes; then
5313 MAINTAINER_MODE_TRUE=
5314 MAINTAINER_MODE_FALSE='#'
5315 else
5316 MAINTAINER_MODE_TRUE='#'
5317 MAINTAINER_MODE_FALSE=
5318 fi
5319
5320 MAINT=$MAINTAINER_MODE_TRUE
5321
5322
5323
5324 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5325 # which are themselves conditionally expanded.
5326 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5327 ## other macros from doing the same. This should be automated.) -pme
5328
5329 # Check for C library flavor since GNU/Linux platforms use different
5330 # configuration directories depending on the C library in use.
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5333
5334 #include <stdio.h>
5335 #if __UCLIBC__
5336 _using_uclibc
5337 #endif
5338
5339 _ACEOF
5340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5341 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5342 uclibc=yes
5343 else
5344 uclibc=no
5345 fi
5346 rm -f conftest*
5347
5348
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5351
5352 #include <stdio.h>
5353 #if __BIONIC__
5354 _using_bionic
5355 #endif
5356
5357 _ACEOF
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5360 bionic=yes
5361 else
5362 bionic=no
5363 fi
5364 rm -f conftest*
5365
5366
5367 # Find platform-specific directories containing configuration info.
5368 # Also possibly modify flags used elsewhere, as needed by the platform.
5369
5370 . $glibcxx_srcdir/configure.host
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5372 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5374 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5375
5376
5377
5378 # Libtool setup.
5379 if test "x${with_newlib}" != "xyes"; then
5380 enable_dlopen=yes
5381
5382
5383
5384 fi
5385 case `pwd` in
5386 *\ * | *\ *)
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5388 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5389 esac
5390
5391
5392
5393 macro_version='2.2.7a'
5394 macro_revision='1.3134'
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408 ltmain="$ac_aux_dir/ltmain.sh"
5409
5410 # Backslashify metacharacters that are still active within
5411 # double-quoted strings.
5412 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5413
5414 # Same as above, but do not quote variable references.
5415 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5416
5417 # Sed substitution to delay expansion of an escaped shell variable in a
5418 # double_quote_subst'ed string.
5419 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5420
5421 # Sed substitution to delay expansion of an escaped single quote.
5422 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5423
5424 # Sed substitution to avoid accidental globbing in evaled expressions
5425 no_glob_subst='s/\*/\\\*/g'
5426
5427 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5430
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5432 $as_echo_n "checking how to print strings... " >&6; }
5433 # Test print first, because it will be a builtin if present.
5434 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5435 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5436 ECHO='print -r --'
5437 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5438 ECHO='printf %s\n'
5439 else
5440 # Use this function as a fallback that always works.
5441 func_fallback_echo ()
5442 {
5443 eval 'cat <<_LTECHO_EOF
5444 $1
5445 _LTECHO_EOF'
5446 }
5447 ECHO='func_fallback_echo'
5448 fi
5449
5450 # func_echo_all arg...
5451 # Invoke $ECHO with all args, space-separated.
5452 func_echo_all ()
5453 {
5454 $ECHO ""
5455 }
5456
5457 case "$ECHO" in
5458 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5459 $as_echo "printf" >&6; } ;;
5460 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5461 $as_echo "print -r" >&6; } ;;
5462 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5463 $as_echo "cat" >&6; } ;;
5464 esac
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5481 if test "${ac_cv_path_SED+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5485 for ac_i in 1 2 3 4 5 6 7; do
5486 ac_script="$ac_script$as_nl$ac_script"
5487 done
5488 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5489 { ac_script=; unset ac_script;}
5490 if test -z "$SED"; then
5491 ac_path_SED_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5495 do
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in sed gsed; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5501 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5502 # Check for GNU ac_path_SED and select it if it is found.
5503 # Check for GNU $ac_path_SED
5504 case `"$ac_path_SED" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5507 *)
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5511 do
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo '' >> "conftest.nl"
5516 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_SED_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_SED="$ac_path_SED"
5522 ac_path_SED_max=$ac_count
5523 fi
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5529
5530 $ac_path_SED_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_SED"; then
5536 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5537 fi
5538 else
5539 ac_cv_path_SED=$SED
5540 fi
5541
5542 fi
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5544 $as_echo "$ac_cv_path_SED" >&6; }
5545 SED="$ac_cv_path_SED"
5546 rm -f conftest.sed
5547
5548 test -z "$SED" && SED=sed
5549 Xsed="$SED -e 1s/^X//"
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5562 $as_echo_n "checking for fgrep... " >&6; }
5563 if test "${ac_cv_path_FGREP+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5567 then ac_cv_path_FGREP="$GREP -F"
5568 else
5569 if test -z "$FGREP"; then
5570 ac_path_FGREP_found=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5574 do
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_prog in fgrep; do
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5580 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5581 # Check for GNU ac_path_FGREP and select it if it is found.
5582 # Check for GNU $ac_path_FGREP
5583 case `"$ac_path_FGREP" --version 2>&1` in
5584 *GNU*)
5585 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5586 *)
5587 ac_count=0
5588 $as_echo_n 0123456789 >"conftest.in"
5589 while :
5590 do
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'FGREP' >> "conftest.nl"
5595 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597 as_fn_arith $ac_count + 1 && ac_count=$as_val
5598 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_FGREP="$ac_path_FGREP"
5601 ac_path_FGREP_max=$ac_count
5602 fi
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5605 done
5606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5607 esac
5608
5609 $ac_path_FGREP_found && break 3
5610 done
5611 done
5612 done
5613 IFS=$as_save_IFS
5614 if test -z "$ac_cv_path_FGREP"; then
5615 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5616 fi
5617 else
5618 ac_cv_path_FGREP=$FGREP
5619 fi
5620
5621 fi
5622 fi
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5624 $as_echo "$ac_cv_path_FGREP" >&6; }
5625 FGREP="$ac_cv_path_FGREP"
5626
5627
5628 test -z "$GREP" && GREP=grep
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648 # Check whether --with-gnu-ld was given.
5649 if test "${with_gnu_ld+set}" = set; then :
5650 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5651 else
5652 with_gnu_ld=no
5653 fi
5654
5655 ac_prog=ld
5656 if test "$GCC" = yes; then
5657 # Check if gcc -print-prog-name=ld gives a path.
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5659 $as_echo_n "checking for ld used by $CC... " >&6; }
5660 case $host in
5661 *-*-mingw*)
5662 # gcc leaves a trailing carriage return which upsets mingw
5663 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5664 *)
5665 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5666 esac
5667 case $ac_prog in
5668 # Accept absolute paths.
5669 [\\/]* | ?:[\\/]*)
5670 re_direlt='/[^/][^/]*/\.\./'
5671 # Canonicalize the pathname of ld
5672 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5673 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5674 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5675 done
5676 test -z "$LD" && LD="$ac_prog"
5677 ;;
5678 "")
5679 # If it fails, then pretend we aren't using GCC.
5680 ac_prog=ld
5681 ;;
5682 *)
5683 # If it is relative, then search for the first ld in PATH.
5684 with_gnu_ld=unknown
5685 ;;
5686 esac
5687 elif test "$with_gnu_ld" = yes; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5689 $as_echo_n "checking for GNU ld... " >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5692 $as_echo_n "checking for non-GNU ld... " >&6; }
5693 fi
5694 if test "${lt_cv_path_LD+set}" = set; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 if test -z "$LD"; then
5698 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5699 for ac_dir in $PATH; do
5700 IFS="$lt_save_ifs"
5701 test -z "$ac_dir" && ac_dir=.
5702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5703 lt_cv_path_LD="$ac_dir/$ac_prog"
5704 # Check to see if the program is GNU ld. I'd rather use --version,
5705 # but apparently some variants of GNU ld only accept -v.
5706 # Break only if it was the GNU/non-GNU ld that we prefer.
5707 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5708 *GNU* | *'with BFD'*)
5709 test "$with_gnu_ld" != no && break
5710 ;;
5711 *)
5712 test "$with_gnu_ld" != yes && break
5713 ;;
5714 esac
5715 fi
5716 done
5717 IFS="$lt_save_ifs"
5718 else
5719 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5720 fi
5721 fi
5722
5723 LD="$lt_cv_path_LD"
5724 if test -n "$LD"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5726 $as_echo "$LD" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5730 fi
5731 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5734 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5738 case `$LD -v 2>&1 </dev/null` in
5739 *GNU* | *'with BFD'*)
5740 lt_cv_prog_gnu_ld=yes
5741 ;;
5742 *)
5743 lt_cv_prog_gnu_ld=no
5744 ;;
5745 esac
5746 fi
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5749 with_gnu_ld=$lt_cv_prog_gnu_ld
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5761 if test "${lt_cv_path_NM+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 if test -n "$NM"; then
5765 # Let the user override the test.
5766 lt_cv_path_NM="$NM"
5767 else
5768 lt_nm_to_check="${ac_tool_prefix}nm"
5769 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5770 lt_nm_to_check="$lt_nm_to_check nm"
5771 fi
5772 for lt_tmp_nm in $lt_nm_to_check; do
5773 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5774 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5775 IFS="$lt_save_ifs"
5776 test -z "$ac_dir" && ac_dir=.
5777 tmp_nm="$ac_dir/$lt_tmp_nm"
5778 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5779 # Check to see if the nm accepts a BSD-compat flag.
5780 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5781 # nm: unknown option "B" ignored
5782 # Tru64's nm complains that /dev/null is an invalid object file
5783 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5784 */dev/null* | *'Invalid file or object type'*)
5785 lt_cv_path_NM="$tmp_nm -B"
5786 break
5787 ;;
5788 *)
5789 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5790 */dev/null*)
5791 lt_cv_path_NM="$tmp_nm -p"
5792 break
5793 ;;
5794 *)
5795 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5796 continue # so that we can try to find one that supports BSD flags
5797 ;;
5798 esac
5799 ;;
5800 esac
5801 fi
5802 done
5803 IFS="$lt_save_ifs"
5804 done
5805 : ${lt_cv_path_NM=no}
5806 fi
5807 fi
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5809 $as_echo "$lt_cv_path_NM" >&6; }
5810 if test "$lt_cv_path_NM" != "no"; then
5811 NM="$lt_cv_path_NM"
5812 else
5813 # Didn't find any BSD compatible name lister, look for dumpbin.
5814 if test -n "$DUMPBIN"; then :
5815 # Let the user override the test.
5816 else
5817 if test -n "$ac_tool_prefix"; then
5818 for ac_prog in dumpbin "link -dump"
5819 do
5820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$DUMPBIN"; then
5828 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5832 do
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5840 fi
5841 done
5842 done
5843 IFS=$as_save_IFS
5844
5845 fi
5846 fi
5847 DUMPBIN=$ac_cv_prog_DUMPBIN
5848 if test -n "$DUMPBIN"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5850 $as_echo "$DUMPBIN" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5854 fi
5855
5856
5857 test -n "$DUMPBIN" && break
5858 done
5859 fi
5860 if test -z "$DUMPBIN"; then
5861 ac_ct_DUMPBIN=$DUMPBIN
5862 for ac_prog in dumpbin "link -dump"
5863 do
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$ac_ct_DUMPBIN"; then
5872 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5876 do
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5884 fi
5885 done
5886 done
5887 IFS=$as_save_IFS
5888
5889 fi
5890 fi
5891 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5892 if test -n "$ac_ct_DUMPBIN"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5894 $as_echo "$ac_ct_DUMPBIN" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5898 fi
5899
5900
5901 test -n "$ac_ct_DUMPBIN" && break
5902 done
5903
5904 if test "x$ac_ct_DUMPBIN" = x; then
5905 DUMPBIN=":"
5906 else
5907 case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913 DUMPBIN=$ac_ct_DUMPBIN
5914 fi
5915 fi
5916
5917 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5918 *COFF*)
5919 DUMPBIN="$DUMPBIN -symbols"
5920 ;;
5921 *)
5922 DUMPBIN=:
5923 ;;
5924 esac
5925 fi
5926
5927 if test "$DUMPBIN" != ":"; then
5928 NM="$DUMPBIN"
5929 fi
5930 fi
5931 test -z "$NM" && NM=nm
5932
5933
5934
5935
5936
5937
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5939 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5940 if test "${lt_cv_nm_interface+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 lt_cv_nm_interface="BSD nm"
5944 echo "int some_variable = 0;" > conftest.$ac_ext
5945 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5946 (eval "$ac_compile" 2>conftest.err)
5947 cat conftest.err >&5
5948 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5949 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5950 cat conftest.err >&5
5951 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5952 cat conftest.out >&5
5953 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5954 lt_cv_nm_interface="MS dumpbin"
5955 fi
5956 rm -f conftest*
5957 fi
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5959 $as_echo "$lt_cv_nm_interface" >&6; }
5960
5961 # find the maximum length of command line arguments
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5963 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5964 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 i=0
5968 teststring="ABCD"
5969
5970 case $build_os in
5971 msdosdjgpp*)
5972 # On DJGPP, this test can blow up pretty badly due to problems in libc
5973 # (any single argument exceeding 2000 bytes causes a buffer overrun
5974 # during glob expansion). Even if it were fixed, the result of this
5975 # check would be larger than it should be.
5976 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5977 ;;
5978
5979 gnu*)
5980 # Under GNU Hurd, this test is not required because there is
5981 # no limit to the length of command line arguments.
5982 # Libtool will interpret -1 as no limit whatsoever
5983 lt_cv_sys_max_cmd_len=-1;
5984 ;;
5985
5986 cygwin* | mingw* | cegcc*)
5987 # On Win9x/ME, this test blows up -- it succeeds, but takes
5988 # about 5 minutes as the teststring grows exponentially.
5989 # Worse, since 9x/ME are not pre-emptively multitasking,
5990 # you end up with a "frozen" computer, even though with patience
5991 # the test eventually succeeds (with a max line length of 256k).
5992 # Instead, let's just punt: use the minimum linelength reported by
5993 # all of the supported platforms: 8192 (on NT/2K/XP).
5994 lt_cv_sys_max_cmd_len=8192;
5995 ;;
5996
5997 mint*)
5998 # On MiNT this can take a long time and run out of memory.
5999 lt_cv_sys_max_cmd_len=8192;
6000 ;;
6001
6002 amigaos*)
6003 # On AmigaOS with pdksh, this test takes hours, literally.
6004 # So we just punt and use a minimum line length of 8192.
6005 lt_cv_sys_max_cmd_len=8192;
6006 ;;
6007
6008 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6009 # This has been around since 386BSD, at least. Likely further.
6010 if test -x /sbin/sysctl; then
6011 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6012 elif test -x /usr/sbin/sysctl; then
6013 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6014 else
6015 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6016 fi
6017 # And add a safety zone
6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6020 ;;
6021
6022 interix*)
6023 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6024 lt_cv_sys_max_cmd_len=196608
6025 ;;
6026
6027 osf*)
6028 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6029 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6030 # nice to cause kernel panics so lets avoid the loop below.
6031 # First set a reasonable default.
6032 lt_cv_sys_max_cmd_len=16384
6033 #
6034 if test -x /sbin/sysconfig; then
6035 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6036 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6037 esac
6038 fi
6039 ;;
6040 sco3.2v5*)
6041 lt_cv_sys_max_cmd_len=102400
6042 ;;
6043 sysv5* | sco5v6* | sysv4.2uw2*)
6044 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6045 if test -n "$kargmax"; then
6046 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6047 else
6048 lt_cv_sys_max_cmd_len=32768
6049 fi
6050 ;;
6051 *)
6052 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6053 if test -n "$lt_cv_sys_max_cmd_len"; then
6054 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6055 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6056 else
6057 # Make teststring a little bigger before we do anything with it.
6058 # a 1K string should be a reasonable start.
6059 for i in 1 2 3 4 5 6 7 8 ; do
6060 teststring=$teststring$teststring
6061 done
6062 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6063 # If test is not a shell built-in, we'll probably end up computing a
6064 # maximum length that is only half of the actual maximum length, but
6065 # we can't tell.
6066 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6067 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6068 test $i != 17 # 1/2 MB should be enough
6069 do
6070 i=`expr $i + 1`
6071 teststring=$teststring$teststring
6072 done
6073 # Only check the string length outside the loop.
6074 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6075 teststring=
6076 # Add a significant safety factor because C++ compilers can tack on
6077 # massive amounts of additional arguments before passing them to the
6078 # linker. It appears as though 1/2 is a usable value.
6079 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6080 fi
6081 ;;
6082 esac
6083
6084 fi
6085
6086 if test -n $lt_cv_sys_max_cmd_len ; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6088 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6091 $as_echo "none" >&6; }
6092 fi
6093 max_cmd_len=$lt_cv_sys_max_cmd_len
6094
6095
6096
6097
6098
6099
6100 : ${CP="cp -f"}
6101 : ${MV="mv -f"}
6102 : ${RM="rm -f"}
6103
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6105 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6106 # Try some XSI features
6107 xsi_shell=no
6108 ( _lt_dummy="a/b/c"
6109 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6110 = c,a/b,, \
6111 && eval 'test $(( 1 + 1 )) -eq 2 \
6112 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6113 && xsi_shell=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6115 $as_echo "$xsi_shell" >&6; }
6116
6117
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6119 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6120 lt_shell_append=no
6121 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6122 >/dev/null 2>&1 \
6123 && lt_shell_append=yes
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6125 $as_echo "$lt_shell_append" >&6; }
6126
6127
6128 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6129 lt_unset=unset
6130 else
6131 lt_unset=false
6132 fi
6133
6134
6135
6136
6137
6138 # test EBCDIC or ASCII
6139 case `echo X|tr X '\101'` in
6140 A) # ASCII based system
6141 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6142 lt_SP2NL='tr \040 \012'
6143 lt_NL2SP='tr \015\012 \040\040'
6144 ;;
6145 *) # EBCDIC based system
6146 lt_SP2NL='tr \100 \n'
6147 lt_NL2SP='tr \r\n \100\100'
6148 ;;
6149 esac
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6160 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6161 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 lt_cv_ld_reload_flag='-r'
6165 fi
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6167 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6168 reload_flag=$lt_cv_ld_reload_flag
6169 case $reload_flag in
6170 "" | " "*) ;;
6171 *) reload_flag=" $reload_flag" ;;
6172 esac
6173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6174 case $host_os in
6175 darwin*)
6176 if test "$GCC" = yes; then
6177 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6178 else
6179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6180 fi
6181 ;;
6182 esac
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192 if test -n "$ac_tool_prefix"; then
6193 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6194 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6198 $as_echo_n "(cached) " >&6
6199 else
6200 if test -n "$OBJDUMP"; then
6201 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6205 do
6206 IFS=$as_save_IFS
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 break 2
6213 fi
6214 done
6215 done
6216 IFS=$as_save_IFS
6217
6218 fi
6219 fi
6220 OBJDUMP=$ac_cv_prog_OBJDUMP
6221 if test -n "$OBJDUMP"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6223 $as_echo "$OBJDUMP" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 fi
6228
6229
6230 fi
6231 if test -z "$ac_cv_prog_OBJDUMP"; then
6232 ac_ct_OBJDUMP=$OBJDUMP
6233 # Extract the first word of "objdump", so it can be a program name with args.
6234 set dummy objdump; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$ac_ct_OBJDUMP"; then
6241 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6245 do
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6253 fi
6254 done
6255 done
6256 IFS=$as_save_IFS
6257
6258 fi
6259 fi
6260 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6261 if test -n "$ac_ct_OBJDUMP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6263 $as_echo "$ac_ct_OBJDUMP" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6267 fi
6268
6269 if test "x$ac_ct_OBJDUMP" = x; then
6270 OBJDUMP="false"
6271 else
6272 case $cross_compiling:$ac_tool_warned in
6273 yes:)
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6276 ac_tool_warned=yes ;;
6277 esac
6278 OBJDUMP=$ac_ct_OBJDUMP
6279 fi
6280 else
6281 OBJDUMP="$ac_cv_prog_OBJDUMP"
6282 fi
6283
6284 test -z "$OBJDUMP" && OBJDUMP=objdump
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6295 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6296 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 lt_cv_file_magic_cmd='$MAGIC_CMD'
6300 lt_cv_file_magic_test_file=
6301 lt_cv_deplibs_check_method='unknown'
6302 # Need to set the preceding variable on all platforms that support
6303 # interlibrary dependencies.
6304 # 'none' -- dependencies not supported.
6305 # `unknown' -- same as none, but documents that we really don't know.
6306 # 'pass_all' -- all dependencies passed with no checks.
6307 # 'test_compile' -- check by making test program.
6308 # 'file_magic [[regex]]' -- check by looking for files in library path
6309 # which responds to the $file_magic_cmd with a given extended regex.
6310 # If you have `file' or equivalent on your system and you're not sure
6311 # whether `pass_all' will *always* work, you probably want this one.
6312
6313 case $host_os in
6314 aix[4-9]*)
6315 lt_cv_deplibs_check_method=pass_all
6316 ;;
6317
6318 beos*)
6319 lt_cv_deplibs_check_method=pass_all
6320 ;;
6321
6322 bsdi[45]*)
6323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6324 lt_cv_file_magic_cmd='/usr/bin/file -L'
6325 lt_cv_file_magic_test_file=/shlib/libc.so
6326 ;;
6327
6328 cygwin*)
6329 # func_win32_libid is a shell function defined in ltmain.sh
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6332 ;;
6333
6334 mingw* | pw32*)
6335 # Base MSYS/MinGW do not provide the 'file' command needed by
6336 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6337 # unless we find 'file', for example because we are cross-compiling.
6338 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6339 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6341 lt_cv_file_magic_cmd='func_win32_libid'
6342 else
6343 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6344 lt_cv_file_magic_cmd='$OBJDUMP -f'
6345 fi
6346 ;;
6347
6348 cegcc*)
6349 # use the weaker test based on 'objdump'. See mingw*.
6350 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6351 lt_cv_file_magic_cmd='$OBJDUMP -f'
6352 ;;
6353
6354 darwin* | rhapsody*)
6355 lt_cv_deplibs_check_method=pass_all
6356 ;;
6357
6358 freebsd* | dragonfly*)
6359 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6360 case $host_cpu in
6361 i*86 )
6362 # Not sure whether the presence of OpenBSD here was a mistake.
6363 # Let's accept both of them until this is cleared up.
6364 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6365 lt_cv_file_magic_cmd=/usr/bin/file
6366 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6367 ;;
6368 esac
6369 else
6370 lt_cv_deplibs_check_method=pass_all
6371 fi
6372 ;;
6373
6374 gnu*)
6375 lt_cv_deplibs_check_method=pass_all
6376 ;;
6377
6378 haiku*)
6379 lt_cv_deplibs_check_method=pass_all
6380 ;;
6381
6382 hpux10.20* | hpux11*)
6383 lt_cv_file_magic_cmd=/usr/bin/file
6384 case $host_cpu in
6385 ia64*)
6386 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6387 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6388 ;;
6389 hppa*64*)
6390 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]'
6391 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6392 ;;
6393 *)
6394 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6395 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6396 ;;
6397 esac
6398 ;;
6399
6400 interix[3-9]*)
6401 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6403 ;;
6404
6405 irix5* | irix6* | nonstopux*)
6406 case $LD in
6407 *-32|*"-32 ") libmagic=32-bit;;
6408 *-n32|*"-n32 ") libmagic=N32;;
6409 *-64|*"-64 ") libmagic=64-bit;;
6410 *) libmagic=never-match;;
6411 esac
6412 lt_cv_deplibs_check_method=pass_all
6413 ;;
6414
6415 # This must be Linux ELF.
6416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6417 lt_cv_deplibs_check_method=pass_all
6418 ;;
6419
6420 netbsd*)
6421 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6423 else
6424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6425 fi
6426 ;;
6427
6428 newos6*)
6429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6430 lt_cv_file_magic_cmd=/usr/bin/file
6431 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6432 ;;
6433
6434 *nto* | *qnx*)
6435 lt_cv_deplibs_check_method=pass_all
6436 ;;
6437
6438 openbsd*)
6439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6441 else
6442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6443 fi
6444 ;;
6445
6446 osf3* | osf4* | osf5*)
6447 lt_cv_deplibs_check_method=pass_all
6448 ;;
6449
6450 rdos*)
6451 lt_cv_deplibs_check_method=pass_all
6452 ;;
6453
6454 solaris*)
6455 lt_cv_deplibs_check_method=pass_all
6456 ;;
6457
6458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6459 lt_cv_deplibs_check_method=pass_all
6460 ;;
6461
6462 sysv4 | sysv4.3*)
6463 case $host_vendor in
6464 motorola)
6465 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]'
6466 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6467 ;;
6468 ncr)
6469 lt_cv_deplibs_check_method=pass_all
6470 ;;
6471 sequent)
6472 lt_cv_file_magic_cmd='/bin/file'
6473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6474 ;;
6475 sni)
6476 lt_cv_file_magic_cmd='/bin/file'
6477 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6478 lt_cv_file_magic_test_file=/lib/libc.so
6479 ;;
6480 siemens)
6481 lt_cv_deplibs_check_method=pass_all
6482 ;;
6483 pc)
6484 lt_cv_deplibs_check_method=pass_all
6485 ;;
6486 esac
6487 ;;
6488
6489 tpf*)
6490 lt_cv_deplibs_check_method=pass_all
6491 ;;
6492 esac
6493
6494 fi
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6497 file_magic_cmd=$lt_cv_file_magic_cmd
6498 deplibs_check_method=$lt_cv_deplibs_check_method
6499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}ar; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_AR+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$AR"; then
6521 ac_cv_prog_AR="$AR" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_AR="${ac_tool_prefix}ar"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6533 fi
6534 done
6535 done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 AR=$ac_cv_prog_AR
6541 if test -n "$AR"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6543 $as_echo "$AR" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549
6550 fi
6551 if test -z "$ac_cv_prog_AR"; then
6552 ac_ct_AR=$AR
6553 # Extract the first word of "ar", so it can be a program name with args.
6554 set dummy ar; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_AR"; then
6561 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6565 do
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_AR="ar"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6573 fi
6574 done
6575 done
6576 IFS=$as_save_IFS
6577
6578 fi
6579 fi
6580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6581 if test -n "$ac_ct_AR"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6583 $as_echo "$ac_ct_AR" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6587 fi
6588
6589 if test "x$ac_ct_AR" = x; then
6590 AR="false"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 AR=$ac_ct_AR
6599 fi
6600 else
6601 AR="$ac_cv_prog_AR"
6602 fi
6603
6604 test -z "$AR" && AR=ar
6605 test -z "$AR_FLAGS" && AR_FLAGS=cru
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}strip; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if test "${ac_cv_prog_STRIP+set}" = set; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$STRIP"; then
6626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6630 do
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6638 fi
6639 done
6640 done
6641 IFS=$as_save_IFS
6642
6643 fi
6644 fi
6645 STRIP=$ac_cv_prog_STRIP
6646 if test -n "$STRIP"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6648 $as_echo "$STRIP" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6652 fi
6653
6654
6655 fi
6656 if test -z "$ac_cv_prog_STRIP"; then
6657 ac_ct_STRIP=$STRIP
6658 # Extract the first word of "strip", so it can be a program name with args.
6659 set dummy strip; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6663 $as_echo_n "(cached) " >&6
6664 else
6665 if test -n "$ac_ct_STRIP"; then
6666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6667 else
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6670 do
6671 IFS=$as_save_IFS
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675 ac_cv_prog_ac_ct_STRIP="strip"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 break 2
6678 fi
6679 done
6680 done
6681 IFS=$as_save_IFS
6682
6683 fi
6684 fi
6685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6686 if test -n "$ac_ct_STRIP"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6688 $as_echo "$ac_ct_STRIP" >&6; }
6689 else
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6692 fi
6693
6694 if test "x$ac_ct_STRIP" = x; then
6695 STRIP=":"
6696 else
6697 case $cross_compiling:$ac_tool_warned in
6698 yes:)
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6702 esac
6703 STRIP=$ac_ct_STRIP
6704 fi
6705 else
6706 STRIP="$ac_cv_prog_STRIP"
6707 fi
6708
6709 test -z "$STRIP" && STRIP=:
6710
6711
6712
6713
6714
6715
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 if test -n "$RANLIB"; then
6725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6729 do
6730 IFS=$as_save_IFS
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6737 fi
6738 done
6739 done
6740 IFS=$as_save_IFS
6741
6742 fi
6743 fi
6744 RANLIB=$ac_cv_prog_RANLIB
6745 if test -n "$RANLIB"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6747 $as_echo "$RANLIB" >&6; }
6748 else
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6751 fi
6752
6753
6754 fi
6755 if test -z "$ac_cv_prog_RANLIB"; then
6756 ac_ct_RANLIB=$RANLIB
6757 # Extract the first word of "ranlib", so it can be a program name with args.
6758 set dummy ranlib; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 if test -n "$ac_ct_RANLIB"; then
6765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6769 do
6770 IFS=$as_save_IFS
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_RANLIB="ranlib"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 break 2
6777 fi
6778 done
6779 done
6780 IFS=$as_save_IFS
6781
6782 fi
6783 fi
6784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6785 if test -n "$ac_ct_RANLIB"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6787 $as_echo "$ac_ct_RANLIB" >&6; }
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6791 fi
6792
6793 if test "x$ac_ct_RANLIB" = x; then
6794 RANLIB=":"
6795 else
6796 case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802 RANLIB=$ac_ct_RANLIB
6803 fi
6804 else
6805 RANLIB="$ac_cv_prog_RANLIB"
6806 fi
6807
6808 test -z "$RANLIB" && RANLIB=:
6809
6810
6811
6812
6813
6814
6815 # Determine commands to create old-style static archives.
6816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6817 old_postinstall_cmds='chmod 644 $oldlib'
6818 old_postuninstall_cmds=
6819
6820 if test -n "$RANLIB"; then
6821 case $host_os in
6822 openbsd*)
6823 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6824 ;;
6825 *)
6826 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6827 ;;
6828 esac
6829 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6830 fi
6831
6832 case $host_os in
6833 darwin*)
6834 lock_old_archive_extraction=yes ;;
6835 *)
6836 lock_old_archive_extraction=no ;;
6837 esac
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
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877 # If no C compiler was specified, use CC.
6878 LTCC=${LTCC-"$CC"}
6879
6880 # If no C compiler flags were specified, use CFLAGS.
6881 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6882
6883 # Allow CC to be a program name with arguments.
6884 compiler=$CC
6885
6886
6887 # Check for command to grab the raw symbol name followed by C symbol from nm.
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6889 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6890 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6891 $as_echo_n "(cached) " >&6
6892 else
6893
6894 # These are sane defaults that work on at least a few old systems.
6895 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6896
6897 # Character class describing NM global symbol codes.
6898 symcode='[BCDEGRST]'
6899
6900 # Regexp to match symbols that can be accessed directly from C.
6901 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6902
6903 # Define system-specific variables.
6904 case $host_os in
6905 aix*)
6906 symcode='[BCDT]'
6907 ;;
6908 cygwin* | mingw* | pw32* | cegcc*)
6909 symcode='[ABCDGISTW]'
6910 ;;
6911 hpux*)
6912 if test "$host_cpu" = ia64; then
6913 symcode='[ABCDEGRST]'
6914 fi
6915 ;;
6916 irix* | nonstopux*)
6917 symcode='[BCDEGRST]'
6918 ;;
6919 osf*)
6920 symcode='[BCDEGQRST]'
6921 ;;
6922 solaris*)
6923 symcode='[BDRT]'
6924 ;;
6925 sco3.2v5*)
6926 symcode='[DT]'
6927 ;;
6928 sysv4.2uw2*)
6929 symcode='[DT]'
6930 ;;
6931 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6932 symcode='[ABDT]'
6933 ;;
6934 sysv4)
6935 symcode='[DFNSTU]'
6936 ;;
6937 esac
6938
6939 # If we're using GNU nm, then use its standard symbol codes.
6940 case `$NM -V 2>&1` in
6941 *GNU* | *'with BFD'*)
6942 symcode='[ABCDGIRSTW]' ;;
6943 esac
6944
6945 # Transform an extracted symbol line into a proper C declaration.
6946 # Some systems (esp. on ia64) link data and code symbols differently,
6947 # so use this general approach.
6948 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6949
6950 # Transform an extracted symbol line into symbol name and symbol address
6951 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6952 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'"
6953
6954 # Handle CRLF in mingw tool chain
6955 opt_cr=
6956 case $build_os in
6957 mingw*)
6958 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6959 ;;
6960 esac
6961
6962 # Try without a prefix underscore, then with it.
6963 for ac_symprfx in "" "_"; do
6964
6965 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6966 symxfrm="\\1 $ac_symprfx\\2 \\2"
6967
6968 # Write the raw and C identifiers.
6969 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6970 # Fake it for dumpbin and say T for any non-static function
6971 # and D for any global variable.
6972 # Also find C++ and __fastcall symbols from MSVC++,
6973 # which start with @ or ?.
6974 lt_cv_sys_global_symbol_pipe="$AWK '"\
6975 " {last_section=section; section=\$ 3};"\
6976 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6977 " \$ 0!~/External *\|/{next};"\
6978 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6979 " {if(hide[section]) next};"\
6980 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6981 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6982 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6983 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6984 " ' prfx=^$ac_symprfx"
6985 else
6986 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6987 fi
6988
6989 # Check to see that the pipe works correctly.
6990 pipe_works=no
6991
6992 rm -f conftest*
6993 cat > conftest.$ac_ext <<_LT_EOF
6994 #ifdef __cplusplus
6995 extern "C" {
6996 #endif
6997 char nm_test_var;
6998 void nm_test_func(void);
6999 void nm_test_func(void){}
7000 #ifdef __cplusplus
7001 }
7002 #endif
7003 int main(){nm_test_var='a';nm_test_func();return(0);}
7004 _LT_EOF
7005
7006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7007 (eval $ac_compile) 2>&5
7008 ac_status=$?
7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7010 test $ac_status = 0; }; then
7011 # Now try to grab the symbols.
7012 nlist=conftest.nm
7013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7014 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7015 ac_status=$?
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017 test $ac_status = 0; } && test -s "$nlist"; then
7018 # Try sorting and uniquifying the output.
7019 if sort "$nlist" | uniq > "$nlist"T; then
7020 mv -f "$nlist"T "$nlist"
7021 else
7022 rm -f "$nlist"T
7023 fi
7024
7025 # Make sure that we snagged all the symbols we need.
7026 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7027 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7028 cat <<_LT_EOF > conftest.$ac_ext
7029 #ifdef __cplusplus
7030 extern "C" {
7031 #endif
7032
7033 _LT_EOF
7034 # Now generate the symbol file.
7035 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7036
7037 cat <<_LT_EOF >> conftest.$ac_ext
7038
7039 /* The mapping between symbol names and symbols. */
7040 const struct {
7041 const char *name;
7042 void *address;
7043 }
7044 lt__PROGRAM__LTX_preloaded_symbols[] =
7045 {
7046 { "@PROGRAM@", (void *) 0 },
7047 _LT_EOF
7048 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7049 cat <<\_LT_EOF >> conftest.$ac_ext
7050 {0, (void *) 0}
7051 };
7052
7053 /* This works around a problem in FreeBSD linker */
7054 #ifdef FREEBSD_WORKAROUND
7055 static const void *lt_preloaded_setup() {
7056 return lt__PROGRAM__LTX_preloaded_symbols;
7057 }
7058 #endif
7059
7060 #ifdef __cplusplus
7061 }
7062 #endif
7063 _LT_EOF
7064 # Now try linking the two files.
7065 mv conftest.$ac_objext conftstm.$ac_objext
7066 lt_save_LIBS="$LIBS"
7067 lt_save_CFLAGS="$CFLAGS"
7068 LIBS="conftstm.$ac_objext"
7069 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7071 (eval $ac_link) 2>&5
7072 ac_status=$?
7073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7075 pipe_works=yes
7076 fi
7077 LIBS="$lt_save_LIBS"
7078 CFLAGS="$lt_save_CFLAGS"
7079 else
7080 echo "cannot find nm_test_func in $nlist" >&5
7081 fi
7082 else
7083 echo "cannot find nm_test_var in $nlist" >&5
7084 fi
7085 else
7086 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7087 fi
7088 else
7089 echo "$progname: failed program was:" >&5
7090 cat conftest.$ac_ext >&5
7091 fi
7092 rm -rf conftest* conftst*
7093
7094 # Do not use the global_symbol_pipe unless it works.
7095 if test "$pipe_works" = yes; then
7096 break
7097 else
7098 lt_cv_sys_global_symbol_pipe=
7099 fi
7100 done
7101
7102 fi
7103
7104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7105 lt_cv_sys_global_symbol_to_cdecl=
7106 fi
7107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7109 $as_echo "failed" >&6; }
7110 else
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7112 $as_echo "ok" >&6; }
7113 fi
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136 # Check whether --enable-libtool-lock was given.
7137 if test "${enable_libtool_lock+set}" = set; then :
7138 enableval=$enable_libtool_lock;
7139 fi
7140
7141 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7142
7143 # Some flags need to be propagated to the compiler or linker for good
7144 # libtool support.
7145 case $host in
7146 ia64-*-hpux*)
7147 # Find out which ABI we are using.
7148 echo 'int i;' > conftest.$ac_ext
7149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7151 ac_status=$?
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 case `/usr/bin/file conftest.$ac_objext` in
7155 *ELF-32*)
7156 HPUX_IA64_MODE="32"
7157 ;;
7158 *ELF-64*)
7159 HPUX_IA64_MODE="64"
7160 ;;
7161 esac
7162 fi
7163 rm -rf conftest*
7164 ;;
7165 *-*-irix6*)
7166 # Find out which ABI we are using.
7167 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169 (eval $ac_compile) 2>&5
7170 ac_status=$?
7171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7172 test $ac_status = 0; }; then
7173 if test "$lt_cv_prog_gnu_ld" = yes; then
7174 case `/usr/bin/file conftest.$ac_objext` in
7175 *32-bit*)
7176 LD="${LD-ld} -melf32bsmip"
7177 ;;
7178 *N32*)
7179 LD="${LD-ld} -melf32bmipn32"
7180 ;;
7181 *64-bit*)
7182 LD="${LD-ld} -melf64bmip"
7183 ;;
7184 esac
7185 else
7186 case `/usr/bin/file conftest.$ac_objext` in
7187 *32-bit*)
7188 LD="${LD-ld} -32"
7189 ;;
7190 *N32*)
7191 LD="${LD-ld} -n32"
7192 ;;
7193 *64-bit*)
7194 LD="${LD-ld} -64"
7195 ;;
7196 esac
7197 fi
7198 fi
7199 rm -rf conftest*
7200 ;;
7201
7202 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7203 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7204 # Find out which ABI we are using.
7205 echo 'int i;' > conftest.$ac_ext
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207 (eval $ac_compile) 2>&5
7208 ac_status=$?
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 case `/usr/bin/file conftest.o` in
7212 *32-bit*)
7213 case $host in
7214 x86_64-*kfreebsd*-gnu)
7215 LD="${LD-ld} -m elf_i386_fbsd"
7216 ;;
7217 x86_64-*linux*)
7218 case `/usr/bin/file conftest.o` in
7219 *x86-64*)
7220 LD="${LD-ld} -m elf32_x86_64"
7221 ;;
7222 *)
7223 LD="${LD-ld} -m elf_i386"
7224 ;;
7225 esac
7226 ;;
7227 powerpc64le-*linux*)
7228 LD="${LD-ld} -m elf32lppclinux"
7229 ;;
7230 powerpc64-*linux*)
7231 LD="${LD-ld} -m elf32ppclinux"
7232 ;;
7233 s390x-*linux*)
7234 LD="${LD-ld} -m elf_s390"
7235 ;;
7236 sparc64-*linux*)
7237 LD="${LD-ld} -m elf32_sparc"
7238 ;;
7239 esac
7240 ;;
7241 *64-bit*)
7242 case $host in
7243 x86_64-*kfreebsd*-gnu)
7244 LD="${LD-ld} -m elf_x86_64_fbsd"
7245 ;;
7246 x86_64-*linux*)
7247 LD="${LD-ld} -m elf_x86_64"
7248 ;;
7249 powerpcle-*linux*)
7250 LD="${LD-ld} -m elf64lppc"
7251 ;;
7252 powerpc-*linux*)
7253 LD="${LD-ld} -m elf64ppc"
7254 ;;
7255 s390*-*linux*|s390*-*tpf*)
7256 LD="${LD-ld} -m elf64_s390"
7257 ;;
7258 sparc*-*linux*)
7259 LD="${LD-ld} -m elf64_sparc"
7260 ;;
7261 esac
7262 ;;
7263 esac
7264 fi
7265 rm -rf conftest*
7266 ;;
7267
7268 *-*-sco3.2v5*)
7269 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7270 SAVE_CFLAGS="$CFLAGS"
7271 CFLAGS="$CFLAGS -belf"
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7273 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7274 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 ac_ext=c
7278 ac_cpp='$CPP $CPPFLAGS'
7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282
7283 if test x$gcc_no_link = xyes; then
7284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7285 fi
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7288
7289 int
7290 main ()
7291 {
7292
7293 ;
7294 return 0;
7295 }
7296 _ACEOF
7297 if ac_fn_c_try_link "$LINENO"; then :
7298 lt_cv_cc_needs_belf=yes
7299 else
7300 lt_cv_cc_needs_belf=no
7301 fi
7302 rm -f core conftest.err conftest.$ac_objext \
7303 conftest$ac_exeext conftest.$ac_ext
7304 ac_ext=c
7305 ac_cpp='$CPP $CPPFLAGS'
7306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309
7310 fi
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7312 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7315 CFLAGS="$SAVE_CFLAGS"
7316 fi
7317 ;;
7318 sparc*-*solaris*)
7319 # Find out which ABI we are using.
7320 echo 'int i;' > conftest.$ac_ext
7321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7322 (eval $ac_compile) 2>&5
7323 ac_status=$?
7324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7325 test $ac_status = 0; }; then
7326 case `/usr/bin/file conftest.o` in
7327 *64-bit*)
7328 case $lt_cv_prog_gnu_ld in
7329 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7330 *)
7331 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7332 LD="${LD-ld} -64"
7333 fi
7334 ;;
7335 esac
7336 ;;
7337 esac
7338 fi
7339 rm -rf conftest*
7340 ;;
7341 esac
7342
7343 need_locks="$enable_libtool_lock"
7344
7345
7346 case $host_os in
7347 rhapsody* | darwin*)
7348 if test -n "$ac_tool_prefix"; then
7349 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7350 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 if test -n "$DSYMUTIL"; then
7357 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7361 do
7362 IFS=$as_save_IFS
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 break 2
7369 fi
7370 done
7371 done
7372 IFS=$as_save_IFS
7373
7374 fi
7375 fi
7376 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7377 if test -n "$DSYMUTIL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7379 $as_echo "$DSYMUTIL" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7383 fi
7384
7385
7386 fi
7387 if test -z "$ac_cv_prog_DSYMUTIL"; then
7388 ac_ct_DSYMUTIL=$DSYMUTIL
7389 # Extract the first word of "dsymutil", so it can be a program name with args.
7390 set dummy dsymutil; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$ac_ct_DSYMUTIL"; then
7397 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7401 do
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7409 fi
7410 done
7411 done
7412 IFS=$as_save_IFS
7413
7414 fi
7415 fi
7416 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7417 if test -n "$ac_ct_DSYMUTIL"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7419 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7423 fi
7424
7425 if test "x$ac_ct_DSYMUTIL" = x; then
7426 DSYMUTIL=":"
7427 else
7428 case $cross_compiling:$ac_tool_warned in
7429 yes:)
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned=yes ;;
7433 esac
7434 DSYMUTIL=$ac_ct_DSYMUTIL
7435 fi
7436 else
7437 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7438 fi
7439
7440 if test -n "$ac_tool_prefix"; then
7441 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7442 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7446 $as_echo_n "(cached) " >&6
7447 else
7448 if test -n "$NMEDIT"; then
7449 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7453 do
7454 IFS=$as_save_IFS
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 break 2
7461 fi
7462 done
7463 done
7464 IFS=$as_save_IFS
7465
7466 fi
7467 fi
7468 NMEDIT=$ac_cv_prog_NMEDIT
7469 if test -n "$NMEDIT"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7471 $as_echo "$NMEDIT" >&6; }
7472 else
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7475 fi
7476
7477
7478 fi
7479 if test -z "$ac_cv_prog_NMEDIT"; then
7480 ac_ct_NMEDIT=$NMEDIT
7481 # Extract the first word of "nmedit", so it can be a program name with args.
7482 set dummy nmedit; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7487 else
7488 if test -n "$ac_ct_NMEDIT"; then
7489 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7493 do
7494 IFS=$as_save_IFS
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 break 2
7501 fi
7502 done
7503 done
7504 IFS=$as_save_IFS
7505
7506 fi
7507 fi
7508 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7509 if test -n "$ac_ct_NMEDIT"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7511 $as_echo "$ac_ct_NMEDIT" >&6; }
7512 else
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7515 fi
7516
7517 if test "x$ac_ct_NMEDIT" = x; then
7518 NMEDIT=":"
7519 else
7520 case $cross_compiling:$ac_tool_warned in
7521 yes:)
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524 ac_tool_warned=yes ;;
7525 esac
7526 NMEDIT=$ac_ct_NMEDIT
7527 fi
7528 else
7529 NMEDIT="$ac_cv_prog_NMEDIT"
7530 fi
7531
7532 if test -n "$ac_tool_prefix"; then
7533 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7534 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if test "${ac_cv_prog_LIPO+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 if test -n "$LIPO"; then
7541 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7542 else
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 for as_dir in $PATH
7545 do
7546 IFS=$as_save_IFS
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7550 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 break 2
7553 fi
7554 done
7555 done
7556 IFS=$as_save_IFS
7557
7558 fi
7559 fi
7560 LIPO=$ac_cv_prog_LIPO
7561 if test -n "$LIPO"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7563 $as_echo "$LIPO" >&6; }
7564 else
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7567 fi
7568
7569
7570 fi
7571 if test -z "$ac_cv_prog_LIPO"; then
7572 ac_ct_LIPO=$LIPO
7573 # Extract the first word of "lipo", so it can be a program name with args.
7574 set dummy lipo; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 if test -n "$ac_ct_LIPO"; then
7581 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7585 do
7586 IFS=$as_save_IFS
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_ac_ct_LIPO="lipo"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 break 2
7593 fi
7594 done
7595 done
7596 IFS=$as_save_IFS
7597
7598 fi
7599 fi
7600 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7601 if test -n "$ac_ct_LIPO"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7603 $as_echo "$ac_ct_LIPO" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7607 fi
7608
7609 if test "x$ac_ct_LIPO" = x; then
7610 LIPO=":"
7611 else
7612 case $cross_compiling:$ac_tool_warned in
7613 yes:)
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7616 ac_tool_warned=yes ;;
7617 esac
7618 LIPO=$ac_ct_LIPO
7619 fi
7620 else
7621 LIPO="$ac_cv_prog_LIPO"
7622 fi
7623
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}otool; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7630 $as_echo_n "(cached) " >&6
7631 else
7632 if test -n "$OTOOL"; then
7633 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7637 do
7638 IFS=$as_save_IFS
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 break 2
7645 fi
7646 done
7647 done
7648 IFS=$as_save_IFS
7649
7650 fi
7651 fi
7652 OTOOL=$ac_cv_prog_OTOOL
7653 if test -n "$OTOOL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7655 $as_echo "$OTOOL" >&6; }
7656 else
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7659 fi
7660
7661
7662 fi
7663 if test -z "$ac_cv_prog_OTOOL"; then
7664 ac_ct_OTOOL=$OTOOL
7665 # Extract the first word of "otool", so it can be a program name with args.
7666 set dummy otool; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7670 $as_echo_n "(cached) " >&6
7671 else
7672 if test -n "$ac_ct_OTOOL"; then
7673 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7677 do
7678 IFS=$as_save_IFS
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_prog_ac_ct_OTOOL="otool"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 break 2
7685 fi
7686 done
7687 done
7688 IFS=$as_save_IFS
7689
7690 fi
7691 fi
7692 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7693 if test -n "$ac_ct_OTOOL"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7695 $as_echo "$ac_ct_OTOOL" >&6; }
7696 else
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7699 fi
7700
7701 if test "x$ac_ct_OTOOL" = x; then
7702 OTOOL=":"
7703 else
7704 case $cross_compiling:$ac_tool_warned in
7705 yes:)
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7709 esac
7710 OTOOL=$ac_ct_OTOOL
7711 fi
7712 else
7713 OTOOL="$ac_cv_prog_OTOOL"
7714 fi
7715
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 if test -n "$OTOOL64"; then
7725 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7729 do
7730 IFS=$as_save_IFS
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 break 2
7737 fi
7738 done
7739 done
7740 IFS=$as_save_IFS
7741
7742 fi
7743 fi
7744 OTOOL64=$ac_cv_prog_OTOOL64
7745 if test -n "$OTOOL64"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7747 $as_echo "$OTOOL64" >&6; }
7748 else
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7751 fi
7752
7753
7754 fi
7755 if test -z "$ac_cv_prog_OTOOL64"; then
7756 ac_ct_OTOOL64=$OTOOL64
7757 # Extract the first word of "otool64", so it can be a program name with args.
7758 set dummy otool64; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7762 $as_echo_n "(cached) " >&6
7763 else
7764 if test -n "$ac_ct_OTOOL64"; then
7765 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7766 else
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 for as_dir in $PATH
7769 do
7770 IFS=$as_save_IFS
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_ac_ct_OTOOL64="otool64"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 break 2
7777 fi
7778 done
7779 done
7780 IFS=$as_save_IFS
7781
7782 fi
7783 fi
7784 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7785 if test -n "$ac_ct_OTOOL64"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7787 $as_echo "$ac_ct_OTOOL64" >&6; }
7788 else
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7791 fi
7792
7793 if test "x$ac_ct_OTOOL64" = x; then
7794 OTOOL64=":"
7795 else
7796 case $cross_compiling:$ac_tool_warned in
7797 yes:)
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7801 esac
7802 OTOOL64=$ac_ct_OTOOL64
7803 fi
7804 else
7805 OTOOL64="$ac_cv_prog_OTOOL64"
7806 fi
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7835 $as_echo_n "checking for -single_module linker flag... " >&6; }
7836 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7837 $as_echo_n "(cached) " >&6
7838 else
7839 lt_cv_apple_cc_single_mod=no
7840 if test -z "${LT_MULTI_MODULE}"; then
7841 # By default we will add the -single_module flag. You can override
7842 # by either setting the environment variable LT_MULTI_MODULE
7843 # non-empty at configure time, or by adding -multi_module to the
7844 # link flags.
7845 rm -rf libconftest.dylib*
7846 echo "int foo(void){return 1;}" > conftest.c
7847 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7848 -dynamiclib -Wl,-single_module conftest.c" >&5
7849 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7850 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7851 _lt_result=$?
7852 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7853 lt_cv_apple_cc_single_mod=yes
7854 else
7855 cat conftest.err >&5
7856 fi
7857 rm -rf libconftest.dylib*
7858 rm -f conftest.*
7859 fi
7860 fi
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7862 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7864 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7865 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7866 $as_echo_n "(cached) " >&6
7867 else
7868 lt_cv_ld_exported_symbols_list=no
7869 save_LDFLAGS=$LDFLAGS
7870 echo "_main" > conftest.sym
7871 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7872 if test x$gcc_no_link = xyes; then
7873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7874 fi
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7877
7878 int
7879 main ()
7880 {
7881
7882 ;
7883 return 0;
7884 }
7885 _ACEOF
7886 if ac_fn_c_try_link "$LINENO"; then :
7887 lt_cv_ld_exported_symbols_list=yes
7888 else
7889 lt_cv_ld_exported_symbols_list=no
7890 fi
7891 rm -f core conftest.err conftest.$ac_objext \
7892 conftest$ac_exeext conftest.$ac_ext
7893 LDFLAGS="$save_LDFLAGS"
7894
7895 fi
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7897 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7899 $as_echo_n "checking for -force_load linker flag... " >&6; }
7900 if test "${lt_cv_ld_force_load+set}" = set; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 lt_cv_ld_force_load=no
7904 cat > conftest.c << _LT_EOF
7905 int forced_loaded() { return 2;}
7906 _LT_EOF
7907 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7908 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7909 echo "$AR cru libconftest.a conftest.o" >&5
7910 $AR cru libconftest.a conftest.o 2>&5
7911 cat > conftest.c << _LT_EOF
7912 int main() { return 0;}
7913 _LT_EOF
7914 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7915 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7916 _lt_result=$?
7917 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7918 lt_cv_ld_force_load=yes
7919 else
7920 cat conftest.err >&5
7921 fi
7922 rm -f conftest.err libconftest.a conftest conftest.c
7923 rm -rf conftest.dSYM
7924
7925 fi
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7927 $as_echo "$lt_cv_ld_force_load" >&6; }
7928 case $host_os in
7929 rhapsody* | darwin1.[012])
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7931 darwin1.*)
7932 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7933 darwin*) # darwin 5.x on
7934 # if running on 10.5 or later, the deployment target defaults
7935 # to the OS version, if on x86, and 10.4, the deployment
7936 # target defaults to 10.4. Don't you love it?
7937 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7938 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7939 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7940 10.[012][,.]*)
7941 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7942 10.*)
7943 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7944 esac
7945 ;;
7946 esac
7947 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7948 _lt_dar_single_mod='$single_module'
7949 fi
7950 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7951 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7952 else
7953 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7954 fi
7955 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7956 _lt_dsymutil='~$DSYMUTIL $lib || :'
7957 else
7958 _lt_dsymutil=
7959 fi
7960 ;;
7961 esac
7962
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7964 $as_echo_n "checking for ANSI C header files... " >&6; }
7965 if test "${ac_cv_header_stdc+set}" = set; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 #include <stdlib.h>
7971 #include <stdarg.h>
7972 #include <string.h>
7973 #include <float.h>
7974
7975 int
7976 main ()
7977 {
7978
7979 ;
7980 return 0;
7981 }
7982 _ACEOF
7983 if ac_fn_c_try_compile "$LINENO"; then :
7984 ac_cv_header_stdc=yes
7985 else
7986 ac_cv_header_stdc=no
7987 fi
7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7989
7990 if test $ac_cv_header_stdc = yes; then
7991 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7994 #include <string.h>
7995
7996 _ACEOF
7997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7998 $EGREP "memchr" >/dev/null 2>&1; then :
7999
8000 else
8001 ac_cv_header_stdc=no
8002 fi
8003 rm -f conftest*
8004
8005 fi
8006
8007 if test $ac_cv_header_stdc = yes; then
8008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8010 /* end confdefs.h. */
8011 #include <stdlib.h>
8012
8013 _ACEOF
8014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8015 $EGREP "free" >/dev/null 2>&1; then :
8016
8017 else
8018 ac_cv_header_stdc=no
8019 fi
8020 rm -f conftest*
8021
8022 fi
8023
8024 if test $ac_cv_header_stdc = yes; then
8025 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8026 if test "$cross_compiling" = yes; then :
8027 :
8028 else
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 #include <ctype.h>
8032 #include <stdlib.h>
8033 #if ((' ' & 0x0FF) == 0x020)
8034 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8036 #else
8037 # define ISLOWER(c) \
8038 (('a' <= (c) && (c) <= 'i') \
8039 || ('j' <= (c) && (c) <= 'r') \
8040 || ('s' <= (c) && (c) <= 'z'))
8041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8042 #endif
8043
8044 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8045 int
8046 main ()
8047 {
8048 int i;
8049 for (i = 0; i < 256; i++)
8050 if (XOR (islower (i), ISLOWER (i))
8051 || toupper (i) != TOUPPER (i))
8052 return 2;
8053 return 0;
8054 }
8055 _ACEOF
8056 if ac_fn_c_try_run "$LINENO"; then :
8057
8058 else
8059 ac_cv_header_stdc=no
8060 fi
8061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8062 conftest.$ac_objext conftest.beam conftest.$ac_ext
8063 fi
8064
8065 fi
8066 fi
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8068 $as_echo "$ac_cv_header_stdc" >&6; }
8069 if test $ac_cv_header_stdc = yes; then
8070
8071 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8072
8073 fi
8074
8075 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8076 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8077 inttypes.h stdint.h unistd.h
8078 do :
8079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8080 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8081 "
8082 eval as_val=\$$as_ac_Header
8083 if test "x$as_val" = x""yes; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 _ACEOF
8087
8088 fi
8089
8090 done
8091
8092
8093 for ac_header in dlfcn.h
8094 do :
8095 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8096 "
8097 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_DLFCN_H 1
8100 _ACEOF
8101
8102 fi
8103
8104 done
8105
8106
8107
8108
8109
8110
8111 # Set options
8112
8113
8114
8115
8116 enable_win32_dll=no
8117
8118
8119 # Check whether --enable-shared was given.
8120 if test "${enable_shared+set}" = set; then :
8121 enableval=$enable_shared; p=${PACKAGE-default}
8122 case $enableval in
8123 yes) enable_shared=yes ;;
8124 no) enable_shared=no ;;
8125 *)
8126 enable_shared=no
8127 # Look at the argument we got. We use all the common list separators.
8128 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8129 for pkg in $enableval; do
8130 IFS="$lt_save_ifs"
8131 if test "X$pkg" = "X$p"; then
8132 enable_shared=yes
8133 fi
8134 done
8135 IFS="$lt_save_ifs"
8136 ;;
8137 esac
8138 else
8139 enable_shared=yes
8140 fi
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150 # Check whether --enable-static was given.
8151 if test "${enable_static+set}" = set; then :
8152 enableval=$enable_static; p=${PACKAGE-default}
8153 case $enableval in
8154 yes) enable_static=yes ;;
8155 no) enable_static=no ;;
8156 *)
8157 enable_static=no
8158 # Look at the argument we got. We use all the common list separators.
8159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160 for pkg in $enableval; do
8161 IFS="$lt_save_ifs"
8162 if test "X$pkg" = "X$p"; then
8163 enable_static=yes
8164 fi
8165 done
8166 IFS="$lt_save_ifs"
8167 ;;
8168 esac
8169 else
8170 enable_static=yes
8171 fi
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182 # Check whether --with-pic was given.
8183 if test "${with_pic+set}" = set; then :
8184 withval=$with_pic; pic_mode="$withval"
8185 else
8186 pic_mode=default
8187 fi
8188
8189
8190 test -z "$pic_mode" && pic_mode=default
8191
8192
8193
8194
8195
8196
8197
8198 # Check whether --enable-fast-install was given.
8199 if test "${enable_fast_install+set}" = set; then :
8200 enableval=$enable_fast_install; p=${PACKAGE-default}
8201 case $enableval in
8202 yes) enable_fast_install=yes ;;
8203 no) enable_fast_install=no ;;
8204 *)
8205 enable_fast_install=no
8206 # Look at the argument we got. We use all the common list separators.
8207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8208 for pkg in $enableval; do
8209 IFS="$lt_save_ifs"
8210 if test "X$pkg" = "X$p"; then
8211 enable_fast_install=yes
8212 fi
8213 done
8214 IFS="$lt_save_ifs"
8215 ;;
8216 esac
8217 else
8218 enable_fast_install=yes
8219 fi
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231 # This can be used to rebuild libtool when needed
8232 LIBTOOL_DEPS="$ltmain"
8233
8234 # Always use our own libtool.
8235 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262 test -z "$LN_S" && LN_S="ln -s"
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277 if test -n "${ZSH_VERSION+set}" ; then
8278 setopt NO_GLOB_SUBST
8279 fi
8280
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8282 $as_echo_n "checking for objdir... " >&6; }
8283 if test "${lt_cv_objdir+set}" = set; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 rm -f .libs 2>/dev/null
8287 mkdir .libs 2>/dev/null
8288 if test -d .libs; then
8289 lt_cv_objdir=.libs
8290 else
8291 # MS-DOS does not allow filenames that begin with a dot.
8292 lt_cv_objdir=_libs
8293 fi
8294 rmdir .libs 2>/dev/null
8295 fi
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8297 $as_echo "$lt_cv_objdir" >&6; }
8298 objdir=$lt_cv_objdir
8299
8300
8301
8302
8303
8304 cat >>confdefs.h <<_ACEOF
8305 #define LT_OBJDIR "$lt_cv_objdir/"
8306 _ACEOF
8307
8308
8309
8310
8311 case $host_os in
8312 aix3*)
8313 # AIX sometimes has problems with the GCC collect2 program. For some
8314 # reason, if we set the COLLECT_NAMES environment variable, the problems
8315 # vanish in a puff of smoke.
8316 if test "X${COLLECT_NAMES+set}" != Xset; then
8317 COLLECT_NAMES=
8318 export COLLECT_NAMES
8319 fi
8320 ;;
8321 esac
8322
8323 # Global variables:
8324 ofile=libtool
8325 can_build_shared=yes
8326
8327 # All known linkers require a `.a' archive for static linking (except MSVC,
8328 # which needs '.lib').
8329 libext=a
8330
8331 with_gnu_ld="$lt_cv_prog_gnu_ld"
8332
8333 old_CC="$CC"
8334 old_CFLAGS="$CFLAGS"
8335
8336 # Set sane defaults for various variables
8337 test -z "$CC" && CC=cc
8338 test -z "$LTCC" && LTCC=$CC
8339 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8340 test -z "$LD" && LD=ld
8341 test -z "$ac_objext" && ac_objext=o
8342
8343 for cc_temp in $compiler""; do
8344 case $cc_temp in
8345 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8346 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8347 \-*) ;;
8348 *) break;;
8349 esac
8350 done
8351 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8352
8353
8354 # Only perform the check for file, if the check method requires it
8355 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8356 case $deplibs_check_method in
8357 file_magic*)
8358 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8361 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 case $MAGIC_CMD in
8365 [\\/*] | ?:[\\/]*)
8366 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8367 ;;
8368 *)
8369 lt_save_MAGIC_CMD="$MAGIC_CMD"
8370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8371 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8372 for ac_dir in $ac_dummy; do
8373 IFS="$lt_save_ifs"
8374 test -z "$ac_dir" && ac_dir=.
8375 if test -f $ac_dir/${ac_tool_prefix}file; then
8376 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8377 if test -n "$file_magic_test_file"; then
8378 case $deplibs_check_method in
8379 "file_magic "*)
8380 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8383 $EGREP "$file_magic_regex" > /dev/null; then
8384 :
8385 else
8386 cat <<_LT_EOF 1>&2
8387
8388 *** Warning: the command libtool uses to detect shared libraries,
8389 *** $file_magic_cmd, produces output that libtool cannot recognize.
8390 *** The result is that libtool may fail to recognize shared libraries
8391 *** as such. This will affect the creation of libtool libraries that
8392 *** depend on shared libraries, but programs linked with such libtool
8393 *** libraries will work regardless of this problem. Nevertheless, you
8394 *** may want to report the problem to your system manager and/or to
8395 *** bug-libtool@gnu.org
8396
8397 _LT_EOF
8398 fi ;;
8399 esac
8400 fi
8401 break
8402 fi
8403 done
8404 IFS="$lt_save_ifs"
8405 MAGIC_CMD="$lt_save_MAGIC_CMD"
8406 ;;
8407 esac
8408 fi
8409
8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8411 if test -n "$MAGIC_CMD"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8413 $as_echo "$MAGIC_CMD" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8417 fi
8418
8419
8420
8421
8422
8423 if test -z "$lt_cv_path_MAGIC_CMD"; then
8424 if test -n "$ac_tool_prefix"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8426 $as_echo_n "checking for file... " >&6; }
8427 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 case $MAGIC_CMD in
8431 [\\/*] | ?:[\\/]*)
8432 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8433 ;;
8434 *)
8435 lt_save_MAGIC_CMD="$MAGIC_CMD"
8436 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8437 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8438 for ac_dir in $ac_dummy; do
8439 IFS="$lt_save_ifs"
8440 test -z "$ac_dir" && ac_dir=.
8441 if test -f $ac_dir/file; then
8442 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8443 if test -n "$file_magic_test_file"; then
8444 case $deplibs_check_method in
8445 "file_magic "*)
8446 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8448 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8449 $EGREP "$file_magic_regex" > /dev/null; then
8450 :
8451 else
8452 cat <<_LT_EOF 1>&2
8453
8454 *** Warning: the command libtool uses to detect shared libraries,
8455 *** $file_magic_cmd, produces output that libtool cannot recognize.
8456 *** The result is that libtool may fail to recognize shared libraries
8457 *** as such. This will affect the creation of libtool libraries that
8458 *** depend on shared libraries, but programs linked with such libtool
8459 *** libraries will work regardless of this problem. Nevertheless, you
8460 *** may want to report the problem to your system manager and/or to
8461 *** bug-libtool@gnu.org
8462
8463 _LT_EOF
8464 fi ;;
8465 esac
8466 fi
8467 break
8468 fi
8469 done
8470 IFS="$lt_save_ifs"
8471 MAGIC_CMD="$lt_save_MAGIC_CMD"
8472 ;;
8473 esac
8474 fi
8475
8476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8477 if test -n "$MAGIC_CMD"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8479 $as_echo "$MAGIC_CMD" >&6; }
8480 else
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8483 fi
8484
8485
8486 else
8487 MAGIC_CMD=:
8488 fi
8489 fi
8490
8491 fi
8492 ;;
8493 esac
8494
8495 # Use C for the default configuration in the libtool script
8496
8497 lt_save_CC="$CC"
8498 ac_ext=c
8499 ac_cpp='$CPP $CPPFLAGS'
8500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8503
8504
8505 # Source file extension for C test sources.
8506 ac_ext=c
8507
8508 # Object file extension for compiled C test sources.
8509 objext=o
8510 objext=$objext
8511
8512 # Code to be used in simple compile tests
8513 lt_simple_compile_test_code="int some_variable = 0;"
8514
8515 # Code to be used in simple link tests
8516 lt_simple_link_test_code='int main(){return(0);}'
8517
8518
8519
8520
8521
8522
8523
8524 # If no C compiler was specified, use CC.
8525 LTCC=${LTCC-"$CC"}
8526
8527 # If no C compiler flags were specified, use CFLAGS.
8528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8529
8530 # Allow CC to be a program name with arguments.
8531 compiler=$CC
8532
8533 # Save the default compiler, since it gets overwritten when the other
8534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8535 compiler_DEFAULT=$CC
8536
8537 # save warnings/boilerplate of simple test code
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_compiler_boilerplate=`cat conftest.err`
8542 $RM conftest*
8543
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8547 _lt_linker_boilerplate=`cat conftest.err`
8548 $RM -r conftest*
8549
8550
8551 ## CAVEAT EMPTOR:
8552 ## There is no encapsulation within the following macros, do not change
8553 ## the running order or otherwise move them around unless you know exactly
8554 ## what you are doing...
8555 if test -n "$compiler"; then
8556
8557 lt_prog_compiler_no_builtin_flag=
8558
8559 if test "$GCC" = yes; then
8560 case $cc_basename in
8561 nvcc*)
8562 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8563 *)
8564 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8565 esac
8566
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8569 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 lt_cv_prog_compiler_rtti_exceptions=no
8573 ac_outfile=conftest.$ac_objext
8574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575 lt_compiler_flag="-fno-rtti -fno-exceptions"
8576 # Insert the option either (1) after the last *FLAGS variable, or
8577 # (2) before a word containing "conftest.", or (3) at the end.
8578 # Note that $ac_compile itself does not contain backslashes and begins
8579 # with a dollar sign (not a hyphen), so the echo should work correctly.
8580 # The option is referenced via a variable to avoid confusing sed.
8581 lt_compile=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>conftest.err)
8587 ac_status=$?
8588 cat conftest.err >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 if (exit $ac_status) && test -s "$ac_outfile"; then
8591 # The compiler can only warn and ignore the option if not recognized
8592 # So say no if there are warnings other than the usual output.
8593 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_rtti_exceptions=yes
8597 fi
8598 fi
8599 $RM conftest*
8600
8601 fi
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8604
8605 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8606 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8607 else
8608 :
8609 fi
8610
8611 fi
8612
8613
8614
8615
8616
8617
8618 lt_prog_compiler_wl=
8619 lt_prog_compiler_pic=
8620 lt_prog_compiler_static=
8621
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8624
8625 if test "$GCC" = yes; then
8626 lt_prog_compiler_wl='-Wl,'
8627 lt_prog_compiler_static='-static'
8628
8629 case $host_os in
8630 aix*)
8631 # All AIX code is PIC.
8632 if test "$host_cpu" = ia64; then
8633 # AIX 5 now supports IA64 processor
8634 lt_prog_compiler_static='-Bstatic'
8635 fi
8636 lt_prog_compiler_pic='-fPIC'
8637 ;;
8638
8639 amigaos*)
8640 case $host_cpu in
8641 powerpc)
8642 # see comment about AmigaOS4 .so support
8643 lt_prog_compiler_pic='-fPIC'
8644 ;;
8645 m68k)
8646 # FIXME: we need at least 68020 code to build shared libraries, but
8647 # adding the `-m68020' flag to GCC prevents building anything better,
8648 # like `-m68040'.
8649 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8650 ;;
8651 esac
8652 ;;
8653
8654 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8655 # PIC is the default for these OSes.
8656 ;;
8657
8658 mingw* | cygwin* | pw32* | os2* | cegcc*)
8659 # This hack is so that the source file can tell whether it is being
8660 # built for inclusion in a dll (and should export symbols for example).
8661 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8662 # (--disable-auto-import) libraries
8663 lt_prog_compiler_pic='-DDLL_EXPORT'
8664 ;;
8665
8666 darwin* | rhapsody*)
8667 # PIC is the default on this platform
8668 # Common symbols not allowed in MH_DYLIB files
8669 lt_prog_compiler_pic='-fno-common'
8670 ;;
8671
8672 haiku*)
8673 # PIC is the default for Haiku.
8674 # The "-static" flag exists, but is broken.
8675 lt_prog_compiler_static=
8676 ;;
8677
8678 hpux*)
8679 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8680 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8681 # sets the default TLS model and affects inlining.
8682 case $host_cpu in
8683 hppa*64*)
8684 # +Z the default
8685 ;;
8686 *)
8687 lt_prog_compiler_pic='-fPIC'
8688 ;;
8689 esac
8690 ;;
8691
8692 interix[3-9]*)
8693 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8694 # Instead, we relocate shared libraries at runtime.
8695 ;;
8696
8697 msdosdjgpp*)
8698 # Just because we use GCC doesn't mean we suddenly get shared libraries
8699 # on systems that don't support them.
8700 lt_prog_compiler_can_build_shared=no
8701 enable_shared=no
8702 ;;
8703
8704 *nto* | *qnx*)
8705 # QNX uses GNU C++, but need to define -shared option too, otherwise
8706 # it will coredump.
8707 lt_prog_compiler_pic='-fPIC -shared'
8708 ;;
8709
8710 sysv4*MP*)
8711 if test -d /usr/nec; then
8712 lt_prog_compiler_pic=-Kconform_pic
8713 fi
8714 ;;
8715
8716 *)
8717 lt_prog_compiler_pic='-fPIC'
8718 ;;
8719 esac
8720
8721 case $cc_basename in
8722 nvcc*) # Cuda Compiler Driver 2.2
8723 lt_prog_compiler_wl='-Xlinker '
8724 lt_prog_compiler_pic='-Xcompiler -fPIC'
8725 ;;
8726 esac
8727 else
8728 # PORTME Check for flag to pass linker flags through the system compiler.
8729 case $host_os in
8730 aix*)
8731 lt_prog_compiler_wl='-Wl,'
8732 if test "$host_cpu" = ia64; then
8733 # AIX 5 now supports IA64 processor
8734 lt_prog_compiler_static='-Bstatic'
8735 else
8736 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8737 fi
8738 ;;
8739
8740 mingw* | cygwin* | pw32* | os2* | cegcc*)
8741 # This hack is so that the source file can tell whether it is being
8742 # built for inclusion in a dll (and should export symbols for example).
8743 lt_prog_compiler_pic='-DDLL_EXPORT'
8744 ;;
8745
8746 hpux9* | hpux10* | hpux11*)
8747 lt_prog_compiler_wl='-Wl,'
8748 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8749 # not for PA HP-UX.
8750 case $host_cpu in
8751 hppa*64*|ia64*)
8752 # +Z the default
8753 ;;
8754 *)
8755 lt_prog_compiler_pic='+Z'
8756 ;;
8757 esac
8758 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8759 lt_prog_compiler_static='${wl}-a ${wl}archive'
8760 ;;
8761
8762 irix5* | irix6* | nonstopux*)
8763 lt_prog_compiler_wl='-Wl,'
8764 # PIC (with -KPIC) is the default.
8765 lt_prog_compiler_static='-non_shared'
8766 ;;
8767
8768 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8769 case $cc_basename in
8770 # old Intel for x86_64 which still supported -KPIC.
8771 ecc*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='-KPIC'
8774 lt_prog_compiler_static='-static'
8775 ;;
8776 # icc used to be incompatible with GCC.
8777 # ICC 10 doesn't accept -KPIC any more.
8778 icc* | ifort*)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fPIC'
8781 lt_prog_compiler_static='-static'
8782 ;;
8783 # Lahey Fortran 8.1.
8784 lf95*)
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_pic='--shared'
8787 lt_prog_compiler_static='--static'
8788 ;;
8789 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8790 # Portland Group compilers (*not* the Pentium gcc compiler,
8791 # which looks to be a dead project)
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-fpic'
8794 lt_prog_compiler_static='-Bstatic'
8795 ;;
8796 ccc*)
8797 lt_prog_compiler_wl='-Wl,'
8798 # All Alpha code is PIC.
8799 lt_prog_compiler_static='-non_shared'
8800 ;;
8801 xl* | bgxl* | bgf* | mpixl*)
8802 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_pic='-qpic'
8805 lt_prog_compiler_static='-qstaticlink'
8806 ;;
8807 *)
8808 case `$CC -V 2>&1 | sed 5q` in
8809 *Sun\ F* | *Sun*Fortran*)
8810 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_wl=''
8814 ;;
8815 *Sun\ C*)
8816 # Sun C 5.9
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8819 lt_prog_compiler_wl='-Wl,'
8820 ;;
8821 esac
8822 ;;
8823 esac
8824 ;;
8825
8826 newsos6)
8827 lt_prog_compiler_pic='-KPIC'
8828 lt_prog_compiler_static='-Bstatic'
8829 ;;
8830
8831 *nto* | *qnx*)
8832 # QNX uses GNU C++, but need to define -shared option too, otherwise
8833 # it will coredump.
8834 lt_prog_compiler_pic='-fPIC -shared'
8835 ;;
8836
8837 osf3* | osf4* | osf5*)
8838 lt_prog_compiler_wl='-Wl,'
8839 # All OSF/1 code is PIC.
8840 lt_prog_compiler_static='-non_shared'
8841 ;;
8842
8843 rdos*)
8844 lt_prog_compiler_static='-non_shared'
8845 ;;
8846
8847 solaris*)
8848 lt_prog_compiler_pic='-KPIC'
8849 lt_prog_compiler_static='-Bstatic'
8850 case $cc_basename in
8851 f77* | f90* | f95*)
8852 lt_prog_compiler_wl='-Qoption ld ';;
8853 *)
8854 lt_prog_compiler_wl='-Wl,';;
8855 esac
8856 ;;
8857
8858 sunos4*)
8859 lt_prog_compiler_wl='-Qoption ld '
8860 lt_prog_compiler_pic='-PIC'
8861 lt_prog_compiler_static='-Bstatic'
8862 ;;
8863
8864 sysv4 | sysv4.2uw2* | sysv4.3*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8868 ;;
8869
8870 sysv4*MP*)
8871 if test -d /usr/nec ;then
8872 lt_prog_compiler_pic='-Kconform_pic'
8873 lt_prog_compiler_static='-Bstatic'
8874 fi
8875 ;;
8876
8877 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8878 lt_prog_compiler_wl='-Wl,'
8879 lt_prog_compiler_pic='-KPIC'
8880 lt_prog_compiler_static='-Bstatic'
8881 ;;
8882
8883 unicos*)
8884 lt_prog_compiler_wl='-Wl,'
8885 lt_prog_compiler_can_build_shared=no
8886 ;;
8887
8888 uts4*)
8889 lt_prog_compiler_pic='-pic'
8890 lt_prog_compiler_static='-Bstatic'
8891 ;;
8892
8893 *)
8894 lt_prog_compiler_can_build_shared=no
8895 ;;
8896 esac
8897 fi
8898
8899 case $host_os in
8900 # For platforms which do not support PIC, -DPIC is meaningless:
8901 *djgpp*)
8902 lt_prog_compiler_pic=
8903 ;;
8904 *)
8905 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8906 ;;
8907 esac
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8909 $as_echo "$lt_prog_compiler_pic" >&6; }
8910
8911
8912
8913
8914
8915
8916 #
8917 # Check to make sure the PIC flag actually works.
8918 #
8919 if test -n "$lt_prog_compiler_pic"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8921 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8922 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 lt_cv_prog_compiler_pic_works=no
8926 ac_outfile=conftest.$ac_objext
8927 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 # The option is referenced via a variable to avoid confusing sed.
8934 lt_compile=`echo "$ac_compile" | $SED \
8935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8937 -e 's:$: $lt_compiler_flag:'`
8938 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8939 (eval "$lt_compile" 2>conftest.err)
8940 ac_status=$?
8941 cat conftest.err >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 if (exit $ac_status) && test -s "$ac_outfile"; then
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings other than the usual output.
8946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8947 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8948 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8949 lt_cv_prog_compiler_pic_works=yes
8950 fi
8951 fi
8952 $RM conftest*
8953
8954 fi
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8956 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8957
8958 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8959 case $lt_prog_compiler_pic in
8960 "" | " "*) ;;
8961 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8962 esac
8963 else
8964 lt_prog_compiler_pic=
8965 lt_prog_compiler_can_build_shared=no
8966 fi
8967
8968 fi
8969
8970
8971
8972
8973
8974
8975 #
8976 # Check to make sure the static flag actually works.
8977 #
8978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8981 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 lt_cv_prog_compiler_static_works=no
8985 save_LDFLAGS="$LDFLAGS"
8986 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8987 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8988 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8989 # The linker can only warn and ignore the option if not recognized
8990 # So say no if there are warnings
8991 if test -s conftest.err; then
8992 # Append any errors to the config.log.
8993 cat conftest.err 1>&5
8994 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996 if diff conftest.exp conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_static_works=yes
8998 fi
8999 else
9000 lt_cv_prog_compiler_static_works=yes
9001 fi
9002 fi
9003 $RM -r conftest*
9004 LDFLAGS="$save_LDFLAGS"
9005
9006 fi
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9009
9010 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9011 :
9012 else
9013 lt_prog_compiler_static=
9014 fi
9015
9016
9017
9018
9019
9020
9021
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9023 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9024 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9025 $as_echo_n "(cached) " >&6
9026 else
9027 lt_cv_prog_compiler_c_o=no
9028 $RM -r conftest 2>/dev/null
9029 mkdir conftest
9030 cd conftest
9031 mkdir out
9032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9033
9034 lt_compiler_flag="-o out/conftest2.$ac_objext"
9035 # Insert the option either (1) after the last *FLAGS variable, or
9036 # (2) before a word containing "conftest.", or (3) at the end.
9037 # Note that $ac_compile itself does not contain backslashes and begins
9038 # with a dollar sign (not a hyphen), so the echo should work correctly.
9039 lt_compile=`echo "$ac_compile" | $SED \
9040 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9042 -e 's:$: $lt_compiler_flag:'`
9043 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9044 (eval "$lt_compile" 2>out/conftest.err)
9045 ac_status=$?
9046 cat out/conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9049 then
9050 # The compiler can only warn and ignore the option if not recognized
9051 # So say no if there are warnings
9052 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9053 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9054 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9055 lt_cv_prog_compiler_c_o=yes
9056 fi
9057 fi
9058 chmod u+w . 2>&5
9059 $RM conftest*
9060 # SGI C++ compiler will create directory out/ii_files/ for
9061 # template instantiation
9062 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9063 $RM out/* && rmdir out
9064 cd ..
9065 $RM -r conftest
9066 $RM conftest*
9067
9068 fi
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9070 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9071
9072
9073
9074
9075
9076
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9078 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9079 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 lt_cv_prog_compiler_c_o=no
9083 $RM -r conftest 2>/dev/null
9084 mkdir conftest
9085 cd conftest
9086 mkdir out
9087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9088
9089 lt_compiler_flag="-o out/conftest2.$ac_objext"
9090 # Insert the option either (1) after the last *FLAGS variable, or
9091 # (2) before a word containing "conftest.", or (3) at the end.
9092 # Note that $ac_compile itself does not contain backslashes and begins
9093 # with a dollar sign (not a hyphen), so the echo should work correctly.
9094 lt_compile=`echo "$ac_compile" | $SED \
9095 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097 -e 's:$: $lt_compiler_flag:'`
9098 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9099 (eval "$lt_compile" 2>out/conftest.err)
9100 ac_status=$?
9101 cat out/conftest.err >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9104 then
9105 # The compiler can only warn and ignore the option if not recognized
9106 # So say no if there are warnings
9107 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9108 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9109 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9110 lt_cv_prog_compiler_c_o=yes
9111 fi
9112 fi
9113 chmod u+w . 2>&5
9114 $RM conftest*
9115 # SGI C++ compiler will create directory out/ii_files/ for
9116 # template instantiation
9117 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9118 $RM out/* && rmdir out
9119 cd ..
9120 $RM -r conftest
9121 $RM conftest*
9122
9123 fi
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9126
9127
9128
9129
9130 hard_links="nottested"
9131 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9132 # do not overwrite the value of need_locks provided by the user
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9134 $as_echo_n "checking if we can lock with hard links... " >&6; }
9135 hard_links=yes
9136 $RM conftest*
9137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9138 touch conftest.a
9139 ln conftest.a conftest.b 2>&5 || hard_links=no
9140 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9142 $as_echo "$hard_links" >&6; }
9143 if test "$hard_links" = no; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9145 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9146 need_locks=warn
9147 fi
9148 else
9149 need_locks=no
9150 fi
9151
9152
9153
9154
9155
9156
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9159
9160 runpath_var=
9161 allow_undefined_flag=
9162 always_export_symbols=no
9163 archive_cmds=
9164 archive_expsym_cmds=
9165 compiler_needs_object=no
9166 enable_shared_with_static_runtimes=no
9167 export_dynamic_flag_spec=
9168 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9169 hardcode_automatic=no
9170 hardcode_direct=no
9171 hardcode_direct_absolute=no
9172 hardcode_libdir_flag_spec=
9173 hardcode_libdir_flag_spec_ld=
9174 hardcode_libdir_separator=
9175 hardcode_minus_L=no
9176 hardcode_shlibpath_var=unsupported
9177 inherit_rpath=no
9178 link_all_deplibs=unknown
9179 module_cmds=
9180 module_expsym_cmds=
9181 old_archive_from_new_cmds=
9182 old_archive_from_expsyms_cmds=
9183 thread_safe_flag_spec=
9184 whole_archive_flag_spec=
9185 # include_expsyms should be a list of space-separated symbols to be *always*
9186 # included in the symbol list
9187 include_expsyms=
9188 # exclude_expsyms can be an extended regexp of symbols to exclude
9189 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9190 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9191 # as well as any symbol that contains `d'.
9192 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9193 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9194 # platforms (ab)use it in PIC code, but their linkers get confused if
9195 # the symbol is explicitly referenced. Since portable code cannot
9196 # rely on this symbol name, it's probably fine to never include it in
9197 # preloaded symbol tables.
9198 # Exclude shared library initialization/finalization symbols.
9199 extract_expsyms_cmds=
9200
9201 case $host_os in
9202 cygwin* | mingw* | pw32* | cegcc*)
9203 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9204 # When not using gcc, we currently assume that we are using
9205 # Microsoft Visual C++.
9206 if test "$GCC" != yes; then
9207 with_gnu_ld=no
9208 fi
9209 ;;
9210 interix*)
9211 # we just hope/assume this is gcc and not c89 (= MSVC++)
9212 with_gnu_ld=yes
9213 ;;
9214 openbsd*)
9215 with_gnu_ld=no
9216 ;;
9217 esac
9218
9219 ld_shlibs=yes
9220
9221 # On some targets, GNU ld is compatible enough with the native linker
9222 # that we're better off using the native interface for both.
9223 lt_use_gnu_ld_interface=no
9224 if test "$with_gnu_ld" = yes; then
9225 case $host_os in
9226 aix*)
9227 # The AIX port of GNU ld has always aspired to compatibility
9228 # with the native linker. However, as the warning in the GNU ld
9229 # block says, versions before 2.19.5* couldn't really create working
9230 # shared libraries, regardless of the interface used.
9231 case `$LD -v 2>&1` in
9232 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9233 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9234 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9235 *)
9236 lt_use_gnu_ld_interface=yes
9237 ;;
9238 esac
9239 ;;
9240 *)
9241 lt_use_gnu_ld_interface=yes
9242 ;;
9243 esac
9244 fi
9245
9246 if test "$lt_use_gnu_ld_interface" = yes; then
9247 # If archive_cmds runs LD, not CC, wlarc should be empty
9248 wlarc='${wl}'
9249
9250 # Set some defaults for GNU ld with shared library support. These
9251 # are reset later if shared libraries are not supported. Putting them
9252 # here allows them to be overridden if necessary.
9253 runpath_var=LD_RUN_PATH
9254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255 export_dynamic_flag_spec='${wl}--export-dynamic'
9256 # ancient GNU ld didn't support --whole-archive et. al.
9257 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9258 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9259 else
9260 whole_archive_flag_spec=
9261 fi
9262 supports_anon_versioning=no
9263 case `$LD -v 2>&1` in
9264 *GNU\ gold*) supports_anon_versioning=yes ;;
9265 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9266 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9267 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9268 *\ 2.11.*) ;; # other 2.11 versions
9269 *) supports_anon_versioning=yes ;;
9270 esac
9271
9272 # See if GNU ld supports shared libraries.
9273 case $host_os in
9274 aix[3-9]*)
9275 # On AIX/PPC, the GNU linker is very broken
9276 if test "$host_cpu" != ia64; then
9277 ld_shlibs=no
9278 cat <<_LT_EOF 1>&2
9279
9280 *** Warning: the GNU linker, at least up to release 2.19, is reported
9281 *** to be unable to reliably create shared libraries on AIX.
9282 *** Therefore, libtool is disabling shared libraries support. If you
9283 *** really care for shared libraries, you may want to install binutils
9284 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9285 *** You will then need to restart the configuration process.
9286
9287 _LT_EOF
9288 fi
9289 ;;
9290
9291 amigaos*)
9292 case $host_cpu in
9293 powerpc)
9294 # see comment about AmigaOS4 .so support
9295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 archive_expsym_cmds=''
9297 ;;
9298 m68k)
9299 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)'
9300 hardcode_libdir_flag_spec='-L$libdir'
9301 hardcode_minus_L=yes
9302 ;;
9303 esac
9304 ;;
9305
9306 beos*)
9307 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9308 allow_undefined_flag=unsupported
9309 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9310 # support --undefined. This deserves some investigation. FIXME
9311 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312 else
9313 ld_shlibs=no
9314 fi
9315 ;;
9316
9317 cygwin* | mingw* | pw32* | cegcc*)
9318 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9319 # as there is no search path for DLLs.
9320 hardcode_libdir_flag_spec='-L$libdir'
9321 export_dynamic_flag_spec='${wl}--export-all-symbols'
9322 allow_undefined_flag=unsupported
9323 always_export_symbols=no
9324 enable_shared_with_static_runtimes=yes
9325 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9326
9327 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9329 # If the export-symbols file already is a .def file (1st line
9330 # is EXPORTS), use it as is; otherwise, prepend...
9331 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9332 cp $export_symbols $output_objdir/$soname.def;
9333 else
9334 echo EXPORTS > $output_objdir/$soname.def;
9335 cat $export_symbols >> $output_objdir/$soname.def;
9336 fi~
9337 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9338 else
9339 ld_shlibs=no
9340 fi
9341 ;;
9342
9343 haiku*)
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 link_all_deplibs=yes
9346 ;;
9347
9348 interix[3-9]*)
9349 hardcode_direct=no
9350 hardcode_shlibpath_var=no
9351 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9352 export_dynamic_flag_spec='${wl}-E'
9353 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9354 # Instead, shared libraries are loaded at an image base (0x10000000 by
9355 # default) and relocated if they conflict, which is a slow very memory
9356 # consuming and fragmenting process. To avoid this, we pick a random,
9357 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9358 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9359 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9360 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'
9361 ;;
9362
9363 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9364 tmp_diet=no
9365 if test "$host_os" = linux-dietlibc; then
9366 case $cc_basename in
9367 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9368 esac
9369 fi
9370 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9371 && test "$tmp_diet" = no
9372 then
9373 tmp_addflag=' $pic_flag'
9374 tmp_sharedflag='-shared'
9375 case $cc_basename,$host_cpu in
9376 pgcc*) # Portland Group C compiler
9377 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'
9378 tmp_addflag=' $pic_flag'
9379 ;;
9380 pgf77* | pgf90* | pgf95* | pgfortran*)
9381 # Portland Group f77 and f90 compilers
9382 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'
9383 tmp_addflag=' $pic_flag -Mnomain' ;;
9384 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9385 tmp_addflag=' -i_dynamic' ;;
9386 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9387 tmp_addflag=' -i_dynamic -nofor_main' ;;
9388 ifc* | ifort*) # Intel Fortran compiler
9389 tmp_addflag=' -nofor_main' ;;
9390 lf95*) # Lahey Fortran 8.1
9391 whole_archive_flag_spec=
9392 tmp_sharedflag='--shared' ;;
9393 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9394 tmp_sharedflag='-qmkshrobj'
9395 tmp_addflag= ;;
9396 nvcc*) # Cuda Compiler Driver 2.2
9397 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'
9398 compiler_needs_object=yes
9399 ;;
9400 esac
9401 case `$CC -V 2>&1 | sed 5q` in
9402 *Sun\ C*) # Sun C 5.9
9403 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'
9404 compiler_needs_object=yes
9405 tmp_sharedflag='-G' ;;
9406 *Sun\ F*) # Sun Fortran 8.3
9407 tmp_sharedflag='-G' ;;
9408 esac
9409 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410
9411 if test "x$supports_anon_versioning" = xyes; then
9412 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9413 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9414 echo "local: *; };" >> $output_objdir/$libname.ver~
9415 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9416 fi
9417
9418 case $cc_basename in
9419 xlf* | bgf* | bgxlf* | mpixlf*)
9420 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9421 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9422 hardcode_libdir_flag_spec=
9423 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9424 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9425 if test "x$supports_anon_versioning" = xyes; then
9426 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9427 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9428 echo "local: *; };" >> $output_objdir/$libname.ver~
9429 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9430 fi
9431 ;;
9432 esac
9433 else
9434 ld_shlibs=no
9435 fi
9436 ;;
9437
9438 netbsd*)
9439 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9440 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9441 wlarc=
9442 else
9443 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9444 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9445 fi
9446 ;;
9447
9448 solaris*)
9449 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9450 ld_shlibs=no
9451 cat <<_LT_EOF 1>&2
9452
9453 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9454 *** create shared libraries on Solaris systems. Therefore, libtool
9455 *** is disabling shared libraries support. We urge you to upgrade GNU
9456 *** binutils to release 2.9.1 or newer. Another option is to modify
9457 *** your PATH or compiler configuration so that the native linker is
9458 *** used, and then restart.
9459
9460 _LT_EOF
9461 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9462 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9463 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9464 else
9465 ld_shlibs=no
9466 fi
9467 ;;
9468
9469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9470 case `$LD -v 2>&1` in
9471 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9472 ld_shlibs=no
9473 cat <<_LT_EOF 1>&2
9474
9475 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9476 *** reliably create shared libraries on SCO systems. Therefore, libtool
9477 *** is disabling shared libraries support. We urge you to upgrade GNU
9478 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9479 *** your PATH or compiler configuration so that the native linker is
9480 *** used, and then restart.
9481
9482 _LT_EOF
9483 ;;
9484 *)
9485 # For security reasons, it is highly recommended that you always
9486 # use absolute paths for naming shared libraries, and exclude the
9487 # DT_RUNPATH tag from executables and libraries. But doing so
9488 # requires that you compile everything twice, which is a pain.
9489 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9490 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493 else
9494 ld_shlibs=no
9495 fi
9496 ;;
9497 esac
9498 ;;
9499
9500 sunos4*)
9501 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9502 wlarc=
9503 hardcode_direct=yes
9504 hardcode_shlibpath_var=no
9505 ;;
9506
9507 *)
9508 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9509 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9510 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9511 else
9512 ld_shlibs=no
9513 fi
9514 ;;
9515 esac
9516
9517 if test "$ld_shlibs" = no; then
9518 runpath_var=
9519 hardcode_libdir_flag_spec=
9520 export_dynamic_flag_spec=
9521 whole_archive_flag_spec=
9522 fi
9523 else
9524 # PORTME fill in a description of your system's linker (not GNU ld)
9525 case $host_os in
9526 aix3*)
9527 allow_undefined_flag=unsupported
9528 always_export_symbols=yes
9529 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'
9530 # Note: this linker hardcodes the directories in LIBPATH if there
9531 # are no directories specified by -L.
9532 hardcode_minus_L=yes
9533 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9534 # Neither direct hardcoding nor static linking is supported with a
9535 # broken collect2.
9536 hardcode_direct=unsupported
9537 fi
9538 ;;
9539
9540 aix[4-9]*)
9541 if test "$host_cpu" = ia64; then
9542 # On IA64, the linker does run time linking by default, so we don't
9543 # have to do anything special.
9544 aix_use_runtimelinking=no
9545 exp_sym_flag='-Bexport'
9546 no_entry_flag=""
9547 else
9548 # If we're using GNU nm, then we don't want the "-C" option.
9549 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9550 # Also, AIX nm treats weak defined symbols like other global
9551 # defined symbols, whereas GNU nm marks them as "W".
9552 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9553 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'
9554 else
9555 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9556 fi
9557 aix_use_runtimelinking=no
9558
9559 # Test if we are trying to use run time linking or normal
9560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9561 # need to do runtime linking.
9562 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9563 for ld_flag in $LDFLAGS; do
9564 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9565 aix_use_runtimelinking=yes
9566 break
9567 fi
9568 done
9569 ;;
9570 esac
9571
9572 exp_sym_flag='-bexport'
9573 no_entry_flag='-bnoentry'
9574 fi
9575
9576 # When large executables or shared objects are built, AIX ld can
9577 # have problems creating the table of contents. If linking a library
9578 # or program results in "error TOC overflow" add -mminimal-toc to
9579 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9580 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9581
9582 archive_cmds=''
9583 hardcode_direct=yes
9584 hardcode_direct_absolute=yes
9585 hardcode_libdir_separator=':'
9586 link_all_deplibs=yes
9587 file_list_spec='${wl}-f,'
9588
9589 if test "$GCC" = yes; then
9590 case $host_os in aix4.[012]|aix4.[012].*)
9591 # We only want to do this on AIX 4.2 and lower, the check
9592 # below for broken collect2 doesn't work under 4.3+
9593 collect2name=`${CC} -print-prog-name=collect2`
9594 if test -f "$collect2name" &&
9595 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9596 then
9597 # We have reworked collect2
9598 :
9599 else
9600 # We have old collect2
9601 hardcode_direct=unsupported
9602 # It fails to find uninstalled libraries when the uninstalled
9603 # path is not listed in the libpath. Setting hardcode_minus_L
9604 # to unsupported forces relinking
9605 hardcode_minus_L=yes
9606 hardcode_libdir_flag_spec='-L$libdir'
9607 hardcode_libdir_separator=
9608 fi
9609 ;;
9610 esac
9611 shared_flag='-shared'
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag="$shared_flag "'${wl}-G'
9614 fi
9615 else
9616 # not using gcc
9617 if test "$host_cpu" = ia64; then
9618 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9619 # chokes on -Wl,-G. The following line is correct:
9620 shared_flag='-G'
9621 else
9622 if test "$aix_use_runtimelinking" = yes; then
9623 shared_flag='${wl}-G'
9624 else
9625 shared_flag='${wl}-bM:SRE'
9626 fi
9627 fi
9628 fi
9629
9630 export_dynamic_flag_spec='${wl}-bexpall'
9631 # It seems that -bexpall does not export symbols beginning with
9632 # underscore (_), so it is better to generate a list of symbols to export.
9633 always_export_symbols=yes
9634 if test "$aix_use_runtimelinking" = yes; then
9635 # Warning - without using the other runtime loading flags (-brtl),
9636 # -berok will link without error, but may produce a broken library.
9637 allow_undefined_flag='-berok'
9638 # Determine the default libpath from the value encoded in an
9639 # empty executable.
9640 if test x$gcc_no_link = xyes; then
9641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9642 fi
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9645
9646 int
9647 main ()
9648 {
9649
9650 ;
9651 return 0;
9652 }
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9655
9656 lt_aix_libpath_sed='
9657 /Import File Strings/,/^$/ {
9658 /^0/ {
9659 s/^0 *\(.*\)$/\1/
9660 p
9661 }
9662 }'
9663 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9664 # Check for a 64-bit object if we didn't find anything.
9665 if test -z "$aix_libpath"; then
9666 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9667 fi
9668 fi
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9672
9673 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9674 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"
9675 else
9676 if test "$host_cpu" = ia64; then
9677 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9678 allow_undefined_flag="-z nodefs"
9679 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"
9680 else
9681 # Determine the default libpath from the value encoded in an
9682 # empty executable.
9683 if test x$gcc_no_link = xyes; then
9684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9685 fi
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9688
9689 int
9690 main ()
9691 {
9692
9693 ;
9694 return 0;
9695 }
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698
9699 lt_aix_libpath_sed='
9700 /Import File Strings/,/^$/ {
9701 /^0/ {
9702 s/^0 *\(.*\)$/\1/
9703 p
9704 }
9705 }'
9706 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 # Check for a 64-bit object if we didn't find anything.
9708 if test -z "$aix_libpath"; then
9709 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9710 fi
9711 fi
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9715
9716 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9717 # Warning - without using the other run time loading flags,
9718 # -berok will link without error, but may produce a broken library.
9719 no_undefined_flag=' ${wl}-bernotok'
9720 allow_undefined_flag=' ${wl}-berok'
9721 if test "$with_gnu_ld" = yes; then
9722 # We only use this code for GNU lds that support --whole-archive.
9723 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9724 else
9725 # Exported symbols can be pulled into shared objects from archives
9726 whole_archive_flag_spec='$convenience'
9727 fi
9728 archive_cmds_need_lc=yes
9729 # This is similar to how AIX traditionally builds its shared libraries.
9730 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'
9731 fi
9732 fi
9733 ;;
9734
9735 amigaos*)
9736 case $host_cpu in
9737 powerpc)
9738 # see comment about AmigaOS4 .so support
9739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9740 archive_expsym_cmds=''
9741 ;;
9742 m68k)
9743 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)'
9744 hardcode_libdir_flag_spec='-L$libdir'
9745 hardcode_minus_L=yes
9746 ;;
9747 esac
9748 ;;
9749
9750 bsdi[45]*)
9751 export_dynamic_flag_spec=-rdynamic
9752 ;;
9753
9754 cygwin* | mingw* | pw32* | cegcc*)
9755 # When not using gcc, we currently assume that we are using
9756 # Microsoft Visual C++.
9757 # hardcode_libdir_flag_spec is actually meaningless, as there is
9758 # no search path for DLLs.
9759 hardcode_libdir_flag_spec=' '
9760 allow_undefined_flag=unsupported
9761 # Tell ltmain to make .lib files, not .a files.
9762 libext=lib
9763 # Tell ltmain to make .dll files, not .so files.
9764 shrext_cmds=".dll"
9765 # FIXME: Setting linknames here is a bad hack.
9766 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9767 # The linker will automatically build a .lib file if we build a DLL.
9768 old_archive_from_new_cmds='true'
9769 # FIXME: Should let the user specify the lib program.
9770 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9771 fix_srcfile_path='`cygpath -w "$srcfile"`'
9772 enable_shared_with_static_runtimes=yes
9773 ;;
9774
9775 darwin* | rhapsody*)
9776
9777
9778 archive_cmds_need_lc=no
9779 hardcode_direct=no
9780 hardcode_automatic=yes
9781 hardcode_shlibpath_var=unsupported
9782 if test "$lt_cv_ld_force_load" = "yes"; then
9783 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\"`'
9784 else
9785 whole_archive_flag_spec=''
9786 fi
9787 link_all_deplibs=yes
9788 allow_undefined_flag="$_lt_dar_allow_undefined"
9789 case $cc_basename in
9790 ifort*) _lt_dar_can_shared=yes ;;
9791 *) _lt_dar_can_shared=$GCC ;;
9792 esac
9793 if test "$_lt_dar_can_shared" = "yes"; then
9794 output_verbose_link_cmd=func_echo_all
9795 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9796 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9797 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}"
9798 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}"
9799
9800 else
9801 ld_shlibs=no
9802 fi
9803
9804 ;;
9805
9806 dgux*)
9807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808 hardcode_libdir_flag_spec='-L$libdir'
9809 hardcode_shlibpath_var=no
9810 ;;
9811
9812 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9813 # support. Future versions do this automatically, but an explicit c++rt0.o
9814 # does not break anything, and helps significantly (at the cost of a little
9815 # extra space).
9816 freebsd2.2*)
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9818 hardcode_libdir_flag_spec='-R$libdir'
9819 hardcode_direct=yes
9820 hardcode_shlibpath_var=no
9821 ;;
9822
9823 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9824 freebsd2.*)
9825 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_direct=yes
9827 hardcode_minus_L=yes
9828 hardcode_shlibpath_var=no
9829 ;;
9830
9831 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9832 freebsd* | dragonfly*)
9833 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9834 hardcode_libdir_flag_spec='-R$libdir'
9835 hardcode_direct=yes
9836 hardcode_shlibpath_var=no
9837 ;;
9838
9839 hpux9*)
9840 if test "$GCC" = yes; then
9841 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'
9842 else
9843 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'
9844 fi
9845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9846 hardcode_libdir_separator=:
9847 hardcode_direct=yes
9848
9849 # hardcode_minus_L: Not really in the search PATH,
9850 # but as the default location of the library.
9851 hardcode_minus_L=yes
9852 export_dynamic_flag_spec='${wl}-E'
9853 ;;
9854
9855 hpux10*)
9856 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9857 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 else
9859 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9860 fi
9861 if test "$with_gnu_ld" = no; then
9862 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9863 hardcode_libdir_flag_spec_ld='+b $libdir'
9864 hardcode_libdir_separator=:
9865 hardcode_direct=yes
9866 hardcode_direct_absolute=yes
9867 export_dynamic_flag_spec='${wl}-E'
9868 # hardcode_minus_L: Not really in the search PATH,
9869 # but as the default location of the library.
9870 hardcode_minus_L=yes
9871 fi
9872 ;;
9873
9874 hpux11*)
9875 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9876 case $host_cpu in
9877 hppa*64*)
9878 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 ;;
9880 ia64*)
9881 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9882 ;;
9883 *)
9884 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9885 ;;
9886 esac
9887 else
9888 case $host_cpu in
9889 hppa*64*)
9890 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 ;;
9892 ia64*)
9893 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9894 ;;
9895 *)
9896
9897 # Older versions of the 11.00 compiler do not understand -b yet
9898 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 $as_echo_n "checking if $CC understands -b... " >&6; }
9901 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 lt_cv_prog_compiler__b=no
9905 save_LDFLAGS="$LDFLAGS"
9906 LDFLAGS="$LDFLAGS -b"
9907 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909 # The linker can only warn and ignore the option if not recognized
9910 # So say no if there are warnings
9911 if test -s conftest.err; then
9912 # Append any errors to the config.log.
9913 cat conftest.err 1>&5
9914 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916 if diff conftest.exp conftest.er2 >/dev/null; then
9917 lt_cv_prog_compiler__b=yes
9918 fi
9919 else
9920 lt_cv_prog_compiler__b=yes
9921 fi
9922 fi
9923 $RM -r conftest*
9924 LDFLAGS="$save_LDFLAGS"
9925
9926 fi
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9929
9930 if test x"$lt_cv_prog_compiler__b" = xyes; then
9931 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 else
9933 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9934 fi
9935
9936 ;;
9937 esac
9938 fi
9939 if test "$with_gnu_ld" = no; then
9940 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9941 hardcode_libdir_separator=:
9942
9943 case $host_cpu in
9944 hppa*64*|ia64*)
9945 hardcode_direct=no
9946 hardcode_shlibpath_var=no
9947 ;;
9948 *)
9949 hardcode_direct=yes
9950 hardcode_direct_absolute=yes
9951 export_dynamic_flag_spec='${wl}-E'
9952
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L=yes
9956 ;;
9957 esac
9958 fi
9959 ;;
9960
9961 irix5* | irix6* | nonstopux*)
9962 if test "$GCC" = yes; then
9963 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'
9964 # Try to use the -exported_symbol ld option, if it does not
9965 # work, assume that -exports_file does not work either and
9966 # implicitly export all symbols.
9967 save_LDFLAGS="$LDFLAGS"
9968 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 if test x$gcc_no_link = xyes; then
9970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9971 fi
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int foo(void) {}
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 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'
9978
9979 fi
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LDFLAGS="$save_LDFLAGS"
9983 else
9984 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'
9985 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'
9986 fi
9987 archive_cmds_need_lc='no'
9988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9989 hardcode_libdir_separator=:
9990 inherit_rpath=yes
9991 link_all_deplibs=yes
9992 ;;
9993
9994 netbsd*)
9995 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9996 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9997 else
9998 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9999 fi
10000 hardcode_libdir_flag_spec='-R$libdir'
10001 hardcode_direct=yes
10002 hardcode_shlibpath_var=no
10003 ;;
10004
10005 newsos6)
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_direct=yes
10008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10009 hardcode_libdir_separator=:
10010 hardcode_shlibpath_var=no
10011 ;;
10012
10013 *nto* | *qnx*)
10014 ;;
10015
10016 openbsd*)
10017 if test -f /usr/libexec/ld.so; then
10018 hardcode_direct=yes
10019 hardcode_shlibpath_var=no
10020 hardcode_direct_absolute=yes
10021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 export_dynamic_flag_spec='${wl}-E'
10026 else
10027 case $host_os in
10028 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10029 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 hardcode_libdir_flag_spec='-R$libdir'
10031 ;;
10032 *)
10033 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10034 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10035 ;;
10036 esac
10037 fi
10038 else
10039 ld_shlibs=no
10040 fi
10041 ;;
10042
10043 os2*)
10044 hardcode_libdir_flag_spec='-L$libdir'
10045 hardcode_minus_L=yes
10046 allow_undefined_flag=unsupported
10047 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'
10048 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10049 ;;
10050
10051 osf3*)
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}-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 else
10056 allow_undefined_flag=' -expect_unresolved \*'
10057 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'
10058 fi
10059 archive_cmds_need_lc='no'
10060 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10061 hardcode_libdir_separator=:
10062 ;;
10063
10064 osf4* | osf5*) # as osf3* with the addition of -msym flag
10065 if test "$GCC" = yes; then
10066 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10067 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'
10068 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10069 else
10070 allow_undefined_flag=' -expect_unresolved \*'
10071 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'
10072 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~
10073 $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'
10074
10075 # Both c and cxx compiler support -rpath directly
10076 hardcode_libdir_flag_spec='-rpath $libdir'
10077 fi
10078 archive_cmds_need_lc='no'
10079 hardcode_libdir_separator=:
10080 ;;
10081
10082 solaris*)
10083 no_undefined_flag=' -z defs'
10084 if test "$GCC" = yes; then
10085 wlarc='${wl}'
10086 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$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 -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 else
10090 case `$CC -V 2>&1` in
10091 *"Compilers 5.0"*)
10092 wlarc=''
10093 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10096 ;;
10097 *)
10098 wlarc='${wl}'
10099 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10101 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10102 ;;
10103 esac
10104 fi
10105 hardcode_libdir_flag_spec='-R$libdir'
10106 hardcode_shlibpath_var=no
10107 case $host_os in
10108 solaris2.[0-5] | solaris2.[0-5].*) ;;
10109 *)
10110 # The compiler driver will combine and reorder linker options,
10111 # but understands `-z linker_flag'. GCC discards it without `$wl',
10112 # but is careful enough not to reorder.
10113 # Supported since Solaris 2.6 (maybe 2.5.1?)
10114 if test "$GCC" = yes; then
10115 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10116 else
10117 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10118 fi
10119 ;;
10120 esac
10121 link_all_deplibs=yes
10122 ;;
10123
10124 sunos4*)
10125 if test "x$host_vendor" = xsequent; then
10126 # Use $CC to link under sequent, because it throws in some extra .o
10127 # files that make .init and .fini sections work.
10128 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10129 else
10130 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10131 fi
10132 hardcode_libdir_flag_spec='-L$libdir'
10133 hardcode_direct=yes
10134 hardcode_minus_L=yes
10135 hardcode_shlibpath_var=no
10136 ;;
10137
10138 sysv4)
10139 case $host_vendor in
10140 sni)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=yes # is this really true???
10143 ;;
10144 siemens)
10145 ## LD is ld it makes a PLAMLIB
10146 ## CC just makes a GrossModule.
10147 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10148 reload_cmds='$CC -r -o $output$reload_objs'
10149 hardcode_direct=no
10150 ;;
10151 motorola)
10152 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10154 ;;
10155 esac
10156 runpath_var='LD_RUN_PATH'
10157 hardcode_shlibpath_var=no
10158 ;;
10159
10160 sysv4.3*)
10161 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10162 hardcode_shlibpath_var=no
10163 export_dynamic_flag_spec='-Bexport'
10164 ;;
10165
10166 sysv4*MP*)
10167 if test -d /usr/nec; then
10168 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_shlibpath_var=no
10170 runpath_var=LD_RUN_PATH
10171 hardcode_runpath_var=yes
10172 ld_shlibs=yes
10173 fi
10174 ;;
10175
10176 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10177 no_undefined_flag='${wl}-z,text'
10178 archive_cmds_need_lc=no
10179 hardcode_shlibpath_var=no
10180 runpath_var='LD_RUN_PATH'
10181
10182 if test "$GCC" = yes; then
10183 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 else
10186 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 fi
10189 ;;
10190
10191 sysv5* | sco3.2v5* | sco5v6*)
10192 # Note: We can NOT use -z defs as we might desire, because we do not
10193 # link with -lc, and that would cause any symbols used from libc to
10194 # always be unresolved, which means just about no library would
10195 # ever link correctly. If we're not using GNU ld we use -z text
10196 # though, which does catch some bad symbols but isn't as heavy-handed
10197 # as -z defs.
10198 no_undefined_flag='${wl}-z,text'
10199 allow_undefined_flag='${wl}-z,nodefs'
10200 archive_cmds_need_lc=no
10201 hardcode_shlibpath_var=no
10202 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10203 hardcode_libdir_separator=':'
10204 link_all_deplibs=yes
10205 export_dynamic_flag_spec='${wl}-Bexport'
10206 runpath_var='LD_RUN_PATH'
10207
10208 if test "$GCC" = yes; then
10209 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 else
10212 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 fi
10215 ;;
10216
10217 uts4*)
10218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10219 hardcode_libdir_flag_spec='-L$libdir'
10220 hardcode_shlibpath_var=no
10221 ;;
10222
10223 *)
10224 ld_shlibs=no
10225 ;;
10226 esac
10227
10228 if test x$host_vendor = xsni; then
10229 case $host in
10230 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10231 export_dynamic_flag_spec='${wl}-Blargedynsym'
10232 ;;
10233 esac
10234 fi
10235 fi
10236
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10238 $as_echo "$ld_shlibs" >&6; }
10239 test "$ld_shlibs" = no && can_build_shared=no
10240
10241 with_gnu_ld=$with_gnu_ld
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257 #
10258 # Do we need to explicitly link libc?
10259 #
10260 case "x$archive_cmds_need_lc" in
10261 x|xyes)
10262 # Assume -lc should be added
10263 archive_cmds_need_lc=yes
10264
10265 if test "$enable_shared" = yes && test "$GCC" = yes; then
10266 case $archive_cmds in
10267 *'~'*)
10268 # FIXME: we may have to deal with multi-command sequences.
10269 ;;
10270 '$CC '*)
10271 # Test whether the compiler implicitly links with -lc since on some
10272 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10273 # to ld, don't add -lc before -lgcc.
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10275 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10276 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 $RM conftest*
10280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10281
10282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10283 (eval $ac_compile) 2>&5
10284 ac_status=$?
10285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10286 test $ac_status = 0; } 2>conftest.err; then
10287 soname=conftest
10288 lib=conftest
10289 libobjs=conftest.$ac_objext
10290 deplibs=
10291 wl=$lt_prog_compiler_wl
10292 pic_flag=$lt_prog_compiler_pic
10293 compiler_flags=-v
10294 linker_flags=-v
10295 verstring=
10296 output_objdir=.
10297 libname=conftest
10298 lt_save_allow_undefined_flag=$allow_undefined_flag
10299 allow_undefined_flag=
10300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10301 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10302 ac_status=$?
10303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10304 test $ac_status = 0; }
10305 then
10306 lt_cv_archive_cmds_need_lc=no
10307 else
10308 lt_cv_archive_cmds_need_lc=yes
10309 fi
10310 allow_undefined_flag=$lt_save_allow_undefined_flag
10311 else
10312 cat conftest.err 1>&5
10313 fi
10314 $RM conftest*
10315
10316 fi
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10318 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10319 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10320 ;;
10321 esac
10322 fi
10323 ;;
10324 esac
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
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10483 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10484
10485 if test "$GCC" = yes; then
10486 case $host_os in
10487 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10488 *) lt_awk_arg="/^libraries:/" ;;
10489 esac
10490 case $host_os in
10491 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10492 *) lt_sed_strip_eq="s,=/,/,g" ;;
10493 esac
10494 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10495 case $lt_search_path_spec in
10496 *\;*)
10497 # if the path contains ";" then we assume it to be the separator
10498 # otherwise default to the standard path separator (i.e. ":") - it is
10499 # assumed that no part of a normal pathname contains ";" but that should
10500 # okay in the real world where ";" in dirpaths is itself problematic.
10501 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10502 ;;
10503 *)
10504 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10505 ;;
10506 esac
10507 # Ok, now we have the path, separated by spaces, we can step through it
10508 # and add multilib dir if necessary.
10509 lt_tmp_lt_search_path_spec=
10510 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10511 for lt_sys_path in $lt_search_path_spec; do
10512 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10513 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10514 else
10515 test -d "$lt_sys_path" && \
10516 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10517 fi
10518 done
10519 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10520 BEGIN {RS=" "; FS="/|\n";} {
10521 lt_foo="";
10522 lt_count=0;
10523 for (lt_i = NF; lt_i > 0; lt_i--) {
10524 if ($lt_i != "" && $lt_i != ".") {
10525 if ($lt_i == "..") {
10526 lt_count++;
10527 } else {
10528 if (lt_count == 0) {
10529 lt_foo="/" $lt_i lt_foo;
10530 } else {
10531 lt_count--;
10532 }
10533 }
10534 }
10535 }
10536 if (lt_foo != "") { lt_freq[lt_foo]++; }
10537 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10538 }'`
10539 # AWK program above erroneously prepends '/' to C:/dos/paths
10540 # for these hosts.
10541 case $host_os in
10542 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10543 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10544 esac
10545 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10546 else
10547 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10548 fi
10549 library_names_spec=
10550 libname_spec='lib$name'
10551 soname_spec=
10552 shrext_cmds=".so"
10553 postinstall_cmds=
10554 postuninstall_cmds=
10555 finish_cmds=
10556 finish_eval=
10557 shlibpath_var=
10558 shlibpath_overrides_runpath=unknown
10559 version_type=none
10560 dynamic_linker="$host_os ld.so"
10561 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10562 need_lib_prefix=unknown
10563 hardcode_into_libs=no
10564
10565 # when you set need_version to no, make sure it does not cause -set_version
10566 # flags to be left without arguments
10567 need_version=unknown
10568
10569 case $host_os in
10570 aix3*)
10571 version_type=linux
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10573 shlibpath_var=LIBPATH
10574
10575 # AIX 3 has no versioning support, so we append a major version to the name.
10576 soname_spec='${libname}${release}${shared_ext}$major'
10577 ;;
10578
10579 aix[4-9]*)
10580 version_type=linux
10581 need_lib_prefix=no
10582 need_version=no
10583 hardcode_into_libs=yes
10584 if test "$host_cpu" = ia64; then
10585 # AIX 5 supports IA64
10586 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10587 shlibpath_var=LD_LIBRARY_PATH
10588 else
10589 # With GCC up to 2.95.x, collect2 would create an import file
10590 # for dependence libraries. The import file would start with
10591 # the line `#! .'. This would cause the generated library to
10592 # depend on `.', always an invalid library. This was fixed in
10593 # development snapshots of GCC prior to 3.0.
10594 case $host_os in
10595 aix4 | aix4.[01] | aix4.[01].*)
10596 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10597 echo ' yes '
10598 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10599 :
10600 else
10601 can_build_shared=no
10602 fi
10603 ;;
10604 esac
10605 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10606 # soname into executable. Probably we can add versioning support to
10607 # collect2, so additional links can be useful in future.
10608 if test "$aix_use_runtimelinking" = yes; then
10609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10610 # instead of lib<name>.a to let people know that these are not
10611 # typical AIX shared libraries.
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 else
10614 # We preserve .a as extension for shared libraries through AIX4.2
10615 # and later when we are not doing run time linking.
10616 library_names_spec='${libname}${release}.a $libname.a'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10618 fi
10619 shlibpath_var=LIBPATH
10620 fi
10621 ;;
10622
10623 amigaos*)
10624 case $host_cpu in
10625 powerpc)
10626 # Since July 2007 AmigaOS4 officially supports .so libraries.
10627 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 ;;
10630 m68k)
10631 library_names_spec='$libname.ixlibrary $libname.a'
10632 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10633 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'
10634 ;;
10635 esac
10636 ;;
10637
10638 beos*)
10639 library_names_spec='${libname}${shared_ext}'
10640 dynamic_linker="$host_os ld.so"
10641 shlibpath_var=LIBRARY_PATH
10642 ;;
10643
10644 bsdi[45]*)
10645 version_type=linux
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10650 shlibpath_var=LD_LIBRARY_PATH
10651 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10652 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10653 # the default ld.so.conf also contains /usr/contrib/lib and
10654 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10655 # libtool to hard-code these into programs
10656 ;;
10657
10658 cygwin* | mingw* | pw32* | cegcc*)
10659 version_type=windows
10660 shrext_cmds=".dll"
10661 need_version=no
10662 need_lib_prefix=no
10663
10664 case $GCC,$host_os in
10665 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10666 library_names_spec='$libname.dll.a'
10667 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668 postinstall_cmds='base_file=`basename \${file}`~
10669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10670 dldir=$destdir/`dirname \$dlpath`~
10671 test -d \$dldir || mkdir -p \$dldir~
10672 $install_prog $dir/$dlname \$dldir/$dlname~
10673 chmod a+x \$dldir/$dlname~
10674 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10675 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10676 fi'
10677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10678 dlpath=$dir/\$dldll~
10679 $RM \$dlpath'
10680 shlibpath_overrides_runpath=yes
10681
10682 case $host_os in
10683 cygwin*)
10684 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686
10687 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10688 ;;
10689 mingw* | cegcc*)
10690 # MinGW DLLs use traditional 'lib' prefix
10691 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10692 ;;
10693 pw32*)
10694 # pw32 DLLs use 'pw' prefix rather than 'lib'
10695 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10696 ;;
10697 esac
10698 ;;
10699
10700 *)
10701 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10702 ;;
10703 esac
10704 dynamic_linker='Win32 ld.exe'
10705 # FIXME: first we should search . and the directory the executable is in
10706 shlibpath_var=PATH
10707 ;;
10708
10709 darwin* | rhapsody*)
10710 dynamic_linker="$host_os dyld"
10711 version_type=darwin
10712 need_lib_prefix=no
10713 need_version=no
10714 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10715 soname_spec='${libname}${release}${major}$shared_ext'
10716 shlibpath_overrides_runpath=yes
10717 shlibpath_var=DYLD_LIBRARY_PATH
10718 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10719
10720 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10721 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10722 ;;
10723
10724 dgux*)
10725 version_type=linux
10726 need_lib_prefix=no
10727 need_version=no
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 shlibpath_var=LD_LIBRARY_PATH
10731 ;;
10732
10733 freebsd* | dragonfly*)
10734 # DragonFly does not have aout. When/if they implement a new
10735 # versioning mechanism, adjust this.
10736 if test -x /usr/bin/objformat; then
10737 objformat=`/usr/bin/objformat`
10738 else
10739 case $host_os in
10740 freebsd[23].*) objformat=aout ;;
10741 *) objformat=elf ;;
10742 esac
10743 fi
10744 version_type=freebsd-$objformat
10745 case $version_type in
10746 freebsd-elf*)
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10748 need_version=no
10749 need_lib_prefix=no
10750 ;;
10751 freebsd-*)
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10753 need_version=yes
10754 ;;
10755 esac
10756 shlibpath_var=LD_LIBRARY_PATH
10757 case $host_os in
10758 freebsd2.*)
10759 shlibpath_overrides_runpath=yes
10760 ;;
10761 freebsd3.[01]* | freebsdelf3.[01]*)
10762 shlibpath_overrides_runpath=yes
10763 hardcode_into_libs=yes
10764 ;;
10765 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10766 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10767 shlibpath_overrides_runpath=no
10768 hardcode_into_libs=yes
10769 ;;
10770 *) # from 4.6 on, and DragonFly
10771 shlibpath_overrides_runpath=yes
10772 hardcode_into_libs=yes
10773 ;;
10774 esac
10775 ;;
10776
10777 gnu*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LD_LIBRARY_PATH
10784 hardcode_into_libs=yes
10785 ;;
10786
10787 haiku*)
10788 version_type=linux
10789 need_lib_prefix=no
10790 need_version=no
10791 dynamic_linker="$host_os runtime_loader"
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 shlibpath_var=LIBRARY_PATH
10795 shlibpath_overrides_runpath=yes
10796 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10797 hardcode_into_libs=yes
10798 ;;
10799
10800 hpux9* | hpux10* | hpux11*)
10801 # Give a soname corresponding to the major version so that dld.sl refuses to
10802 # link against other versions.
10803 version_type=sunos
10804 need_lib_prefix=no
10805 need_version=no
10806 case $host_cpu in
10807 ia64*)
10808 shrext_cmds='.so'
10809 hardcode_into_libs=yes
10810 dynamic_linker="$host_os dld.so"
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 if test "X$HPUX_IA64_MODE" = X32; then
10816 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10817 else
10818 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10819 fi
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821 ;;
10822 hppa*64*)
10823 shrext_cmds='.sl'
10824 hardcode_into_libs=yes
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10831 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10832 ;;
10833 *)
10834 shrext_cmds='.sl'
10835 dynamic_linker="$host_os dld.sl"
10836 shlibpath_var=SHLIB_PATH
10837 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10840 ;;
10841 esac
10842 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843 postinstall_cmds='chmod 555 $lib'
10844 # or fails outright, so override atomically:
10845 install_override_mode=555
10846 ;;
10847
10848 interix[3-9]*)
10849 version_type=linux
10850 need_lib_prefix=no
10851 need_version=no
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=no
10857 hardcode_into_libs=yes
10858 ;;
10859
10860 irix5* | irix6* | nonstopux*)
10861 case $host_os in
10862 nonstopux*) version_type=nonstopux ;;
10863 *)
10864 if test "$lt_cv_prog_gnu_ld" = yes; then
10865 version_type=linux
10866 else
10867 version_type=irix
10868 fi ;;
10869 esac
10870 need_lib_prefix=no
10871 need_version=no
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10874 case $host_os in
10875 irix5* | nonstopux*)
10876 libsuff= shlibsuff=
10877 ;;
10878 *)
10879 case $LD in # libtool.m4 will add one of these switches to LD
10880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10881 libsuff= shlibsuff= libmagic=32-bit;;
10882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10883 libsuff=32 shlibsuff=N32 libmagic=N32;;
10884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10885 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10886 *) libsuff= shlibsuff= libmagic=never-match;;
10887 esac
10888 ;;
10889 esac
10890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10891 shlibpath_overrides_runpath=no
10892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10894 hardcode_into_libs=yes
10895 ;;
10896
10897 # No shared lib support for Linux oldld, aout, or coff.
10898 linux*oldld* | linux*aout* | linux*coff*)
10899 dynamic_linker=no
10900 ;;
10901
10902 # This must be Linux ELF.
10903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 version_type=linux
10905 need_lib_prefix=no
10906 need_version=no
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=no
10912
10913 # Some binutils ld are patched to set DT_RUNPATH
10914 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 lt_cv_shlibpath_overrides_runpath=no
10918 save_LDFLAGS=$LDFLAGS
10919 save_libdir=$libdir
10920 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922 if test x$gcc_no_link = xyes; then
10923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10924 fi
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927
10928 int
10929 main ()
10930 {
10931
10932 ;
10933 return 0;
10934 }
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10938 lt_cv_shlibpath_overrides_runpath=yes
10939 fi
10940 fi
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LDFLAGS=$save_LDFLAGS
10944 libdir=$save_libdir
10945
10946 fi
10947
10948 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10949
10950 # This implies no fast_install, which is unacceptable.
10951 # Some rework will be needed to allow for fast_install
10952 # before this can be enabled.
10953 hardcode_into_libs=yes
10954
10955 # Append ld.so.conf contents to the search path
10956 if test -f /etc/ld.so.conf; then
10957 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' ' '`
10958 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10959 fi
10960
10961 # We used to test for /lib/ld.so.1 and disable shared libraries on
10962 # powerpc, because MkLinux only supported shared libraries with the
10963 # GNU dynamic linker. Since this was broken with cross compilers,
10964 # most powerpc-linux boxes support dynamic linking these days and
10965 # people can always --disable-shared, the test was removed, and we
10966 # assume the GNU/Linux dynamic linker is in use.
10967 dynamic_linker='GNU/Linux ld.so'
10968 ;;
10969
10970 netbsd*)
10971 version_type=sunos
10972 need_lib_prefix=no
10973 need_version=no
10974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977 dynamic_linker='NetBSD (a.out) ld.so'
10978 else
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 dynamic_linker='NetBSD ld.elf_so'
10982 fi
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10986 ;;
10987
10988 newsos6)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=yes
10993 ;;
10994
10995 *nto* | *qnx*)
10996 version_type=qnx
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=no
11003 hardcode_into_libs=yes
11004 dynamic_linker='ldqnx.so'
11005 ;;
11006
11007 openbsd*)
11008 version_type=sunos
11009 sys_lib_dlsearch_path_spec="/usr/lib"
11010 need_lib_prefix=no
11011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11012 case $host_os in
11013 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11014 *) need_version=no ;;
11015 esac
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11020 case $host_os in
11021 openbsd2.[89] | openbsd2.[89].*)
11022 shlibpath_overrides_runpath=no
11023 ;;
11024 *)
11025 shlibpath_overrides_runpath=yes
11026 ;;
11027 esac
11028 else
11029 shlibpath_overrides_runpath=yes
11030 fi
11031 ;;
11032
11033 os2*)
11034 libname_spec='$name'
11035 shrext_cmds=".dll"
11036 need_lib_prefix=no
11037 library_names_spec='$libname${shared_ext} $libname.a'
11038 dynamic_linker='OS/2 ld.exe'
11039 shlibpath_var=LIBPATH
11040 ;;
11041
11042 osf3* | osf4* | osf5*)
11043 version_type=osf
11044 need_lib_prefix=no
11045 need_version=no
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11050 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11051 ;;
11052
11053 rdos*)
11054 dynamic_linker=no
11055 ;;
11056
11057 solaris*)
11058 version_type=linux
11059 need_lib_prefix=no
11060 need_version=no
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 hardcode_into_libs=yes
11066 # ldd complains unless libraries are executable
11067 postinstall_cmds='chmod +x $lib'
11068 ;;
11069
11070 sunos4*)
11071 version_type=sunos
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=yes
11076 if test "$with_gnu_ld" = yes; then
11077 need_lib_prefix=no
11078 fi
11079 need_version=yes
11080 ;;
11081
11082 sysv4 | sysv4.3*)
11083 version_type=linux
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11087 case $host_vendor in
11088 sni)
11089 shlibpath_overrides_runpath=no
11090 need_lib_prefix=no
11091 runpath_var=LD_RUN_PATH
11092 ;;
11093 siemens)
11094 need_lib_prefix=no
11095 ;;
11096 motorola)
11097 need_lib_prefix=no
11098 need_version=no
11099 shlibpath_overrides_runpath=no
11100 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11101 ;;
11102 esac
11103 ;;
11104
11105 sysv4*MP*)
11106 if test -d /usr/nec ;then
11107 version_type=linux
11108 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11109 soname_spec='$libname${shared_ext}.$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 fi
11112 ;;
11113
11114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11115 version_type=freebsd-elf
11116 need_lib_prefix=no
11117 need_version=no
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11122 hardcode_into_libs=yes
11123 if test "$with_gnu_ld" = yes; then
11124 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11125 else
11126 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11127 case $host_os in
11128 sco3.2v5*)
11129 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11130 ;;
11131 esac
11132 fi
11133 sys_lib_dlsearch_path_spec='/usr/lib'
11134 ;;
11135
11136 tpf*)
11137 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11138 version_type=linux
11139 need_lib_prefix=no
11140 need_version=no
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 shlibpath_var=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath=no
11144 hardcode_into_libs=yes
11145 ;;
11146
11147 uts4*)
11148 version_type=linux
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150 soname_spec='${libname}${release}${shared_ext}$major'
11151 shlibpath_var=LD_LIBRARY_PATH
11152 ;;
11153
11154 *)
11155 dynamic_linker=no
11156 ;;
11157 esac
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11159 $as_echo "$dynamic_linker" >&6; }
11160 test "$dynamic_linker" = no && can_build_shared=no
11161
11162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11163 if test "$GCC" = yes; then
11164 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11165 fi
11166
11167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11168 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11169 fi
11170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11171 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11172 fi
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
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11267 hardcode_action=
11268 if test -n "$hardcode_libdir_flag_spec" ||
11269 test -n "$runpath_var" ||
11270 test "X$hardcode_automatic" = "Xyes" ; then
11271
11272 # We can hardcode non-existent directories.
11273 if test "$hardcode_direct" != no &&
11274 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11275 # have to relink, otherwise we might link with an installed library
11276 # when we should be linking with a yet-to-be-installed one
11277 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11278 test "$hardcode_minus_L" != no; then
11279 # Linking always hardcodes the temporary library directory.
11280 hardcode_action=relink
11281 else
11282 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11283 hardcode_action=immediate
11284 fi
11285 else
11286 # We cannot hardcode anything, or else we can only hardcode existing
11287 # directories.
11288 hardcode_action=unsupported
11289 fi
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11291 $as_echo "$hardcode_action" >&6; }
11292
11293 if test "$hardcode_action" = relink ||
11294 test "$inherit_rpath" = yes; then
11295 # Fast installation is not supported
11296 enable_fast_install=no
11297 elif test "$shlibpath_overrides_runpath" = yes ||
11298 test "$enable_shared" = no; then
11299 # Fast installation is not necessary
11300 enable_fast_install=needless
11301 fi
11302
11303
11304
11305
11306
11307
11308 if test "x$enable_dlopen" != xyes; then
11309 enable_dlopen=unknown
11310 enable_dlopen_self=unknown
11311 enable_dlopen_self_static=unknown
11312 else
11313 lt_cv_dlopen=no
11314 lt_cv_dlopen_libs=
11315
11316 case $host_os in
11317 beos*)
11318 lt_cv_dlopen="load_add_on"
11319 lt_cv_dlopen_libs=
11320 lt_cv_dlopen_self=yes
11321 ;;
11322
11323 mingw* | pw32* | cegcc*)
11324 lt_cv_dlopen="LoadLibrary"
11325 lt_cv_dlopen_libs=
11326 ;;
11327
11328 cygwin*)
11329 lt_cv_dlopen="dlopen"
11330 lt_cv_dlopen_libs=
11331 ;;
11332
11333 darwin*)
11334 # if libdl is installed we need to link against it
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-ldl $LIBS"
11342 if test x$gcc_no_link = xyes; then
11343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11344 fi
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11347
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char dlopen ();
11355 int
11356 main ()
11357 {
11358 return dlopen ();
11359 ;
11360 return 0;
11361 }
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364 ac_cv_lib_dl_dlopen=yes
11365 else
11366 ac_cv_lib_dl_dlopen=no
11367 fi
11368 rm -f core conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_lib_save_LIBS
11371 fi
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11374 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11375 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11376 else
11377
11378 lt_cv_dlopen="dyld"
11379 lt_cv_dlopen_libs=
11380 lt_cv_dlopen_self=yes
11381
11382 fi
11383
11384 ;;
11385
11386 *)
11387 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11388 if test "x$ac_cv_func_shl_load" = x""yes; then :
11389 lt_cv_dlopen="shl_load"
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11392 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-ldld $LIBS"
11398 if test x$gcc_no_link = xyes; then
11399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11400 fi
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char shl_load ();
11411 int
11412 main ()
11413 {
11414 return shl_load ();
11415 ;
11416 return 0;
11417 }
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_dld_shl_load=yes
11421 else
11422 ac_cv_lib_dld_shl_load=no
11423 fi
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11427 fi
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11429 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11430 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11431 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11432 else
11433 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11434 if test "x$ac_cv_func_dlopen" = x""yes; then :
11435 lt_cv_dlopen="dlopen"
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldl $LIBS"
11444 if test x$gcc_no_link = xyes; then
11445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11446 fi
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11449
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char dlopen ();
11457 int
11458 main ()
11459 {
11460 return dlopen ();
11461 ;
11462 return 0;
11463 }
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_dl_dlopen=yes
11467 else
11468 ac_cv_lib_dl_dlopen=no
11469 fi
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11473 fi
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478 else
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lsvld $LIBS"
11486 if test x$gcc_no_link = xyes; then
11487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11488 fi
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11491
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char dlopen ();
11499 int
11500 main ()
11501 {
11502 return dlopen ();
11503 ;
11504 return 0;
11505 }
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 ac_cv_lib_svld_dlopen=yes
11509 else
11510 ac_cv_lib_svld_dlopen=no
11511 fi
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11515 fi
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11519 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11524 $as_echo_n "(cached) " >&6
11525 else
11526 ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-ldld $LIBS"
11528 if test x$gcc_no_link = xyes; then
11529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11530 fi
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11533
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char dld_link ();
11541 int
11542 main ()
11543 {
11544 return dld_link ();
11545 ;
11546 return 0;
11547 }
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_dld_dld_link=yes
11551 else
11552 ac_cv_lib_dld_dld_link=no
11553 fi
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11557 fi
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11559 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11560 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11561 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11562 fi
11563
11564
11565 fi
11566
11567
11568 fi
11569
11570
11571 fi
11572
11573
11574 fi
11575
11576
11577 fi
11578
11579 ;;
11580 esac
11581
11582 if test "x$lt_cv_dlopen" != xno; then
11583 enable_dlopen=yes
11584 else
11585 enable_dlopen=no
11586 fi
11587
11588 case $lt_cv_dlopen in
11589 dlopen)
11590 save_CPPFLAGS="$CPPFLAGS"
11591 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11592
11593 save_LDFLAGS="$LDFLAGS"
11594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11595
11596 save_LIBS="$LIBS"
11597 LIBS="$lt_cv_dlopen_libs $LIBS"
11598
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11600 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11601 if test "${lt_cv_dlopen_self+set}" = set; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 if test "$cross_compiling" = yes; then :
11605 lt_cv_dlopen_self=cross
11606 else
11607 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11608 lt_status=$lt_dlunknown
11609 cat > conftest.$ac_ext <<_LT_EOF
11610 #line 11610 "configure"
11611 #include "confdefs.h"
11612
11613 #if HAVE_DLFCN_H
11614 #include <dlfcn.h>
11615 #endif
11616
11617 #include <stdio.h>
11618
11619 #ifdef RTLD_GLOBAL
11620 # define LT_DLGLOBAL RTLD_GLOBAL
11621 #else
11622 # ifdef DL_GLOBAL
11623 # define LT_DLGLOBAL DL_GLOBAL
11624 # else
11625 # define LT_DLGLOBAL 0
11626 # endif
11627 #endif
11628
11629 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11630 find out it does not work in some platform. */
11631 #ifndef LT_DLLAZY_OR_NOW
11632 # ifdef RTLD_LAZY
11633 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11634 # else
11635 # ifdef DL_LAZY
11636 # define LT_DLLAZY_OR_NOW DL_LAZY
11637 # else
11638 # ifdef RTLD_NOW
11639 # define LT_DLLAZY_OR_NOW RTLD_NOW
11640 # else
11641 # ifdef DL_NOW
11642 # define LT_DLLAZY_OR_NOW DL_NOW
11643 # else
11644 # define LT_DLLAZY_OR_NOW 0
11645 # endif
11646 # endif
11647 # endif
11648 # endif
11649 #endif
11650
11651 /* When -fvisbility=hidden is used, assume the code has been annotated
11652 correspondingly for the symbols needed. */
11653 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11654 void fnord () __attribute__((visibility("default")));
11655 #endif
11656
11657 void fnord () { int i=42; }
11658 int main ()
11659 {
11660 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11661 int status = $lt_dlunknown;
11662
11663 if (self)
11664 {
11665 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11666 else
11667 {
11668 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11669 else puts (dlerror ());
11670 }
11671 /* dlclose (self); */
11672 }
11673 else
11674 puts (dlerror ());
11675
11676 return status;
11677 }
11678 _LT_EOF
11679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11680 (eval $ac_link) 2>&5
11681 ac_status=$?
11682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11683 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11684 (./conftest; exit; ) >&5 2>/dev/null
11685 lt_status=$?
11686 case x$lt_status in
11687 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11688 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11689 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11690 esac
11691 else :
11692 # compilation failed
11693 lt_cv_dlopen_self=no
11694 fi
11695 fi
11696 rm -fr conftest*
11697
11698
11699 fi
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11701 $as_echo "$lt_cv_dlopen_self" >&6; }
11702
11703 if test "x$lt_cv_dlopen_self" = xyes; then
11704 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11706 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11707 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11708 $as_echo_n "(cached) " >&6
11709 else
11710 if test "$cross_compiling" = yes; then :
11711 lt_cv_dlopen_self_static=cross
11712 else
11713 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11714 lt_status=$lt_dlunknown
11715 cat > conftest.$ac_ext <<_LT_EOF
11716 #line 11716 "configure"
11717 #include "confdefs.h"
11718
11719 #if HAVE_DLFCN_H
11720 #include <dlfcn.h>
11721 #endif
11722
11723 #include <stdio.h>
11724
11725 #ifdef RTLD_GLOBAL
11726 # define LT_DLGLOBAL RTLD_GLOBAL
11727 #else
11728 # ifdef DL_GLOBAL
11729 # define LT_DLGLOBAL DL_GLOBAL
11730 # else
11731 # define LT_DLGLOBAL 0
11732 # endif
11733 #endif
11734
11735 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11736 find out it does not work in some platform. */
11737 #ifndef LT_DLLAZY_OR_NOW
11738 # ifdef RTLD_LAZY
11739 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11740 # else
11741 # ifdef DL_LAZY
11742 # define LT_DLLAZY_OR_NOW DL_LAZY
11743 # else
11744 # ifdef RTLD_NOW
11745 # define LT_DLLAZY_OR_NOW RTLD_NOW
11746 # else
11747 # ifdef DL_NOW
11748 # define LT_DLLAZY_OR_NOW DL_NOW
11749 # else
11750 # define LT_DLLAZY_OR_NOW 0
11751 # endif
11752 # endif
11753 # endif
11754 # endif
11755 #endif
11756
11757 /* When -fvisbility=hidden is used, assume the code has been annotated
11758 correspondingly for the symbols needed. */
11759 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11760 void fnord () __attribute__((visibility("default")));
11761 #endif
11762
11763 void fnord () { int i=42; }
11764 int main ()
11765 {
11766 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11767 int status = $lt_dlunknown;
11768
11769 if (self)
11770 {
11771 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11772 else
11773 {
11774 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11775 else puts (dlerror ());
11776 }
11777 /* dlclose (self); */
11778 }
11779 else
11780 puts (dlerror ());
11781
11782 return status;
11783 }
11784 _LT_EOF
11785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11786 (eval $ac_link) 2>&5
11787 ac_status=$?
11788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11789 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11790 (./conftest; exit; ) >&5 2>/dev/null
11791 lt_status=$?
11792 case x$lt_status in
11793 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11794 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11795 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11796 esac
11797 else :
11798 # compilation failed
11799 lt_cv_dlopen_self_static=no
11800 fi
11801 fi
11802 rm -fr conftest*
11803
11804
11805 fi
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11807 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11808 fi
11809
11810 CPPFLAGS="$save_CPPFLAGS"
11811 LDFLAGS="$save_LDFLAGS"
11812 LIBS="$save_LIBS"
11813 ;;
11814 esac
11815
11816 case $lt_cv_dlopen_self in
11817 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11818 *) enable_dlopen_self=unknown ;;
11819 esac
11820
11821 case $lt_cv_dlopen_self_static in
11822 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11823 *) enable_dlopen_self_static=unknown ;;
11824 esac
11825 fi
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843 striplib=
11844 old_striplib=
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11846 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11847 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11848 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11849 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11851 $as_echo "yes" >&6; }
11852 else
11853 # FIXME - insert some real tests, host_os isn't really good enough
11854 case $host_os in
11855 darwin*)
11856 if test -n "$STRIP" ; then
11857 striplib="$STRIP -x"
11858 old_striplib="$STRIP -S"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11860 $as_echo "yes" >&6; }
11861 else
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11863 $as_echo "no" >&6; }
11864 fi
11865 ;;
11866 *)
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11869 ;;
11870 esac
11871 fi
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884 # Report which library types will actually be built
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11886 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11888 $as_echo "$can_build_shared" >&6; }
11889
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11891 $as_echo_n "checking whether to build shared libraries... " >&6; }
11892 test "$can_build_shared" = "no" && enable_shared=no
11893
11894 # On AIX, shared libraries and static libraries use the same namespace, and
11895 # are all built from PIC.
11896 case $host_os in
11897 aix3*)
11898 test "$enable_shared" = yes && enable_static=no
11899 if test -n "$RANLIB"; then
11900 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11901 postinstall_cmds='$RANLIB $lib'
11902 fi
11903 ;;
11904
11905 aix[4-9]*)
11906 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11907 test "$enable_shared" = yes && enable_static=no
11908 fi
11909 ;;
11910 esac
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11912 $as_echo "$enable_shared" >&6; }
11913
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11915 $as_echo_n "checking whether to build static libraries... " >&6; }
11916 # Make sure either enable_shared or enable_static is yes.
11917 test "$enable_shared" = yes || enable_static=yes
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11919 $as_echo "$enable_static" >&6; }
11920
11921
11922
11923
11924 fi
11925 ac_ext=c
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11930
11931 CC="$lt_save_CC"
11932
11933 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11934 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11935 (test "X$CXX" != "Xg++"))) ; then
11936 ac_ext=cpp
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11942 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11943 if test -z "$CXXCPP"; then
11944 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 # Double quotes because CXXCPP needs to be expanded
11948 for CXXCPP in "$CXX -E" "/lib/cpp"
11949 do
11950 ac_preproc_ok=false
11951 for ac_cxx_preproc_warn_flag in '' yes
11952 do
11953 # Use a header file that comes with gcc, so configuring glibc
11954 # with a fresh cross-compiler works.
11955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11956 # <limits.h> exists even on freestanding compilers.
11957 # On the NeXT, cc -E runs the code through the compiler's parser,
11958 # not just through cpp. "Syntax error" is here to catch this case.
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11961 #ifdef __STDC__
11962 # include <limits.h>
11963 #else
11964 # include <assert.h>
11965 #endif
11966 Syntax error
11967 _ACEOF
11968 if ac_fn_cxx_try_cpp "$LINENO"; then :
11969
11970 else
11971 # Broken: fails on valid input.
11972 continue
11973 fi
11974 rm -f conftest.err conftest.$ac_ext
11975
11976 # OK, works on sane cases. Now check whether nonexistent headers
11977 # can be detected and how.
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11980 #include <ac_nonexistent.h>
11981 _ACEOF
11982 if ac_fn_cxx_try_cpp "$LINENO"; then :
11983 # Broken: success on invalid input.
11984 continue
11985 else
11986 # Passes both tests.
11987 ac_preproc_ok=:
11988 break
11989 fi
11990 rm -f conftest.err conftest.$ac_ext
11991
11992 done
11993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11994 rm -f conftest.err conftest.$ac_ext
11995 if $ac_preproc_ok; then :
11996 break
11997 fi
11998
11999 done
12000 ac_cv_prog_CXXCPP=$CXXCPP
12001
12002 fi
12003 CXXCPP=$ac_cv_prog_CXXCPP
12004 else
12005 ac_cv_prog_CXXCPP=$CXXCPP
12006 fi
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12008 $as_echo "$CXXCPP" >&6; }
12009 ac_preproc_ok=false
12010 for ac_cxx_preproc_warn_flag in '' yes
12011 do
12012 # Use a header file that comes with gcc, so configuring glibc
12013 # with a fresh cross-compiler works.
12014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12015 # <limits.h> exists even on freestanding compilers.
12016 # On the NeXT, cc -E runs the code through the compiler's parser,
12017 # not just through cpp. "Syntax error" is here to catch this case.
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 #ifdef __STDC__
12021 # include <limits.h>
12022 #else
12023 # include <assert.h>
12024 #endif
12025 Syntax error
12026 _ACEOF
12027 if ac_fn_cxx_try_cpp "$LINENO"; then :
12028
12029 else
12030 # Broken: fails on valid input.
12031 continue
12032 fi
12033 rm -f conftest.err conftest.$ac_ext
12034
12035 # OK, works on sane cases. Now check whether nonexistent headers
12036 # can be detected and how.
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12039 #include <ac_nonexistent.h>
12040 _ACEOF
12041 if ac_fn_cxx_try_cpp "$LINENO"; then :
12042 # Broken: success on invalid input.
12043 continue
12044 else
12045 # Passes both tests.
12046 ac_preproc_ok=:
12047 break
12048 fi
12049 rm -f conftest.err conftest.$ac_ext
12050
12051 done
12052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12053 rm -f conftest.err conftest.$ac_ext
12054 if $ac_preproc_ok; then :
12055
12056 else
12057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12059 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12060 See \`config.log' for more details." "$LINENO" 5; }
12061 fi
12062
12063 ac_ext=c
12064 ac_cpp='$CPP $CPPFLAGS'
12065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12068
12069 else
12070 _lt_caught_CXX_error=yes
12071 fi
12072
12073 ac_ext=cpp
12074 ac_cpp='$CXXCPP $CPPFLAGS'
12075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12078
12079 archive_cmds_need_lc_CXX=no
12080 allow_undefined_flag_CXX=
12081 always_export_symbols_CXX=no
12082 archive_expsym_cmds_CXX=
12083 compiler_needs_object_CXX=no
12084 export_dynamic_flag_spec_CXX=
12085 hardcode_direct_CXX=no
12086 hardcode_direct_absolute_CXX=no
12087 hardcode_libdir_flag_spec_CXX=
12088 hardcode_libdir_flag_spec_ld_CXX=
12089 hardcode_libdir_separator_CXX=
12090 hardcode_minus_L_CXX=no
12091 hardcode_shlibpath_var_CXX=unsupported
12092 hardcode_automatic_CXX=no
12093 inherit_rpath_CXX=no
12094 module_cmds_CXX=
12095 module_expsym_cmds_CXX=
12096 link_all_deplibs_CXX=unknown
12097 old_archive_cmds_CXX=$old_archive_cmds
12098 reload_flag_CXX=$reload_flag
12099 reload_cmds_CXX=$reload_cmds
12100 no_undefined_flag_CXX=
12101 whole_archive_flag_spec_CXX=
12102 enable_shared_with_static_runtimes_CXX=no
12103
12104 # Source file extension for C++ test sources.
12105 ac_ext=cpp
12106
12107 # Object file extension for compiled C++ test sources.
12108 objext=o
12109 objext_CXX=$objext
12110
12111 # No sense in running all these tests if we already determined that
12112 # the CXX compiler isn't working. Some variables (like enable_shared)
12113 # are currently assumed to apply to all compilers on this platform,
12114 # and will be corrupted by setting them based on a non-working compiler.
12115 if test "$_lt_caught_CXX_error" != yes; then
12116 # Code to be used in simple compile tests
12117 lt_simple_compile_test_code="int some_variable = 0;"
12118
12119 # Code to be used in simple link tests
12120 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12121
12122 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12123
12124
12125
12126
12127
12128
12129 # If no C compiler was specified, use CC.
12130 LTCC=${LTCC-"$CC"}
12131
12132 # If no C compiler flags were specified, use CFLAGS.
12133 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12134
12135 # Allow CC to be a program name with arguments.
12136 compiler=$CC
12137
12138
12139 # save warnings/boilerplate of simple test code
12140 ac_outfile=conftest.$ac_objext
12141 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12142 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12143 _lt_compiler_boilerplate=`cat conftest.err`
12144 $RM conftest*
12145
12146 ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12148 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_linker_boilerplate=`cat conftest.err`
12150 $RM -r conftest*
12151
12152
12153 # Allow CC to be a program name with arguments.
12154 lt_save_CC=$CC
12155 lt_save_LD=$LD
12156 lt_save_GCC=$GCC
12157 GCC=$GXX
12158 lt_save_with_gnu_ld=$with_gnu_ld
12159 lt_save_path_LD=$lt_cv_path_LD
12160 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12161 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12162 else
12163 $as_unset lt_cv_prog_gnu_ld
12164 fi
12165 if test -n "${lt_cv_path_LDCXX+set}"; then
12166 lt_cv_path_LD=$lt_cv_path_LDCXX
12167 else
12168 $as_unset lt_cv_path_LD
12169 fi
12170 test -z "${LDCXX+set}" || LD=$LDCXX
12171 CC=${CXX-"c++"}
12172 compiler=$CC
12173 compiler_CXX=$CC
12174 for cc_temp in $compiler""; do
12175 case $cc_temp in
12176 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12177 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12178 \-*) ;;
12179 *) break;;
12180 esac
12181 done
12182 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12183
12184
12185 if test -n "$compiler"; then
12186 # We don't want -fno-exception when compiling C++ code, so set the
12187 # no_builtin_flag separately
12188 if test "$GXX" = yes; then
12189 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12190 else
12191 lt_prog_compiler_no_builtin_flag_CXX=
12192 fi
12193
12194 if test "$GXX" = yes; then
12195 # Set up default GNU C++ configuration
12196
12197
12198
12199 # Check whether --with-gnu-ld was given.
12200 if test "${with_gnu_ld+set}" = set; then :
12201 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12202 else
12203 with_gnu_ld=no
12204 fi
12205
12206 ac_prog=ld
12207 if test "$GCC" = yes; then
12208 # Check if gcc -print-prog-name=ld gives a path.
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12210 $as_echo_n "checking for ld used by $CC... " >&6; }
12211 case $host in
12212 *-*-mingw*)
12213 # gcc leaves a trailing carriage return which upsets mingw
12214 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12215 *)
12216 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12217 esac
12218 case $ac_prog in
12219 # Accept absolute paths.
12220 [\\/]* | ?:[\\/]*)
12221 re_direlt='/[^/][^/]*/\.\./'
12222 # Canonicalize the pathname of ld
12223 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12224 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12225 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12226 done
12227 test -z "$LD" && LD="$ac_prog"
12228 ;;
12229 "")
12230 # If it fails, then pretend we aren't using GCC.
12231 ac_prog=ld
12232 ;;
12233 *)
12234 # If it is relative, then search for the first ld in PATH.
12235 with_gnu_ld=unknown
12236 ;;
12237 esac
12238 elif test "$with_gnu_ld" = yes; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12240 $as_echo_n "checking for GNU ld... " >&6; }
12241 else
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12243 $as_echo_n "checking for non-GNU ld... " >&6; }
12244 fi
12245 if test "${lt_cv_path_LD+set}" = set; then :
12246 $as_echo_n "(cached) " >&6
12247 else
12248 if test -z "$LD"; then
12249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12250 for ac_dir in $PATH; do
12251 IFS="$lt_save_ifs"
12252 test -z "$ac_dir" && ac_dir=.
12253 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12254 lt_cv_path_LD="$ac_dir/$ac_prog"
12255 # Check to see if the program is GNU ld. I'd rather use --version,
12256 # but apparently some variants of GNU ld only accept -v.
12257 # Break only if it was the GNU/non-GNU ld that we prefer.
12258 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12259 *GNU* | *'with BFD'*)
12260 test "$with_gnu_ld" != no && break
12261 ;;
12262 *)
12263 test "$with_gnu_ld" != yes && break
12264 ;;
12265 esac
12266 fi
12267 done
12268 IFS="$lt_save_ifs"
12269 else
12270 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12271 fi
12272 fi
12273
12274 LD="$lt_cv_path_LD"
12275 if test -n "$LD"; then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12277 $as_echo "$LD" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12280 $as_echo "no" >&6; }
12281 fi
12282 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12285 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12289 case `$LD -v 2>&1 </dev/null` in
12290 *GNU* | *'with BFD'*)
12291 lt_cv_prog_gnu_ld=yes
12292 ;;
12293 *)
12294 lt_cv_prog_gnu_ld=no
12295 ;;
12296 esac
12297 fi
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12300 with_gnu_ld=$lt_cv_prog_gnu_ld
12301
12302
12303
12304
12305
12306
12307
12308 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12309 # archiving commands below assume that GNU ld is being used.
12310 if test "$with_gnu_ld" = yes; then
12311 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12312 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'
12313
12314 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12315 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12316
12317 # If archive_cmds runs LD, not CC, wlarc should be empty
12318 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12319 # investigate it a little bit more. (MM)
12320 wlarc='${wl}'
12321
12322 # ancient GNU ld didn't support --whole-archive et. al.
12323 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12324 $GREP 'no-whole-archive' > /dev/null; then
12325 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12326 else
12327 whole_archive_flag_spec_CXX=
12328 fi
12329 else
12330 with_gnu_ld=no
12331 wlarc=
12332
12333 # A generic and very simple default shared library creation
12334 # command for GNU C++ for the case where it uses the native
12335 # linker, instead of GNU ld. If possible, this setting should
12336 # overridden to take advantage of the native linker features on
12337 # the platform it is being used on.
12338 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12339 fi
12340
12341 # Commands to make compiler produce verbose output that lists
12342 # what "hidden" libraries, object files and flags are used when
12343 # linking a shared library.
12344 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12345
12346 else
12347 GXX=no
12348 with_gnu_ld=no
12349 wlarc=
12350 fi
12351
12352 # PORTME: fill in a description of your system's C++ link characteristics
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12354 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12355 ld_shlibs_CXX=yes
12356 case $host_os in
12357 aix3*)
12358 # FIXME: insert proper C++ library support
12359 ld_shlibs_CXX=no
12360 ;;
12361 aix[4-9]*)
12362 if test "$host_cpu" = ia64; then
12363 # On IA64, the linker does run time linking by default, so we don't
12364 # have to do anything special.
12365 aix_use_runtimelinking=no
12366 exp_sym_flag='-Bexport'
12367 no_entry_flag=""
12368 else
12369 aix_use_runtimelinking=no
12370
12371 # Test if we are trying to use run time linking or normal
12372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12373 # need to do runtime linking.
12374 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12375 for ld_flag in $LDFLAGS; do
12376 case $ld_flag in
12377 *-brtl*)
12378 aix_use_runtimelinking=yes
12379 break
12380 ;;
12381 esac
12382 done
12383 ;;
12384 esac
12385
12386 exp_sym_flag='-bexport'
12387 no_entry_flag='-bnoentry'
12388 fi
12389
12390 # When large executables or shared objects are built, AIX ld can
12391 # have problems creating the table of contents. If linking a library
12392 # or program results in "error TOC overflow" add -mminimal-toc to
12393 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12394 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12395
12396 archive_cmds_CXX=''
12397 hardcode_direct_CXX=yes
12398 hardcode_direct_absolute_CXX=yes
12399 hardcode_libdir_separator_CXX=':'
12400 link_all_deplibs_CXX=yes
12401 file_list_spec_CXX='${wl}-f,'
12402
12403 if test "$GXX" = yes; then
12404 case $host_os in aix4.[012]|aix4.[012].*)
12405 # We only want to do this on AIX 4.2 and lower, the check
12406 # below for broken collect2 doesn't work under 4.3+
12407 collect2name=`${CC} -print-prog-name=collect2`
12408 if test -f "$collect2name" &&
12409 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12410 then
12411 # We have reworked collect2
12412 :
12413 else
12414 # We have old collect2
12415 hardcode_direct_CXX=unsupported
12416 # It fails to find uninstalled libraries when the uninstalled
12417 # path is not listed in the libpath. Setting hardcode_minus_L
12418 # to unsupported forces relinking
12419 hardcode_minus_L_CXX=yes
12420 hardcode_libdir_flag_spec_CXX='-L$libdir'
12421 hardcode_libdir_separator_CXX=
12422 fi
12423 esac
12424 shared_flag='-shared'
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag="$shared_flag "'${wl}-G'
12427 fi
12428 else
12429 # not using gcc
12430 if test "$host_cpu" = ia64; then
12431 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12432 # chokes on -Wl,-G. The following line is correct:
12433 shared_flag='-G'
12434 else
12435 if test "$aix_use_runtimelinking" = yes; then
12436 shared_flag='${wl}-G'
12437 else
12438 shared_flag='${wl}-bM:SRE'
12439 fi
12440 fi
12441 fi
12442
12443 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12444 # It seems that -bexpall does not export symbols beginning with
12445 # underscore (_), so it is better to generate a list of symbols to
12446 # export.
12447 always_export_symbols_CXX=yes
12448 if test "$aix_use_runtimelinking" = yes; then
12449 # Warning - without using the other runtime loading flags (-brtl),
12450 # -berok will link without error, but may produce a broken library.
12451 allow_undefined_flag_CXX='-berok'
12452 # Determine the default libpath from the value encoded in an empty
12453 # executable.
12454 if test x$gcc_no_link = xyes; then
12455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12456 fi
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12459
12460 int
12461 main ()
12462 {
12463
12464 ;
12465 return 0;
12466 }
12467 _ACEOF
12468 if ac_fn_cxx_try_link "$LINENO"; then :
12469
12470 lt_aix_libpath_sed='
12471 /Import File Strings/,/^$/ {
12472 /^0/ {
12473 s/^0 *\(.*\)$/\1/
12474 p
12475 }
12476 }'
12477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12478 # Check for a 64-bit object if we didn't find anything.
12479 if test -z "$aix_libpath"; then
12480 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12481 fi
12482 fi
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12486
12487 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12488
12489 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"
12490 else
12491 if test "$host_cpu" = ia64; then
12492 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12493 allow_undefined_flag_CXX="-z nodefs"
12494 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"
12495 else
12496 # Determine the default libpath from the value encoded in an
12497 # empty executable.
12498 if test x$gcc_no_link = xyes; then
12499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12500 fi
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12503
12504 int
12505 main ()
12506 {
12507
12508 ;
12509 return 0;
12510 }
12511 _ACEOF
12512 if ac_fn_cxx_try_link "$LINENO"; then :
12513
12514 lt_aix_libpath_sed='
12515 /Import File Strings/,/^$/ {
12516 /^0/ {
12517 s/^0 *\(.*\)$/\1/
12518 p
12519 }
12520 }'
12521 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12522 # Check for a 64-bit object if we didn't find anything.
12523 if test -z "$aix_libpath"; then
12524 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12525 fi
12526 fi
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12530
12531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12532 # Warning - without using the other run time loading flags,
12533 # -berok will link without error, but may produce a broken library.
12534 no_undefined_flag_CXX=' ${wl}-bernotok'
12535 allow_undefined_flag_CXX=' ${wl}-berok'
12536 if test "$with_gnu_ld" = yes; then
12537 # We only use this code for GNU lds that support --whole-archive.
12538 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12539 else
12540 # Exported symbols can be pulled into shared objects from archives
12541 whole_archive_flag_spec_CXX='$convenience'
12542 fi
12543 archive_cmds_need_lc_CXX=yes
12544 # This is similar to how AIX traditionally builds its shared
12545 # libraries.
12546 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'
12547 fi
12548 fi
12549 ;;
12550
12551 beos*)
12552 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12553 allow_undefined_flag_CXX=unsupported
12554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12555 # support --undefined. This deserves some investigation. FIXME
12556 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12557 else
12558 ld_shlibs_CXX=no
12559 fi
12560 ;;
12561
12562 chorus*)
12563 case $cc_basename in
12564 *)
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12567 ;;
12568 esac
12569 ;;
12570
12571 cygwin* | mingw* | pw32* | cegcc*)
12572 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12573 # as there is no search path for DLLs.
12574 hardcode_libdir_flag_spec_CXX='-L$libdir'
12575 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12576 allow_undefined_flag_CXX=unsupported
12577 always_export_symbols_CXX=no
12578 enable_shared_with_static_runtimes_CXX=yes
12579
12580 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12581 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'
12582 # If the export-symbols file already is a .def file (1st line
12583 # is EXPORTS), use it as is; otherwise, prepend...
12584 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12585 cp $export_symbols $output_objdir/$soname.def;
12586 else
12587 echo EXPORTS > $output_objdir/$soname.def;
12588 cat $export_symbols >> $output_objdir/$soname.def;
12589 fi~
12590 $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'
12591 else
12592 ld_shlibs_CXX=no
12593 fi
12594 ;;
12595 darwin* | rhapsody*)
12596
12597
12598 archive_cmds_need_lc_CXX=no
12599 hardcode_direct_CXX=no
12600 hardcode_automatic_CXX=yes
12601 hardcode_shlibpath_var_CXX=unsupported
12602 if test "$lt_cv_ld_force_load" = "yes"; then
12603 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\"`'
12604 else
12605 whole_archive_flag_spec_CXX=''
12606 fi
12607 link_all_deplibs_CXX=yes
12608 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12609 case $cc_basename in
12610 ifort*) _lt_dar_can_shared=yes ;;
12611 *) _lt_dar_can_shared=$GCC ;;
12612 esac
12613 if test "$_lt_dar_can_shared" = "yes"; then
12614 output_verbose_link_cmd=func_echo_all
12615 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}"
12616 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12617 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}"
12618 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}"
12619 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12620 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}"
12621 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}"
12622 fi
12623
12624 else
12625 ld_shlibs_CXX=no
12626 fi
12627
12628 ;;
12629
12630 dgux*)
12631 case $cc_basename in
12632 ec++*)
12633 # FIXME: insert proper C++ library support
12634 ld_shlibs_CXX=no
12635 ;;
12636 ghcx*)
12637 # Green Hills C++ Compiler
12638 # FIXME: insert proper C++ library support
12639 ld_shlibs_CXX=no
12640 ;;
12641 *)
12642 # FIXME: insert proper C++ library support
12643 ld_shlibs_CXX=no
12644 ;;
12645 esac
12646 ;;
12647
12648 freebsd2.*)
12649 # C++ shared libraries reported to be fairly broken before
12650 # switch to ELF
12651 ld_shlibs_CXX=no
12652 ;;
12653
12654 freebsd-elf*)
12655 archive_cmds_need_lc_CXX=no
12656 ;;
12657
12658 freebsd* | dragonfly*)
12659 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12660 # conventions
12661 ld_shlibs_CXX=yes
12662 ;;
12663
12664 gnu*)
12665 ;;
12666
12667 haiku*)
12668 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12669 link_all_deplibs_CXX=yes
12670 ;;
12671
12672 hpux9*)
12673 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12674 hardcode_libdir_separator_CXX=:
12675 export_dynamic_flag_spec_CXX='${wl}-E'
12676 hardcode_direct_CXX=yes
12677 hardcode_minus_L_CXX=yes # Not in the search PATH,
12678 # but as the default
12679 # location of the library.
12680
12681 case $cc_basename in
12682 CC*)
12683 # FIXME: insert proper C++ library support
12684 ld_shlibs_CXX=no
12685 ;;
12686 aCC*)
12687 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'
12688 # Commands to make compiler produce verbose output that lists
12689 # what "hidden" libraries, object files and flags are used when
12690 # linking a shared library.
12691 #
12692 # There doesn't appear to be a way to prevent this compiler from
12693 # explicitly linking system object files so we need to strip them
12694 # from the output so that they don't get included in the library
12695 # dependencies.
12696 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"'
12697 ;;
12698 *)
12699 if test "$GXX" = yes; then
12700 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'
12701 else
12702 # FIXME: insert proper C++ library support
12703 ld_shlibs_CXX=no
12704 fi
12705 ;;
12706 esac
12707 ;;
12708
12709 hpux10*|hpux11*)
12710 if test $with_gnu_ld = no; then
12711 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12712 hardcode_libdir_separator_CXX=:
12713
12714 case $host_cpu in
12715 hppa*64*|ia64*)
12716 ;;
12717 *)
12718 export_dynamic_flag_spec_CXX='${wl}-E'
12719 ;;
12720 esac
12721 fi
12722 case $host_cpu in
12723 hppa*64*|ia64*)
12724 hardcode_direct_CXX=no
12725 hardcode_shlibpath_var_CXX=no
12726 ;;
12727 *)
12728 hardcode_direct_CXX=yes
12729 hardcode_direct_absolute_CXX=yes
12730 hardcode_minus_L_CXX=yes # Not in the search PATH,
12731 # but as the default
12732 # location of the library.
12733 ;;
12734 esac
12735
12736 case $cc_basename in
12737 CC*)
12738 # FIXME: insert proper C++ library support
12739 ld_shlibs_CXX=no
12740 ;;
12741 aCC*)
12742 case $host_cpu in
12743 hppa*64*)
12744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12745 ;;
12746 ia64*)
12747 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12748 ;;
12749 *)
12750 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12751 ;;
12752 esac
12753 # Commands to make compiler produce verbose output that lists
12754 # what "hidden" libraries, object files and flags are used when
12755 # linking a shared library.
12756 #
12757 # There doesn't appear to be a way to prevent this compiler from
12758 # explicitly linking system object files so we need to strip them
12759 # from the output so that they don't get included in the library
12760 # dependencies.
12761 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"'
12762 ;;
12763 *)
12764 if test "$GXX" = yes; then
12765 if test $with_gnu_ld = no; then
12766 case $host_cpu in
12767 hppa*64*)
12768 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12769 ;;
12770 ia64*)
12771 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12772 ;;
12773 *)
12774 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'
12775 ;;
12776 esac
12777 fi
12778 else
12779 # FIXME: insert proper C++ library support
12780 ld_shlibs_CXX=no
12781 fi
12782 ;;
12783 esac
12784 ;;
12785
12786 interix[3-9]*)
12787 hardcode_direct_CXX=no
12788 hardcode_shlibpath_var_CXX=no
12789 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}-E'
12791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12792 # Instead, shared libraries are loaded at an image base (0x10000000 by
12793 # default) and relocated if they conflict, which is a slow very memory
12794 # consuming and fragmenting process. To avoid this, we pick a random,
12795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12797 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'
12798 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'
12799 ;;
12800 irix5* | irix6*)
12801 case $cc_basename in
12802 CC*)
12803 # SGI C++
12804 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'
12805
12806 # Archives containing C++ object files must be created using
12807 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12809 # in the archive.
12810 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12811 ;;
12812 *)
12813 if test "$GXX" = yes; then
12814 if test "$with_gnu_ld" = no; then
12815 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'
12816 else
12817 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'
12818 fi
12819 fi
12820 link_all_deplibs_CXX=yes
12821 ;;
12822 esac
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 hardcode_libdir_separator_CXX=:
12825 inherit_rpath_CXX=yes
12826 ;;
12827
12828 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12829 case $cc_basename in
12830 KCC*)
12831 # Kuck and Associates, Inc. (KAI) C++ Compiler
12832
12833 # KCC will only create a shared library if the output file
12834 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12835 # to its proper name (with version) after linking.
12836 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'
12837 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'
12838 # Commands to make compiler produce verbose output that lists
12839 # what "hidden" libraries, object files and flags are used when
12840 # linking a shared library.
12841 #
12842 # There doesn't appear to be a way to prevent this compiler from
12843 # explicitly linking system object files so we need to strip them
12844 # from the output so that they don't get included in the library
12845 # dependencies.
12846 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"'
12847
12848 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12849 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12850
12851 # Archives containing C++ object files must be created using
12852 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12853 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12854 ;;
12855 icpc* | ecpc* )
12856 # Intel C++
12857 with_gnu_ld=yes
12858 # version 8.0 and above of icpc choke on multiply defined symbols
12859 # if we add $predep_objects and $postdep_objects, however 7.1 and
12860 # earlier do not add the objects themselves.
12861 case `$CC -V 2>&1` in
12862 *"Version 7."*)
12863 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12864 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'
12865 ;;
12866 *) # Version 8.0 or newer
12867 tmp_idyn=
12868 case $host_cpu in
12869 ia64*) tmp_idyn=' -i_dynamic';;
12870 esac
12871 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 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'
12873 ;;
12874 esac
12875 archive_cmds_need_lc_CXX=no
12876 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12878 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12879 ;;
12880 pgCC* | pgcpp*)
12881 # Portland Group C++ compiler
12882 case `$CC -V` in
12883 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12884 prelink_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12887 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12888 old_archive_cmds_CXX='tpldir=Template.dir~
12889 rm -rf $tpldir~
12890 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12891 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12892 $RANLIB $oldlib'
12893 archive_cmds_CXX='tpldir=Template.dir~
12894 rm -rf $tpldir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12897 archive_expsym_cmds_CXX='tpldir=Template.dir~
12898 rm -rf $tpldir~
12899 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12900 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12901 ;;
12902 *) # Version 6 and above use weak symbols
12903 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12904 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'
12905 ;;
12906 esac
12907
12908 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12909 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910 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'
12911 ;;
12912 cxx*)
12913 # Compaq C++
12914 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 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'
12916
12917 runpath_var=LD_RUN_PATH
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12919 hardcode_libdir_separator_CXX=:
12920
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12924 #
12925 # There doesn't appear to be a way to prevent this compiler from
12926 # explicitly linking system object files so we need to strip them
12927 # from the output so that they don't get included in the library
12928 # dependencies.
12929 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'
12930 ;;
12931 xl* | mpixl* | bgxl*)
12932 # IBM XL 8.0 on PPC, with GNU ld
12933 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12935 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes; then
12937 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12941 fi
12942 ;;
12943 *)
12944 case `$CC -V 2>&1 | sed 5q` in
12945 *Sun\ C*)
12946 # Sun C++ 5.9
12947 no_undefined_flag_CXX=' -zdefs'
12948 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12949 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'
12950 hardcode_libdir_flag_spec_CXX='-R$libdir'
12951 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'
12952 compiler_needs_object_CXX=yes
12953
12954 # Not sure whether something based on
12955 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12956 # would be better.
12957 output_verbose_link_cmd='func_echo_all'
12958
12959 # Archives containing C++ object files must be created using
12960 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12961 # necessary to make sure instantiated templates are included
12962 # in the archive.
12963 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12964 ;;
12965 esac
12966 ;;
12967 esac
12968 ;;
12969
12970 lynxos*)
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12973 ;;
12974
12975 m88k*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979
12980 mvs*)
12981 case $cc_basename in
12982 cxx*)
12983 # FIXME: insert proper C++ library support
12984 ld_shlibs_CXX=no
12985 ;;
12986 *)
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12989 ;;
12990 esac
12991 ;;
12992
12993 netbsd*)
12994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12995 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12996 wlarc=
12997 hardcode_libdir_flag_spec_CXX='-R$libdir'
12998 hardcode_direct_CXX=yes
12999 hardcode_shlibpath_var_CXX=no
13000 fi
13001 # Workaround some broken pre-1.5 toolchains
13002 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13003 ;;
13004
13005 *nto* | *qnx*)
13006 ld_shlibs_CXX=yes
13007 ;;
13008
13009 openbsd2*)
13010 # C++ shared libraries are fairly broken
13011 ld_shlibs_CXX=no
13012 ;;
13013
13014 openbsd*)
13015 if test -f /usr/libexec/ld.so; then
13016 hardcode_direct_CXX=yes
13017 hardcode_shlibpath_var_CXX=no
13018 hardcode_direct_absolute_CXX=yes
13019 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13020 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13021 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13022 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13023 export_dynamic_flag_spec_CXX='${wl}-E'
13024 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13025 fi
13026 output_verbose_link_cmd=func_echo_all
13027 else
13028 ld_shlibs_CXX=no
13029 fi
13030 ;;
13031
13032 osf3* | osf4* | osf5*)
13033 case $cc_basename in
13034 KCC*)
13035 # Kuck and Associates, Inc. (KAI) C++ Compiler
13036
13037 # KCC will only create a shared library if the output file
13038 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13039 # to its proper name (with version) after linking.
13040 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'
13041
13042 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043 hardcode_libdir_separator_CXX=:
13044
13045 # Archives containing C++ object files must be created using
13046 # the KAI C++ compiler.
13047 case $host in
13048 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13049 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13050 esac
13051 ;;
13052 RCC*)
13053 # Rational C++ 2.4.1
13054 # FIXME: insert proper C++ library support
13055 ld_shlibs_CXX=no
13056 ;;
13057 cxx*)
13058 case $host in
13059 osf3*)
13060 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13061 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'
13062 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063 ;;
13064 *)
13065 allow_undefined_flag_CXX=' -expect_unresolved \*'
13066 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'
13067 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13068 echo "-hidden">> $lib.exp~
13069 $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~
13070 $RM $lib.exp'
13071 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13072 ;;
13073 esac
13074
13075 hardcode_libdir_separator_CXX=:
13076
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13080 #
13081 # There doesn't appear to be a way to prevent this compiler from
13082 # explicitly linking system object files so we need to strip them
13083 # from the output so that they don't get included in the library
13084 # dependencies.
13085 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"'
13086 ;;
13087 *)
13088 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13089 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13090 case $host in
13091 osf3*)
13092 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'
13093 ;;
13094 *)
13095 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'
13096 ;;
13097 esac
13098
13099 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13100 hardcode_libdir_separator_CXX=:
13101
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13105 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13106
13107 else
13108 # FIXME: insert proper C++ library support
13109 ld_shlibs_CXX=no
13110 fi
13111 ;;
13112 esac
13113 ;;
13114
13115 psos*)
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13118 ;;
13119
13120 sunos4*)
13121 case $cc_basename in
13122 CC*)
13123 # Sun C++ 4.x
13124 # FIXME: insert proper C++ library support
13125 ld_shlibs_CXX=no
13126 ;;
13127 lcc*)
13128 # Lucid
13129 # FIXME: insert proper C++ library support
13130 ld_shlibs_CXX=no
13131 ;;
13132 *)
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13135 ;;
13136 esac
13137 ;;
13138
13139 solaris*)
13140 case $cc_basename in
13141 CC*)
13142 # Sun C++ 4.2, 5.x and Centerline C++
13143 archive_cmds_need_lc_CXX=yes
13144 no_undefined_flag_CXX=' -zdefs'
13145 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13146 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13147 $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'
13148
13149 hardcode_libdir_flag_spec_CXX='-R$libdir'
13150 hardcode_shlibpath_var_CXX=no
13151 case $host_os in
13152 solaris2.[0-5] | solaris2.[0-5].*) ;;
13153 *)
13154 # The compiler driver will combine and reorder linker options,
13155 # but understands `-z linker_flag'.
13156 # Supported since Solaris 2.6 (maybe 2.5.1?)
13157 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13158 ;;
13159 esac
13160 link_all_deplibs_CXX=yes
13161
13162 output_verbose_link_cmd='func_echo_all'
13163
13164 # Archives containing C++ object files must be created using
13165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13166 # necessary to make sure instantiated templates are included
13167 # in the archive.
13168 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13169 ;;
13170 gcx*)
13171 # Green Hills C++ Compiler
13172 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173
13174 # The C++ compiler must be used to create the archive.
13175 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13176 ;;
13177 *)
13178 # GNU C++ compiler with Solaris linker
13179 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13180 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13181 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13182 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13185
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 else
13191 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13192 # platform.
13193 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13194 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13196
13197 # Commands to make compiler produce verbose output that lists
13198 # what "hidden" libraries, object files and flags are used when
13199 # linking a shared library.
13200 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13201 fi
13202
13203 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13204 case $host_os in
13205 solaris2.[0-5] | solaris2.[0-5].*) ;;
13206 *)
13207 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13208 ;;
13209 esac
13210 fi
13211 ;;
13212 esac
13213 ;;
13214
13215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216 no_undefined_flag_CXX='${wl}-z,text'
13217 archive_cmds_need_lc_CXX=no
13218 hardcode_shlibpath_var_CXX=no
13219 runpath_var='LD_RUN_PATH'
13220
13221 case $cc_basename in
13222 CC*)
13223 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 ;;
13226 *)
13227 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 ;;
13230 esac
13231 ;;
13232
13233 sysv5* | sco3.2v5* | sco5v6*)
13234 # Note: We can NOT use -z defs as we might desire, because we do not
13235 # link with -lc, and that would cause any symbols used from libc to
13236 # always be unresolved, which means just about no library would
13237 # ever link correctly. If we're not using GNU ld we use -z text
13238 # though, which does catch some bad symbols but isn't as heavy-handed
13239 # as -z defs.
13240 no_undefined_flag_CXX='${wl}-z,text'
13241 allow_undefined_flag_CXX='${wl}-z,nodefs'
13242 archive_cmds_need_lc_CXX=no
13243 hardcode_shlibpath_var_CXX=no
13244 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13245 hardcode_libdir_separator_CXX=':'
13246 link_all_deplibs_CXX=yes
13247 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13248 runpath_var='LD_RUN_PATH'
13249
13250 case $cc_basename in
13251 CC*)
13252 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13255 '"$old_archive_cmds_CXX"
13256 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13257 '"$reload_cmds_CXX"
13258 ;;
13259 *)
13260 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 ;;
13263 esac
13264 ;;
13265
13266 tandem*)
13267 case $cc_basename in
13268 NCC*)
13269 # NonStop-UX NCC 3.20
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13272 ;;
13273 *)
13274 # FIXME: insert proper C++ library support
13275 ld_shlibs_CXX=no
13276 ;;
13277 esac
13278 ;;
13279
13280 vxworks*)
13281 # FIXME: insert proper C++ library support
13282 ld_shlibs_CXX=no
13283 ;;
13284
13285 *)
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13288 ;;
13289 esac
13290
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13292 $as_echo "$ld_shlibs_CXX" >&6; }
13293 test "$ld_shlibs_CXX" = no && can_build_shared=no
13294
13295 GCC_CXX="$GXX"
13296 LD_CXX="$LD"
13297
13298 ## CAVEAT EMPTOR:
13299 ## There is no encapsulation within the following macros, do not change
13300 ## the running order or otherwise move them around unless you know exactly
13301 ## what you are doing...
13302 # Dependencies to place before and after the object being linked:
13303 predep_objects_CXX=
13304 postdep_objects_CXX=
13305 predeps_CXX=
13306 postdeps_CXX=
13307 compiler_lib_search_path_CXX=
13308
13309 cat > conftest.$ac_ext <<_LT_EOF
13310 class Foo
13311 {
13312 public:
13313 Foo (void) { a = 0; }
13314 private:
13315 int a;
13316 };
13317 _LT_EOF
13318
13319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13320 (eval $ac_compile) 2>&5
13321 ac_status=$?
13322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323 test $ac_status = 0; }; then
13324 # Parse the compiler output and extract the necessary
13325 # objects, libraries and library flags.
13326
13327 # Sentinel used to keep track of whether or not we are before
13328 # the conftest object file.
13329 pre_test_object_deps_done=no
13330
13331 for p in `eval "$output_verbose_link_cmd"`; do
13332 case $p in
13333
13334 -L* | -R* | -l*)
13335 # Some compilers place space between "-{L,R}" and the path.
13336 # Remove the space.
13337 if test $p = "-L" ||
13338 test $p = "-R"; then
13339 prev=$p
13340 continue
13341 else
13342 prev=
13343 fi
13344
13345 if test "$pre_test_object_deps_done" = no; then
13346 case $p in
13347 -L* | -R*)
13348 # Internal compiler library paths should come after those
13349 # provided the user. The postdeps already come after the
13350 # user supplied libs so there is no need to process them.
13351 if test -z "$compiler_lib_search_path_CXX"; then
13352 compiler_lib_search_path_CXX="${prev}${p}"
13353 else
13354 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13355 fi
13356 ;;
13357 # The "-l" case would never come before the object being
13358 # linked, so don't bother handling this case.
13359 esac
13360 else
13361 if test -z "$postdeps_CXX"; then
13362 postdeps_CXX="${prev}${p}"
13363 else
13364 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13365 fi
13366 fi
13367 ;;
13368
13369 *.$objext)
13370 # This assumes that the test object file only shows up
13371 # once in the compiler output.
13372 if test "$p" = "conftest.$objext"; then
13373 pre_test_object_deps_done=yes
13374 continue
13375 fi
13376
13377 if test "$pre_test_object_deps_done" = no; then
13378 if test -z "$predep_objects_CXX"; then
13379 predep_objects_CXX="$p"
13380 else
13381 predep_objects_CXX="$predep_objects_CXX $p"
13382 fi
13383 else
13384 if test -z "$postdep_objects_CXX"; then
13385 postdep_objects_CXX="$p"
13386 else
13387 postdep_objects_CXX="$postdep_objects_CXX $p"
13388 fi
13389 fi
13390 ;;
13391
13392 *) ;; # Ignore the rest.
13393
13394 esac
13395 done
13396
13397 # Clean up.
13398 rm -f a.out a.exe
13399 else
13400 echo "libtool.m4: error: problem compiling CXX test program"
13401 fi
13402
13403 $RM -f confest.$objext
13404
13405 # PORTME: override above test on systems where it is broken
13406 case $host_os in
13407 interix[3-9]*)
13408 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13409 # hack all around it, let's just trust "g++" to DTRT.
13410 predep_objects_CXX=
13411 postdep_objects_CXX=
13412 postdeps_CXX=
13413 ;;
13414
13415 linux*)
13416 case `$CC -V 2>&1 | sed 5q` in
13417 *Sun\ C*)
13418 # Sun C++ 5.9
13419
13420 # The more standards-conforming stlport4 library is
13421 # incompatible with the Cstd library. Avoid specifying
13422 # it if it's in CXXFLAGS. Ignore libCrun as
13423 # -library=stlport4 depends on it.
13424 case " $CXX $CXXFLAGS " in
13425 *" -library=stlport4 "*)
13426 solaris_use_stlport4=yes
13427 ;;
13428 esac
13429
13430 if test "$solaris_use_stlport4" != yes; then
13431 postdeps_CXX='-library=Cstd -library=Crun'
13432 fi
13433 ;;
13434 esac
13435 ;;
13436
13437 solaris*)
13438 case $cc_basename in
13439 CC*)
13440 # The more standards-conforming stlport4 library is
13441 # incompatible with the Cstd library. Avoid specifying
13442 # it if it's in CXXFLAGS. Ignore libCrun as
13443 # -library=stlport4 depends on it.
13444 case " $CXX $CXXFLAGS " in
13445 *" -library=stlport4 "*)
13446 solaris_use_stlport4=yes
13447 ;;
13448 esac
13449
13450 # Adding this requires a known-good setup of shared libraries for
13451 # Sun compiler versions before 5.6, else PIC objects from an old
13452 # archive will be linked into the output, leading to subtle bugs.
13453 if test "$solaris_use_stlport4" != yes; then
13454 postdeps_CXX='-library=Cstd -library=Crun'
13455 fi
13456 ;;
13457 esac
13458 ;;
13459 esac
13460
13461
13462 case " $postdeps_CXX " in
13463 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13464 esac
13465 compiler_lib_search_dirs_CXX=
13466 if test -n "${compiler_lib_search_path_CXX}"; then
13467 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13468 fi
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500 lt_prog_compiler_wl_CXX=
13501 lt_prog_compiler_pic_CXX=
13502 lt_prog_compiler_static_CXX=
13503
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13506
13507 # C++ specific cases for pic, static, wl, etc.
13508 if test "$GXX" = yes; then
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='-static'
13511
13512 case $host_os in
13513 aix*)
13514 # All AIX code is PIC.
13515 if test "$host_cpu" = ia64; then
13516 # AIX 5 now supports IA64 processor
13517 lt_prog_compiler_static_CXX='-Bstatic'
13518 fi
13519 lt_prog_compiler_pic_CXX='-fPIC'
13520 ;;
13521
13522 amigaos*)
13523 case $host_cpu in
13524 powerpc)
13525 # see comment about AmigaOS4 .so support
13526 lt_prog_compiler_pic_CXX='-fPIC'
13527 ;;
13528 m68k)
13529 # FIXME: we need at least 68020 code to build shared libraries, but
13530 # adding the `-m68020' flag to GCC prevents building anything better,
13531 # like `-m68040'.
13532 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13533 ;;
13534 esac
13535 ;;
13536
13537 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13538 # PIC is the default for these OSes.
13539 ;;
13540 mingw* | cygwin* | os2* | pw32* | cegcc*)
13541 # This hack is so that the source file can tell whether it is being
13542 # built for inclusion in a dll (and should export symbols for example).
13543 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13544 # (--disable-auto-import) libraries
13545 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13546 ;;
13547 darwin* | rhapsody*)
13548 # PIC is the default on this platform
13549 # Common symbols not allowed in MH_DYLIB files
13550 lt_prog_compiler_pic_CXX='-fno-common'
13551 ;;
13552 *djgpp*)
13553 # DJGPP does not support shared libraries at all
13554 lt_prog_compiler_pic_CXX=
13555 ;;
13556 haiku*)
13557 # PIC is the default for Haiku.
13558 # The "-static" flag exists, but is broken.
13559 lt_prog_compiler_static_CXX=
13560 ;;
13561 interix[3-9]*)
13562 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13563 # Instead, we relocate shared libraries at runtime.
13564 ;;
13565 sysv4*MP*)
13566 if test -d /usr/nec; then
13567 lt_prog_compiler_pic_CXX=-Kconform_pic
13568 fi
13569 ;;
13570 hpux*)
13571 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13572 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13573 # sets the default TLS model and affects inlining.
13574 case $host_cpu in
13575 hppa*64*)
13576 ;;
13577 *)
13578 lt_prog_compiler_pic_CXX='-fPIC'
13579 ;;
13580 esac
13581 ;;
13582 *qnx* | *nto*)
13583 # QNX uses GNU C++, but need to define -shared option too, otherwise
13584 # it will coredump.
13585 lt_prog_compiler_pic_CXX='-fPIC -shared'
13586 ;;
13587 *)
13588 lt_prog_compiler_pic_CXX='-fPIC'
13589 ;;
13590 esac
13591 else
13592 case $host_os in
13593 aix[4-9]*)
13594 # All AIX code is PIC.
13595 if test "$host_cpu" = ia64; then
13596 # AIX 5 now supports IA64 processor
13597 lt_prog_compiler_static_CXX='-Bstatic'
13598 else
13599 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13600 fi
13601 ;;
13602 chorus*)
13603 case $cc_basename in
13604 cxch68*)
13605 # Green Hills C++ Compiler
13606 # _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"
13607 ;;
13608 esac
13609 ;;
13610 dgux*)
13611 case $cc_basename in
13612 ec++*)
13613 lt_prog_compiler_pic_CXX='-KPIC'
13614 ;;
13615 ghcx*)
13616 # Green Hills C++ Compiler
13617 lt_prog_compiler_pic_CXX='-pic'
13618 ;;
13619 *)
13620 ;;
13621 esac
13622 ;;
13623 freebsd* | dragonfly*)
13624 # FreeBSD uses GNU C++
13625 ;;
13626 hpux9* | hpux10* | hpux11*)
13627 case $cc_basename in
13628 CC*)
13629 lt_prog_compiler_wl_CXX='-Wl,'
13630 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13631 if test "$host_cpu" != ia64; then
13632 lt_prog_compiler_pic_CXX='+Z'
13633 fi
13634 ;;
13635 aCC*)
13636 lt_prog_compiler_wl_CXX='-Wl,'
13637 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13638 case $host_cpu in
13639 hppa*64*|ia64*)
13640 # +Z the default
13641 ;;
13642 *)
13643 lt_prog_compiler_pic_CXX='+Z'
13644 ;;
13645 esac
13646 ;;
13647 *)
13648 ;;
13649 esac
13650 ;;
13651 interix*)
13652 # This is c89, which is MS Visual C++ (no shared libs)
13653 # Anyone wants to do a port?
13654 ;;
13655 irix5* | irix6* | nonstopux*)
13656 case $cc_basename in
13657 CC*)
13658 lt_prog_compiler_wl_CXX='-Wl,'
13659 lt_prog_compiler_static_CXX='-non_shared'
13660 # CC pic flag -KPIC is the default.
13661 ;;
13662 *)
13663 ;;
13664 esac
13665 ;;
13666 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13667 case $cc_basename in
13668 KCC*)
13669 # KAI C++ Compiler
13670 lt_prog_compiler_wl_CXX='--backend -Wl,'
13671 lt_prog_compiler_pic_CXX='-fPIC'
13672 ;;
13673 ecpc* )
13674 # old Intel C++ for x86_64 which still supported -KPIC.
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-KPIC'
13677 lt_prog_compiler_static_CXX='-static'
13678 ;;
13679 icpc* )
13680 # Intel C++, used to be incompatible with GCC.
13681 # ICC 10 doesn't accept -KPIC any more.
13682 lt_prog_compiler_wl_CXX='-Wl,'
13683 lt_prog_compiler_pic_CXX='-fPIC'
13684 lt_prog_compiler_static_CXX='-static'
13685 ;;
13686 pgCC* | pgcpp*)
13687 # Portland Group C++ compiler
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-fpic'
13690 lt_prog_compiler_static_CXX='-Bstatic'
13691 ;;
13692 cxx*)
13693 # Compaq C++
13694 # Make sure the PIC flag is empty. It appears that all Alpha
13695 # Linux and Compaq Tru64 Unix objects are PIC.
13696 lt_prog_compiler_pic_CXX=
13697 lt_prog_compiler_static_CXX='-non_shared'
13698 ;;
13699 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13700 # IBM XL 8.0, 9.0 on PPC and BlueGene
13701 lt_prog_compiler_wl_CXX='-Wl,'
13702 lt_prog_compiler_pic_CXX='-qpic'
13703 lt_prog_compiler_static_CXX='-qstaticlink'
13704 ;;
13705 *)
13706 case `$CC -V 2>&1 | sed 5q` in
13707 *Sun\ C*)
13708 # Sun C++ 5.9
13709 lt_prog_compiler_pic_CXX='-KPIC'
13710 lt_prog_compiler_static_CXX='-Bstatic'
13711 lt_prog_compiler_wl_CXX='-Qoption ld '
13712 ;;
13713 esac
13714 ;;
13715 esac
13716 ;;
13717 lynxos*)
13718 ;;
13719 m88k*)
13720 ;;
13721 mvs*)
13722 case $cc_basename in
13723 cxx*)
13724 lt_prog_compiler_pic_CXX='-W c,exportall'
13725 ;;
13726 *)
13727 ;;
13728 esac
13729 ;;
13730 netbsd*)
13731 ;;
13732 *qnx* | *nto*)
13733 # QNX uses GNU C++, but need to define -shared option too, otherwise
13734 # it will coredump.
13735 lt_prog_compiler_pic_CXX='-fPIC -shared'
13736 ;;
13737 osf3* | osf4* | osf5*)
13738 case $cc_basename in
13739 KCC*)
13740 lt_prog_compiler_wl_CXX='--backend -Wl,'
13741 ;;
13742 RCC*)
13743 # Rational C++ 2.4.1
13744 lt_prog_compiler_pic_CXX='-pic'
13745 ;;
13746 cxx*)
13747 # Digital/Compaq C++
13748 lt_prog_compiler_wl_CXX='-Wl,'
13749 # Make sure the PIC flag is empty. It appears that all Alpha
13750 # Linux and Compaq Tru64 Unix objects are PIC.
13751 lt_prog_compiler_pic_CXX=
13752 lt_prog_compiler_static_CXX='-non_shared'
13753 ;;
13754 *)
13755 ;;
13756 esac
13757 ;;
13758 psos*)
13759 ;;
13760 solaris*)
13761 case $cc_basename in
13762 CC*)
13763 # Sun C++ 4.2, 5.x and Centerline C++
13764 lt_prog_compiler_pic_CXX='-KPIC'
13765 lt_prog_compiler_static_CXX='-Bstatic'
13766 lt_prog_compiler_wl_CXX='-Qoption ld '
13767 ;;
13768 gcx*)
13769 # Green Hills C++ Compiler
13770 lt_prog_compiler_pic_CXX='-PIC'
13771 ;;
13772 *)
13773 ;;
13774 esac
13775 ;;
13776 sunos4*)
13777 case $cc_basename in
13778 CC*)
13779 # Sun C++ 4.x
13780 lt_prog_compiler_pic_CXX='-pic'
13781 lt_prog_compiler_static_CXX='-Bstatic'
13782 ;;
13783 lcc*)
13784 # Lucid
13785 lt_prog_compiler_pic_CXX='-pic'
13786 ;;
13787 *)
13788 ;;
13789 esac
13790 ;;
13791 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13792 case $cc_basename in
13793 CC*)
13794 lt_prog_compiler_wl_CXX='-Wl,'
13795 lt_prog_compiler_pic_CXX='-KPIC'
13796 lt_prog_compiler_static_CXX='-Bstatic'
13797 ;;
13798 esac
13799 ;;
13800 tandem*)
13801 case $cc_basename in
13802 NCC*)
13803 # NonStop-UX NCC 3.20
13804 lt_prog_compiler_pic_CXX='-KPIC'
13805 ;;
13806 *)
13807 ;;
13808 esac
13809 ;;
13810 vxworks*)
13811 ;;
13812 *)
13813 lt_prog_compiler_can_build_shared_CXX=no
13814 ;;
13815 esac
13816 fi
13817
13818 case $host_os in
13819 # For platforms which do not support PIC, -DPIC is meaningless:
13820 *djgpp*)
13821 lt_prog_compiler_pic_CXX=
13822 ;;
13823 *)
13824 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13825 ;;
13826 esac
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13828 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13829
13830
13831
13832 #
13833 # Check to make sure the PIC flag actually works.
13834 #
13835 if test -n "$lt_prog_compiler_pic_CXX"; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13837 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13838 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 lt_cv_prog_compiler_pic_works_CXX=no
13842 ac_outfile=conftest.$ac_objext
13843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13844 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13845 # Insert the option either (1) after the last *FLAGS variable, or
13846 # (2) before a word containing "conftest.", or (3) at the end.
13847 # Note that $ac_compile itself does not contain backslashes and begins
13848 # with a dollar sign (not a hyphen), so the echo should work correctly.
13849 # The option is referenced via a variable to avoid confusing sed.
13850 lt_compile=`echo "$ac_compile" | $SED \
13851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13853 -e 's:$: $lt_compiler_flag:'`
13854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13855 (eval "$lt_compile" 2>conftest.err)
13856 ac_status=$?
13857 cat conftest.err >&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 if (exit $ac_status) && test -s "$ac_outfile"; then
13860 # The compiler can only warn and ignore the option if not recognized
13861 # So say no if there are warnings other than the usual output.
13862 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13863 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13864 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13865 lt_cv_prog_compiler_pic_works_CXX=yes
13866 fi
13867 fi
13868 $RM conftest*
13869
13870 fi
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13872 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13873
13874 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13875 case $lt_prog_compiler_pic_CXX in
13876 "" | " "*) ;;
13877 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13878 esac
13879 else
13880 lt_prog_compiler_pic_CXX=
13881 lt_prog_compiler_can_build_shared_CXX=no
13882 fi
13883
13884 fi
13885
13886
13887
13888 #
13889 # Check to make sure the static flag actually works.
13890 #
13891 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13894 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 lt_cv_prog_compiler_static_works_CXX=no
13898 save_LDFLAGS="$LDFLAGS"
13899 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13900 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13901 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13902 # The linker can only warn and ignore the option if not recognized
13903 # So say no if there are warnings
13904 if test -s conftest.err; then
13905 # Append any errors to the config.log.
13906 cat conftest.err 1>&5
13907 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13909 if diff conftest.exp conftest.er2 >/dev/null; then
13910 lt_cv_prog_compiler_static_works_CXX=yes
13911 fi
13912 else
13913 lt_cv_prog_compiler_static_works_CXX=yes
13914 fi
13915 fi
13916 $RM -r conftest*
13917 LDFLAGS="$save_LDFLAGS"
13918
13919 fi
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13922
13923 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13924 :
13925 else
13926 lt_prog_compiler_static_CXX=
13927 fi
13928
13929
13930
13931
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13934 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 lt_cv_prog_compiler_c_o_CXX=no
13938 $RM -r conftest 2>/dev/null
13939 mkdir conftest
13940 cd conftest
13941 mkdir out
13942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13943
13944 lt_compiler_flag="-o out/conftest2.$ac_objext"
13945 # Insert the option either (1) after the last *FLAGS variable, or
13946 # (2) before a word containing "conftest.", or (3) at the end.
13947 # Note that $ac_compile itself does not contain backslashes and begins
13948 # with a dollar sign (not a hyphen), so the echo should work correctly.
13949 lt_compile=`echo "$ac_compile" | $SED \
13950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13952 -e 's:$: $lt_compiler_flag:'`
13953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13954 (eval "$lt_compile" 2>out/conftest.err)
13955 ac_status=$?
13956 cat out/conftest.err >&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13959 then
13960 # The compiler can only warn and ignore the option if not recognized
13961 # So say no if there are warnings
13962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13965 lt_cv_prog_compiler_c_o_CXX=yes
13966 fi
13967 fi
13968 chmod u+w . 2>&5
13969 $RM conftest*
13970 # SGI C++ compiler will create directory out/ii_files/ for
13971 # template instantiation
13972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13973 $RM out/* && rmdir out
13974 cd ..
13975 $RM -r conftest
13976 $RM conftest*
13977
13978 fi
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13980 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13981
13982
13983
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13986 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 lt_cv_prog_compiler_c_o_CXX=no
13990 $RM -r conftest 2>/dev/null
13991 mkdir conftest
13992 cd conftest
13993 mkdir out
13994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13995
13996 lt_compiler_flag="-o out/conftest2.$ac_objext"
13997 # Insert the option either (1) after the last *FLAGS variable, or
13998 # (2) before a word containing "conftest.", or (3) at the end.
13999 # Note that $ac_compile itself does not contain backslashes and begins
14000 # with a dollar sign (not a hyphen), so the echo should work correctly.
14001 lt_compile=`echo "$ac_compile" | $SED \
14002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14004 -e 's:$: $lt_compiler_flag:'`
14005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14006 (eval "$lt_compile" 2>out/conftest.err)
14007 ac_status=$?
14008 cat out/conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14011 then
14012 # The compiler can only warn and ignore the option if not recognized
14013 # So say no if there are warnings
14014 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14015 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14016 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14017 lt_cv_prog_compiler_c_o_CXX=yes
14018 fi
14019 fi
14020 chmod u+w . 2>&5
14021 $RM conftest*
14022 # SGI C++ compiler will create directory out/ii_files/ for
14023 # template instantiation
14024 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14025 $RM out/* && rmdir out
14026 cd ..
14027 $RM -r conftest
14028 $RM conftest*
14029
14030 fi
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14032 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14033
14034
14035
14036
14037 hard_links="nottested"
14038 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14039 # do not overwrite the value of need_locks provided by the user
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14041 $as_echo_n "checking if we can lock with hard links... " >&6; }
14042 hard_links=yes
14043 $RM conftest*
14044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14045 touch conftest.a
14046 ln conftest.a conftest.b 2>&5 || hard_links=no
14047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14049 $as_echo "$hard_links" >&6; }
14050 if test "$hard_links" = no; then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14052 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14053 need_locks=warn
14054 fi
14055 else
14056 need_locks=no
14057 fi
14058
14059
14060
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14062 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14063
14064 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14065 case $host_os in
14066 aix[4-9]*)
14067 # If we're using GNU nm, then we don't want the "-C" option.
14068 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14069 # Also, AIX nm treats weak defined symbols like other global defined
14070 # symbols, whereas GNU nm marks them as "W".
14071 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14072 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'
14073 else
14074 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14075 fi
14076 ;;
14077 pw32*)
14078 export_symbols_cmds_CXX="$ltdll_cmds"
14079 ;;
14080 cygwin* | mingw* | cegcc*)
14081 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'
14082 ;;
14083 *)
14084 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14085 ;;
14086 esac
14087 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14088
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14090 $as_echo "$ld_shlibs_CXX" >&6; }
14091 test "$ld_shlibs_CXX" = no && can_build_shared=no
14092
14093 with_gnu_ld_CXX=$with_gnu_ld
14094
14095
14096
14097
14098
14099
14100 #
14101 # Do we need to explicitly link libc?
14102 #
14103 case "x$archive_cmds_need_lc_CXX" in
14104 x|xyes)
14105 # Assume -lc should be added
14106 archive_cmds_need_lc_CXX=yes
14107
14108 if test "$enable_shared" = yes && test "$GCC" = yes; then
14109 case $archive_cmds_CXX in
14110 *'~'*)
14111 # FIXME: we may have to deal with multi-command sequences.
14112 ;;
14113 '$CC '*)
14114 # Test whether the compiler implicitly links with -lc since on some
14115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14116 # to ld, don't add -lc before -lgcc.
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14119 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 $RM conftest*
14123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14124
14125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14126 (eval $ac_compile) 2>&5
14127 ac_status=$?
14128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14129 test $ac_status = 0; } 2>conftest.err; then
14130 soname=conftest
14131 lib=conftest
14132 libobjs=conftest.$ac_objext
14133 deplibs=
14134 wl=$lt_prog_compiler_wl_CXX
14135 pic_flag=$lt_prog_compiler_pic_CXX
14136 compiler_flags=-v
14137 linker_flags=-v
14138 verstring=
14139 output_objdir=.
14140 libname=conftest
14141 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14142 allow_undefined_flag_CXX=
14143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14144 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14145 ac_status=$?
14146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147 test $ac_status = 0; }
14148 then
14149 lt_cv_archive_cmds_need_lc_CXX=no
14150 else
14151 lt_cv_archive_cmds_need_lc_CXX=yes
14152 fi
14153 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14154 else
14155 cat conftest.err 1>&5
14156 fi
14157 $RM conftest*
14158
14159 fi
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14161 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14162 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14163 ;;
14164 esac
14165 fi
14166 ;;
14167 esac
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
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14233 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14234
14235 library_names_spec=
14236 libname_spec='lib$name'
14237 soname_spec=
14238 shrext_cmds=".so"
14239 postinstall_cmds=
14240 postuninstall_cmds=
14241 finish_cmds=
14242 finish_eval=
14243 shlibpath_var=
14244 shlibpath_overrides_runpath=unknown
14245 version_type=none
14246 dynamic_linker="$host_os ld.so"
14247 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14248 need_lib_prefix=unknown
14249 hardcode_into_libs=no
14250
14251 # when you set need_version to no, make sure it does not cause -set_version
14252 # flags to be left without arguments
14253 need_version=unknown
14254
14255 case $host_os in
14256 aix3*)
14257 version_type=linux
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14259 shlibpath_var=LIBPATH
14260
14261 # AIX 3 has no versioning support, so we append a major version to the name.
14262 soname_spec='${libname}${release}${shared_ext}$major'
14263 ;;
14264
14265 aix[4-9]*)
14266 version_type=linux
14267 need_lib_prefix=no
14268 need_version=no
14269 hardcode_into_libs=yes
14270 if test "$host_cpu" = ia64; then
14271 # AIX 5 supports IA64
14272 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14273 shlibpath_var=LD_LIBRARY_PATH
14274 else
14275 # With GCC up to 2.95.x, collect2 would create an import file
14276 # for dependence libraries. The import file would start with
14277 # the line `#! .'. This would cause the generated library to
14278 # depend on `.', always an invalid library. This was fixed in
14279 # development snapshots of GCC prior to 3.0.
14280 case $host_os in
14281 aix4 | aix4.[01] | aix4.[01].*)
14282 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14283 echo ' yes '
14284 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14285 :
14286 else
14287 can_build_shared=no
14288 fi
14289 ;;
14290 esac
14291 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14292 # soname into executable. Probably we can add versioning support to
14293 # collect2, so additional links can be useful in future.
14294 if test "$aix_use_runtimelinking" = yes; then
14295 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14296 # instead of lib<name>.a to let people know that these are not
14297 # typical AIX shared libraries.
14298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299 else
14300 # We preserve .a as extension for shared libraries through AIX4.2
14301 # and later when we are not doing run time linking.
14302 library_names_spec='${libname}${release}.a $libname.a'
14303 soname_spec='${libname}${release}${shared_ext}$major'
14304 fi
14305 shlibpath_var=LIBPATH
14306 fi
14307 ;;
14308
14309 amigaos*)
14310 case $host_cpu in
14311 powerpc)
14312 # Since July 2007 AmigaOS4 officially supports .so libraries.
14313 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14315 ;;
14316 m68k)
14317 library_names_spec='$libname.ixlibrary $libname.a'
14318 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14319 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'
14320 ;;
14321 esac
14322 ;;
14323
14324 beos*)
14325 library_names_spec='${libname}${shared_ext}'
14326 dynamic_linker="$host_os ld.so"
14327 shlibpath_var=LIBRARY_PATH
14328 ;;
14329
14330 bsdi[45]*)
14331 version_type=linux
14332 need_version=no
14333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334 soname_spec='${libname}${release}${shared_ext}$major'
14335 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14336 shlibpath_var=LD_LIBRARY_PATH
14337 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14338 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14339 # the default ld.so.conf also contains /usr/contrib/lib and
14340 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14341 # libtool to hard-code these into programs
14342 ;;
14343
14344 cygwin* | mingw* | pw32* | cegcc*)
14345 version_type=windows
14346 shrext_cmds=".dll"
14347 need_version=no
14348 need_lib_prefix=no
14349
14350 case $GCC,$host_os in
14351 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14352 library_names_spec='$libname.dll.a'
14353 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14354 postinstall_cmds='base_file=`basename \${file}`~
14355 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14356 dldir=$destdir/`dirname \$dlpath`~
14357 test -d \$dldir || mkdir -p \$dldir~
14358 $install_prog $dir/$dlname \$dldir/$dlname~
14359 chmod a+x \$dldir/$dlname~
14360 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14361 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14362 fi'
14363 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14364 dlpath=$dir/\$dldll~
14365 $RM \$dlpath'
14366 shlibpath_overrides_runpath=yes
14367
14368 case $host_os in
14369 cygwin*)
14370 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14371 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372
14373 ;;
14374 mingw* | cegcc*)
14375 # MinGW DLLs use traditional 'lib' prefix
14376 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14377 ;;
14378 pw32*)
14379 # pw32 DLLs use 'pw' prefix rather than 'lib'
14380 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14381 ;;
14382 esac
14383 ;;
14384
14385 *)
14386 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14387 ;;
14388 esac
14389 dynamic_linker='Win32 ld.exe'
14390 # FIXME: first we should search . and the directory the executable is in
14391 shlibpath_var=PATH
14392 ;;
14393
14394 darwin* | rhapsody*)
14395 dynamic_linker="$host_os dyld"
14396 version_type=darwin
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14400 soname_spec='${libname}${release}${major}$shared_ext'
14401 shlibpath_overrides_runpath=yes
14402 shlibpath_var=DYLD_LIBRARY_PATH
14403 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14404
14405 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14406 ;;
14407
14408 dgux*)
14409 version_type=linux
14410 need_lib_prefix=no
14411 need_version=no
14412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14413 soname_spec='${libname}${release}${shared_ext}$major'
14414 shlibpath_var=LD_LIBRARY_PATH
14415 ;;
14416
14417 freebsd* | dragonfly*)
14418 # DragonFly does not have aout. When/if they implement a new
14419 # versioning mechanism, adjust this.
14420 if test -x /usr/bin/objformat; then
14421 objformat=`/usr/bin/objformat`
14422 else
14423 case $host_os in
14424 freebsd[23].*) objformat=aout ;;
14425 *) objformat=elf ;;
14426 esac
14427 fi
14428 version_type=freebsd-$objformat
14429 case $version_type in
14430 freebsd-elf*)
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14432 need_version=no
14433 need_lib_prefix=no
14434 ;;
14435 freebsd-*)
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14437 need_version=yes
14438 ;;
14439 esac
14440 shlibpath_var=LD_LIBRARY_PATH
14441 case $host_os in
14442 freebsd2.*)
14443 shlibpath_overrides_runpath=yes
14444 ;;
14445 freebsd3.[01]* | freebsdelf3.[01]*)
14446 shlibpath_overrides_runpath=yes
14447 hardcode_into_libs=yes
14448 ;;
14449 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14450 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14451 shlibpath_overrides_runpath=no
14452 hardcode_into_libs=yes
14453 ;;
14454 *) # from 4.6 on, and DragonFly
14455 shlibpath_overrides_runpath=yes
14456 hardcode_into_libs=yes
14457 ;;
14458 esac
14459 ;;
14460
14461 gnu*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LD_LIBRARY_PATH
14468 hardcode_into_libs=yes
14469 ;;
14470
14471 haiku*)
14472 version_type=linux
14473 need_lib_prefix=no
14474 need_version=no
14475 dynamic_linker="$host_os runtime_loader"
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14477 soname_spec='${libname}${release}${shared_ext}$major'
14478 shlibpath_var=LIBRARY_PATH
14479 shlibpath_overrides_runpath=yes
14480 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14481 hardcode_into_libs=yes
14482 ;;
14483
14484 hpux9* | hpux10* | hpux11*)
14485 # Give a soname corresponding to the major version so that dld.sl refuses to
14486 # link against other versions.
14487 version_type=sunos
14488 need_lib_prefix=no
14489 need_version=no
14490 case $host_cpu in
14491 ia64*)
14492 shrext_cmds='.so'
14493 hardcode_into_libs=yes
14494 dynamic_linker="$host_os dld.so"
14495 shlibpath_var=LD_LIBRARY_PATH
14496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 if test "X$HPUX_IA64_MODE" = X32; then
14500 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14501 else
14502 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14503 fi
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505 ;;
14506 hppa*64*)
14507 shrext_cmds='.sl'
14508 hardcode_into_libs=yes
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14511 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14515 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14516 ;;
14517 *)
14518 shrext_cmds='.sl'
14519 dynamic_linker="$host_os dld.sl"
14520 shlibpath_var=SHLIB_PATH
14521 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523 soname_spec='${libname}${release}${shared_ext}$major'
14524 ;;
14525 esac
14526 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14527 postinstall_cmds='chmod 555 $lib'
14528 # or fails outright, so override atomically:
14529 install_override_mode=555
14530 ;;
14531
14532 interix[3-9]*)
14533 version_type=linux
14534 need_lib_prefix=no
14535 need_version=no
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14537 soname_spec='${libname}${release}${shared_ext}$major'
14538 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath=no
14541 hardcode_into_libs=yes
14542 ;;
14543
14544 irix5* | irix6* | nonstopux*)
14545 case $host_os in
14546 nonstopux*) version_type=nonstopux ;;
14547 *)
14548 if test "$lt_cv_prog_gnu_ld" = yes; then
14549 version_type=linux
14550 else
14551 version_type=irix
14552 fi ;;
14553 esac
14554 need_lib_prefix=no
14555 need_version=no
14556 soname_spec='${libname}${release}${shared_ext}$major'
14557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14558 case $host_os in
14559 irix5* | nonstopux*)
14560 libsuff= shlibsuff=
14561 ;;
14562 *)
14563 case $LD in # libtool.m4 will add one of these switches to LD
14564 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14565 libsuff= shlibsuff= libmagic=32-bit;;
14566 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14567 libsuff=32 shlibsuff=N32 libmagic=N32;;
14568 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14569 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14570 *) libsuff= shlibsuff= libmagic=never-match;;
14571 esac
14572 ;;
14573 esac
14574 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14575 shlibpath_overrides_runpath=no
14576 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14577 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14578 hardcode_into_libs=yes
14579 ;;
14580
14581 # No shared lib support for Linux oldld, aout, or coff.
14582 linux*oldld* | linux*aout* | linux*coff*)
14583 dynamic_linker=no
14584 ;;
14585
14586 # This must be Linux ELF.
14587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14588 version_type=linux
14589 need_lib_prefix=no
14590 need_version=no
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592 soname_spec='${libname}${release}${shared_ext}$major'
14593 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=no
14596
14597 # Some binutils ld are patched to set DT_RUNPATH
14598 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 lt_cv_shlibpath_overrides_runpath=no
14602 save_LDFLAGS=$LDFLAGS
14603 save_libdir=$libdir
14604 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14605 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14606 if test x$gcc_no_link = xyes; then
14607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14608 fi
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14611
14612 int
14613 main ()
14614 {
14615
14616 ;
14617 return 0;
14618 }
14619 _ACEOF
14620 if ac_fn_cxx_try_link "$LINENO"; then :
14621 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14622 lt_cv_shlibpath_overrides_runpath=yes
14623 fi
14624 fi
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LDFLAGS=$save_LDFLAGS
14628 libdir=$save_libdir
14629
14630 fi
14631
14632 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14633
14634 # This implies no fast_install, which is unacceptable.
14635 # Some rework will be needed to allow for fast_install
14636 # before this can be enabled.
14637 hardcode_into_libs=yes
14638
14639 # Append ld.so.conf contents to the search path
14640 if test -f /etc/ld.so.conf; then
14641 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' ' '`
14642 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14643 fi
14644
14645 # We used to test for /lib/ld.so.1 and disable shared libraries on
14646 # powerpc, because MkLinux only supported shared libraries with the
14647 # GNU dynamic linker. Since this was broken with cross compilers,
14648 # most powerpc-linux boxes support dynamic linking these days and
14649 # people can always --disable-shared, the test was removed, and we
14650 # assume the GNU/Linux dynamic linker is in use.
14651 dynamic_linker='GNU/Linux ld.so'
14652 ;;
14653
14654 netbsd*)
14655 version_type=sunos
14656 need_lib_prefix=no
14657 need_version=no
14658 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14661 dynamic_linker='NetBSD (a.out) ld.so'
14662 else
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14664 soname_spec='${libname}${release}${shared_ext}$major'
14665 dynamic_linker='NetBSD ld.elf_so'
14666 fi
14667 shlibpath_var=LD_LIBRARY_PATH
14668 shlibpath_overrides_runpath=yes
14669 hardcode_into_libs=yes
14670 ;;
14671
14672 newsos6)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=yes
14677 ;;
14678
14679 *nto* | *qnx*)
14680 version_type=qnx
14681 need_lib_prefix=no
14682 need_version=no
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14686 shlibpath_overrides_runpath=no
14687 hardcode_into_libs=yes
14688 dynamic_linker='ldqnx.so'
14689 ;;
14690
14691 openbsd*)
14692 version_type=sunos
14693 sys_lib_dlsearch_path_spec="/usr/lib"
14694 need_lib_prefix=no
14695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14696 case $host_os in
14697 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14698 *) need_version=no ;;
14699 esac
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14702 shlibpath_var=LD_LIBRARY_PATH
14703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14704 case $host_os in
14705 openbsd2.[89] | openbsd2.[89].*)
14706 shlibpath_overrides_runpath=no
14707 ;;
14708 *)
14709 shlibpath_overrides_runpath=yes
14710 ;;
14711 esac
14712 else
14713 shlibpath_overrides_runpath=yes
14714 fi
14715 ;;
14716
14717 os2*)
14718 libname_spec='$name'
14719 shrext_cmds=".dll"
14720 need_lib_prefix=no
14721 library_names_spec='$libname${shared_ext} $libname.a'
14722 dynamic_linker='OS/2 ld.exe'
14723 shlibpath_var=LIBPATH
14724 ;;
14725
14726 osf3* | osf4* | osf5*)
14727 version_type=osf
14728 need_lib_prefix=no
14729 need_version=no
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14735 ;;
14736
14737 rdos*)
14738 dynamic_linker=no
14739 ;;
14740
14741 solaris*)
14742 version_type=linux
14743 need_lib_prefix=no
14744 need_version=no
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec='${libname}${release}${shared_ext}$major'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 hardcode_into_libs=yes
14750 # ldd complains unless libraries are executable
14751 postinstall_cmds='chmod +x $lib'
14752 ;;
14753
14754 sunos4*)
14755 version_type=sunos
14756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14757 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14758 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=yes
14760 if test "$with_gnu_ld" = yes; then
14761 need_lib_prefix=no
14762 fi
14763 need_version=yes
14764 ;;
14765
14766 sysv4 | sysv4.3*)
14767 version_type=linux
14768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 soname_spec='${libname}${release}${shared_ext}$major'
14770 shlibpath_var=LD_LIBRARY_PATH
14771 case $host_vendor in
14772 sni)
14773 shlibpath_overrides_runpath=no
14774 need_lib_prefix=no
14775 runpath_var=LD_RUN_PATH
14776 ;;
14777 siemens)
14778 need_lib_prefix=no
14779 ;;
14780 motorola)
14781 need_lib_prefix=no
14782 need_version=no
14783 shlibpath_overrides_runpath=no
14784 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14785 ;;
14786 esac
14787 ;;
14788
14789 sysv4*MP*)
14790 if test -d /usr/nec ;then
14791 version_type=linux
14792 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14793 soname_spec='$libname${shared_ext}.$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14795 fi
14796 ;;
14797
14798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14799 version_type=freebsd-elf
14800 need_lib_prefix=no
14801 need_version=no
14802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14803 soname_spec='${libname}${release}${shared_ext}$major'
14804 shlibpath_var=LD_LIBRARY_PATH
14805 shlibpath_overrides_runpath=yes
14806 hardcode_into_libs=yes
14807 if test "$with_gnu_ld" = yes; then
14808 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14809 else
14810 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14811 case $host_os in
14812 sco3.2v5*)
14813 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14814 ;;
14815 esac
14816 fi
14817 sys_lib_dlsearch_path_spec='/usr/lib'
14818 ;;
14819
14820 tpf*)
14821 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14822 version_type=linux
14823 need_lib_prefix=no
14824 need_version=no
14825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14826 shlibpath_var=LD_LIBRARY_PATH
14827 shlibpath_overrides_runpath=no
14828 hardcode_into_libs=yes
14829 ;;
14830
14831 uts4*)
14832 version_type=linux
14833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14834 soname_spec='${libname}${release}${shared_ext}$major'
14835 shlibpath_var=LD_LIBRARY_PATH
14836 ;;
14837
14838 *)
14839 dynamic_linker=no
14840 ;;
14841 esac
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14843 $as_echo "$dynamic_linker" >&6; }
14844 test "$dynamic_linker" = no && can_build_shared=no
14845
14846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14847 if test "$GCC" = yes; then
14848 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14849 fi
14850
14851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14852 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14853 fi
14854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14855 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14856 fi
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
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14896 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14897 hardcode_action_CXX=
14898 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14899 test -n "$runpath_var_CXX" ||
14900 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14901
14902 # We can hardcode non-existent directories.
14903 if test "$hardcode_direct_CXX" != no &&
14904 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14905 # have to relink, otherwise we might link with an installed library
14906 # when we should be linking with a yet-to-be-installed one
14907 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14908 test "$hardcode_minus_L_CXX" != no; then
14909 # Linking always hardcodes the temporary library directory.
14910 hardcode_action_CXX=relink
14911 else
14912 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14913 hardcode_action_CXX=immediate
14914 fi
14915 else
14916 # We cannot hardcode anything, or else we can only hardcode existing
14917 # directories.
14918 hardcode_action_CXX=unsupported
14919 fi
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14921 $as_echo "$hardcode_action_CXX" >&6; }
14922
14923 if test "$hardcode_action_CXX" = relink ||
14924 test "$inherit_rpath_CXX" = yes; then
14925 # Fast installation is not supported
14926 enable_fast_install=no
14927 elif test "$shlibpath_overrides_runpath" = yes ||
14928 test "$enable_shared" = no; then
14929 # Fast installation is not necessary
14930 enable_fast_install=needless
14931 fi
14932
14933
14934
14935
14936
14937
14938
14939 fi # test -n "$compiler"
14940
14941 CC=$lt_save_CC
14942 LDCXX=$LD
14943 LD=$lt_save_LD
14944 GCC=$lt_save_GCC
14945 with_gnu_ld=$lt_save_with_gnu_ld
14946 lt_cv_path_LDCXX=$lt_cv_path_LD
14947 lt_cv_path_LD=$lt_save_path_LD
14948 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14949 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14950 fi # test "$_lt_caught_CXX_error" != yes
14951
14952 ac_ext=c
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970 ac_config_commands="$ac_config_commands libtool"
14971
14972
14973
14974
14975 # Only expand once:
14976
14977
14978
14979
14980
14981 case $host in
14982 *-cygwin* | *-mingw*)
14983 # 'host' will be top-level target in the case of a target lib,
14984 # we must compare to with_cross_host to decide if this is a native
14985 # or cross-compiler and select where to install dlls appropriately.
14986 if test -n "$with_cross_host" &&
14987 test x"$with_cross_host" != x"no"; then
14988 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14989 else
14990 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14991 fi
14992 ;;
14993 *)
14994 lt_host_flags=
14995 ;;
14996 esac
14997
14998
14999
15000
15001
15002
15003 if test "$enable_vtable_verify" = yes; then
15004 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15005 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15006 fi
15007
15008
15009 # libtool variables for C++ shared and position-independent compiles.
15010 #
15011 # Use glibcxx_lt_pic_flag to designate the automake variable
15012 # used to encapsulate the default libtool approach to creating objects
15013 # with position-independent code. Default: -prefer-pic.
15014 #
15015 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15016 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15017 #
15018 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15019 # creating position-independent objects. This varies with the target
15020 # hardware and operating system, but is often: -DPIC -fPIC.
15021 if test "$enable_shared" = yes; then
15022 glibcxx_lt_pic_flag="-prefer-pic"
15023 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15024 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15025
15026 else
15027 glibcxx_lt_pic_flag=
15028 glibcxx_compiler_pic_flag=
15029 glibcxx_compiler_shared_flag=
15030 fi
15031
15032
15033
15034
15035 # Override the libtool's pic_flag and pic_mode.
15036 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15037 # NB: this impacts --with-pic and --without-pic.
15038 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15039 pic_mode='default'
15040
15041 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15042 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15043
15044 # Possibly disable most of the library.
15045 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15046 ## than just ignoring the results. Faster /and/ more correct, win win.
15047
15048 # Check whether --enable-hosted-libstdcxx was given.
15049 if test "${enable_hosted_libstdcxx+set}" = set; then :
15050 enableval=$enable_hosted_libstdcxx;
15051 else
15052 case "$host" in
15053 arm*-*-symbianelf*)
15054 enable_hosted_libstdcxx=no
15055 ;;
15056 *)
15057 enable_hosted_libstdcxx=yes
15058 ;;
15059 esac
15060 fi
15061
15062 if test "$enable_hosted_libstdcxx" = no; then
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15064 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15065 is_hosted=no
15066 hosted_define=0
15067 enable_abi_check=no
15068 enable_libstdcxx_pch=no
15069 else
15070 is_hosted=yes
15071 hosted_define=1
15072 fi
15073
15074
15075 cat >>confdefs.h <<_ACEOF
15076 #define _GLIBCXX_HOSTED $hosted_define
15077 _ACEOF
15078
15079
15080
15081 # Enable descriptive messages to standard output on termination.
15082
15083 # Check whether --enable-libstdcxx-verbose was given.
15084 if test "${enable_libstdcxx_verbose+set}" = set; then :
15085 enableval=$enable_libstdcxx_verbose;
15086 else
15087 enable_libstdcxx_verbose=yes
15088 fi
15089
15090 if test x"$enable_libstdcxx_verbose" = xyes; then
15091 verbose_define=1
15092 else
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15094 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15095 verbose_define=0
15096 fi
15097
15098 cat >>confdefs.h <<_ACEOF
15099 #define _GLIBCXX_VERBOSE $verbose_define
15100 _ACEOF
15101
15102
15103
15104 # Enable compiler support that doesn't require linking.
15105
15106 # Check whether --enable-libstdcxx-pch was given.
15107 if test "${enable_libstdcxx_pch+set}" = set; then :
15108 enableval=$enable_libstdcxx_pch;
15109 case "$enableval" in
15110 yes|no) ;;
15111 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15112 esac
15113
15114 else
15115 enable_libstdcxx_pch=$is_hosted
15116 fi
15117
15118
15119 if test $enable_libstdcxx_pch = yes; then
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15121 $as_echo_n "checking for compiler with PCH support... " >&6; }
15122 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_save_CXXFLAGS="$CXXFLAGS"
15126 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15127
15128 ac_ext=cpp
15129 ac_cpp='$CXXCPP $CPPFLAGS'
15130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15133
15134 echo '#include <math.h>' > conftest.h
15135 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15136 -o conftest.h.gch 1>&5 2>&1 &&
15137 echo '#error "pch failed"' > conftest.h &&
15138 echo '#include "conftest.h"' > conftest.cc &&
15139 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15140 then
15141 glibcxx_cv_prog_CXX_pch=yes
15142 else
15143 glibcxx_cv_prog_CXX_pch=no
15144 fi
15145 rm -f conftest*
15146 CXXFLAGS=$ac_save_CXXFLAGS
15147 ac_ext=c
15148 ac_cpp='$CPP $CPPFLAGS'
15149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15152
15153
15154 fi
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15156 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15157 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15158 fi
15159
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15161 $as_echo_n "checking for enabled PCH... " >&6; }
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15163 $as_echo "$enable_libstdcxx_pch" >&6; }
15164
15165
15166 if test $enable_libstdcxx_pch = yes; then
15167 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15168 else
15169 glibcxx_PCHFLAGS=""
15170 fi
15171
15172
15173
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15175 $as_echo_n "checking for thread model used by GCC... " >&6; }
15176 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15178 $as_echo "$target_thread_file" >&6; }
15179
15180 case $target_thread_file in
15181 aix) thread_header=config/rs6000/gthr-aix.h ;;
15182 dce) thread_header=config/pa/gthr-dce.h ;;
15183 lynx) thread_header=config/gthr-lynx.h ;;
15184 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15185 posix) thread_header=gthr-posix.h ;;
15186 rtems) thread_header=config/gthr-rtems.h ;;
15187 single) thread_header=gthr-single.h ;;
15188 tpf) thread_header=config/s390/gthr-tpf.h ;;
15189 vxworks) thread_header=config/gthr-vxworks.h ;;
15190 win32) thread_header=config/i386/gthr-win32.h ;;
15191 esac
15192
15193
15194
15195
15196
15197 ac_ext=cpp
15198 ac_cpp='$CXXCPP $CPPFLAGS'
15199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15202
15203 old_CXXFLAGS="$CXXFLAGS"
15204
15205 # Do link tests if possible, instead asm tests, limited to some platforms
15206 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15207 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15208 atomic_builtins_link_tests=no
15209 if test x$gcc_no_link != xyes; then
15210 # Can do link tests. Limit to some tested platforms
15211 case "$host" in
15212 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15213 atomic_builtins_link_tests=yes
15214 ;;
15215 esac
15216 fi
15217
15218 if test x$atomic_builtins_link_tests = xyes; then
15219
15220 # Do link tests.
15221
15222 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15223
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15225 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15226 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15227 $as_echo_n "(cached) " >&6
15228 else
15229
15230 if test x$gcc_no_link = xyes; then
15231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15232 fi
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15235
15236 int
15237 main ()
15238 {
15239 typedef bool atomic_type;
15240 atomic_type c1;
15241 atomic_type c2;
15242 atomic_type c3(0);
15243 // N.B. __atomic_fetch_add is not supported for bool.
15244 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15245 __ATOMIC_RELAXED);
15246 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15247 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15248
15249 ;
15250 return 0;
15251 }
15252 _ACEOF
15253 if ac_fn_cxx_try_link "$LINENO"; then :
15254 glibcxx_cv_atomic_bool=yes
15255 else
15256 glibcxx_cv_atomic_bool=no
15257 fi
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15260
15261 fi
15262
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15264 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15265
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15267 $as_echo_n "checking for atomic builtins for short... " >&6; }
15268 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271
15272 if test x$gcc_no_link = xyes; then
15273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15274 fi
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277
15278 int
15279 main ()
15280 {
15281 typedef short atomic_type;
15282 atomic_type c1;
15283 atomic_type c2;
15284 atomic_type c3(0);
15285 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15286 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15287 __ATOMIC_RELAXED);
15288 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15289 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15290
15291 ;
15292 return 0;
15293 }
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296 glibcxx_cv_atomic_short=yes
15297 else
15298 glibcxx_cv_atomic_short=no
15299 fi
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15302
15303 fi
15304
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15306 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15307
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15309 $as_echo_n "checking for atomic builtins for int... " >&6; }
15310 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15313
15314 if test x$gcc_no_link = xyes; then
15315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15316 fi
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15319
15320 int
15321 main ()
15322 {
15323 typedef int atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 atomic_type c3(0);
15327 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15328 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15329 __ATOMIC_RELAXED);
15330 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15331 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15332
15333 ;
15334 return 0;
15335 }
15336 _ACEOF
15337 if ac_fn_cxx_try_link "$LINENO"; then :
15338 glibcxx_cv_atomic_int=yes
15339 else
15340 glibcxx_cv_atomic_int=no
15341 fi
15342 rm -f core conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15344
15345 fi
15346
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15348 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15349
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15351 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15352 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15353 $as_echo_n "(cached) " >&6
15354 else
15355
15356 if test x$gcc_no_link = xyes; then
15357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15358 fi
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15361
15362 int
15363 main ()
15364 {
15365 typedef long long atomic_type;
15366 atomic_type c1;
15367 atomic_type c2;
15368 atomic_type c3(0);
15369 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15370 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15371 __ATOMIC_RELAXED);
15372 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15373 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15374
15375 ;
15376 return 0;
15377 }
15378 _ACEOF
15379 if ac_fn_cxx_try_link "$LINENO"; then :
15380 glibcxx_cv_atomic_long_long=yes
15381 else
15382 glibcxx_cv_atomic_long_long=no
15383 fi
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15386
15387 fi
15388
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15390 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15391
15392 else
15393
15394 # Do asm tests.
15395
15396 # Compile unoptimized.
15397 CXXFLAGS='-O0 -S'
15398
15399 # Fake what AC_TRY_COMPILE does.
15400
15401 cat > conftest.$ac_ext << EOF
15402 #line 15402 "configure"
15403 int main()
15404 {
15405 typedef bool atomic_type;
15406 atomic_type c1;
15407 atomic_type c2;
15408 atomic_type c3(0);
15409 // N.B. __atomic_fetch_add is not supported for bool.
15410 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15411 __ATOMIC_RELAXED);
15412 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15413 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15414
15415 return 0;
15416 }
15417 EOF
15418
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15420 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15422 (eval $ac_compile) 2>&5
15423 ac_status=$?
15424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15425 test $ac_status = 0; }; then
15426 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15427 glibcxx_cv_atomic_bool=no
15428 else
15429 glibcxx_cv_atomic_bool=yes
15430 fi
15431 fi
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15433 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15434 rm -f conftest*
15435
15436 cat > conftest.$ac_ext << EOF
15437 #line 15437 "configure"
15438 int main()
15439 {
15440 typedef short atomic_type;
15441 atomic_type c1;
15442 atomic_type c2;
15443 atomic_type c3(0);
15444 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15445 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15446 __ATOMIC_RELAXED);
15447 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15448 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15449
15450 return 0;
15451 }
15452 EOF
15453
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15455 $as_echo_n "checking for atomic builtins for short... " >&6; }
15456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15457 (eval $ac_compile) 2>&5
15458 ac_status=$?
15459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15460 test $ac_status = 0; }; then
15461 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15462 glibcxx_cv_atomic_short=no
15463 else
15464 glibcxx_cv_atomic_short=yes
15465 fi
15466 fi
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15468 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15469 rm -f conftest*
15470
15471 cat > conftest.$ac_ext << EOF
15472 #line 15472 "configure"
15473 int main()
15474 {
15475 // NB: _Atomic_word not necessarily int.
15476 typedef int atomic_type;
15477 atomic_type c1;
15478 atomic_type c2;
15479 atomic_type c3(0);
15480 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15481 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15482 __ATOMIC_RELAXED);
15483 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15484 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15485
15486 return 0;
15487 }
15488 EOF
15489
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15491 $as_echo_n "checking for atomic builtins for int... " >&6; }
15492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15493 (eval $ac_compile) 2>&5
15494 ac_status=$?
15495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496 test $ac_status = 0; }; then
15497 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15498 glibcxx_cv_atomic_int=no
15499 else
15500 glibcxx_cv_atomic_int=yes
15501 fi
15502 fi
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15504 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15505 rm -f conftest*
15506
15507 cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15510 {
15511 typedef long long atomic_type;
15512 atomic_type c1;
15513 atomic_type c2;
15514 atomic_type c3(0);
15515 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15516 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15517 __ATOMIC_RELAXED);
15518 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15519 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15520
15521 return 0;
15522 }
15523 EOF
15524
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15526 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15528 (eval $ac_compile) 2>&5
15529 ac_status=$?
15530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 test $ac_status = 0; }; then
15532 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15533 glibcxx_cv_atomic_long_long=no
15534 else
15535 glibcxx_cv_atomic_long_long=yes
15536 fi
15537 fi
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15539 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15540 rm -f conftest*
15541
15542 fi
15543
15544 CXXFLAGS="$old_CXXFLAGS"
15545 ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550
15551
15552 # Set atomicity_dir to builtins if all but the long long test above passes,
15553 # or if the builtins were already chosen (e.g. by configure.host).
15554 if { test "$glibcxx_cv_atomic_bool" = yes \
15555 && test "$glibcxx_cv_atomic_short" = yes \
15556 && test "$glibcxx_cv_atomic_int" = yes; } \
15557 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15558
15559 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15560
15561 atomicity_dir=cpu/generic/atomicity_builtins
15562 fi
15563
15564 # If still generic, set to mutex.
15565 if test $atomicity_dir = "cpu/generic" ; then
15566 atomicity_dir=cpu/generic/atomicity_mutex
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15568 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15569 if test "x$target_thread_file" = xsingle; then
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15571 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15573 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15574 else
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15576 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15578 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15579 fi
15580 fi
15581
15582
15583
15584
15585 # Fake what AC_TRY_COMPILE does, without linking as this is
15586 # unnecessary for this test.
15587
15588 cat > conftest.$ac_ext << EOF
15589 #line 15589 "configure"
15590 int main()
15591 {
15592 _Decimal32 d1;
15593 _Decimal64 d2;
15594 _Decimal128 d3;
15595 return 0;
15596 }
15597 EOF
15598
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15600 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 test $ac_status = 0; }; then
15606
15607 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15608
15609 enable_dfp=yes
15610 else
15611 enable_dfp=no
15612 fi
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15614 $as_echo "$enable_dfp" >&6; }
15615 rm -f conftest*
15616
15617
15618
15619
15620 ac_ext=cpp
15621 ac_cpp='$CXXCPP $CPPFLAGS'
15622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15625
15626
15627 # Fake what AC_TRY_COMPILE does, without linking as this is
15628 # unnecessary for this test.
15629
15630 cat > conftest.$ac_ext << EOF
15631 #line 15631 "configure"
15632 template<typename T1, typename T2>
15633 struct same
15634 { typedef T2 type; };
15635
15636 template<typename T>
15637 struct same<T, T>;
15638
15639 int main()
15640 {
15641 typename same<long, __int128>::type i1;
15642 typename same<long long, __int128>::type i2;
15643 }
15644 EOF
15645
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15647 $as_echo_n "checking for __int128... " >&6; }
15648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15653
15654 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15655
15656 enable_int128=yes
15657 else
15658 enable_int128=no
15659 fi
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15661 $as_echo "$enable_int128" >&6; }
15662 rm -f conftest*
15663
15664 cat > conftest.$ac_ext << EOF
15665 #line 15665 "configure"
15666 template<typename T1, typename T2>
15667 struct same
15668 { typedef T2 type; };
15669
15670 template<typename T>
15671 struct same<T, T>;
15672
15673 int main()
15674 {
15675 typename same<double, __float128>::type f1;
15676 typename same<long double, __float128>::type f2;
15677 }
15678 EOF
15679
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15681 $as_echo_n "checking for __float128... " >&6; }
15682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15683 (eval $ac_compile) 2>&5
15684 ac_status=$?
15685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15686 test $ac_status = 0; }; then
15687 enable_float128=yes
15688 else
15689 enable_float128=no
15690 fi
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15692 $as_echo "$enable_float128" >&6; }
15693
15694 rm -f conftest*
15695
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15701
15702
15703 if test "$enable_float128" = yes; then
15704 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15705 fi
15706
15707 # Checks for compiler support that doesn't require linking.
15708
15709 # All these tests are for C++; save the language and the compiler flags.
15710 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15711 # found in GLIBCXX_CONFIGURE.
15712
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15718
15719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15720 ac_save_CXXFLAGS="$CXXFLAGS"
15721
15722 # Check for -ffunction-sections -fdata-sections
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15724 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15725 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15728 int foo; void bar() { };
15729 int
15730 main ()
15731 {
15732
15733 ;
15734 return 0;
15735 }
15736 _ACEOF
15737 if ac_fn_cxx_try_compile "$LINENO"; then :
15738 ac_fdsections=yes
15739 else
15740 ac_fdsections=no
15741 fi
15742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15743 if test "$ac_test_CXXFLAGS" = set; then
15744 CXXFLAGS="$ac_save_CXXFLAGS"
15745 else
15746 # this is the suspicious part
15747 CXXFLAGS=''
15748 fi
15749 if test x"$ac_fdsections" = x"yes"; then
15750 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15751 fi
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15753 $as_echo "$ac_fdsections" >&6; }
15754
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761
15762
15763
15764 # Enable all the variable C++ runtime options that don't require linking.
15765
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15767 $as_echo_n "checking for underlying I/O to use... " >&6; }
15768 # Check whether --enable-cstdio was given.
15769 if test "${enable_cstdio+set}" = set; then :
15770 enableval=$enable_cstdio;
15771 case "$enableval" in
15772 stdio) ;;
15773 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15774 esac
15775
15776 else
15777 enable_cstdio=stdio
15778 fi
15779
15780
15781
15782 # Now that libio has been removed, you can have any color you want as long
15783 # as it's black. This is one big no-op until other packages are added, but
15784 # showing the framework never hurts.
15785 case ${enable_cstdio} in
15786 stdio)
15787 CSTDIO_H=config/io/c_io_stdio.h
15788 BASIC_FILE_H=config/io/basic_file_stdio.h
15789 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15791 $as_echo "stdio" >&6; }
15792 ;;
15793 esac
15794
15795
15796
15797
15798
15799
15800 # Check whether --enable-clocale was given.
15801 if test "${enable_clocale+set}" = set; then :
15802 enableval=$enable_clocale;
15803 case "$enableval" in
15804 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15805 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15806 esac
15807
15808 else
15809 enable_clocale=auto
15810 fi
15811
15812
15813
15814 # Deal with gettext issues. Default to not using it (=no) until we detect
15815 # support for it later. Let the user turn it off via --e/d, but let that
15816 # default to on for easier handling.
15817 USE_NLS=no
15818 # Check whether --enable-nls was given.
15819 if test "${enable_nls+set}" = set; then :
15820 enableval=$enable_nls;
15821 else
15822 enable_nls=yes
15823 fi
15824
15825
15826 # Either a known package, or "auto"
15827 if test $enable_clocale = no || test $enable_clocale = yes; then
15828 enable_clocale=auto
15829 fi
15830 enable_clocale_flag=$enable_clocale
15831
15832 # Probe for locale model to use if none specified.
15833 # Default to "generic".
15834 if test $enable_clocale_flag = auto; then
15835 case ${target_os} in
15836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15837 enable_clocale_flag=gnu
15838 ;;
15839 darwin*)
15840 enable_clocale_flag=darwin
15841 ;;
15842 dragonfly* | freebsd*)
15843 enable_clocale_flag=dragonfly
15844 ;;
15845 openbsd*)
15846 enable_clocale_flag=newlib
15847 ;;
15848 *)
15849 if test x"$with_newlib" = x"yes"; then
15850 enable_clocale_flag=newlib
15851 else
15852 enable_clocale_flag=generic
15853 fi
15854 ;;
15855 esac
15856 fi
15857
15858 # Sanity check model, and test for special functionality.
15859 if test $enable_clocale_flag = gnu; then
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15862
15863 #include <features.h>
15864 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15865 _GLIBCXX_ok
15866 #endif
15867
15868 _ACEOF
15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15870 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15871 enable_clocale_flag=gnu
15872 else
15873 enable_clocale_flag=generic
15874 fi
15875 rm -f conftest*
15876
15877
15878 # Set it to scream when it hurts.
15879 ac_save_CFLAGS="$CFLAGS"
15880 CFLAGS="-Wimplicit-function-declaration -Werror"
15881
15882 # Use strxfrm_l if available.
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #define _GNU_SOURCE 1
15886 #include <string.h>
15887 #include <locale.h>
15888 int
15889 main ()
15890 {
15891 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15892 ;
15893 return 0;
15894 }
15895 _ACEOF
15896 if ac_fn_c_try_compile "$LINENO"; then :
15897
15898 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15899
15900 fi
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15902
15903 # Use strerror_l if available.
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE 1
15907 #include <string.h>
15908 #include <locale.h>
15909 int
15910 main ()
15911 {
15912 __locale_t loc; strerror_l(5, loc);
15913 ;
15914 return 0;
15915 }
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15918
15919 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15920
15921 fi
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923
15924 CFLAGS="$ac_save_CFLAGS"
15925 fi
15926
15927 # Perhaps use strerror_r if available, and strerror_l isn't.
15928 ac_save_CFLAGS="$CFLAGS"
15929 CFLAGS="-Wimplicit-function-declaration -Werror"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15935 int
15936 main ()
15937 {
15938 char s[128]; strerror_r(5, s, 128);
15939 ;
15940 return 0;
15941 }
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15944
15945 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15946
15947 fi
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 CFLAGS="$ac_save_CFLAGS"
15950
15951 # Set configure bits for specified locale package
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15953 $as_echo_n "checking for C locale to use... " >&6; }
15954 case ${enable_clocale_flag} in
15955 generic)
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15957 $as_echo "generic" >&6; }
15958
15959 CLOCALE_H=config/locale/generic/c_locale.h
15960 CLOCALE_CC=config/locale/generic/c_locale.cc
15961 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15962 CCOLLATE_CC=config/locale/generic/collate_members.cc
15963 CCTYPE_CC=config/locale/generic/ctype_members.cc
15964 CMESSAGES_H=config/locale/generic/messages_members.h
15965 CMESSAGES_CC=config/locale/generic/messages_members.cc
15966 CMONEY_CC=config/locale/generic/monetary_members.cc
15967 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15968 CTIME_H=config/locale/generic/time_members.h
15969 CTIME_CC=config/locale/generic/time_members.cc
15970 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15971 ;;
15972 darwin)
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15974 $as_echo "darwin" >&6; }
15975
15976 CLOCALE_H=config/locale/generic/c_locale.h
15977 CLOCALE_CC=config/locale/generic/c_locale.cc
15978 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15979 CCOLLATE_CC=config/locale/generic/collate_members.cc
15980 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15981 CMESSAGES_H=config/locale/generic/messages_members.h
15982 CMESSAGES_CC=config/locale/generic/messages_members.cc
15983 CMONEY_CC=config/locale/generic/monetary_members.cc
15984 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15985 CTIME_H=config/locale/generic/time_members.h
15986 CTIME_CC=config/locale/generic/time_members.cc
15987 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15988 ;;
15989
15990 dragonfly)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15992 $as_echo "dragonfly or freebsd" >&6; }
15993
15994 CLOCALE_H=config/locale/dragonfly/c_locale.h
15995 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15996 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15998 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16002 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16003 CTIME_H=config/locale/dragonfly/time_members.h
16004 CTIME_CC=config/locale/dragonfly/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16006 ;;
16007
16008 gnu)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16010 $as_echo "gnu" >&6; }
16011
16012 # Declare intention to use gettext, and add support for specific
16013 # languages.
16014 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16015 ALL_LINGUAS="de fr"
16016
16017 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16018 # Extract the first word of "msgfmt", so it can be a program name with args.
16019 set dummy msgfmt; ac_word=$2
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16021 $as_echo_n "checking for $ac_word... " >&6; }
16022 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 if test -n "$check_msgfmt"; then
16026 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16027 else
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16030 do
16031 IFS=$as_save_IFS
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_prog_check_msgfmt="yes"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16037 break 2
16038 fi
16039 done
16040 done
16041 IFS=$as_save_IFS
16042
16043 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16044 fi
16045 fi
16046 check_msgfmt=$ac_cv_prog_check_msgfmt
16047 if test -n "$check_msgfmt"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16049 $as_echo "$check_msgfmt" >&6; }
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16053 fi
16054
16055
16056 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16057 USE_NLS=yes
16058 fi
16059 # Export the build objects.
16060 for ling in $ALL_LINGUAS; do \
16061 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16062 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16063 done
16064
16065
16066
16067 CLOCALE_H=config/locale/gnu/c_locale.h
16068 CLOCALE_CC=config/locale/gnu/c_locale.cc
16069 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16070 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16071 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16072 CMESSAGES_H=config/locale/gnu/messages_members.h
16073 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16074 CMONEY_CC=config/locale/gnu/monetary_members.cc
16075 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16076 CTIME_H=config/locale/gnu/time_members.h
16077 CTIME_CC=config/locale/gnu/time_members.cc
16078 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16079 ;;
16080 ieee_1003.1-2001)
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16082 $as_echo "IEEE 1003.1" >&6; }
16083
16084 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16085 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16086 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16087 CCOLLATE_CC=config/locale/generic/collate_members.cc
16088 CCTYPE_CC=config/locale/generic/ctype_members.cc
16089 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16090 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16091 CMONEY_CC=config/locale/generic/monetary_members.cc
16092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16093 CTIME_H=config/locale/generic/time_members.h
16094 CTIME_CC=config/locale/generic/time_members.cc
16095 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16096 ;;
16097 newlib)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16099 $as_echo "newlib" >&6; }
16100
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16113 ;;
16114 esac
16115
16116 # This is where the testsuite looks for locale catalogs, using the
16117 # -DLOCALEDIR define during testsuite compilation.
16118 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16119
16120
16121 # A standalone libintl (e.g., GNU libintl) may be in use.
16122 if test $USE_NLS = yes; then
16123 for ac_header in libintl.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_LIBINTL_H 1
16129 _ACEOF
16130
16131 else
16132 USE_NLS=no
16133 fi
16134
16135 done
16136
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16138 $as_echo_n "checking for library containing gettext... " >&6; }
16139 if test "${ac_cv_search_gettext+set}" = set; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_func_search_save_LIBS=$LIBS
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16145
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char gettext ();
16153 int
16154 main ()
16155 {
16156 return gettext ();
16157 ;
16158 return 0;
16159 }
16160 _ACEOF
16161 for ac_lib in '' intl; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16167 fi
16168 if test x$gcc_no_link = xyes; then
16169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16170 fi
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_gettext=$ac_res
16173 fi
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if test "${ac_cv_search_gettext+set}" = set; then :
16177 break
16178 fi
16179 done
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16181
16182 else
16183 ac_cv_search_gettext=no
16184 fi
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16187 fi
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16189 $as_echo "$ac_cv_search_gettext" >&6; }
16190 ac_res=$ac_cv_search_gettext
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16193
16194 else
16195 USE_NLS=no
16196 fi
16197
16198 fi
16199 if test $USE_NLS = yes; then
16200
16201 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16202
16203 fi
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16221 $as_echo_n "checking for std::allocator base class... " >&6; }
16222 # Check whether --enable-libstdcxx-allocator was given.
16223 if test "${enable_libstdcxx_allocator+set}" = set; then :
16224 enableval=$enable_libstdcxx_allocator;
16225 case "$enableval" in
16226 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16227 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16228 esac
16229
16230 else
16231 enable_libstdcxx_allocator=auto
16232 fi
16233
16234
16235
16236 # If they didn't use this option switch, or if they specified --enable
16237 # with no specific model, we'll have to look for one. If they
16238 # specified --disable (???), do likewise.
16239 if test $enable_libstdcxx_allocator = no ||
16240 test $enable_libstdcxx_allocator = yes;
16241 then
16242 enable_libstdcxx_allocator=auto
16243 fi
16244
16245 # Either a known package, or "auto". Auto implies the default choice
16246 # for a particular platform.
16247 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16248
16249 # Probe for host-specific support if no specific model is specified.
16250 # Default to "new".
16251 if test $enable_libstdcxx_allocator_flag = auto; then
16252 case ${target_os} in
16253 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16254 enable_libstdcxx_allocator_flag=new
16255 ;;
16256 *)
16257 enable_libstdcxx_allocator_flag=new
16258 ;;
16259 esac
16260 fi
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16262 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16263
16264
16265 # Set configure bits for specified locale package
16266 case ${enable_libstdcxx_allocator_flag} in
16267 bitmap)
16268 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16269 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16270 ;;
16271 malloc)
16272 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16274 ;;
16275 mt)
16276 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16278 ;;
16279 new)
16280 ALLOCATOR_H=config/allocator/new_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16282 ;;
16283 pool)
16284 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16286 ;;
16287 esac
16288
16289
16290
16291
16292
16293
16294 # Check whether --enable-cheaders was given.
16295 if test "${enable_cheaders+set}" = set; then :
16296 enableval=$enable_cheaders;
16297 case "$enableval" in
16298 c|c_std|c_global) ;;
16299 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16300 esac
16301
16302 else
16303 enable_cheaders=$c_model
16304 fi
16305
16306
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16308 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16309
16310 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16311
16312 # Allow overrides to configure.host here.
16313 if test $enable_cheaders = c_global; then
16314 c_compatibility=yes
16315 fi
16316
16317
16318
16319
16320
16321
16322
16323 # Check whether --enable-long-long was given.
16324 if test "${enable_long_long+set}" = set; then :
16325 enableval=$enable_long_long;
16326 case "$enableval" in
16327 yes|no) ;;
16328 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16329 esac
16330
16331 else
16332 enable_long_long=yes
16333 fi
16334
16335
16336 if test $enable_long_long = yes; then
16337
16338 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16339
16340 fi
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16342 $as_echo_n "checking for enabled long long specializations... " >&6; }
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16344 $as_echo "$enable_long_long" >&6; }
16345
16346
16347 # Check whether --enable-wchar_t was given.
16348 if test "${enable_wchar_t+set}" = set; then :
16349 enableval=$enable_wchar_t;
16350 case "$enableval" in
16351 yes|no) ;;
16352 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16353 esac
16354
16355 else
16356 enable_wchar_t=yes
16357 fi
16358
16359
16360
16361 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16362 for ac_header in wchar.h
16363 do :
16364 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_WCHAR_H 1
16368 _ACEOF
16369 ac_has_wchar_h=yes
16370 else
16371 ac_has_wchar_h=no
16372 fi
16373
16374 done
16375
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16377 $as_echo_n "checking for mbstate_t... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <wchar.h>
16381 int
16382 main ()
16383 {
16384 mbstate_t teststate;
16385 ;
16386 return 0;
16387 }
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 have_mbstate_t=yes
16391 else
16392 have_mbstate_t=no
16393 fi
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16396 $as_echo "$have_mbstate_t" >&6; }
16397 if test x"$have_mbstate_t" = xyes; then
16398
16399 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16400
16401 fi
16402
16403 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16404 # ac_has_wchar_h.
16405 for ac_header in wctype.h
16406 do :
16407 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_WCTYPE_H 1
16411 _ACEOF
16412 ac_has_wctype_h=yes
16413 else
16414 ac_has_wctype_h=no
16415 fi
16416
16417 done
16418
16419
16420 if test x"$enable_wchar_t" = x"yes"; then
16421
16422
16423 ac_ext=cpp
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16428
16429
16430 if test x"$ac_has_wchar_h" = xyes &&
16431 test x"$ac_has_wctype_h" = xyes; then
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #include <wchar.h>
16435 #include <stddef.h>
16436 wint_t i;
16437 long l = WEOF;
16438 long j = WCHAR_MIN;
16439 long k = WCHAR_MAX;
16440 namespace test
16441 {
16442 using ::btowc;
16443 using ::fgetwc;
16444 using ::fgetws;
16445 using ::fputwc;
16446 using ::fputws;
16447 using ::fwide;
16448 using ::fwprintf;
16449 using ::fwscanf;
16450 using ::getwc;
16451 using ::getwchar;
16452 using ::mbrlen;
16453 using ::mbrtowc;
16454 using ::mbsinit;
16455 using ::mbsrtowcs;
16456 using ::putwc;
16457 using ::putwchar;
16458 using ::swprintf;
16459 using ::swscanf;
16460 using ::ungetwc;
16461 using ::vfwprintf;
16462 using ::vswprintf;
16463 using ::vwprintf;
16464 using ::wcrtomb;
16465 using ::wcscat;
16466 using ::wcschr;
16467 using ::wcscmp;
16468 using ::wcscoll;
16469 using ::wcscpy;
16470 using ::wcscspn;
16471 using ::wcsftime;
16472 using ::wcslen;
16473 using ::wcsncat;
16474 using ::wcsncmp;
16475 using ::wcsncpy;
16476 using ::wcspbrk;
16477 using ::wcsrchr;
16478 using ::wcsrtombs;
16479 using ::wcsspn;
16480 using ::wcsstr;
16481 using ::wcstod;
16482 using ::wcstok;
16483 using ::wcstol;
16484 using ::wcstoul;
16485 using ::wcsxfrm;
16486 using ::wctob;
16487 using ::wmemchr;
16488 using ::wmemcmp;
16489 using ::wmemcpy;
16490 using ::wmemmove;
16491 using ::wmemset;
16492 using ::wprintf;
16493 using ::wscanf;
16494 }
16495
16496 int
16497 main ()
16498 {
16499
16500 ;
16501 return 0;
16502 }
16503 _ACEOF
16504 if ac_fn_cxx_try_compile "$LINENO"; then :
16505
16506 else
16507 enable_wchar_t=no
16508 fi
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 else
16511 enable_wchar_t=no
16512 fi
16513
16514 ac_ext=c
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16519
16520 fi
16521
16522 if test x"$enable_wchar_t" = x"yes"; then
16523
16524 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16525
16526 fi
16527
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16529 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16531 $as_echo "$enable_wchar_t" >&6; }
16532
16533
16534
16535 # Check whether --enable-c99 was given.
16536 if test "${enable_c99+set}" = set; then :
16537 enableval=$enable_c99;
16538 case "$enableval" in
16539 yes|no) ;;
16540 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16541 esac
16542
16543 else
16544 enable_c99=yes
16545 fi
16546
16547
16548
16549 if test x"$enable_c99" = x"yes"; then
16550
16551 ac_ext=cpp
16552 ac_cpp='$CXXCPP $CPPFLAGS'
16553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16556
16557
16558 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16559 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16560 # to be spuriously enabled.
16561 ac_save_CXXFLAGS="$CXXFLAGS"
16562 CXXFLAGS="$CXXFLAGS -std=c++98"
16563 ac_save_LIBS="$LIBS"
16564 ac_save_gcc_no_link="$gcc_no_link"
16565
16566 if test x$gcc_no_link != xyes; then
16567 # Use -fno-exceptions to that the C driver can link these tests without
16568 # hitting undefined references to personality routines.
16569 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16571 $as_echo_n "checking for sin in -lm... " >&6; }
16572 if test "${ac_cv_lib_m_sin+set}" = set; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_lib_save_LIBS=$LIBS
16576 LIBS="-lm $LIBS"
16577 if test x$gcc_no_link = xyes; then
16578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16579 fi
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16582
16583 /* Override any GCC internal prototype to avoid an error.
16584 Use char because int might match the return type of a GCC
16585 builtin and then its argument prototype would still apply. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 char sin ();
16590 int
16591 main ()
16592 {
16593 return sin ();
16594 ;
16595 return 0;
16596 }
16597 _ACEOF
16598 if ac_fn_cxx_try_link "$LINENO"; then :
16599 ac_cv_lib_m_sin=yes
16600 else
16601 ac_cv_lib_m_sin=no
16602 fi
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_lib_save_LIBS
16606 fi
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16608 $as_echo "$ac_cv_lib_m_sin" >&6; }
16609 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16610 LIBS="$LIBS -lm"
16611 else
16612
16613 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16614 gcc_no_link=yes
16615
16616 fi
16617
16618 fi
16619
16620 # Check for the existence of <math.h> functions used if C99 is enabled.
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16622 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16623 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <math.h>
16631 volatile double d1, d2;
16632 volatile int i;
16633 int
16634 main ()
16635 {
16636 i = fpclassify(d1);
16637 i = isfinite(d1);
16638 i = isinf(d1);
16639 i = isnan(d1);
16640 i = isnormal(d1);
16641 i = signbit(d1);
16642 i = isgreater(d1, d2);
16643 i = isgreaterequal(d1, d2);
16644 i = isless(d1, d2);
16645 i = islessequal(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = islessgreater(d1, d2);
16648 i = isunordered(d1, d2);
16649
16650 ;
16651 return 0;
16652 }
16653 _ACEOF
16654 if ac_fn_cxx_try_compile "$LINENO"; then :
16655 glibcxx_cv_c99_math_cxx98=yes
16656 else
16657 glibcxx_cv_c99_math_cxx98=no
16658 fi
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 else
16661 if test x$gcc_no_link = xyes; then
16662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16663 fi
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16667 volatile double d1, d2;
16668 volatile int i;
16669 int
16670 main ()
16671 {
16672 i = fpclassify(d1);
16673 i = isfinite(d1);
16674 i = isinf(d1);
16675 i = isnan(d1);
16676 i = isnormal(d1);
16677 i = signbit(d1);
16678 i = isgreater(d1, d2);
16679 i = isgreaterequal(d1, d2);
16680 i = isless(d1, d2);
16681 i = islessequal(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = islessgreater(d1, d2);
16684 i = isunordered(d1, d2);
16685
16686 ;
16687 return 0;
16688 }
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_math_cxx98=yes
16692 else
16693 glibcxx_cv_c99_math_cxx98=no
16694 fi
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16697 fi
16698
16699 fi
16700
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16702 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16703 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16704
16705 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16706
16707 fi
16708
16709 # Check for the existence of <complex.h> complex math functions.
16710 # This is necessary even though libstdc++ uses the builtin versions
16711 # of these functions, because if the builtin cannot be used, a reference
16712 # to the library function is emitted.
16713 for ac_header in tgmath.h
16714 do :
16715 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16716 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_TGMATH_H 1
16719 _ACEOF
16720 ac_has_tgmath_h=yes
16721 else
16722 ac_has_tgmath_h=no
16723 fi
16724
16725 done
16726
16727 for ac_header in complex.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_complex_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_COMPLEX_H 1
16733 _ACEOF
16734 ac_has_complex_h=yes
16735 else
16736 ac_has_complex_h=no
16737 fi
16738
16739 done
16740
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> for C++98" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16744 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16747
16748 if test x$gcc_no_link = xyes; then
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <complex.h>
16752 typedef __complex__ float float_type;
16753 typedef __complex__ double double_type;
16754 typedef __complex__ long double ld_type;
16755 volatile float_type tmpf;
16756 volatile double_type tmpd;
16757 volatile ld_type tmpld;
16758 volatile float f;
16759 volatile double d;
16760 volatile long double ld;
16761 int
16762 main ()
16763 {
16764 f = cabsf(tmpf);
16765 f = cargf(tmpf);
16766 tmpf = ccosf(tmpf);
16767 tmpf = ccoshf(tmpf);
16768 tmpf = cexpf(tmpf);
16769 tmpf = clogf(tmpf);
16770 tmpf = csinf(tmpf);
16771 tmpf = csinhf(tmpf);
16772 tmpf = csqrtf(tmpf);
16773 tmpf = ctanf(tmpf);
16774 tmpf = ctanhf(tmpf);
16775 tmpf = cpowf(tmpf, tmpf);
16776 tmpf = cprojf(tmpf);
16777 d = cabs(tmpd);
16778 d = carg(tmpd);
16779 tmpd = ccos(tmpd);
16780 tmpd = ccosh(tmpd);
16781 tmpd = cexp(tmpd);
16782 tmpd = clog(tmpd);
16783 tmpd = csin(tmpd);
16784 tmpd = csinh(tmpd);
16785 tmpd = csqrt(tmpd);
16786 tmpd = ctan(tmpd);
16787 tmpd = ctanh(tmpd);
16788 tmpd = cpow(tmpd, tmpd);
16789 tmpd = cproj(tmpd);
16790 ld = cabsl(tmpld);
16791 ld = cargl(tmpld);
16792 tmpld = ccosl(tmpld);
16793 tmpld = ccoshl(tmpld);
16794 tmpld = cexpl(tmpld);
16795 tmpld = clogl(tmpld);
16796 tmpld = csinl(tmpld);
16797 tmpld = csinhl(tmpld);
16798 tmpld = csqrtl(tmpld);
16799 tmpld = ctanl(tmpld);
16800 tmpld = ctanhl(tmpld);
16801 tmpld = cpowl(tmpld, tmpld);
16802 tmpld = cprojl(tmpld);
16803
16804 ;
16805 return 0;
16806 }
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_complex_cxx98=yes
16810 else
16811 glibcxx_cv_c99_complex_cxx98=no
16812 fi
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16817 fi
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <complex.h>
16821 typedef __complex__ float float_type;
16822 typedef __complex__ double double_type;
16823 typedef __complex__ long double ld_type;
16824 volatile float_type tmpf;
16825 volatile double_type tmpd;
16826 volatile ld_type tmpld;
16827 volatile float f;
16828 volatile double d;
16829 volatile long double ld;
16830 int
16831 main ()
16832 {
16833 f = cabsf(tmpf);
16834 f = cargf(tmpf);
16835 tmpf = ccosf(tmpf);
16836 tmpf = ccoshf(tmpf);
16837 tmpf = cexpf(tmpf);
16838 tmpf = clogf(tmpf);
16839 tmpf = csinf(tmpf);
16840 tmpf = csinhf(tmpf);
16841 tmpf = csqrtf(tmpf);
16842 tmpf = ctanf(tmpf);
16843 tmpf = ctanhf(tmpf);
16844 tmpf = cpowf(tmpf, tmpf);
16845 tmpf = cprojf(tmpf);
16846 d = cabs(tmpd);
16847 d = carg(tmpd);
16848 tmpd = ccos(tmpd);
16849 tmpd = ccosh(tmpd);
16850 tmpd = cexp(tmpd);
16851 tmpd = clog(tmpd);
16852 tmpd = csin(tmpd);
16853 tmpd = csinh(tmpd);
16854 tmpd = csqrt(tmpd);
16855 tmpd = ctan(tmpd);
16856 tmpd = ctanh(tmpd);
16857 tmpd = cpow(tmpd, tmpd);
16858 tmpd = cproj(tmpd);
16859 ld = cabsl(tmpld);
16860 ld = cargl(tmpld);
16861 tmpld = ccosl(tmpld);
16862 tmpld = ccoshl(tmpld);
16863 tmpld = cexpl(tmpld);
16864 tmpld = clogl(tmpld);
16865 tmpld = csinl(tmpld);
16866 tmpld = csinhl(tmpld);
16867 tmpld = csqrtl(tmpld);
16868 tmpld = ctanl(tmpld);
16869 tmpld = ctanhl(tmpld);
16870 tmpld = cpowl(tmpld, tmpld);
16871 tmpld = cprojl(tmpld);
16872
16873 ;
16874 return 0;
16875 }
16876 _ACEOF
16877 if ac_fn_cxx_try_link "$LINENO"; then :
16878 glibcxx_cv_c99_complex_cxx98=yes
16879 else
16880 glibcxx_cv_c99_complex_cxx98=no
16881 fi
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16884 fi
16885
16886 fi
16887
16888 fi
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16890 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16891 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16892
16893 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16894
16895 fi
16896
16897 # Check for the existence in <stdio.h> of vscanf, et. al.
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16899 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16900 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903
16904 if test x$gcc_no_link = xyes; then
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16907 #include <stdio.h>
16908 #include <stdarg.h>
16909 void foo(char* fmt, ...)
16910 {
16911 va_list args; va_start(args, fmt);
16912 vfscanf(stderr, "%i", args);
16913 vscanf("%i", args);
16914 vsnprintf(fmt, 0, "%i", args);
16915 vsscanf(fmt, "%i", args);
16916 snprintf(fmt, 0, "%i");
16917 }
16918 int
16919 main ()
16920 {
16921
16922 ;
16923 return 0;
16924 }
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 glibcxx_cv_c99_stdio_cxx98=yes
16928 else
16929 glibcxx_cv_c99_stdio_cxx98=no
16930 fi
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16935 fi
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <stdio.h>
16939 #include <stdarg.h>
16940 void foo(char* fmt, ...)
16941 {
16942 va_list args; va_start(args, fmt);
16943 vfscanf(stderr, "%i", args);
16944 vscanf("%i", args);
16945 vsnprintf(fmt, 0, "%i", args);
16946 vsscanf(fmt, "%i", args);
16947 snprintf(fmt, 0, "%i");
16948 }
16949 int
16950 main ()
16951 {
16952
16953 ;
16954 return 0;
16955 }
16956 _ACEOF
16957 if ac_fn_cxx_try_link "$LINENO"; then :
16958 glibcxx_cv_c99_stdio_cxx98=yes
16959 else
16960 glibcxx_cv_c99_stdio_cxx98=no
16961 fi
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 fi
16965
16966 fi
16967
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16969 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16970 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16971
16972 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16973
16974 fi
16975
16976 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16978 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16979 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982
16983 if test x$gcc_no_link = xyes; then
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <stdlib.h>
16987 volatile float f;
16988 volatile long double ld;
16989 volatile unsigned long long ll;
16990 lldiv_t mydivt;
16991 int
16992 main ()
16993 {
16994 char* tmp;
16995 f = strtof("gnu", &tmp);
16996 ld = strtold("gnu", &tmp);
16997 ll = strtoll("gnu", &tmp, 10);
16998 ll = strtoull("gnu", &tmp, 10);
16999 ll = llabs(10);
17000 mydivt = lldiv(10,1);
17001 ll = mydivt.quot;
17002 ll = mydivt.rem;
17003 ll = atoll("10");
17004 _Exit(0);
17005
17006 ;
17007 return 0;
17008 }
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 glibcxx_cv_c99_stdlib_cxx98=yes
17012 else
17013 glibcxx_cv_c99_stdlib_cxx98=no
17014 fi
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 else
17017 if test x$gcc_no_link = xyes; then
17018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17019 fi
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <stdlib.h>
17023 volatile float f;
17024 volatile long double ld;
17025 volatile unsigned long long ll;
17026 lldiv_t mydivt;
17027 int
17028 main ()
17029 {
17030 char* tmp;
17031 f = strtof("gnu", &tmp);
17032 ld = strtold("gnu", &tmp);
17033 ll = strtoll("gnu", &tmp, 10);
17034 ll = strtoull("gnu", &tmp, 10);
17035 ll = llabs(10);
17036 mydivt = lldiv(10,1);
17037 ll = mydivt.quot;
17038 ll = mydivt.rem;
17039 ll = atoll("10");
17040 _Exit(0);
17041
17042 ;
17043 return 0;
17044 }
17045 _ACEOF
17046 if ac_fn_cxx_try_link "$LINENO"; then :
17047 glibcxx_cv_c99_stdlib_cxx98=yes
17048 else
17049 glibcxx_cv_c99_stdlib_cxx98=no
17050 fi
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17053 fi
17054
17055 fi
17056
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17058 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17059 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17060
17061 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17062
17063 fi
17064
17065 # Check for the existence in <wchar.h> of wcstold, etc.
17066 if test x"$ac_has_wchar_h" = xyes &&
17067 test x"$ac_has_wctype_h" = xyes; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17070 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17078 {
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17082 }
17083
17084 int
17085 main ()
17086 {
17087
17088 ;
17089 return 0;
17090 }
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar_cxx98=yes
17094 else
17095 glibcxx_cv_c99_wchar_cxx98=no
17096 fi
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17098
17099 fi
17100
17101
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17110 int
17111 main ()
17112 {
17113
17114 ;
17115 return 0;
17116 }
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17119
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17121
17122 fi
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17129 int
17130 main ()
17131 {
17132
17133 ;
17134 return 0;
17135 }
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17138
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17140
17141 fi
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17148 int
17149 main ()
17150 {
17151
17152 ;
17153 return 0;
17154 }
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17157
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17159
17160 fi
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17167 int
17168 main ()
17169 {
17170
17171 ;
17172 return 0;
17173 }
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17176
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17178
17179 fi
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17181
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17185 int
17186 main ()
17187 {
17188 wint_t t; int i = iswblank(t);
17189 ;
17190 return 0;
17191 }
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17194
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17196
17197 fi
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17203
17204 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17205
17206 fi
17207 fi
17208
17209 # Option parsed, now set things appropriately.
17210 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17214 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17215 enable_c99=no;
17216 else
17217
17218 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17219
17220 fi
17221
17222 gcc_no_link="$ac_save_gcc_no_link"
17223 LIBS="$ac_save_LIBS"
17224 CXXFLAGS="$ac_save_CXXFLAGS"
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17230
17231
17232
17233 ac_ext=cpp
17234 ac_cpp='$CXXCPP $CPPFLAGS'
17235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17238
17239
17240 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17241 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17242 ac_save_CXXFLAGS="$CXXFLAGS"
17243 CXXFLAGS="$CXXFLAGS -std=c++11"
17244 ac_save_LIBS="$LIBS"
17245 ac_save_gcc_no_link="$gcc_no_link"
17246
17247 if test x$gcc_no_link != xyes; then
17248 # Use -fno-exceptions to that the C driver can link these tests without
17249 # hitting undefined references to personality routines.
17250 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17252 $as_echo_n "checking for sin in -lm... " >&6; }
17253 if test "${ac_cv_lib_m_sin+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-lm $LIBS"
17258 if test x$gcc_no_link = xyes; then
17259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17260 fi
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 #ifdef __cplusplus
17268 extern "C"
17269 #endif
17270 char sin ();
17271 int
17272 main ()
17273 {
17274 return sin ();
17275 ;
17276 return 0;
17277 }
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 ac_cv_lib_m_sin=yes
17281 else
17282 ac_cv_lib_m_sin=no
17283 fi
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17287 fi
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17289 $as_echo "$ac_cv_lib_m_sin" >&6; }
17290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17291 LIBS="$LIBS -lm"
17292 else
17293
17294 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17295 gcc_no_link=yes
17296
17297 fi
17298
17299 fi
17300
17301 # Check for the existence of <math.h> functions used if C99 is enabled.
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17303 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17304 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307
17308 if test x$gcc_no_link = xyes; then
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 volatile double d1, d2;
17313 volatile int i;
17314 int
17315 main ()
17316 {
17317 i = fpclassify(d1);
17318 i = isfinite(d1);
17319 i = isinf(d1);
17320 i = isnan(d1);
17321 i = isnormal(d1);
17322 i = signbit(d1);
17323 i = isgreater(d1, d2);
17324 i = isgreaterequal(d1, d2);
17325 i = isless(d1, d2);
17326 i = islessequal(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = islessgreater(d1, d2);
17329 i = isunordered(d1, d2);
17330
17331 ;
17332 return 0;
17333 }
17334 _ACEOF
17335 if ac_fn_cxx_try_compile "$LINENO"; then :
17336 glibcxx_cv_c99_math_cxx11=yes
17337 else
17338 glibcxx_cv_c99_math_cxx11=no
17339 fi
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17344 fi
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <math.h>
17348 volatile double d1, d2;
17349 volatile int i;
17350 int
17351 main ()
17352 {
17353 i = fpclassify(d1);
17354 i = isfinite(d1);
17355 i = isinf(d1);
17356 i = isnan(d1);
17357 i = isnormal(d1);
17358 i = signbit(d1);
17359 i = isgreater(d1, d2);
17360 i = isgreaterequal(d1, d2);
17361 i = isless(d1, d2);
17362 i = islessequal(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = islessgreater(d1, d2);
17365 i = isunordered(d1, d2);
17366
17367 ;
17368 return 0;
17369 }
17370 _ACEOF
17371 if ac_fn_cxx_try_link "$LINENO"; then :
17372 glibcxx_cv_c99_math_cxx11=yes
17373 else
17374 glibcxx_cv_c99_math_cxx11=no
17375 fi
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17378 fi
17379
17380 fi
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17383 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17384 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17385
17386 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17387
17388 fi
17389
17390 # Check for the existence of <complex.h> complex math functions.
17391 # This is necessary even though libstdc++ uses the builtin versions
17392 # of these functions, because if the builtin cannot be used, a reference
17393 # to the library function is emitted.
17394 for ac_header in tgmath.h
17395 do :
17396 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17397 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_TGMATH_H 1
17400 _ACEOF
17401 ac_has_tgmath_h=yes
17402 else
17403 ac_has_tgmath_h=no
17404 fi
17405
17406 done
17407
17408 for ac_header in complex.h
17409 do :
17410 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_complex_h" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_COMPLEX_H 1
17414 _ACEOF
17415 ac_has_complex_h=yes
17416 else
17417 ac_has_complex_h=no
17418 fi
17419
17420 done
17421
17422 if test x"$ac_has_complex_h" = x"yes"; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17424 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17425 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17428
17429 if test x$gcc_no_link = xyes; then
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <complex.h>
17433 typedef __complex__ float float_type;
17434 typedef __complex__ double double_type;
17435 typedef __complex__ long double ld_type;
17436 volatile float_type tmpf;
17437 volatile double_type tmpd;
17438 volatile ld_type tmpld;
17439 volatile float f;
17440 volatile double d;
17441 volatile long double ld;
17442 int
17443 main ()
17444 {
17445 f = cabsf(tmpf);
17446 f = cargf(tmpf);
17447 tmpf = ccosf(tmpf);
17448 tmpf = ccoshf(tmpf);
17449 tmpf = cexpf(tmpf);
17450 tmpf = clogf(tmpf);
17451 tmpf = csinf(tmpf);
17452 tmpf = csinhf(tmpf);
17453 tmpf = csqrtf(tmpf);
17454 tmpf = ctanf(tmpf);
17455 tmpf = ctanhf(tmpf);
17456 tmpf = cpowf(tmpf, tmpf);
17457 tmpf = cprojf(tmpf);
17458 d = cabs(tmpd);
17459 d = carg(tmpd);
17460 tmpd = ccos(tmpd);
17461 tmpd = ccosh(tmpd);
17462 tmpd = cexp(tmpd);
17463 tmpd = clog(tmpd);
17464 tmpd = csin(tmpd);
17465 tmpd = csinh(tmpd);
17466 tmpd = csqrt(tmpd);
17467 tmpd = ctan(tmpd);
17468 tmpd = ctanh(tmpd);
17469 tmpd = cpow(tmpd, tmpd);
17470 tmpd = cproj(tmpd);
17471 ld = cabsl(tmpld);
17472 ld = cargl(tmpld);
17473 tmpld = ccosl(tmpld);
17474 tmpld = ccoshl(tmpld);
17475 tmpld = cexpl(tmpld);
17476 tmpld = clogl(tmpld);
17477 tmpld = csinl(tmpld);
17478 tmpld = csinhl(tmpld);
17479 tmpld = csqrtl(tmpld);
17480 tmpld = ctanl(tmpld);
17481 tmpld = ctanhl(tmpld);
17482 tmpld = cpowl(tmpld, tmpld);
17483 tmpld = cprojl(tmpld);
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 if ac_fn_cxx_try_compile "$LINENO"; then :
17490 glibcxx_cv_c99_complex_cxx11=yes
17491 else
17492 glibcxx_cv_c99_complex_cxx11=no
17493 fi
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 else
17496 if test x$gcc_no_link = xyes; then
17497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17498 fi
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <complex.h>
17502 typedef __complex__ float float_type;
17503 typedef __complex__ double double_type;
17504 typedef __complex__ long double ld_type;
17505 volatile float_type tmpf;
17506 volatile double_type tmpd;
17507 volatile ld_type tmpld;
17508 volatile float f;
17509 volatile double d;
17510 volatile long double ld;
17511 int
17512 main ()
17513 {
17514 f = cabsf(tmpf);
17515 f = cargf(tmpf);
17516 tmpf = ccosf(tmpf);
17517 tmpf = ccoshf(tmpf);
17518 tmpf = cexpf(tmpf);
17519 tmpf = clogf(tmpf);
17520 tmpf = csinf(tmpf);
17521 tmpf = csinhf(tmpf);
17522 tmpf = csqrtf(tmpf);
17523 tmpf = ctanf(tmpf);
17524 tmpf = ctanhf(tmpf);
17525 tmpf = cpowf(tmpf, tmpf);
17526 tmpf = cprojf(tmpf);
17527 d = cabs(tmpd);
17528 d = carg(tmpd);
17529 tmpd = ccos(tmpd);
17530 tmpd = ccosh(tmpd);
17531 tmpd = cexp(tmpd);
17532 tmpd = clog(tmpd);
17533 tmpd = csin(tmpd);
17534 tmpd = csinh(tmpd);
17535 tmpd = csqrt(tmpd);
17536 tmpd = ctan(tmpd);
17537 tmpd = ctanh(tmpd);
17538 tmpd = cpow(tmpd, tmpd);
17539 tmpd = cproj(tmpd);
17540 ld = cabsl(tmpld);
17541 ld = cargl(tmpld);
17542 tmpld = ccosl(tmpld);
17543 tmpld = ccoshl(tmpld);
17544 tmpld = cexpl(tmpld);
17545 tmpld = clogl(tmpld);
17546 tmpld = csinl(tmpld);
17547 tmpld = csinhl(tmpld);
17548 tmpld = csqrtl(tmpld);
17549 tmpld = ctanl(tmpld);
17550 tmpld = ctanhl(tmpld);
17551 tmpld = cpowl(tmpld, tmpld);
17552 tmpld = cprojl(tmpld);
17553
17554 ;
17555 return 0;
17556 }
17557 _ACEOF
17558 if ac_fn_cxx_try_link "$LINENO"; then :
17559 glibcxx_cv_c99_complex_cxx11=yes
17560 else
17561 glibcxx_cv_c99_complex_cxx11=no
17562 fi
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17565 fi
17566
17567 fi
17568
17569 fi
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17571 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17572 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17573
17574 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17575
17576 fi
17577
17578 # Check for the existence in <stdio.h> of vscanf, et. al.
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17580 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17581 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584
17585 if test x$gcc_no_link = xyes; then
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <stdio.h>
17589 #include <stdarg.h>
17590 void foo(char* fmt, ...)
17591 {
17592 va_list args; va_start(args, fmt);
17593 vfscanf(stderr, "%i", args);
17594 vscanf("%i", args);
17595 vsnprintf(fmt, 0, "%i", args);
17596 vsscanf(fmt, "%i", args);
17597 snprintf(fmt, 0, "%i");
17598 }
17599 int
17600 main ()
17601 {
17602
17603 ;
17604 return 0;
17605 }
17606 _ACEOF
17607 if ac_fn_cxx_try_compile "$LINENO"; then :
17608 glibcxx_cv_c99_stdio_cxx11=yes
17609 else
17610 glibcxx_cv_c99_stdio_cxx11=no
17611 fi
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 else
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17616 fi
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <stdio.h>
17620 #include <stdarg.h>
17621 void foo(char* fmt, ...)
17622 {
17623 va_list args; va_start(args, fmt);
17624 vfscanf(stderr, "%i", args);
17625 vscanf("%i", args);
17626 vsnprintf(fmt, 0, "%i", args);
17627 vsscanf(fmt, "%i", args);
17628 snprintf(fmt, 0, "%i");
17629 }
17630 int
17631 main ()
17632 {
17633
17634 ;
17635 return 0;
17636 }
17637 _ACEOF
17638 if ac_fn_cxx_try_link "$LINENO"; then :
17639 glibcxx_cv_c99_stdio_cxx11=yes
17640 else
17641 glibcxx_cv_c99_stdio_cxx11=no
17642 fi
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17645 fi
17646
17647 fi
17648
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17650 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17651 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17652
17653 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17654
17655 fi
17656
17657 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17659 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17660 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17663
17664 if test x$gcc_no_link = xyes; then
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <stdlib.h>
17668 volatile float f;
17669 volatile long double ld;
17670 volatile unsigned long long ll;
17671 lldiv_t mydivt;
17672 int
17673 main ()
17674 {
17675 char* tmp;
17676 f = strtof("gnu", &tmp);
17677 ld = strtold("gnu", &tmp);
17678 ll = strtoll("gnu", &tmp, 10);
17679 ll = strtoull("gnu", &tmp, 10);
17680 ll = llabs(10);
17681 mydivt = lldiv(10,1);
17682 ll = mydivt.quot;
17683 ll = mydivt.rem;
17684 ll = atoll("10");
17685 _Exit(0);
17686
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 if ac_fn_cxx_try_compile "$LINENO"; then :
17692 glibcxx_cv_c99_stdlib_cxx11=yes
17693 else
17694 glibcxx_cv_c99_stdlib_cxx11=no
17695 fi
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17700 fi
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <stdlib.h>
17704 volatile float f;
17705 volatile long double ld;
17706 volatile unsigned long long ll;
17707 lldiv_t mydivt;
17708 int
17709 main ()
17710 {
17711 char* tmp;
17712 f = strtof("gnu", &tmp);
17713 ld = strtold("gnu", &tmp);
17714 ll = strtoll("gnu", &tmp, 10);
17715 ll = strtoull("gnu", &tmp, 10);
17716 ll = llabs(10);
17717 mydivt = lldiv(10,1);
17718 ll = mydivt.quot;
17719 ll = mydivt.rem;
17720 ll = atoll("10");
17721 _Exit(0);
17722
17723 ;
17724 return 0;
17725 }
17726 _ACEOF
17727 if ac_fn_cxx_try_link "$LINENO"; then :
17728 glibcxx_cv_c99_stdlib_cxx11=yes
17729 else
17730 glibcxx_cv_c99_stdlib_cxx11=no
17731 fi
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17734 fi
17735
17736 fi
17737
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17739 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17740 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17741
17742 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17743
17744 fi
17745
17746 # Check for the existence in <wchar.h> of wcstold, etc.
17747 if test x"$ac_has_wchar_h" = xyes &&
17748 test x"$ac_has_wctype_h" = xyes; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17750 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17751 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17754
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test
17759 {
17760 using ::wcstold;
17761 using ::wcstoll;
17762 using ::wcstoull;
17763 }
17764
17765 int
17766 main ()
17767 {
17768
17769 ;
17770 return 0;
17771 }
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_c99_wchar_cxx11=yes
17775 else
17776 glibcxx_cv_c99_wchar_cxx11=no
17777 fi
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779
17780 fi
17781
17782
17783 # Checks for wide character functions that may not be present.
17784 # Injection of these is wrapped with guard macros.
17785 # NB: only put functions here, instead of immediately above, if
17786 # absolutely necessary.
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wchar.h>
17790 namespace test { using ::vfwscanf; }
17791 int
17792 main ()
17793 {
17794
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17800
17801 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17802
17803 fi
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test { using ::vswscanf; }
17810 int
17811 main ()
17812 {
17813
17814 ;
17815 return 0;
17816 }
17817 _ACEOF
17818 if ac_fn_cxx_try_compile "$LINENO"; then :
17819
17820 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17821
17822 fi
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <wchar.h>
17828 namespace test { using ::vwscanf; }
17829 int
17830 main ()
17831 {
17832
17833 ;
17834 return 0;
17835 }
17836 _ACEOF
17837 if ac_fn_cxx_try_compile "$LINENO"; then :
17838
17839 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17840
17841 fi
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17843
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <wchar.h>
17847 namespace test { using ::wcstof; }
17848 int
17849 main ()
17850 {
17851
17852 ;
17853 return 0;
17854 }
17855 _ACEOF
17856 if ac_fn_cxx_try_compile "$LINENO"; then :
17857
17858 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17859
17860 fi
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17862
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <wctype.h>
17866 int
17867 main ()
17868 {
17869 wint_t t; int i = iswblank(t);
17870 ;
17871 return 0;
17872 }
17873 _ACEOF
17874 if ac_fn_cxx_try_compile "$LINENO"; then :
17875
17876 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17877
17878 fi
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17884
17885 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17886
17887 fi
17888 fi
17889
17890 gcc_no_link="$ac_save_gcc_no_link"
17891 LIBS="$ac_save_LIBS"
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898
17899 fi
17900
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17902 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17904 $as_echo "$enable_c99" >&6; }
17905
17906
17907 # Check whether --enable-concept-checks was given.
17908 if test "${enable_concept_checks+set}" = set; then :
17909 enableval=$enable_concept_checks;
17910 case "$enableval" in
17911 yes|no) ;;
17912 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17913 esac
17914
17915 else
17916 enable_concept_checks=no
17917 fi
17918
17919
17920 if test $enable_concept_checks = yes; then
17921
17922 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17923
17924 fi
17925
17926
17927 # Check whether --enable-libstdcxx-debug-flags was given.
17928 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17929 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17930 xno | x) enable_libstdcxx_debug_flags= ;;
17931 x-*) ;;
17932 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17933 esac
17934 else
17935 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
17936 fi
17937
17938
17939
17940 # Option parsed, now set things appropriately
17941 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17942
17943
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17945 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17946
17947
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17949 $as_echo_n "checking for additional debug build... " >&6; }
17950 # Check whether --enable-libstdcxx-debug was given.
17951 if test "${enable_libstdcxx_debug+set}" = set; then :
17952 enableval=$enable_libstdcxx_debug;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17956 esac
17957
17958 else
17959 enable_libstdcxx_debug=no
17960 fi
17961
17962
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17964 $as_echo "$enable_libstdcxx_debug" >&6; }
17965
17966
17967
17968
17969 enable_parallel=no;
17970
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17974 enable_parallel=yes;
17975 else
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17977 $as_echo "$as_me: target-libgomp not built" >&6;}
17978 fi
17979
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17981 $as_echo_n "checking for parallel mode support... " >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17983 $as_echo "$enable_parallel" >&6; }
17984
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17986 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17987 # Check whether --enable-cxx-flags was given.
17988 if test "${enable_cxx_flags+set}" = set; then :
17989 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17990 xno | x) enable_cxx_flags= ;;
17991 x-*) ;;
17992 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17993 esac
17994 else
17995 enable_cxx_flags=
17996 fi
17997
17998
17999
18000 # Run through flags (either default or command-line) and set anything
18001 # extra (e.g., #defines) that must accompany particular g++ options.
18002 if test -n "$enable_cxx_flags"; then
18003 for f in $enable_cxx_flags; do
18004 case "$f" in
18005 -fhonor-std) ;;
18006 -*) ;;
18007 *) # and we're trying to pass /what/ exactly?
18008 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18009 esac
18010 done
18011 fi
18012
18013 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18015 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18016
18017
18018
18019 # Check whether --enable-fully-dynamic-string was given.
18020 if test "${enable_fully_dynamic_string+set}" = set; then :
18021 enableval=$enable_fully_dynamic_string;
18022 case "$enableval" in
18023 yes|no) ;;
18024 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18025 esac
18026
18027 else
18028 enable_fully_dynamic_string=no
18029 fi
18030
18031
18032 if test $enable_fully_dynamic_string = yes; then
18033 enable_fully_dynamic_string_def=1
18034 else
18035 enable_fully_dynamic_string_def=0
18036 fi
18037
18038 cat >>confdefs.h <<_ACEOF
18039 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18040 _ACEOF
18041
18042
18043
18044
18045 # Check whether --enable-extern-template was given.
18046 if test "${enable_extern_template+set}" = set; then :
18047 enableval=$enable_extern_template;
18048 case "$enableval" in
18049 yes|no) ;;
18050 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18051 esac
18052
18053 else
18054 enable_extern_template=yes
18055 fi
18056
18057
18058
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18060 $as_echo_n "checking for extern template support... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18062 $as_echo "$enable_extern_template" >&6; }
18063
18064
18065
18066
18067
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18069 $as_echo_n "checking for custom python install directory... " >&6; }
18070
18071 # Check whether --with-python-dir was given.
18072 if test "${with_python_dir+set}" = set; then :
18073 withval=$with_python_dir; with_python_dir=$withval
18074 else
18075 with_python_dir="no"
18076 fi
18077
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18079 $as_echo "${with_python_dir}" >&6; }
18080
18081 # Needed for installing Python modules during make install.
18082 python_mod_dir="${with_python_dir}"
18083
18084
18085
18086
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18088 $as_echo_n "checking for -Werror... " >&6; }
18089 # Check whether --enable-werror was given.
18090 if test "${enable_werror+set}" = set; then :
18091 enableval=$enable_werror;
18092 case "$enableval" in
18093 yes|no) ;;
18094 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18095 esac
18096
18097 else
18098 enable_werror=no
18099 fi
18100
18101
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18103 $as_echo "$enable_werror" >&6; }
18104
18105
18106
18107
18108 # Check whether --enable-vtable-verify was given.
18109 if test "${enable_vtable_verify+set}" = set; then :
18110 enableval=$enable_vtable_verify;
18111 case "$enableval" in
18112 yes|no) ;;
18113 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18114 esac
18115
18116 else
18117 enable_vtable_verify=no
18118 fi
18119
18120
18121
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18123 $as_echo_n "checking for vtable verify support... " >&6; }
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18125 $as_echo "$enable_vtable_verify" >&6; }
18126
18127 vtv_cygmin=no
18128 if test $enable_vtable_verify = yes; then
18129 case ${target_os} in
18130 cygwin*|mingw32*)
18131 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18132 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18133 vtv_cygmin=yes
18134 ;;
18135 darwin*)
18136 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18137 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18138 ;;
18139 solaris2*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18142 ;;
18143 *)
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18146 ;;
18147 esac
18148 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18149 else
18150 VTV_CXXFLAGS=
18151 VTV_PCH_CXXFLAGS=
18152 VTV_CXXLINKFLAGS=
18153 fi
18154
18155
18156
18157
18158 if test x$vtv_cygmin = xyes; then
18159 VTV_CYGMIN_TRUE=
18160 VTV_CYGMIN_FALSE='#'
18161 else
18162 VTV_CYGMIN_TRUE='#'
18163 VTV_CYGMIN_FALSE=
18164 fi
18165
18166
18167
18168
18169 # Checks for operating systems support that doesn't require linking.
18170
18171
18172
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18178
18179 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18180 # and we don't need a declaration for C++14 anyway.
18181 ac_save_CXXFLAGS="$CXXFLAGS"
18182 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18183
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18185 $as_echo_n "checking for gets declaration... " >&6; }
18186 if test "${glibcxx_cv_gets+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18189
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #include <stdio.h>
18193 namespace test
18194 {
18195 using ::gets;
18196 }
18197
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_gets=yes
18201 else
18202 glibcxx_cv_gets=no
18203
18204 fi
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 fi
18207
18208
18209 if test $glibcxx_cv_gets = yes; then
18210
18211 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18212
18213 fi
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18215 $as_echo "$glibcxx_cv_gets" >&6; }
18216
18217 CXXFLAGS="$ac_save_CXXFLAGS"
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18223
18224
18225
18226
18227
18228 ac_ext=cpp
18229 ac_cpp='$CXXCPP $CPPFLAGS'
18230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18233
18234 ac_save_CXXFLAGS="$CXXFLAGS"
18235 CXXFLAGS="$CXXFLAGS -std=c++11"
18236
18237 case "$host" in
18238 *-*-solaris2.*)
18239 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18240 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18242 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18243 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18244 $as_echo_n "(cached) " >&6
18245 else
18246
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <math.h>
18250 #undef isfinite
18251 namespace std {
18252 inline bool isfinite(float __x)
18253 { return __builtin_isfinite(__x); }
18254 }
18255
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_math11_fp_overload=no
18259 else
18260 glibcxx_cv_math11_fp_overload=yes
18261
18262 fi
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264 fi
18265
18266
18267 # autoheader cannot handle indented templates.
18268
18269
18270 if test $glibcxx_cv_math11_fp_overload = yes; then
18271 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18272
18273 fi
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18275 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18276
18277 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18278 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18280 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18281 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18284
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <math.h>
18288 namespace std {
18289 template<typename _Tp>
18290 struct __is_integer;
18291 template<>
18292 struct __is_integer<int>
18293 {
18294 enum { __value = 1 };
18295 };
18296 }
18297 namespace __gnu_cxx {
18298 template<bool, typename>
18299 struct __enable_if;
18300 template<typename _Tp>
18301 struct __enable_if<true, _Tp>
18302 { typedef _Tp __type; };
18303 }
18304 namespace std {
18305 template<typename _Tp>
18306 constexpr typename __gnu_cxx::__enable_if
18307 <__is_integer<_Tp>::__value, double>::__type
18308 log2(_Tp __x)
18309 { return __builtin_log2(__x); }
18310 }
18311 int
18312 main (void)
18313 {
18314 int i = 1000;
18315 return std::log2(i);
18316 }
18317
18318 _ACEOF
18319 if ac_fn_cxx_try_compile "$LINENO"; then :
18320 glibcxx_cv_math11_int_overload=no
18321 else
18322 glibcxx_cv_math11_int_overload=yes
18323
18324 fi
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 fi
18327
18328
18329 # autoheader cannot handle indented templates.
18330
18331
18332 if test $glibcxx_cv_math11_int_overload = yes; then
18333 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18334
18335 fi
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18337 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18338 ;;
18339 *)
18340 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18341 # functions (instead of or as well as the C99 generic macros) then we
18342 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18343 # and must use the ones from <math.h> instead.
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18345 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18346 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18347 $as_echo_n "(cached) " >&6
18348 else
18349
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18353 #include <math.h>
18354 #undef isinf
18355 namespace std {
18356 using ::isinf;
18357 bool isinf(float);
18358 bool isinf(long double);
18359 }
18360 using std::isinf;
18361 bool b = isinf(0.0);
18362
18363 _ACEOF
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 glibcxx_cv_obsolete_isinf=yes
18366 else
18367 glibcxx_cv_obsolete_isinf=no
18368
18369 fi
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 fi
18372
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18374 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18375 if test $glibcxx_cv_obsolete_isinf = yes; then
18376
18377 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18378
18379 fi
18380
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18382 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18383 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18384 $as_echo_n "(cached) " >&6
18385 else
18386
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18390 #include <math.h>
18391 #undef isnan
18392 namespace std {
18393 using ::isnan;
18394 bool isnan(float);
18395 bool isnan(long double);
18396 }
18397 using std::isnan;
18398 bool b = isnan(0.0);
18399
18400 _ACEOF
18401 if ac_fn_cxx_try_compile "$LINENO"; then :
18402 glibcxx_cv_obsolete_isnan=yes
18403 else
18404 glibcxx_cv_obsolete_isnan=no
18405
18406 fi
18407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18408 fi
18409
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18411 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18412 if test $glibcxx_cv_obsolete_isnan = yes; then
18413
18414 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18415
18416 fi
18417 ;;
18418 esac
18419
18420 CXXFLAGS="$ac_save_CXXFLAGS"
18421 ac_ext=c
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18426
18427
18428
18429
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18431 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18432 if test "${glibcxx_cv_system_error1+set}" = set; then :
18433 $as_echo_n "(cached) " >&6
18434 else
18435
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 #include <errno.h>
18439 int
18440 main ()
18441 {
18442 int i = EOWNERDEAD;
18443 ;
18444 return 0;
18445 }
18446 _ACEOF
18447 if ac_fn_c_try_compile "$LINENO"; then :
18448 glibcxx_cv_system_error1=yes
18449 else
18450 glibcxx_cv_system_error1=no
18451 fi
18452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453
18454 fi
18455
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18457 $as_echo "$glibcxx_cv_system_error1" >&6; }
18458 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18459
18460 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18461
18462 fi
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18464 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18465 if test "${glibcxx_cv_system_error2+set}" = set; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18468
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18471 #include <errno.h>
18472 int
18473 main ()
18474 {
18475 int i = ENOTRECOVERABLE;
18476 ;
18477 return 0;
18478 }
18479 _ACEOF
18480 if ac_fn_c_try_compile "$LINENO"; then :
18481 glibcxx_cv_system_error2=yes
18482 else
18483 glibcxx_cv_system_error2=no
18484 fi
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486
18487 fi
18488
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18490 $as_echo "$glibcxx_cv_system_error2" >&6; }
18491 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18492
18493 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18494
18495 fi
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18497 $as_echo_n "checking for ENOLINK... " >&6; }
18498 if test "${glibcxx_cv_system_error3+set}" = set; then :
18499 $as_echo_n "(cached) " >&6
18500 else
18501
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18504 #include <errno.h>
18505 int
18506 main ()
18507 {
18508 int i = ENOLINK;
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 if ac_fn_c_try_compile "$LINENO"; then :
18514 glibcxx_cv_system_error3=yes
18515 else
18516 glibcxx_cv_system_error3=no
18517 fi
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18519
18520 fi
18521
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18523 $as_echo "$glibcxx_cv_system_error3" >&6; }
18524 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18525
18526 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18527
18528 fi
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18530 $as_echo_n "checking for EPROTO... " >&6; }
18531 if test "${glibcxx_cv_system_error4+set}" = set; then :
18532 $as_echo_n "(cached) " >&6
18533 else
18534
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #include <errno.h>
18538 int
18539 main ()
18540 {
18541 int i = EPROTO;
18542 ;
18543 return 0;
18544 }
18545 _ACEOF
18546 if ac_fn_c_try_compile "$LINENO"; then :
18547 glibcxx_cv_system_error4=yes
18548 else
18549 glibcxx_cv_system_error4=no
18550 fi
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552
18553 fi
18554
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18556 $as_echo "$glibcxx_cv_system_error4" >&6; }
18557 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18558
18559 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18560
18561 fi
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18563 $as_echo_n "checking for ENODATA... " >&6; }
18564 if test "${glibcxx_cv_system_error5+set}" = set; then :
18565 $as_echo_n "(cached) " >&6
18566 else
18567
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 #include <errno.h>
18571 int
18572 main ()
18573 {
18574 int i = ENODATA;
18575 ;
18576 return 0;
18577 }
18578 _ACEOF
18579 if ac_fn_c_try_compile "$LINENO"; then :
18580 glibcxx_cv_system_error5=yes
18581 else
18582 glibcxx_cv_system_error5=no
18583 fi
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585
18586 fi
18587
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18589 $as_echo "$glibcxx_cv_system_error5" >&6; }
18590 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18591
18592 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18593
18594 fi
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18596 $as_echo_n "checking for ENOSR... " >&6; }
18597 if test "${glibcxx_cv_system_error6+set}" = set; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18600
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h. */
18603 #include <errno.h>
18604 int
18605 main ()
18606 {
18607 int i = ENOSR;
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 if ac_fn_c_try_compile "$LINENO"; then :
18613 glibcxx_cv_system_error6=yes
18614 else
18615 glibcxx_cv_system_error6=no
18616 fi
18617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18618
18619 fi
18620
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18622 $as_echo "$glibcxx_cv_system_error6" >&6; }
18623 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18624
18625 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18626
18627 fi
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18629 $as_echo_n "checking for ENOSTR... " >&6; }
18630 if test "${glibcxx_cv_system_error7+set}" = set; then :
18631 $as_echo_n "(cached) " >&6
18632 else
18633
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 #include <errno.h>
18637 int
18638 main ()
18639 {
18640 int i = ENOSTR;
18641 ;
18642 return 0;
18643 }
18644 _ACEOF
18645 if ac_fn_c_try_compile "$LINENO"; then :
18646 glibcxx_cv_system_error7=yes
18647 else
18648 glibcxx_cv_system_error7=no
18649 fi
18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18651
18652 fi
18653
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18655 $as_echo "$glibcxx_cv_system_error7" >&6; }
18656 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18657
18658 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18659
18660 fi
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18662 $as_echo_n "checking for ETIME... " >&6; }
18663 if test "${glibcxx_cv_system_error8+set}" = set; then :
18664 $as_echo_n "(cached) " >&6
18665 else
18666
18667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 #include <errno.h>
18670 int
18671 main ()
18672 {
18673 int i = ETIME;
18674 ;
18675 return 0;
18676 }
18677 _ACEOF
18678 if ac_fn_c_try_compile "$LINENO"; then :
18679 glibcxx_cv_system_error8=yes
18680 else
18681 glibcxx_cv_system_error8=no
18682 fi
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684
18685 fi
18686
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18688 $as_echo "$glibcxx_cv_system_error8" >&6; }
18689 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18690
18691 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18692
18693 fi
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18695 $as_echo_n "checking for EBADMSG... " >&6; }
18696 if test "${glibcxx_cv_system_error9+set}" = set; then :
18697 $as_echo_n "(cached) " >&6
18698 else
18699
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 #include <errno.h>
18703 int
18704 main ()
18705 {
18706 int i = EBADMSG;
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 if ac_fn_c_try_compile "$LINENO"; then :
18712 glibcxx_cv_system_error9=yes
18713 else
18714 glibcxx_cv_system_error9=no
18715 fi
18716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717
18718 fi
18719
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18721 $as_echo "$glibcxx_cv_system_error9" >&6; }
18722 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18723
18724 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18725
18726 fi
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18728 $as_echo_n "checking for ECANCELED... " >&6; }
18729 if test "${glibcxx_cv_system_error10+set}" = set; then :
18730 $as_echo_n "(cached) " >&6
18731 else
18732
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 #include <errno.h>
18736 int
18737 main ()
18738 {
18739 int i = ECANCELED;
18740 ;
18741 return 0;
18742 }
18743 _ACEOF
18744 if ac_fn_c_try_compile "$LINENO"; then :
18745 glibcxx_cv_system_error10=yes
18746 else
18747 glibcxx_cv_system_error10=no
18748 fi
18749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750
18751 fi
18752
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18754 $as_echo "$glibcxx_cv_system_error10" >&6; }
18755 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18756
18757 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18758
18759 fi
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18761 $as_echo_n "checking for EOVERFLOW... " >&6; }
18762 if test "${glibcxx_cv_system_error11+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18765
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18768 #include <errno.h>
18769 int
18770 main ()
18771 {
18772 int i = EOVERFLOW;
18773 ;
18774 return 0;
18775 }
18776 _ACEOF
18777 if ac_fn_c_try_compile "$LINENO"; then :
18778 glibcxx_cv_system_error11=yes
18779 else
18780 glibcxx_cv_system_error11=no
18781 fi
18782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18783
18784 fi
18785
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18787 $as_echo "$glibcxx_cv_system_error11" >&6; }
18788 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18789
18790 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18791
18792 fi
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18794 $as_echo_n "checking for ENOTSUP... " >&6; }
18795 if test "${glibcxx_cv_system_error12+set}" = set; then :
18796 $as_echo_n "(cached) " >&6
18797 else
18798
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 #include <errno.h>
18802 int
18803 main ()
18804 {
18805 int i = ENOTSUP;
18806 ;
18807 return 0;
18808 }
18809 _ACEOF
18810 if ac_fn_c_try_compile "$LINENO"; then :
18811 glibcxx_cv_system_error12=yes
18812 else
18813 glibcxx_cv_system_error12=no
18814 fi
18815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816
18817 fi
18818
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18820 $as_echo "$glibcxx_cv_system_error12" >&6; }
18821 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18822
18823 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18824
18825 fi
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18827 $as_echo_n "checking for EIDRM... " >&6; }
18828 if test "${glibcxx_cv_system_error13+set}" = set; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18831
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #include <errno.h>
18835 int
18836 main ()
18837 {
18838 int i = EIDRM;
18839 ;
18840 return 0;
18841 }
18842 _ACEOF
18843 if ac_fn_c_try_compile "$LINENO"; then :
18844 glibcxx_cv_system_error13=yes
18845 else
18846 glibcxx_cv_system_error13=no
18847 fi
18848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18849
18850 fi
18851
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18853 $as_echo "$glibcxx_cv_system_error13" >&6; }
18854 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18855
18856 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18857
18858 fi
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18860 $as_echo_n "checking for ETXTBSY... " >&6; }
18861 if test "${glibcxx_cv_system_error14+set}" = set; then :
18862 $as_echo_n "(cached) " >&6
18863 else
18864
18865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 #include <errno.h>
18868 int
18869 main ()
18870 {
18871 int i = ETXTBSY;
18872 ;
18873 return 0;
18874 }
18875 _ACEOF
18876 if ac_fn_c_try_compile "$LINENO"; then :
18877 glibcxx_cv_system_error14=yes
18878 else
18879 glibcxx_cv_system_error14=no
18880 fi
18881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18882
18883 fi
18884
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18886 $as_echo "$glibcxx_cv_system_error14" >&6; }
18887 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18888
18889 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18890
18891 fi
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18893 $as_echo_n "checking for ECHILD... " >&6; }
18894 if test "${glibcxx_cv_system_error15+set}" = set; then :
18895 $as_echo_n "(cached) " >&6
18896 else
18897
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 #include <errno.h>
18901 int
18902 main ()
18903 {
18904 int i = ECHILD;
18905 ;
18906 return 0;
18907 }
18908 _ACEOF
18909 if ac_fn_c_try_compile "$LINENO"; then :
18910 glibcxx_cv_system_error15=yes
18911 else
18912 glibcxx_cv_system_error15=no
18913 fi
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915
18916 fi
18917
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18919 $as_echo "$glibcxx_cv_system_error15" >&6; }
18920 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18921
18922 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18923
18924 fi
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18926 $as_echo_n "checking for ENOSPC... " >&6; }
18927 if test "${glibcxx_cv_system_error16+set}" = set; then :
18928 $as_echo_n "(cached) " >&6
18929 else
18930
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h. */
18933 #include <errno.h>
18934 int
18935 main ()
18936 {
18937 int i = ENOSPC;
18938 ;
18939 return 0;
18940 }
18941 _ACEOF
18942 if ac_fn_c_try_compile "$LINENO"; then :
18943 glibcxx_cv_system_error16=yes
18944 else
18945 glibcxx_cv_system_error16=no
18946 fi
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18948
18949 fi
18950
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18952 $as_echo "$glibcxx_cv_system_error16" >&6; }
18953 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18954
18955 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18956
18957 fi
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18959 $as_echo_n "checking for EPERM... " >&6; }
18960 if test "${glibcxx_cv_system_error17+set}" = set; then :
18961 $as_echo_n "(cached) " >&6
18962 else
18963
18964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18965 /* end confdefs.h. */
18966 #include <errno.h>
18967 int
18968 main ()
18969 {
18970 int i = EPERM;
18971 ;
18972 return 0;
18973 }
18974 _ACEOF
18975 if ac_fn_c_try_compile "$LINENO"; then :
18976 glibcxx_cv_system_error17=yes
18977 else
18978 glibcxx_cv_system_error17=no
18979 fi
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981
18982 fi
18983
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18985 $as_echo "$glibcxx_cv_system_error17" >&6; }
18986 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18987
18988 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18989
18990 fi
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18992 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18993 if test "${glibcxx_cv_system_error18+set}" = set; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18996
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
18999 #include <errno.h>
19000 int
19001 main ()
19002 {
19003 int i = ETIMEDOUT;
19004 ;
19005 return 0;
19006 }
19007 _ACEOF
19008 if ac_fn_c_try_compile "$LINENO"; then :
19009 glibcxx_cv_system_error18=yes
19010 else
19011 glibcxx_cv_system_error18=no
19012 fi
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014
19015 fi
19016
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19018 $as_echo "$glibcxx_cv_system_error18" >&6; }
19019 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19020
19021 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19022
19023 fi
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19025 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19026 if test "${glibcxx_cv_system_error19+set}" = set; then :
19027 $as_echo_n "(cached) " >&6
19028 else
19029
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 #include <errno.h>
19033 int
19034 main ()
19035 {
19036 int i = EWOULDBLOCK;
19037 ;
19038 return 0;
19039 }
19040 _ACEOF
19041 if ac_fn_c_try_compile "$LINENO"; then :
19042 glibcxx_cv_system_error19=yes
19043 else
19044 glibcxx_cv_system_error19=no
19045 fi
19046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19047
19048 fi
19049
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19051 $as_echo "$glibcxx_cv_system_error19" >&6; }
19052 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19053
19054 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19055
19056 fi
19057
19058
19059
19060
19061 # Test uchar.h.
19062 for ac_header in uchar.h
19063 do :
19064 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19065 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_UCHAR_H 1
19068 _ACEOF
19069 ac_has_uchar_h=yes
19070 else
19071 ac_has_uchar_h=no
19072 fi
19073
19074 done
19075
19076
19077
19078 ac_ext=cpp
19079 ac_cpp='$CXXCPP $CPPFLAGS'
19080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19083
19084 ac_save_CXXFLAGS="$CXXFLAGS"
19085 CXXFLAGS="$CXXFLAGS -std=c++11"
19086
19087 if test x"$ac_has_uchar_h" = x"yes"; then
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19089 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19091 /* end confdefs.h. */
19092 #include <uchar.h>
19093 #ifdef __STDC_UTF_16__
19094 long i = __STDC_UTF_16__;
19095 #endif
19096 #ifdef __STDC_UTF_32__
19097 long j = __STDC_UTF_32__;
19098 #endif
19099 namespace test
19100 {
19101 using ::c16rtomb;
19102 using ::c32rtomb;
19103 using ::mbrtoc16;
19104 using ::mbrtoc32;
19105 }
19106
19107 int
19108 main ()
19109 {
19110
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 if ac_fn_cxx_try_compile "$LINENO"; then :
19116 ac_c11_uchar_cxx11=yes
19117 else
19118 ac_c11_uchar_cxx11=no
19119 fi
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19121 else
19122 ac_c11_uchar_cxx11=no
19123 fi
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19125 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19126 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19127
19128 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19129
19130 fi
19131
19132 CXXFLAGS="$ac_save_CXXFLAGS"
19133 ac_ext=c
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19138
19139
19140
19141 # For the streamoff typedef.
19142
19143
19144
19145 ac_ext=cpp
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19150
19151
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19153 $as_echo_n "checking for int64_t... " >&6; }
19154 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19155 $as_echo_n "(cached) " >&6
19156 else
19157
19158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19160 #include <stdint.h>
19161 int
19162 main ()
19163 {
19164 int64_t var;
19165 ;
19166 return 0;
19167 }
19168 _ACEOF
19169 if ac_fn_cxx_try_compile "$LINENO"; then :
19170 glibcxx_cv_INT64_T=yes
19171 else
19172 glibcxx_cv_INT64_T=no
19173 fi
19174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19175
19176 fi
19177
19178
19179 if test $glibcxx_cv_INT64_T = yes; then
19180
19181 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19182
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19184 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19185
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19187 $as_echo_n "checking for int64_t as long... " >&6; }
19188 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19191
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19194 #include <stdint.h>
19195 template<typename, typename> struct same { enum { value = -1 }; };
19196 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19197 int array[same<int64_t, long>::value];
19198 int
19199 main ()
19200 {
19201
19202 ;
19203 return 0;
19204 }
19205 _ACEOF
19206 if ac_fn_cxx_try_compile "$LINENO"; then :
19207 glibcxx_cv_int64_t_long=yes
19208 else
19209 glibcxx_cv_int64_t_long=no
19210 fi
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19212
19213 fi
19214
19215
19216 if test $glibcxx_cv_int64_t_long = yes; then
19217
19218 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19219
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19221 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19222 fi
19223
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19225 $as_echo_n "checking for int64_t as long long... " >&6; }
19226 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19227 $as_echo_n "(cached) " >&6
19228 else
19229
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <stdint.h>
19233 template<typename, typename> struct same { enum { value = -1 }; };
19234 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19235 int array[same<int64_t, long long>::value];
19236 int
19237 main ()
19238 {
19239
19240 ;
19241 return 0;
19242 }
19243 _ACEOF
19244 if ac_fn_cxx_try_compile "$LINENO"; then :
19245 glibcxx_cv_int64_t_long_long=yes
19246 else
19247 glibcxx_cv_int64_t_long_long=no
19248 fi
19249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19250
19251 fi
19252
19253
19254 if test $glibcxx_cv_int64_t_long_long = yes; then
19255
19256 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19257
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19259 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19260 fi
19261 fi
19262
19263 ac_ext=c
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19268
19269
19270
19271 # For LFS support.
19272
19273
19274 ac_ext=cpp
19275 ac_cpp='$CXXCPP $CPPFLAGS'
19276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19279
19280 ac_save_CXXFLAGS="$CXXFLAGS"
19281 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19283 $as_echo_n "checking for LFS support... " >&6; }
19284 if test "${glibcxx_cv_LFS+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19287
19288 if test x$gcc_no_link = xyes; then
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 #include <unistd.h>
19292 #include <stdio.h>
19293 #include <sys/stat.h>
19294
19295 int
19296 main ()
19297 {
19298 FILE* fp;
19299 fopen64("t", "w");
19300 fseeko64(fp, 0, SEEK_CUR);
19301 ftello64(fp);
19302 lseek64(1, 0, SEEK_CUR);
19303 struct stat64 buf;
19304 fstat64(1, &buf);
19305 ;
19306 return 0;
19307 }
19308 _ACEOF
19309 if ac_fn_cxx_try_compile "$LINENO"; then :
19310 glibcxx_cv_LFS=yes
19311 else
19312 glibcxx_cv_LFS=no
19313 fi
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315 else
19316 if test x$gcc_no_link = xyes; then
19317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19318 fi
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 #include <unistd.h>
19322 #include <stdio.h>
19323 #include <sys/stat.h>
19324
19325 int
19326 main ()
19327 {
19328 FILE* fp;
19329 fopen64("t", "w");
19330 fseeko64(fp, 0, SEEK_CUR);
19331 ftello64(fp);
19332 lseek64(1, 0, SEEK_CUR);
19333 struct stat64 buf;
19334 fstat64(1, &buf);
19335 ;
19336 return 0;
19337 }
19338 _ACEOF
19339 if ac_fn_cxx_try_link "$LINENO"; then :
19340 glibcxx_cv_LFS=yes
19341 else
19342 glibcxx_cv_LFS=no
19343 fi
19344 rm -f core conftest.err conftest.$ac_objext \
19345 conftest$ac_exeext conftest.$ac_ext
19346 fi
19347
19348 fi
19349
19350 if test $glibcxx_cv_LFS = yes; then
19351
19352 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19353
19354 fi
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19356 $as_echo "$glibcxx_cv_LFS" >&6; }
19357 CXXFLAGS="$ac_save_CXXFLAGS"
19358 ac_ext=c
19359 ac_cpp='$CPP $CPPFLAGS'
19360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19363
19364
19365
19366 # For showmanyc_helper().
19367 for ac_header in sys/ioctl.h sys/filio.h
19368 do :
19369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19370 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19371 eval as_val=\$$as_ac_Header
19372 if test "x$as_val" = x""yes; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19375 _ACEOF
19376
19377 fi
19378
19379 done
19380
19381
19382
19383
19384 ac_ext=cpp
19385 ac_cpp='$CXXCPP $CPPFLAGS'
19386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19389
19390 ac_save_CXXFLAGS="$CXXFLAGS"
19391 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19392
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19394 $as_echo_n "checking for poll... " >&6; }
19395 if test "${glibcxx_cv_POLL+set}" = set; then :
19396 $as_echo_n "(cached) " >&6
19397 else
19398
19399 if test x$gcc_no_link = xyes; then
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 #include <poll.h>
19403 int
19404 main ()
19405 {
19406 struct pollfd pfd[1];
19407 pfd[0].events = POLLIN;
19408 poll(pfd, 1, 0);
19409 ;
19410 return 0;
19411 }
19412 _ACEOF
19413 if ac_fn_cxx_try_compile "$LINENO"; then :
19414 glibcxx_cv_POLL=yes
19415 else
19416 glibcxx_cv_POLL=no
19417 fi
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 else
19420 if test x$gcc_no_link = xyes; then
19421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19422 fi
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19425 #include <poll.h>
19426 int
19427 main ()
19428 {
19429 struct pollfd pfd[1];
19430 pfd[0].events = POLLIN;
19431 poll(pfd, 1, 0);
19432 ;
19433 return 0;
19434 }
19435 _ACEOF
19436 if ac_fn_cxx_try_link "$LINENO"; then :
19437 glibcxx_cv_POLL=yes
19438 else
19439 glibcxx_cv_POLL=no
19440 fi
19441 rm -f core conftest.err conftest.$ac_objext \
19442 conftest$ac_exeext conftest.$ac_ext
19443 fi
19444
19445 fi
19446
19447 if test $glibcxx_cv_POLL = yes; then
19448
19449 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19450
19451 fi
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19453 $as_echo "$glibcxx_cv_POLL" >&6; }
19454
19455 CXXFLAGS="$ac_save_CXXFLAGS"
19456 ac_ext=c
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19461
19462
19463
19464
19465
19466 ac_ext=cpp
19467 ac_cpp='$CXXCPP $CPPFLAGS'
19468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19471
19472 ac_save_CXXFLAGS="$CXXFLAGS"
19473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19474
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19476 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19477 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19480
19481 if test x$gcc_no_link = xyes; then
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484 #include <sys/stat.h>
19485 int
19486 main ()
19487 {
19488 struct stat buffer;
19489 fstat(0, &buffer);
19490 S_ISREG(buffer.st_mode);
19491 ;
19492 return 0;
19493 }
19494 _ACEOF
19495 if ac_fn_cxx_try_compile "$LINENO"; then :
19496 glibcxx_cv_S_ISREG=yes
19497 else
19498 glibcxx_cv_S_ISREG=no
19499 fi
19500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 else
19502 if test x$gcc_no_link = xyes; then
19503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19504 fi
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sys/stat.h>
19508 int
19509 main ()
19510 {
19511 struct stat buffer;
19512 fstat(0, &buffer);
19513 S_ISREG(buffer.st_mode);
19514 ;
19515 return 0;
19516 }
19517 _ACEOF
19518 if ac_fn_cxx_try_link "$LINENO"; then :
19519 glibcxx_cv_S_ISREG=yes
19520 else
19521 glibcxx_cv_S_ISREG=no
19522 fi
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19525 fi
19526
19527 fi
19528
19529 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19530 $as_echo_n "(cached) " >&6
19531 else
19532
19533 if test x$gcc_no_link = xyes; then
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 #include <sys/stat.h>
19537 int
19538 main ()
19539 {
19540 struct stat buffer;
19541 fstat(0, &buffer);
19542 S_IFREG & buffer.st_mode;
19543 ;
19544 return 0;
19545 }
19546 _ACEOF
19547 if ac_fn_cxx_try_compile "$LINENO"; then :
19548 glibcxx_cv_S_IFREG=yes
19549 else
19550 glibcxx_cv_S_IFREG=no
19551 fi
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 else
19554 if test x$gcc_no_link = xyes; then
19555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 fi
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 #include <sys/stat.h>
19560 int
19561 main ()
19562 {
19563 struct stat buffer;
19564 fstat(0, &buffer);
19565 S_IFREG & buffer.st_mode;
19566 ;
19567 return 0;
19568 }
19569 _ACEOF
19570 if ac_fn_cxx_try_link "$LINENO"; then :
19571 glibcxx_cv_S_IFREG=yes
19572 else
19573 glibcxx_cv_S_IFREG=no
19574 fi
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19577 fi
19578
19579 fi
19580
19581 res=no
19582 if test $glibcxx_cv_S_ISREG = yes; then
19583
19584 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19585
19586 res=S_ISREG
19587 elif test $glibcxx_cv_S_IFREG = yes; then
19588
19589 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19590
19591 res=S_IFREG
19592 fi
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19594 $as_echo "$res" >&6; }
19595
19596 CXXFLAGS="$ac_save_CXXFLAGS"
19597 ac_ext=c
19598 ac_cpp='$CPP $CPPFLAGS'
19599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19602
19603
19604
19605 # For xsputn_2().
19606 for ac_header in sys/uio.h
19607 do :
19608 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19609 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19610 cat >>confdefs.h <<_ACEOF
19611 #define HAVE_SYS_UIO_H 1
19612 _ACEOF
19613
19614 fi
19615
19616 done
19617
19618
19619
19620
19621 ac_ext=cpp
19622 ac_cpp='$CXXCPP $CPPFLAGS'
19623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19626
19627 ac_save_CXXFLAGS="$CXXFLAGS"
19628 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19629
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19631 $as_echo_n "checking for writev... " >&6; }
19632 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19633 $as_echo_n "(cached) " >&6
19634 else
19635
19636 if test x$gcc_no_link = xyes; then
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 #include <sys/uio.h>
19640 int
19641 main ()
19642 {
19643 struct iovec iov[2];
19644 writev(0, iov, 0);
19645 ;
19646 return 0;
19647 }
19648 _ACEOF
19649 if ac_fn_cxx_try_compile "$LINENO"; then :
19650 glibcxx_cv_WRITEV=yes
19651 else
19652 glibcxx_cv_WRITEV=no
19653 fi
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19655 else
19656 if test x$gcc_no_link = xyes; then
19657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 fi
19659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19660 /* end confdefs.h. */
19661 #include <sys/uio.h>
19662 int
19663 main ()
19664 {
19665 struct iovec iov[2];
19666 writev(0, iov, 0);
19667 ;
19668 return 0;
19669 }
19670 _ACEOF
19671 if ac_fn_cxx_try_link "$LINENO"; then :
19672 glibcxx_cv_WRITEV=yes
19673 else
19674 glibcxx_cv_WRITEV=no
19675 fi
19676 rm -f core conftest.err conftest.$ac_objext \
19677 conftest$ac_exeext conftest.$ac_ext
19678 fi
19679
19680 fi
19681
19682 if test $glibcxx_cv_WRITEV = yes; then
19683
19684 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19685
19686 fi
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19688 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19689
19690 CXXFLAGS="$ac_save_CXXFLAGS"
19691 ac_ext=c
19692 ac_cpp='$CPP $CPPFLAGS'
19693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19696
19697
19698
19699 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19700 # so that the check is done with the C compiler (not C++).
19701 # Checking with C++ can break a canadian cross build if either
19702 # file does not exist in C but does in C++.
19703 for ac_header in fenv.h complex.h
19704 do :
19705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19706 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19707 eval as_val=\$$as_ac_Header
19708 if test "x$as_val" = x""yes; then :
19709 cat >>confdefs.h <<_ACEOF
19710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19711 _ACEOF
19712
19713 fi
19714
19715 done
19716
19717
19718 # For C99 support to TR1.
19719
19720
19721
19722 ac_ext=cpp
19723 ac_cpp='$CXXCPP $CPPFLAGS'
19724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19727
19728
19729 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19730 # undefined and fake C99 facilities may be spuriously enabled.
19731 ac_save_CXXFLAGS="$CXXFLAGS"
19732 CXXFLAGS="$CXXFLAGS -std=c++98"
19733
19734 # Check for the existence of <complex.h> complex math functions used
19735 # by tr1/complex.
19736 for ac_header in complex.h
19737 do :
19738 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19739 if test "x$ac_cv_header_complex_h" = x""yes; then :
19740 cat >>confdefs.h <<_ACEOF
19741 #define HAVE_COMPLEX_H 1
19742 _ACEOF
19743 ac_has_complex_h=yes
19744 else
19745 ac_has_complex_h=no
19746 fi
19747
19748 done
19749
19750 ac_c99_complex_tr1=no;
19751 if test x"$ac_has_complex_h" = x"yes"; then
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19753 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 #include <complex.h>
19757 int
19758 main ()
19759 {
19760 typedef __complex__ float float_type; float_type tmpf;
19761 cacosf(tmpf);
19762 casinf(tmpf);
19763 catanf(tmpf);
19764 cacoshf(tmpf);
19765 casinhf(tmpf);
19766 catanhf(tmpf);
19767 typedef __complex__ double double_type; double_type tmpd;
19768 cacos(tmpd);
19769 casin(tmpd);
19770 catan(tmpd);
19771 cacosh(tmpd);
19772 casinh(tmpd);
19773 catanh(tmpd);
19774 typedef __complex__ long double ld_type; ld_type tmpld;
19775 cacosl(tmpld);
19776 casinl(tmpld);
19777 catanl(tmpld);
19778 cacoshl(tmpld);
19779 casinhl(tmpld);
19780 catanhl(tmpld);
19781
19782 ;
19783 return 0;
19784 }
19785 _ACEOF
19786 if ac_fn_cxx_try_compile "$LINENO"; then :
19787 ac_c99_complex_tr1=yes
19788 else
19789 ac_c99_complex_tr1=no
19790 fi
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 fi
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19794 $as_echo "$ac_c99_complex_tr1" >&6; }
19795 if test x"$ac_c99_complex_tr1" = x"yes"; then
19796
19797 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19798
19799 fi
19800
19801 # Check for the existence of <ctype.h> functions.
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19803 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19804 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19805 $as_echo_n "(cached) " >&6
19806 else
19807
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19810 #include <ctype.h>
19811 int
19812 main ()
19813 {
19814 int ch;
19815 int ret;
19816 ret = isblank(ch);
19817
19818 ;
19819 return 0;
19820 }
19821 _ACEOF
19822 if ac_fn_cxx_try_compile "$LINENO"; then :
19823 glibcxx_cv_c99_ctype_tr1=yes
19824 else
19825 glibcxx_cv_c99_ctype_tr1=no
19826 fi
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828
19829 fi
19830
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19832 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19833 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19834
19835 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19836
19837 fi
19838
19839 # Check for the existence of <fenv.h> functions.
19840 for ac_header in fenv.h
19841 do :
19842 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19843 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19844 cat >>confdefs.h <<_ACEOF
19845 #define HAVE_FENV_H 1
19846 _ACEOF
19847 ac_has_fenv_h=yes
19848 else
19849 ac_has_fenv_h=no
19850 fi
19851
19852 done
19853
19854 ac_c99_fenv_tr1=no;
19855 if test x"$ac_has_fenv_h" = x"yes"; then
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19857 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 #include <fenv.h>
19861 int
19862 main ()
19863 {
19864 int except, mode;
19865 fexcept_t* pflag;
19866 fenv_t* penv;
19867 int ret;
19868 ret = feclearexcept(except);
19869 ret = fegetexceptflag(pflag, except);
19870 ret = feraiseexcept(except);
19871 ret = fesetexceptflag(pflag, except);
19872 ret = fetestexcept(except);
19873 ret = fegetround();
19874 ret = fesetround(mode);
19875 ret = fegetenv(penv);
19876 ret = feholdexcept(penv);
19877 ret = fesetenv(penv);
19878 ret = feupdateenv(penv);
19879
19880 ;
19881 return 0;
19882 }
19883 _ACEOF
19884 if ac_fn_cxx_try_compile "$LINENO"; then :
19885 ac_c99_fenv_tr1=yes
19886 else
19887 ac_c99_fenv_tr1=no
19888 fi
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 fi
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19892 $as_echo "$ac_c99_fenv_tr1" >&6; }
19893 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19894
19895 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19896
19897 fi
19898
19899 # Check for the existence of <stdint.h> types.
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19901 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19902 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19903 $as_echo_n "(cached) " >&6
19904 else
19905
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #define __STDC_LIMIT_MACROS
19909 #define __STDC_CONSTANT_MACROS
19910 #include <stdint.h>
19911 int
19912 main ()
19913 {
19914 typedef int8_t my_int8_t;
19915 my_int8_t i8 = INT8_MIN;
19916 i8 = INT8_MAX;
19917 typedef int16_t my_int16_t;
19918 my_int16_t i16 = INT16_MIN;
19919 i16 = INT16_MAX;
19920 typedef int32_t my_int32_t;
19921 my_int32_t i32 = INT32_MIN;
19922 i32 = INT32_MAX;
19923 typedef int64_t my_int64_t;
19924 my_int64_t i64 = INT64_MIN;
19925 i64 = INT64_MAX;
19926 typedef int_fast8_t my_int_fast8_t;
19927 my_int_fast8_t if8 = INT_FAST8_MIN;
19928 if8 = INT_FAST8_MAX;
19929 typedef int_fast16_t my_int_fast16_t;
19930 my_int_fast16_t if16 = INT_FAST16_MIN;
19931 if16 = INT_FAST16_MAX;
19932 typedef int_fast32_t my_int_fast32_t;
19933 my_int_fast32_t if32 = INT_FAST32_MIN;
19934 if32 = INT_FAST32_MAX;
19935 typedef int_fast64_t my_int_fast64_t;
19936 my_int_fast64_t if64 = INT_FAST64_MIN;
19937 if64 = INT_FAST64_MAX;
19938 typedef int_least8_t my_int_least8_t;
19939 my_int_least8_t il8 = INT_LEAST8_MIN;
19940 il8 = INT_LEAST8_MAX;
19941 typedef int_least16_t my_int_least16_t;
19942 my_int_least16_t il16 = INT_LEAST16_MIN;
19943 il16 = INT_LEAST16_MAX;
19944 typedef int_least32_t my_int_least32_t;
19945 my_int_least32_t il32 = INT_LEAST32_MIN;
19946 il32 = INT_LEAST32_MAX;
19947 typedef int_least64_t my_int_least64_t;
19948 my_int_least64_t il64 = INT_LEAST64_MIN;
19949 il64 = INT_LEAST64_MAX;
19950 typedef intmax_t my_intmax_t;
19951 my_intmax_t im = INTMAX_MAX;
19952 im = INTMAX_MIN;
19953 typedef intptr_t my_intptr_t;
19954 my_intptr_t ip = INTPTR_MAX;
19955 ip = INTPTR_MIN;
19956 typedef uint8_t my_uint8_t;
19957 my_uint8_t ui8 = UINT8_MAX;
19958 ui8 = UINT8_MAX;
19959 typedef uint16_t my_uint16_t;
19960 my_uint16_t ui16 = UINT16_MAX;
19961 ui16 = UINT16_MAX;
19962 typedef uint32_t my_uint32_t;
19963 my_uint32_t ui32 = UINT32_MAX;
19964 ui32 = UINT32_MAX;
19965 typedef uint64_t my_uint64_t;
19966 my_uint64_t ui64 = UINT64_MAX;
19967 ui64 = UINT64_MAX;
19968 typedef uint_fast8_t my_uint_fast8_t;
19969 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19970 uif8 = UINT_FAST8_MAX;
19971 typedef uint_fast16_t my_uint_fast16_t;
19972 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19973 uif16 = UINT_FAST16_MAX;
19974 typedef uint_fast32_t my_uint_fast32_t;
19975 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19976 uif32 = UINT_FAST32_MAX;
19977 typedef uint_fast64_t my_uint_fast64_t;
19978 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19979 uif64 = UINT_FAST64_MAX;
19980 typedef uint_least8_t my_uint_least8_t;
19981 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19982 uil8 = UINT_LEAST8_MAX;
19983 typedef uint_least16_t my_uint_least16_t;
19984 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19985 uil16 = UINT_LEAST16_MAX;
19986 typedef uint_least32_t my_uint_least32_t;
19987 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19988 uil32 = UINT_LEAST32_MAX;
19989 typedef uint_least64_t my_uint_least64_t;
19990 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19991 uil64 = UINT_LEAST64_MAX;
19992 typedef uintmax_t my_uintmax_t;
19993 my_uintmax_t uim = UINTMAX_MAX;
19994 uim = UINTMAX_MAX;
19995 typedef uintptr_t my_uintptr_t;
19996 my_uintptr_t uip = UINTPTR_MAX;
19997 uip = UINTPTR_MAX;
19998
19999 ;
20000 return 0;
20001 }
20002 _ACEOF
20003 if ac_fn_cxx_try_compile "$LINENO"; then :
20004 glibcxx_cv_c99_stdint_tr1=yes
20005 else
20006 glibcxx_cv_c99_stdint_tr1=no
20007 fi
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009
20010 fi
20011
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20013 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20014 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20015
20016 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20017
20018 fi
20019
20020 # Check for the existence of <math.h> functions.
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20022 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20023 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20024 $as_echo_n "(cached) " >&6
20025 else
20026
20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20029 #include <math.h>
20030 int
20031 main ()
20032 {
20033 typedef double_t my_double_t;
20034 typedef float_t my_float_t;
20035 acosh(0.0);
20036 acoshf(0.0f);
20037 acoshl(0.0l);
20038 asinh(0.0);
20039 asinhf(0.0f);
20040 asinhl(0.0l);
20041 atanh(0.0);
20042 atanhf(0.0f);
20043 atanhl(0.0l);
20044 cbrt(0.0);
20045 cbrtf(0.0f);
20046 cbrtl(0.0l);
20047 copysign(0.0, 0.0);
20048 copysignf(0.0f, 0.0f);
20049 copysignl(0.0l, 0.0l);
20050 erf(0.0);
20051 erff(0.0f);
20052 erfl(0.0l);
20053 erfc(0.0);
20054 erfcf(0.0f);
20055 erfcl(0.0l);
20056 exp2(0.0);
20057 exp2f(0.0f);
20058 exp2l(0.0l);
20059 expm1(0.0);
20060 expm1f(0.0f);
20061 expm1l(0.0l);
20062 fdim(0.0, 0.0);
20063 fdimf(0.0f, 0.0f);
20064 fdiml(0.0l, 0.0l);
20065 fma(0.0, 0.0, 0.0);
20066 fmaf(0.0f, 0.0f, 0.0f);
20067 fmal(0.0l, 0.0l, 0.0l);
20068 fmax(0.0, 0.0);
20069 fmaxf(0.0f, 0.0f);
20070 fmaxl(0.0l, 0.0l);
20071 fmin(0.0, 0.0);
20072 fminf(0.0f, 0.0f);
20073 fminl(0.0l, 0.0l);
20074 hypot(0.0, 0.0);
20075 hypotf(0.0f, 0.0f);
20076 hypotl(0.0l, 0.0l);
20077 ilogb(0.0);
20078 ilogbf(0.0f);
20079 ilogbl(0.0l);
20080 lgamma(0.0);
20081 lgammaf(0.0f);
20082 lgammal(0.0l);
20083 #ifndef __APPLE__ /* see below */
20084 llrint(0.0);
20085 llrintf(0.0f);
20086 llrintl(0.0l);
20087 llround(0.0);
20088 llroundf(0.0f);
20089 llroundl(0.0l);
20090 #endif
20091 log1p(0.0);
20092 log1pf(0.0f);
20093 log1pl(0.0l);
20094 log2(0.0);
20095 log2f(0.0f);
20096 log2l(0.0l);
20097 logb(0.0);
20098 logbf(0.0f);
20099 logbl(0.0l);
20100 lrint(0.0);
20101 lrintf(0.0f);
20102 lrintl(0.0l);
20103 lround(0.0);
20104 lroundf(0.0f);
20105 lroundl(0.0l);
20106 nan(0);
20107 nanf(0);
20108 nanl(0);
20109 nearbyint(0.0);
20110 nearbyintf(0.0f);
20111 nearbyintl(0.0l);
20112 nextafter(0.0, 0.0);
20113 nextafterf(0.0f, 0.0f);
20114 nextafterl(0.0l, 0.0l);
20115 nexttoward(0.0, 0.0);
20116 nexttowardf(0.0f, 0.0f);
20117 nexttowardl(0.0l, 0.0l);
20118 remainder(0.0, 0.0);
20119 remainderf(0.0f, 0.0f);
20120 remainderl(0.0l, 0.0l);
20121 remquo(0.0, 0.0, 0);
20122 remquof(0.0f, 0.0f, 0);
20123 remquol(0.0l, 0.0l, 0);
20124 rint(0.0);
20125 rintf(0.0f);
20126 rintl(0.0l);
20127 round(0.0);
20128 roundf(0.0f);
20129 roundl(0.0l);
20130 scalbln(0.0, 0l);
20131 scalblnf(0.0f, 0l);
20132 scalblnl(0.0l, 0l);
20133 scalbn(0.0, 0);
20134 scalbnf(0.0f, 0);
20135 scalbnl(0.0l, 0);
20136 tgamma(0.0);
20137 tgammaf(0.0f);
20138 tgammal(0.0l);
20139 trunc(0.0);
20140 truncf(0.0f);
20141 truncl(0.0l);
20142
20143 ;
20144 return 0;
20145 }
20146 _ACEOF
20147 if ac_fn_cxx_try_compile "$LINENO"; then :
20148 glibcxx_cv_c99_math_tr1=yes
20149 else
20150 glibcxx_cv_c99_math_tr1=no
20151 fi
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20153
20154 fi
20155
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20157 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20158 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20159
20160 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20161
20162
20163 case "${target_os}" in
20164 darwin*)
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20166 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20167 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20168 $as_echo_n "(cached) " >&6
20169 else
20170
20171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20172 /* end confdefs.h. */
20173 #include <math.h>
20174 int
20175 main ()
20176 {
20177 llrint(0.0);
20178 llrintf(0.0f);
20179 llrintl(0.0l);
20180 llround(0.0);
20181 llroundf(0.0f);
20182 llroundl(0.0l);
20183
20184 ;
20185 return 0;
20186 }
20187 _ACEOF
20188 if ac_fn_cxx_try_compile "$LINENO"; then :
20189 glibcxx_cv_c99_math_llround=yes
20190 else
20191 glibcxx_cv_c99_math_llround=no
20192 fi
20193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20194
20195 fi
20196
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20198 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20199 ;;
20200 esac
20201 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20202
20203 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20204
20205 fi
20206 fi
20207
20208 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20209 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20210 ac_c99_inttypes_tr1=no;
20211 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20213 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 #include <inttypes.h>
20217 int
20218 main ()
20219 {
20220 intmax_t i, numer, denom, base;
20221 const char* s;
20222 char** endptr;
20223 intmax_t ret = imaxabs(i);
20224 imaxdiv_t dret = imaxdiv(numer, denom);
20225 ret = strtoimax(s, endptr, base);
20226 uintmax_t uret = strtoumax(s, endptr, base);
20227
20228 ;
20229 return 0;
20230 }
20231 _ACEOF
20232 if ac_fn_cxx_try_compile "$LINENO"; then :
20233 ac_c99_inttypes_tr1=yes
20234 else
20235 ac_c99_inttypes_tr1=no
20236 fi
20237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 fi
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20240 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20241 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20242
20243 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20244
20245 fi
20246
20247 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20248 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20249 ac_c99_inttypes_wchar_t_tr1=no;
20250 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20252 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20255 #include <inttypes.h>
20256 int
20257 main ()
20258 {
20259 intmax_t base;
20260 const wchar_t* s;
20261 wchar_t** endptr;
20262 intmax_t ret = wcstoimax(s, endptr, base);
20263 uintmax_t uret = wcstoumax(s, endptr, base);
20264
20265 ;
20266 return 0;
20267 }
20268 _ACEOF
20269 if ac_fn_cxx_try_compile "$LINENO"; then :
20270 ac_c99_inttypes_wchar_t_tr1=yes
20271 else
20272 ac_c99_inttypes_wchar_t_tr1=no
20273 fi
20274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20275 fi
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20277 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20278 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20279
20280 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20281
20282 fi
20283
20284 # Check for the existence of the <stdbool.h> header.
20285 for ac_header in stdbool.h
20286 do :
20287 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20288 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20289 cat >>confdefs.h <<_ACEOF
20290 #define HAVE_STDBOOL_H 1
20291 _ACEOF
20292
20293 fi
20294
20295 done
20296
20297
20298 # Check for the existence of the <stdalign.h> header.
20299 for ac_header in stdalign.h
20300 do :
20301 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20302 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20303 cat >>confdefs.h <<_ACEOF
20304 #define HAVE_STDALIGN_H 1
20305 _ACEOF
20306
20307 fi
20308
20309 done
20310
20311
20312 CXXFLAGS="$ac_save_CXXFLAGS"
20313 ac_ext=c
20314 ac_cpp='$CPP $CPPFLAGS'
20315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20318
20319
20320
20321 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20322
20323
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20325 $as_echo_n "checking for the value of EOF... " >&6; }
20326 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20327 $as_echo_n "(cached) " >&6
20328 else
20329
20330 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20331
20332 else
20333 as_fn_error "computing EOF failed" "$LINENO" 5
20334 fi
20335
20336
20337 fi
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20339 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20340
20341 cat >>confdefs.h <<_ACEOF
20342 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20343 _ACEOF
20344
20345
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20347 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20348 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20349 $as_echo_n "(cached) " >&6
20350 else
20351
20352 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20353
20354 else
20355 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20356 fi
20357
20358
20359 fi
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20361 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20362
20363 cat >>confdefs.h <<_ACEOF
20364 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20365 _ACEOF
20366
20367
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20369 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20370 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20371 $as_echo_n "(cached) " >&6
20372 else
20373
20374 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20375
20376 else
20377 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20378 fi
20379
20380
20381 fi
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20383 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20384
20385 cat >>confdefs.h <<_ACEOF
20386 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20387 _ACEOF
20388
20389
20390
20391 # For gettimeofday support.
20392
20393
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20395 $as_echo_n "checking for gettimeofday... " >&6; }
20396
20397
20398 ac_ext=cpp
20399 ac_cpp='$CXXCPP $CPPFLAGS'
20400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20403
20404 ac_save_CXXFLAGS="$CXXFLAGS"
20405 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20406
20407 ac_has_gettimeofday=no;
20408 for ac_header in sys/time.h
20409 do :
20410 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20411 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20412 cat >>confdefs.h <<_ACEOF
20413 #define HAVE_SYS_TIME_H 1
20414 _ACEOF
20415 ac_has_sys_time_h=yes
20416 else
20417 ac_has_sys_time_h=no
20418 fi
20419
20420 done
20421
20422 if test x"$ac_has_sys_time_h" = x"yes"; then
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20424 $as_echo_n "checking for gettimeofday... " >&6; }
20425 if test x$gcc_no_link = xyes; then
20426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20427 /* end confdefs.h. */
20428 #include <sys/time.h>
20429 int
20430 main ()
20431 {
20432 timeval tv; gettimeofday(&tv, 0);
20433 ;
20434 return 0;
20435 }
20436 _ACEOF
20437 if ac_fn_cxx_try_compile "$LINENO"; then :
20438 ac_has_gettimeofday=yes
20439 else
20440 ac_has_gettimeofday=no
20441 fi
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 else
20444 if test x$gcc_no_link = xyes; then
20445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20446 fi
20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20449 #include <sys/time.h>
20450 int
20451 main ()
20452 {
20453 timeval tv; gettimeofday(&tv, 0);
20454 ;
20455 return 0;
20456 }
20457 _ACEOF
20458 if ac_fn_cxx_try_link "$LINENO"; then :
20459 ac_has_gettimeofday=yes
20460 else
20461 ac_has_gettimeofday=no
20462 fi
20463 rm -f core conftest.err conftest.$ac_objext \
20464 conftest$ac_exeext conftest.$ac_ext
20465 fi
20466
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20468 $as_echo "$ac_has_gettimeofday" >&6; }
20469 fi
20470
20471 if test x"$ac_has_gettimeofday" = x"yes"; then
20472
20473 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20474
20475 fi
20476
20477 CXXFLAGS="$ac_save_CXXFLAGS"
20478 ac_ext=c
20479 ac_cpp='$CPP $CPPFLAGS'
20480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20483
20484
20485
20486 # For clock_gettime, nanosleep and sched_yield support.
20487
20488
20489 # Check whether --enable-libstdcxx-time was given.
20490 if test "${enable_libstdcxx_time+set}" = set; then :
20491 enableval=$enable_libstdcxx_time;
20492 case "$enableval" in
20493 yes|no|rt) ;;
20494 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20495 esac
20496
20497 else
20498 enable_libstdcxx_time=auto
20499 fi
20500
20501
20502
20503
20504 ac_ext=cpp
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20509
20510 ac_save_CXXFLAGS="$CXXFLAGS"
20511 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20512 ac_save_LIBS="$LIBS"
20513
20514 ac_has_clock_monotonic=no
20515 ac_has_clock_realtime=no
20516 ac_has_nanosleep=no
20517 ac_has_sched_yield=no
20518
20519 if test x"$enable_libstdcxx_time" = x"auto"; then
20520
20521 case "${target_os}" in
20522 cygwin*)
20523 ac_has_nanosleep=yes
20524 ;;
20525 darwin*)
20526 ac_has_nanosleep=yes
20527 ac_has_sched_yield=yes
20528 ;;
20529 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20531 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20534 #include <features.h>
20535 int
20536 main ()
20537 {
20538
20539 #if ! __GLIBC_PREREQ(2, 17)
20540 #error
20541 #endif
20542
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 if ac_fn_cxx_try_compile "$LINENO"; then :
20548 glibcxx_glibc217=yes
20549 else
20550 glibcxx_glibc217=no
20551 fi
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20554 $as_echo "$glibcxx_glibc217" >&6; }
20555
20556 if test x"$glibcxx_glibc217" = x"yes"; then
20557 ac_has_clock_monotonic=yes
20558 ac_has_clock_realtime=yes
20559 fi
20560 ac_has_nanosleep=yes
20561 ac_has_sched_yield=yes
20562 ;;
20563 freebsd*|netbsd*|dragonfly*|rtems*)
20564 ac_has_clock_monotonic=yes
20565 ac_has_clock_realtime=yes
20566 ac_has_nanosleep=yes
20567 ac_has_sched_yield=yes
20568 ;;
20569 openbsd*)
20570 ac_has_clock_monotonic=yes
20571 ac_has_clock_realtime=yes
20572 ac_has_nanosleep=yes
20573 ;;
20574 solaris*)
20575 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20576 ac_has_clock_monotonic=yes
20577 ac_has_clock_realtime=yes
20578 ac_has_nanosleep=yes
20579 ac_has_sched_yield=yes
20580 ;;
20581 esac
20582
20583 elif test x"$enable_libstdcxx_time" != x"no"; then
20584
20585 if test x"$enable_libstdcxx_time" = x"rt"; then
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20587 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20588 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20589 $as_echo_n "(cached) " >&6
20590 else
20591 ac_func_search_save_LIBS=$LIBS
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20594
20595 /* Override any GCC internal prototype to avoid an error.
20596 Use char because int might match the return type of a GCC
20597 builtin and then its argument prototype would still apply. */
20598 #ifdef __cplusplus
20599 extern "C"
20600 #endif
20601 char clock_gettime ();
20602 int
20603 main ()
20604 {
20605 return clock_gettime ();
20606 ;
20607 return 0;
20608 }
20609 _ACEOF
20610 for ac_lib in '' rt posix4; do
20611 if test -z "$ac_lib"; then
20612 ac_res="none required"
20613 else
20614 ac_res=-l$ac_lib
20615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20616 fi
20617 if test x$gcc_no_link = xyes; then
20618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20619 fi
20620 if ac_fn_cxx_try_link "$LINENO"; then :
20621 ac_cv_search_clock_gettime=$ac_res
20622 fi
20623 rm -f core conftest.err conftest.$ac_objext \
20624 conftest$ac_exeext
20625 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20626 break
20627 fi
20628 done
20629 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20630
20631 else
20632 ac_cv_search_clock_gettime=no
20633 fi
20634 rm conftest.$ac_ext
20635 LIBS=$ac_func_search_save_LIBS
20636 fi
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20638 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20639 ac_res=$ac_cv_search_clock_gettime
20640 if test "$ac_res" != no; then :
20641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20642
20643 fi
20644
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20646 $as_echo_n "checking for library containing nanosleep... " >&6; }
20647 if test "${ac_cv_search_nanosleep+set}" = set; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20650 ac_func_search_save_LIBS=$LIBS
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20653
20654 /* Override any GCC internal prototype to avoid an error.
20655 Use char because int might match the return type of a GCC
20656 builtin and then its argument prototype would still apply. */
20657 #ifdef __cplusplus
20658 extern "C"
20659 #endif
20660 char nanosleep ();
20661 int
20662 main ()
20663 {
20664 return nanosleep ();
20665 ;
20666 return 0;
20667 }
20668 _ACEOF
20669 for ac_lib in '' rt posix4; do
20670 if test -z "$ac_lib"; then
20671 ac_res="none required"
20672 else
20673 ac_res=-l$ac_lib
20674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20675 fi
20676 if test x$gcc_no_link = xyes; then
20677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20678 fi
20679 if ac_fn_cxx_try_link "$LINENO"; then :
20680 ac_cv_search_nanosleep=$ac_res
20681 fi
20682 rm -f core conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext
20684 if test "${ac_cv_search_nanosleep+set}" = set; then :
20685 break
20686 fi
20687 done
20688 if test "${ac_cv_search_nanosleep+set}" = set; then :
20689
20690 else
20691 ac_cv_search_nanosleep=no
20692 fi
20693 rm conftest.$ac_ext
20694 LIBS=$ac_func_search_save_LIBS
20695 fi
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20697 $as_echo "$ac_cv_search_nanosleep" >&6; }
20698 ac_res=$ac_cv_search_nanosleep
20699 if test "$ac_res" != no; then :
20700 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20701
20702 fi
20703
20704 else
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20706 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20707 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20710 ac_func_search_save_LIBS=$LIBS
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20713
20714 /* Override any GCC internal prototype to avoid an error.
20715 Use char because int might match the return type of a GCC
20716 builtin and then its argument prototype would still apply. */
20717 #ifdef __cplusplus
20718 extern "C"
20719 #endif
20720 char clock_gettime ();
20721 int
20722 main ()
20723 {
20724 return clock_gettime ();
20725 ;
20726 return 0;
20727 }
20728 _ACEOF
20729 for ac_lib in '' posix4; do
20730 if test -z "$ac_lib"; then
20731 ac_res="none required"
20732 else
20733 ac_res=-l$ac_lib
20734 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20735 fi
20736 if test x$gcc_no_link = xyes; then
20737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20738 fi
20739 if ac_fn_cxx_try_link "$LINENO"; then :
20740 ac_cv_search_clock_gettime=$ac_res
20741 fi
20742 rm -f core conftest.err conftest.$ac_objext \
20743 conftest$ac_exeext
20744 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20745 break
20746 fi
20747 done
20748 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20749
20750 else
20751 ac_cv_search_clock_gettime=no
20752 fi
20753 rm conftest.$ac_ext
20754 LIBS=$ac_func_search_save_LIBS
20755 fi
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20757 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20758 ac_res=$ac_cv_search_clock_gettime
20759 if test "$ac_res" != no; then :
20760 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20761
20762 fi
20763
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20765 $as_echo_n "checking for library containing nanosleep... " >&6; }
20766 if test "${ac_cv_search_nanosleep+set}" = set; then :
20767 $as_echo_n "(cached) " >&6
20768 else
20769 ac_func_search_save_LIBS=$LIBS
20770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20772
20773 /* Override any GCC internal prototype to avoid an error.
20774 Use char because int might match the return type of a GCC
20775 builtin and then its argument prototype would still apply. */
20776 #ifdef __cplusplus
20777 extern "C"
20778 #endif
20779 char nanosleep ();
20780 int
20781 main ()
20782 {
20783 return nanosleep ();
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 for ac_lib in '' posix4; do
20789 if test -z "$ac_lib"; then
20790 ac_res="none required"
20791 else
20792 ac_res=-l$ac_lib
20793 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20794 fi
20795 if test x$gcc_no_link = xyes; then
20796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20797 fi
20798 if ac_fn_cxx_try_link "$LINENO"; then :
20799 ac_cv_search_nanosleep=$ac_res
20800 fi
20801 rm -f core conftest.err conftest.$ac_objext \
20802 conftest$ac_exeext
20803 if test "${ac_cv_search_nanosleep+set}" = set; then :
20804 break
20805 fi
20806 done
20807 if test "${ac_cv_search_nanosleep+set}" = set; then :
20808
20809 else
20810 ac_cv_search_nanosleep=no
20811 fi
20812 rm conftest.$ac_ext
20813 LIBS=$ac_func_search_save_LIBS
20814 fi
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20816 $as_echo "$ac_cv_search_nanosleep" >&6; }
20817 ac_res=$ac_cv_search_nanosleep
20818 if test "$ac_res" != no; then :
20819 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20820
20821 fi
20822
20823 fi
20824
20825 case "$ac_cv_search_clock_gettime" in
20826 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20827 ;;
20828 esac
20829 case "$ac_cv_search_nanosleep" in
20830 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20831 ;;
20832 esac
20833
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20835 $as_echo_n "checking for library containing sched_yield... " >&6; }
20836 if test "${ac_cv_search_sched_yield+set}" = set; then :
20837 $as_echo_n "(cached) " >&6
20838 else
20839 ac_func_search_save_LIBS=$LIBS
20840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h. */
20842
20843 /* Override any GCC internal prototype to avoid an error.
20844 Use char because int might match the return type of a GCC
20845 builtin and then its argument prototype would still apply. */
20846 #ifdef __cplusplus
20847 extern "C"
20848 #endif
20849 char sched_yield ();
20850 int
20851 main ()
20852 {
20853 return sched_yield ();
20854 ;
20855 return 0;
20856 }
20857 _ACEOF
20858 for ac_lib in '' rt posix4; do
20859 if test -z "$ac_lib"; then
20860 ac_res="none required"
20861 else
20862 ac_res=-l$ac_lib
20863 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20864 fi
20865 if test x$gcc_no_link = xyes; then
20866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20867 fi
20868 if ac_fn_cxx_try_link "$LINENO"; then :
20869 ac_cv_search_sched_yield=$ac_res
20870 fi
20871 rm -f core conftest.err conftest.$ac_objext \
20872 conftest$ac_exeext
20873 if test "${ac_cv_search_sched_yield+set}" = set; then :
20874 break
20875 fi
20876 done
20877 if test "${ac_cv_search_sched_yield+set}" = set; then :
20878
20879 else
20880 ac_cv_search_sched_yield=no
20881 fi
20882 rm conftest.$ac_ext
20883 LIBS=$ac_func_search_save_LIBS
20884 fi
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20886 $as_echo "$ac_cv_search_sched_yield" >&6; }
20887 ac_res=$ac_cv_search_sched_yield
20888 if test "$ac_res" != no; then :
20889 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20890
20891 fi
20892
20893
20894 case "$ac_cv_search_sched_yield" in
20895 -lposix4*)
20896 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20897 ac_has_sched_yield=yes
20898 ;;
20899 -lrt*)
20900 if test x"$enable_libstdcxx_time" = x"rt"; then
20901 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20902 ac_has_sched_yield=yes
20903 fi
20904 ;;
20905 *)
20906 ac_has_sched_yield=yes
20907 ;;
20908 esac
20909
20910 for ac_header in unistd.h
20911 do :
20912 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20913 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20914 cat >>confdefs.h <<_ACEOF
20915 #define HAVE_UNISTD_H 1
20916 _ACEOF
20917 ac_has_unistd_h=yes
20918 else
20919 ac_has_unistd_h=no
20920 fi
20921
20922 done
20923
20924
20925 if test x"$ac_has_unistd_h" = x"yes"; then
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20927 $as_echo_n "checking for monotonic clock... " >&6; }
20928 if test x$gcc_no_link = xyes; then
20929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20930 fi
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #include <unistd.h>
20934 #include <time.h>
20935
20936 int
20937 main ()
20938 {
20939 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20940 timespec tp;
20941 #endif
20942 clock_gettime(CLOCK_MONOTONIC, &tp);
20943
20944 ;
20945 return 0;
20946 }
20947 _ACEOF
20948 if ac_fn_cxx_try_link "$LINENO"; then :
20949 ac_has_clock_monotonic=yes
20950 else
20951 ac_has_clock_monotonic=no
20952 fi
20953 rm -f core conftest.err conftest.$ac_objext \
20954 conftest$ac_exeext conftest.$ac_ext
20955
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20957 $as_echo "$ac_has_clock_monotonic" >&6; }
20958
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20960 $as_echo_n "checking for realtime clock... " >&6; }
20961 if test x$gcc_no_link = xyes; then
20962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20963 fi
20964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965 /* end confdefs.h. */
20966 #include <unistd.h>
20967 #include <time.h>
20968
20969 int
20970 main ()
20971 {
20972 #if _POSIX_TIMERS > 0
20973 timespec tp;
20974 #endif
20975 clock_gettime(CLOCK_REALTIME, &tp);
20976
20977 ;
20978 return 0;
20979 }
20980 _ACEOF
20981 if ac_fn_cxx_try_link "$LINENO"; then :
20982 ac_has_clock_realtime=yes
20983 else
20984 ac_has_clock_realtime=no
20985 fi
20986 rm -f core conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20988
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20990 $as_echo "$ac_has_clock_realtime" >&6; }
20991
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20993 $as_echo_n "checking for nanosleep... " >&6; }
20994 if test x$gcc_no_link = xyes; then
20995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20996 fi
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
20999 #include <unistd.h>
21000 #include <time.h>
21001
21002 int
21003 main ()
21004 {
21005 #if _POSIX_TIMERS > 0
21006 timespec tp;
21007 #endif
21008 nanosleep(&tp, 0);
21009
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 if ac_fn_cxx_try_link "$LINENO"; then :
21015 ac_has_nanosleep=yes
21016 else
21017 ac_has_nanosleep=no
21018 fi
21019 rm -f core conftest.err conftest.$ac_objext \
21020 conftest$ac_exeext conftest.$ac_ext
21021
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21023 $as_echo "$ac_has_nanosleep" >&6; }
21024 fi
21025 fi
21026
21027 if test x"$ac_has_clock_monotonic" != x"yes"; then
21028 case ${target_os} in
21029 linux*)
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21031 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #include <unistd.h>
21035 #include <time.h>
21036 #include <sys/syscall.h>
21037
21038 int
21039 main ()
21040 {
21041 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21042 timespec tp;
21043 #endif
21044 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21045 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21046
21047 ;
21048 return 0;
21049 }
21050 _ACEOF
21051 if ac_fn_cxx_try_compile "$LINENO"; then :
21052 ac_has_clock_monotonic_syscall=yes
21053 else
21054 ac_has_clock_monotonic_syscall=no
21055 fi
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21058 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21059 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21060
21061 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21062
21063 ac_has_clock_monotonic=yes
21064 ac_has_clock_realtime=yes
21065 fi;;
21066 esac
21067 fi
21068
21069 if test x"$ac_has_clock_monotonic" = x"yes"; then
21070
21071 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21072
21073 fi
21074
21075 if test x"$ac_has_clock_realtime" = x"yes"; then
21076
21077 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21078
21079 fi
21080
21081 if test x"$ac_has_sched_yield" = x"yes"; then
21082
21083 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21084
21085 fi
21086
21087 if test x"$ac_has_nanosleep" = x"yes"; then
21088
21089 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21090
21091 else
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21093 $as_echo_n "checking for sleep... " >&6; }
21094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21096 #include <unistd.h>
21097 int
21098 main ()
21099 {
21100 sleep(1)
21101 ;
21102 return 0;
21103 }
21104 _ACEOF
21105 if ac_fn_cxx_try_compile "$LINENO"; then :
21106 ac_has_sleep=yes
21107 else
21108 ac_has_sleep=no
21109 fi
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21111 if test x"$ac_has_sleep" = x"yes"; then
21112
21113 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21114
21115 fi
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21117 $as_echo "$ac_has_sleep" >&6; }
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21119 $as_echo_n "checking for usleep... " >&6; }
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21122 #include <unistd.h>
21123 int
21124 main ()
21125 {
21126 sleep(1);
21127 usleep(100);
21128 ;
21129 return 0;
21130 }
21131 _ACEOF
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133 ac_has_usleep=yes
21134 else
21135 ac_has_usleep=no
21136 fi
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138 if test x"$ac_has_usleep" = x"yes"; then
21139
21140 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21141
21142 fi
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21144 $as_echo "$ac_has_usleep" >&6; }
21145 fi
21146
21147 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21149 $as_echo_n "checking for Sleep... " >&6; }
21150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21152 #include <windows.h>
21153 int
21154 main ()
21155 {
21156 Sleep(1)
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 if ac_fn_cxx_try_compile "$LINENO"; then :
21162 ac_has_win32_sleep=yes
21163 else
21164 ac_has_win32_sleep=no
21165 fi
21166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21167 if test x"$ac_has_win32_sleep" = x"yes"; then
21168
21169 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21170
21171 fi
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21173 $as_echo "$ac_has_win32_sleep" >&6; }
21174 fi
21175
21176
21177
21178 CXXFLAGS="$ac_save_CXXFLAGS"
21179 LIBS="$ac_save_LIBS"
21180 ac_ext=c
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21185
21186
21187
21188 # Check for tmpnam which is obsolescent in POSIX.1-2008
21189
21190 ac_ext=cpp
21191 ac_cpp='$CXXCPP $CPPFLAGS'
21192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21195
21196 ac_save_CXXFLAGS="$CXXFLAGS"
21197 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21199 $as_echo_n "checking for tmpnam... " >&6; }
21200 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21201 $as_echo_n "(cached) " >&6
21202 else
21203 if test x$gcc_no_link = xyes; then
21204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21206 #include <stdio.h>
21207 int
21208 main ()
21209 {
21210 char *tmp = tmpnam(NULL);
21211 ;
21212 return 0;
21213 }
21214 _ACEOF
21215 if ac_fn_cxx_try_compile "$LINENO"; then :
21216 glibcxx_cv_TMPNAM=yes
21217 else
21218 glibcxx_cv_TMPNAM=no
21219 fi
21220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21221 else
21222 if test x$gcc_no_link = xyes; then
21223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21224 fi
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #include <stdio.h>
21228 int
21229 main ()
21230 {
21231 char *tmp = tmpnam(NULL);
21232 ;
21233 return 0;
21234 }
21235 _ACEOF
21236 if ac_fn_cxx_try_link "$LINENO"; then :
21237 glibcxx_cv_TMPNAM=yes
21238 else
21239 glibcxx_cv_TMPNAM=no
21240 fi
21241 rm -f core conftest.err conftest.$ac_objext \
21242 conftest$ac_exeext conftest.$ac_ext
21243 fi
21244
21245 fi
21246
21247 if test $glibcxx_cv_TMPNAM = yes; then
21248
21249 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21250
21251 fi
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21253 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21254 CXXFLAGS="$ac_save_CXXFLAGS"
21255 ac_ext=c
21256 ac_cpp='$CPP $CPPFLAGS'
21257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260
21261
21262
21263
21264 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21265 if test "x$ac_cv_header_locale_h" = x""yes; then :
21266
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21268 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21269 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21270 $as_echo_n "(cached) " >&6
21271 else
21272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21274 #include <locale.h>
21275 int
21276 main ()
21277 {
21278 return LC_MESSAGES
21279 ;
21280 return 0;
21281 }
21282 _ACEOF
21283 if ac_fn_c_try_compile "$LINENO"; then :
21284 ac_cv_val_LC_MESSAGES=yes
21285 else
21286 ac_cv_val_LC_MESSAGES=no
21287 fi
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 fi
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21291 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21292 if test $ac_cv_val_LC_MESSAGES = yes; then
21293
21294 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21295
21296 fi
21297
21298 fi
21299
21300
21301
21302
21303 # For hardware_concurrency
21304 for ac_header in sys/sysinfo.h
21305 do :
21306 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21307 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE_SYS_SYSINFO_H 1
21310 _ACEOF
21311
21312 fi
21313
21314 done
21315
21316
21317
21318
21319 ac_ext=cpp
21320 ac_cpp='$CXXCPP $CPPFLAGS'
21321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21324
21325 ac_save_CXXFLAGS="$CXXFLAGS"
21326 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21327
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21329 $as_echo_n "checking for get_nprocs... " >&6; }
21330 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21331 $as_echo_n "(cached) " >&6
21332 else
21333
21334 if test x$gcc_no_link = xyes; then
21335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336 /* end confdefs.h. */
21337 #include <sys/sysinfo.h>
21338 int
21339 main ()
21340 {
21341 int n = get_nprocs();
21342 ;
21343 return 0;
21344 }
21345 _ACEOF
21346 if ac_fn_cxx_try_compile "$LINENO"; then :
21347 glibcxx_cv_GET_NPROCS=yes
21348 else
21349 glibcxx_cv_GET_NPROCS=no
21350 fi
21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21352 else
21353 if test x$gcc_no_link = xyes; then
21354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21355 fi
21356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21357 /* end confdefs.h. */
21358 #include <sys/sysinfo.h>
21359 int
21360 main ()
21361 {
21362 int n = get_nprocs();
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 if ac_fn_cxx_try_link "$LINENO"; then :
21368 glibcxx_cv_GET_NPROCS=yes
21369 else
21370 glibcxx_cv_GET_NPROCS=no
21371 fi
21372 rm -f core conftest.err conftest.$ac_objext \
21373 conftest$ac_exeext conftest.$ac_ext
21374 fi
21375
21376 fi
21377
21378 if test $glibcxx_cv_GET_NPROCS = yes; then
21379
21380 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21381
21382 fi
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21384 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21385
21386 CXXFLAGS="$ac_save_CXXFLAGS"
21387 ac_ext=c
21388 ac_cpp='$CPP $CPPFLAGS'
21389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21392
21393
21394 for ac_header in unistd.h
21395 do :
21396 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21397 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21398 cat >>confdefs.h <<_ACEOF
21399 #define HAVE_UNISTD_H 1
21400 _ACEOF
21401
21402 fi
21403
21404 done
21405
21406
21407
21408
21409 ac_ext=cpp
21410 ac_cpp='$CXXCPP $CPPFLAGS'
21411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414
21415 ac_save_CXXFLAGS="$CXXFLAGS"
21416 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21417
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21419 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21420 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21421 $as_echo_n "(cached) " >&6
21422 else
21423
21424 if test x$gcc_no_link = xyes; then
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21427 #include <unistd.h>
21428 int
21429 main ()
21430 {
21431 int n = sysconf(_SC_NPROCESSORS_ONLN);
21432 ;
21433 return 0;
21434 }
21435 _ACEOF
21436 if ac_fn_cxx_try_compile "$LINENO"; then :
21437 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21438 else
21439 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21440 fi
21441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442 else
21443 if test x$gcc_no_link = xyes; then
21444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21445 fi
21446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21448 #include <unistd.h>
21449 int
21450 main ()
21451 {
21452 int n = sysconf(_SC_NPROCESSORS_ONLN);
21453 ;
21454 return 0;
21455 }
21456 _ACEOF
21457 if ac_fn_cxx_try_link "$LINENO"; then :
21458 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21459 else
21460 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21461 fi
21462 rm -f core conftest.err conftest.$ac_objext \
21463 conftest$ac_exeext conftest.$ac_ext
21464 fi
21465
21466 fi
21467
21468 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21469
21470 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21471
21472 fi
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21474 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21475
21476 CXXFLAGS="$ac_save_CXXFLAGS"
21477 ac_ext=c
21478 ac_cpp='$CPP $CPPFLAGS'
21479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21482
21483
21484
21485
21486
21487 ac_ext=cpp
21488 ac_cpp='$CXXCPP $CPPFLAGS'
21489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21492
21493 ac_save_CXXFLAGS="$CXXFLAGS"
21494 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21495
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21497 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21498 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21501
21502 if test x$gcc_no_link = xyes; then
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21505 #include <unistd.h>
21506 int
21507 main ()
21508 {
21509 int n = sysconf(_SC_NPROC_ONLN);
21510 ;
21511 return 0;
21512 }
21513 _ACEOF
21514 if ac_fn_cxx_try_compile "$LINENO"; then :
21515 glibcxx_cv_SC_NPROC_ONLN=yes
21516 else
21517 glibcxx_cv_SC_NPROC_ONLN=no
21518 fi
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 else
21521 if test x$gcc_no_link = xyes; then
21522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21523 fi
21524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21525 /* end confdefs.h. */
21526 #include <unistd.h>
21527 int
21528 main ()
21529 {
21530 int n = sysconf(_SC_NPROC_ONLN);
21531 ;
21532 return 0;
21533 }
21534 _ACEOF
21535 if ac_fn_cxx_try_link "$LINENO"; then :
21536 glibcxx_cv_SC_NPROC_ONLN=yes
21537 else
21538 glibcxx_cv_SC_NPROC_ONLN=no
21539 fi
21540 rm -f core conftest.err conftest.$ac_objext \
21541 conftest$ac_exeext conftest.$ac_ext
21542 fi
21543
21544 fi
21545
21546 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21547
21548 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21549
21550 fi
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21552 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21553
21554 CXXFLAGS="$ac_save_CXXFLAGS"
21555 ac_ext=c
21556 ac_cpp='$CPP $CPPFLAGS'
21557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21560
21561
21562
21563
21564
21565 ac_ext=cpp
21566 ac_cpp='$CXXCPP $CPPFLAGS'
21567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21570
21571 ac_save_CXXFLAGS="$CXXFLAGS"
21572 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21573
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21575 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21576 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21577 $as_echo_n "(cached) " >&6
21578 else
21579
21580 if test x$gcc_no_link = xyes; then
21581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21583 #include <pthread.h>
21584 int
21585 main ()
21586 {
21587 int n = pthread_num_processors_np();
21588 ;
21589 return 0;
21590 }
21591 _ACEOF
21592 if ac_fn_cxx_try_compile "$LINENO"; then :
21593 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21594 else
21595 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21596 fi
21597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21598 else
21599 if test x$gcc_no_link = xyes; then
21600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21601 fi
21602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21603 /* end confdefs.h. */
21604 #include <pthread.h>
21605 int
21606 main ()
21607 {
21608 int n = pthread_num_processors_np();
21609 ;
21610 return 0;
21611 }
21612 _ACEOF
21613 if ac_fn_cxx_try_link "$LINENO"; then :
21614 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21615 else
21616 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21617 fi
21618 rm -f core conftest.err conftest.$ac_objext \
21619 conftest$ac_exeext conftest.$ac_ext
21620 fi
21621
21622 fi
21623
21624 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21625
21626 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21627
21628 fi
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21630 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21631
21632 CXXFLAGS="$ac_save_CXXFLAGS"
21633 ac_ext=c
21634 ac_cpp='$CPP $CPPFLAGS'
21635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21638
21639
21640
21641
21642
21643 ac_ext=cpp
21644 ac_cpp='$CXXCPP $CPPFLAGS'
21645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21648
21649 ac_save_CXXFLAGS="$CXXFLAGS"
21650 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21651
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21653 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21654 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21655 $as_echo_n "(cached) " >&6
21656 else
21657
21658 if test x$gcc_no_link = xyes; then
21659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21661
21662 #include <stddef.h>
21663 #include <sys/sysctl.h>
21664
21665 int
21666 main ()
21667 {
21668
21669 int count;
21670 size_t size = sizeof(count);
21671 int mib[] = { CTL_HW, HW_NCPU };
21672 sysctl(mib, 2, &count, &size, NULL, 0);
21673
21674 ;
21675 return 0;
21676 }
21677 _ACEOF
21678 if ac_fn_cxx_try_compile "$LINENO"; then :
21679 glibcxx_cv_SYSCTL_HW_NCPU=yes
21680 else
21681 glibcxx_cv_SYSCTL_HW_NCPU=no
21682 fi
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 else
21685 if test x$gcc_no_link = xyes; then
21686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21687 fi
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21690
21691 #include <stddef.h>
21692 #include <sys/sysctl.h>
21693
21694 int
21695 main ()
21696 {
21697
21698 int count;
21699 size_t size = sizeof(count);
21700 int mib[] = { CTL_HW, HW_NCPU };
21701 sysctl(mib, 2, &count, &size, NULL, 0);
21702
21703 ;
21704 return 0;
21705 }
21706 _ACEOF
21707 if ac_fn_cxx_try_link "$LINENO"; then :
21708 glibcxx_cv_SYSCTL_HW_NCPU=yes
21709 else
21710 glibcxx_cv_SYSCTL_HW_NCPU=no
21711 fi
21712 rm -f core conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21714 fi
21715
21716 fi
21717
21718 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21719
21720 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21721
21722 fi
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21724 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21725
21726 CXXFLAGS="$ac_save_CXXFLAGS"
21727 ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21732
21733
21734
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21736 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21737 # Note that this test has to be run with the C language.
21738 # Otherwise, sdt.h will try to include some headers from
21739 # libstdc++ itself.
21740
21741 ac_ext=c
21742 ac_cpp='$CPP $CPPFLAGS'
21743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21746
21747 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21748 $as_echo_n "(cached) " >&6
21749 else
21750
21751 # Because we have to run the test in C, we use grep rather
21752 # than the compiler to check for the bug. The bug is that
21753 # were strings without trailing whitespace, causing g++
21754 # to look for operator"". The pattern searches for the fixed
21755 # output.
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758
21759 #include <sys/sdt.h>
21760 int f() { STAP_PROBE(hi, bob); }
21761
21762 _ACEOF
21763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21764 $EGREP " \",\" " >/dev/null 2>&1; then :
21765 glibcxx_cv_sys_sdt_h=yes
21766 else
21767 glibcxx_cv_sys_sdt_h=no
21768 fi
21769 rm -f conftest*
21770
21771
21772 fi
21773
21774 ac_ext=c
21775 ac_cpp='$CPP $CPPFLAGS'
21776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21779
21780 if test $glibcxx_cv_sys_sdt_h = yes; then
21781
21782 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21783
21784 fi
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21786 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21787
21788
21789 # Check for available headers.
21790 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21791 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21792 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21793 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21794 wchar.h wctype.h linux/types.h
21795 do :
21796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21797 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21798 eval as_val=\$$as_ac_Header
21799 if test "x$as_val" = x""yes; then :
21800 cat >>confdefs.h <<_ACEOF
21801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21802 _ACEOF
21803
21804 fi
21805
21806 done
21807
21808
21809 for ac_header in linux/random.h
21810 do :
21811 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21812 # include <linux/types.h>
21813 #endif
21814
21815 "
21816 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21817 cat >>confdefs.h <<_ACEOF
21818 #define HAVE_LINUX_RANDOM_H 1
21819 _ACEOF
21820
21821 fi
21822
21823 done
21824
21825
21826 # Only do link tests if native. Else, hardcode.
21827 if $GLIBCXX_IS_NATIVE; then
21828
21829 # We can do more elaborate tests that assume a working linker.
21830 CANADIAN=no
21831
21832
21833
21834 # Check whether --with-gnu-ld was given.
21835 if test "${with_gnu_ld+set}" = set; then :
21836 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21837 else
21838 with_gnu_ld=no
21839 fi
21840
21841 ac_prog=ld
21842 if test "$GCC" = yes; then
21843 # Check if gcc -print-prog-name=ld gives a path.
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21845 $as_echo_n "checking for ld used by $CC... " >&6; }
21846 case $host in
21847 *-*-mingw*)
21848 # gcc leaves a trailing carriage return which upsets mingw
21849 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21850 *)
21851 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21852 esac
21853 case $ac_prog in
21854 # Accept absolute paths.
21855 [\\/]* | ?:[\\/]*)
21856 re_direlt='/[^/][^/]*/\.\./'
21857 # Canonicalize the pathname of ld
21858 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21859 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21860 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21861 done
21862 test -z "$LD" && LD="$ac_prog"
21863 ;;
21864 "")
21865 # If it fails, then pretend we aren't using GCC.
21866 ac_prog=ld
21867 ;;
21868 *)
21869 # If it is relative, then search for the first ld in PATH.
21870 with_gnu_ld=unknown
21871 ;;
21872 esac
21873 elif test "$with_gnu_ld" = yes; then
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21875 $as_echo_n "checking for GNU ld... " >&6; }
21876 else
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21878 $as_echo_n "checking for non-GNU ld... " >&6; }
21879 fi
21880 if test "${lt_cv_path_LD+set}" = set; then :
21881 $as_echo_n "(cached) " >&6
21882 else
21883 if test -z "$LD"; then
21884 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21885 for ac_dir in $PATH; do
21886 IFS="$lt_save_ifs"
21887 test -z "$ac_dir" && ac_dir=.
21888 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21889 lt_cv_path_LD="$ac_dir/$ac_prog"
21890 # Check to see if the program is GNU ld. I'd rather use --version,
21891 # but apparently some variants of GNU ld only accept -v.
21892 # Break only if it was the GNU/non-GNU ld that we prefer.
21893 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21894 *GNU* | *'with BFD'*)
21895 test "$with_gnu_ld" != no && break
21896 ;;
21897 *)
21898 test "$with_gnu_ld" != yes && break
21899 ;;
21900 esac
21901 fi
21902 done
21903 IFS="$lt_save_ifs"
21904 else
21905 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21906 fi
21907 fi
21908
21909 LD="$lt_cv_path_LD"
21910 if test -n "$LD"; then
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21912 $as_echo "$LD" >&6; }
21913 else
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21915 $as_echo "no" >&6; }
21916 fi
21917 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21919 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21920 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21921 $as_echo_n "(cached) " >&6
21922 else
21923 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21924 case `$LD -v 2>&1 </dev/null` in
21925 *GNU* | *'with BFD'*)
21926 lt_cv_prog_gnu_ld=yes
21927 ;;
21928 *)
21929 lt_cv_prog_gnu_ld=no
21930 ;;
21931 esac
21932 fi
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21934 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21935 with_gnu_ld=$lt_cv_prog_gnu_ld
21936
21937
21938
21939
21940
21941
21942
21943 # If we're not using GNU ld, then there's no point in even trying these
21944 # tests. Check for that first. We should have already tested for gld
21945 # by now (in libtool), but require it now just to be safe...
21946 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21947 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21948
21949
21950
21951 # The name set by libtool depends on the version of libtool. Shame on us
21952 # for depending on an impl detail, but c'est la vie. Older versions used
21953 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21954 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21955 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21956 # set (hence we're using an older libtool), then set it.
21957 if test x${with_gnu_ld+set} != xset; then
21958 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21959 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21960 with_gnu_ld=no
21961 else
21962 with_gnu_ld=$ac_cv_prog_gnu_ld
21963 fi
21964 fi
21965
21966 # Start by getting the version number. I think the libtool test already
21967 # does some of this, but throws away the result.
21968 glibcxx_ld_is_gold=no
21969 if test x"$with_gnu_ld" = x"yes"; then
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21971 $as_echo_n "checking for ld version... " >&6; }
21972
21973 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21974 glibcxx_ld_is_gold=yes
21975 fi
21976 ldver=`$LD --version 2>/dev/null |
21977 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'`
21978
21979 glibcxx_gnu_ld_version=`echo $ldver | \
21980 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21982 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21983 fi
21984
21985 # Set --gc-sections.
21986 glibcxx_have_gc_sections=no
21987 if test "$glibcxx_ld_is_gold" = "yes"; then
21988 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21989 glibcxx_have_gc_sections=yes
21990 fi
21991 else
21992 glibcxx_gcsections_min_ld=21602
21993 if test x"$with_gnu_ld" = x"yes" &&
21994 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21995 glibcxx_have_gc_sections=yes
21996 fi
21997 fi
21998 if test "$glibcxx_have_gc_sections" = "yes"; then
21999 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22000 # NB: This flag only works reliably after 2.16.1. Configure tests
22001 # for this are difficult, so hard wire a value that should work.
22002
22003 ac_test_CFLAGS="${CFLAGS+set}"
22004 ac_save_CFLAGS="$CFLAGS"
22005 CFLAGS='-Wl,--gc-sections'
22006
22007 # Check for -Wl,--gc-sections
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22009 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22010 if test x$gcc_no_link = xyes; then
22011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22012 fi
22013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22014 /* end confdefs.h. */
22015 int one(void) { return 1; }
22016 int two(void) { return 2; }
22017
22018 int
22019 main ()
22020 {
22021 two();
22022 ;
22023 return 0;
22024 }
22025 _ACEOF
22026 if ac_fn_c_try_link "$LINENO"; then :
22027 ac_gcsections=yes
22028 else
22029 ac_gcsections=no
22030 fi
22031 rm -f core conftest.err conftest.$ac_objext \
22032 conftest$ac_exeext conftest.$ac_ext
22033 if test "$ac_gcsections" = "yes"; then
22034 rm -f conftest.c
22035 touch conftest.c
22036 if $CC -c conftest.c; then
22037 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22038 grep "Warning: gc-sections option ignored" > /dev/null; then
22039 ac_gcsections=no
22040 fi
22041 fi
22042 rm -f conftest.c conftest.o conftest
22043 fi
22044 if test "$ac_gcsections" = "yes"; then
22045 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22046 fi
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22048 $as_echo "$ac_gcsections" >&6; }
22049
22050 if test "$ac_test_CFLAGS" = set; then
22051 CFLAGS="$ac_save_CFLAGS"
22052 else
22053 # this is the suspicious part
22054 CFLAGS=''
22055 fi
22056 fi
22057
22058 # Set -z,relro.
22059 # Note this is only for shared objects.
22060 ac_ld_relro=no
22061 if test x"$with_gnu_ld" = x"yes"; then
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22063 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22064 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22065 if test -n "$cxx_z_relo"; then
22066 OPT_LDFLAGS="-Wl,-z,relro"
22067 ac_ld_relro=yes
22068 fi
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22070 $as_echo "$ac_ld_relro" >&6; }
22071 fi
22072
22073 # Set linker optimization flags.
22074 if test x"$with_gnu_ld" = x"yes"; then
22075 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22076 fi
22077
22078
22079
22080
22081
22082 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22083 ac_save_CXXFLAGS="$CXXFLAGS"
22084 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22085
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22087 $as_echo_n "checking for sin in -lm... " >&6; }
22088 if test "${ac_cv_lib_m_sin+set}" = set; then :
22089 $as_echo_n "(cached) " >&6
22090 else
22091 ac_check_lib_save_LIBS=$LIBS
22092 LIBS="-lm $LIBS"
22093 if test x$gcc_no_link = xyes; then
22094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22095 fi
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22098
22099 /* Override any GCC internal prototype to avoid an error.
22100 Use char because int might match the return type of a GCC
22101 builtin and then its argument prototype would still apply. */
22102 #ifdef __cplusplus
22103 extern "C"
22104 #endif
22105 char sin ();
22106 int
22107 main ()
22108 {
22109 return sin ();
22110 ;
22111 return 0;
22112 }
22113 _ACEOF
22114 if ac_fn_c_try_link "$LINENO"; then :
22115 ac_cv_lib_m_sin=yes
22116 else
22117 ac_cv_lib_m_sin=no
22118 fi
22119 rm -f core conftest.err conftest.$ac_objext \
22120 conftest$ac_exeext conftest.$ac_ext
22121 LIBS=$ac_check_lib_save_LIBS
22122 fi
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22124 $as_echo "$ac_cv_lib_m_sin" >&6; }
22125 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22126 libm="-lm"
22127 fi
22128
22129 ac_save_LIBS="$LIBS"
22130 LIBS="$LIBS $libm"
22131
22132
22133
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22135 $as_echo_n "checking for isinf declaration... " >&6; }
22136 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22137 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22139 else
22140
22141
22142 ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22147
22148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h. */
22150 #include <math.h>
22151 #ifdef HAVE_IEEEFP_H
22152 #include <ieeefp.h>
22153 #endif
22154
22155 int
22156 main ()
22157 {
22158 isinf(0);
22159 ;
22160 return 0;
22161 }
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164 glibcxx_cv_func_isinf_use=yes
22165 else
22166 glibcxx_cv_func_isinf_use=no
22167 fi
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169 ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174
22175
22176 fi
22177
22178 fi
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22180 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22181
22182 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22183 for ac_func in isinf
22184 do :
22185 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22186 if test "x$ac_cv_func_isinf" = x""yes; then :
22187 cat >>confdefs.h <<_ACEOF
22188 #define HAVE_ISINF 1
22189 _ACEOF
22190
22191 fi
22192 done
22193
22194 else
22195
22196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22197 $as_echo_n "checking for _isinf declaration... " >&6; }
22198 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22199 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22200 $as_echo_n "(cached) " >&6
22201 else
22202
22203
22204 ac_ext=cpp
22205 ac_cpp='$CXXCPP $CPPFLAGS'
22206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22209
22210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22211 /* end confdefs.h. */
22212 #include <math.h>
22213 #ifdef HAVE_IEEEFP_H
22214 #include <ieeefp.h>
22215 #endif
22216
22217 int
22218 main ()
22219 {
22220 _isinf(0);
22221 ;
22222 return 0;
22223 }
22224 _ACEOF
22225 if ac_fn_cxx_try_compile "$LINENO"; then :
22226 glibcxx_cv_func__isinf_use=yes
22227 else
22228 glibcxx_cv_func__isinf_use=no
22229 fi
22230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22231 ac_ext=c
22232 ac_cpp='$CPP $CPPFLAGS'
22233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22236
22237
22238 fi
22239
22240 fi
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22242 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22243
22244 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22245 for ac_func in _isinf
22246 do :
22247 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22248 if test "x$ac_cv_func__isinf" = x""yes; then :
22249 cat >>confdefs.h <<_ACEOF
22250 #define HAVE__ISINF 1
22251 _ACEOF
22252
22253 fi
22254 done
22255
22256 fi
22257 fi
22258
22259
22260
22261
22262
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22264 $as_echo_n "checking for isnan declaration... " >&6; }
22265 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22266 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22269
22270
22271 ac_ext=cpp
22272 ac_cpp='$CXXCPP $CPPFLAGS'
22273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22276
22277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h. */
22279 #include <math.h>
22280 #ifdef HAVE_IEEEFP_H
22281 #include <ieeefp.h>
22282 #endif
22283
22284 int
22285 main ()
22286 {
22287 isnan(0);
22288 ;
22289 return 0;
22290 }
22291 _ACEOF
22292 if ac_fn_cxx_try_compile "$LINENO"; then :
22293 glibcxx_cv_func_isnan_use=yes
22294 else
22295 glibcxx_cv_func_isnan_use=no
22296 fi
22297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22298 ac_ext=c
22299 ac_cpp='$CPP $CPPFLAGS'
22300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22303
22304
22305 fi
22306
22307 fi
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22309 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22310
22311 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22312 for ac_func in isnan
22313 do :
22314 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22315 if test "x$ac_cv_func_isnan" = x""yes; then :
22316 cat >>confdefs.h <<_ACEOF
22317 #define HAVE_ISNAN 1
22318 _ACEOF
22319
22320 fi
22321 done
22322
22323 else
22324
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22326 $as_echo_n "checking for _isnan declaration... " >&6; }
22327 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22328 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22329 $as_echo_n "(cached) " >&6
22330 else
22331
22332
22333 ac_ext=cpp
22334 ac_cpp='$CXXCPP $CPPFLAGS'
22335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22338
22339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22340 /* end confdefs.h. */
22341 #include <math.h>
22342 #ifdef HAVE_IEEEFP_H
22343 #include <ieeefp.h>
22344 #endif
22345
22346 int
22347 main ()
22348 {
22349 _isnan(0);
22350 ;
22351 return 0;
22352 }
22353 _ACEOF
22354 if ac_fn_cxx_try_compile "$LINENO"; then :
22355 glibcxx_cv_func__isnan_use=yes
22356 else
22357 glibcxx_cv_func__isnan_use=no
22358 fi
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 ac_ext=c
22361 ac_cpp='$CPP $CPPFLAGS'
22362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22365
22366
22367 fi
22368
22369 fi
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22371 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22372
22373 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22374 for ac_func in _isnan
22375 do :
22376 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22377 if test "x$ac_cv_func__isnan" = x""yes; then :
22378 cat >>confdefs.h <<_ACEOF
22379 #define HAVE__ISNAN 1
22380 _ACEOF
22381
22382 fi
22383 done
22384
22385 fi
22386 fi
22387
22388
22389
22390
22391
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22393 $as_echo_n "checking for finite declaration... " >&6; }
22394 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22395 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22398
22399
22400 ac_ext=cpp
22401 ac_cpp='$CXXCPP $CPPFLAGS'
22402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22405
22406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22407 /* end confdefs.h. */
22408 #include <math.h>
22409 #ifdef HAVE_IEEEFP_H
22410 #include <ieeefp.h>
22411 #endif
22412
22413 int
22414 main ()
22415 {
22416 finite(0);
22417 ;
22418 return 0;
22419 }
22420 _ACEOF
22421 if ac_fn_cxx_try_compile "$LINENO"; then :
22422 glibcxx_cv_func_finite_use=yes
22423 else
22424 glibcxx_cv_func_finite_use=no
22425 fi
22426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22427 ac_ext=c
22428 ac_cpp='$CPP $CPPFLAGS'
22429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22432
22433
22434 fi
22435
22436 fi
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22438 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22439
22440 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22441 for ac_func in finite
22442 do :
22443 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22444 if test "x$ac_cv_func_finite" = x""yes; then :
22445 cat >>confdefs.h <<_ACEOF
22446 #define HAVE_FINITE 1
22447 _ACEOF
22448
22449 fi
22450 done
22451
22452 else
22453
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22455 $as_echo_n "checking for _finite declaration... " >&6; }
22456 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22457 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22458 $as_echo_n "(cached) " >&6
22459 else
22460
22461
22462 ac_ext=cpp
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22467
22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22470 #include <math.h>
22471 #ifdef HAVE_IEEEFP_H
22472 #include <ieeefp.h>
22473 #endif
22474
22475 int
22476 main ()
22477 {
22478 _finite(0);
22479 ;
22480 return 0;
22481 }
22482 _ACEOF
22483 if ac_fn_cxx_try_compile "$LINENO"; then :
22484 glibcxx_cv_func__finite_use=yes
22485 else
22486 glibcxx_cv_func__finite_use=no
22487 fi
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 ac_ext=c
22490 ac_cpp='$CPP $CPPFLAGS'
22491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22494
22495
22496 fi
22497
22498 fi
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22500 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22501
22502 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22503 for ac_func in _finite
22504 do :
22505 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22506 if test "x$ac_cv_func__finite" = x""yes; then :
22507 cat >>confdefs.h <<_ACEOF
22508 #define HAVE__FINITE 1
22509 _ACEOF
22510
22511 fi
22512 done
22513
22514 fi
22515 fi
22516
22517
22518
22519
22520
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22522 $as_echo_n "checking for sincos declaration... " >&6; }
22523 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22524 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22525 $as_echo_n "(cached) " >&6
22526 else
22527
22528
22529 ac_ext=cpp
22530 ac_cpp='$CXXCPP $CPPFLAGS'
22531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22534
22535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22537 #include <math.h>
22538 int
22539 main ()
22540 {
22541 sincos(0, 0, 0);
22542 ;
22543 return 0;
22544 }
22545 _ACEOF
22546 if ac_fn_cxx_try_compile "$LINENO"; then :
22547 glibcxx_cv_func_sincos_use=yes
22548 else
22549 glibcxx_cv_func_sincos_use=no
22550 fi
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 ac_ext=c
22553 ac_cpp='$CPP $CPPFLAGS'
22554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22557
22558
22559 fi
22560
22561 fi
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22563 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22564
22565 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22566 for ac_func in sincos
22567 do :
22568 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22569 if test "x$ac_cv_func_sincos" = x""yes; then :
22570 cat >>confdefs.h <<_ACEOF
22571 #define HAVE_SINCOS 1
22572 _ACEOF
22573
22574 fi
22575 done
22576
22577 else
22578
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22580 $as_echo_n "checking for _sincos declaration... " >&6; }
22581 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22582 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22583 $as_echo_n "(cached) " >&6
22584 else
22585
22586
22587 ac_ext=cpp
22588 ac_cpp='$CXXCPP $CPPFLAGS'
22589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22592
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22595 #include <math.h>
22596 int
22597 main ()
22598 {
22599 _sincos(0, 0, 0);
22600 ;
22601 return 0;
22602 }
22603 _ACEOF
22604 if ac_fn_cxx_try_compile "$LINENO"; then :
22605 glibcxx_cv_func__sincos_use=yes
22606 else
22607 glibcxx_cv_func__sincos_use=no
22608 fi
22609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22610 ac_ext=c
22611 ac_cpp='$CPP $CPPFLAGS'
22612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22615
22616
22617 fi
22618
22619 fi
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22621 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22622
22623 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22624 for ac_func in _sincos
22625 do :
22626 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22627 if test "x$ac_cv_func__sincos" = x""yes; then :
22628 cat >>confdefs.h <<_ACEOF
22629 #define HAVE__SINCOS 1
22630 _ACEOF
22631
22632 fi
22633 done
22634
22635 fi
22636 fi
22637
22638
22639
22640
22641
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22643 $as_echo_n "checking for fpclass declaration... " >&6; }
22644 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22645 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22646 $as_echo_n "(cached) " >&6
22647 else
22648
22649
22650 ac_ext=cpp
22651 ac_cpp='$CXXCPP $CPPFLAGS'
22652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22655
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22657 /* end confdefs.h. */
22658 #include <math.h>
22659 #ifdef HAVE_IEEEFP_H
22660 #include <ieeefp.h>
22661 #endif
22662
22663 int
22664 main ()
22665 {
22666 fpclass(0);
22667 ;
22668 return 0;
22669 }
22670 _ACEOF
22671 if ac_fn_cxx_try_compile "$LINENO"; then :
22672 glibcxx_cv_func_fpclass_use=yes
22673 else
22674 glibcxx_cv_func_fpclass_use=no
22675 fi
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 ac_ext=c
22678 ac_cpp='$CPP $CPPFLAGS'
22679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22682
22683
22684 fi
22685
22686 fi
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22688 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22689
22690 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22691 for ac_func in fpclass
22692 do :
22693 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22694 if test "x$ac_cv_func_fpclass" = x""yes; then :
22695 cat >>confdefs.h <<_ACEOF
22696 #define HAVE_FPCLASS 1
22697 _ACEOF
22698
22699 fi
22700 done
22701
22702 else
22703
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22705 $as_echo_n "checking for _fpclass declaration... " >&6; }
22706 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22707 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22708 $as_echo_n "(cached) " >&6
22709 else
22710
22711
22712 ac_ext=cpp
22713 ac_cpp='$CXXCPP $CPPFLAGS'
22714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22717
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22720 #include <math.h>
22721 #ifdef HAVE_IEEEFP_H
22722 #include <ieeefp.h>
22723 #endif
22724
22725 int
22726 main ()
22727 {
22728 _fpclass(0);
22729 ;
22730 return 0;
22731 }
22732 _ACEOF
22733 if ac_fn_cxx_try_compile "$LINENO"; then :
22734 glibcxx_cv_func__fpclass_use=yes
22735 else
22736 glibcxx_cv_func__fpclass_use=no
22737 fi
22738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22739 ac_ext=c
22740 ac_cpp='$CPP $CPPFLAGS'
22741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22744
22745
22746 fi
22747
22748 fi
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22750 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22751
22752 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22753 for ac_func in _fpclass
22754 do :
22755 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22756 if test "x$ac_cv_func__fpclass" = x""yes; then :
22757 cat >>confdefs.h <<_ACEOF
22758 #define HAVE__FPCLASS 1
22759 _ACEOF
22760
22761 fi
22762 done
22763
22764 fi
22765 fi
22766
22767
22768
22769
22770
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22772 $as_echo_n "checking for qfpclass declaration... " >&6; }
22773 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22774 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22775 $as_echo_n "(cached) " >&6
22776 else
22777
22778
22779 ac_ext=cpp
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22784
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22787 #include <math.h>
22788 #ifdef HAVE_IEEEFP_H
22789 #include <ieeefp.h>
22790 #endif
22791
22792 int
22793 main ()
22794 {
22795 qfpclass(0);
22796 ;
22797 return 0;
22798 }
22799 _ACEOF
22800 if ac_fn_cxx_try_compile "$LINENO"; then :
22801 glibcxx_cv_func_qfpclass_use=yes
22802 else
22803 glibcxx_cv_func_qfpclass_use=no
22804 fi
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 ac_ext=c
22807 ac_cpp='$CPP $CPPFLAGS'
22808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22811
22812
22813 fi
22814
22815 fi
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22817 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22818
22819 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22820 for ac_func in qfpclass
22821 do :
22822 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22823 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22824 cat >>confdefs.h <<_ACEOF
22825 #define HAVE_QFPCLASS 1
22826 _ACEOF
22827
22828 fi
22829 done
22830
22831 else
22832
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22834 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22835 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22836 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22839
22840
22841 ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846
22847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h. */
22849 #include <math.h>
22850 #ifdef HAVE_IEEEFP_H
22851 #include <ieeefp.h>
22852 #endif
22853
22854 int
22855 main ()
22856 {
22857 _qfpclass(0);
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func__qfpclass_use=yes
22864 else
22865 glibcxx_cv_func__qfpclass_use=no
22866 fi
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22873
22874
22875 fi
22876
22877 fi
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22879 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22880
22881 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22882 for ac_func in _qfpclass
22883 do :
22884 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22885 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE__QFPCLASS 1
22888 _ACEOF
22889
22890 fi
22891 done
22892
22893 fi
22894 fi
22895
22896
22897
22898
22899
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22901 $as_echo_n "checking for hypot declaration... " >&6; }
22902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22903 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22904 $as_echo_n "(cached) " >&6
22905 else
22906
22907
22908 ac_ext=cpp
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22913
22914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h. */
22916 #include <math.h>
22917 int
22918 main ()
22919 {
22920 hypot(0, 0);
22921 ;
22922 return 0;
22923 }
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926 glibcxx_cv_func_hypot_use=yes
22927 else
22928 glibcxx_cv_func_hypot_use=no
22929 fi
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931 ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22936
22937
22938 fi
22939
22940 fi
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22942 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22943
22944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22945 for ac_func in hypot
22946 do :
22947 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22948 if test "x$ac_cv_func_hypot" = x""yes; then :
22949 cat >>confdefs.h <<_ACEOF
22950 #define HAVE_HYPOT 1
22951 _ACEOF
22952
22953 fi
22954 done
22955
22956 else
22957
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22959 $as_echo_n "checking for _hypot declaration... " >&6; }
22960 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22961 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22964
22965
22966 ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22971
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974 #include <math.h>
22975 int
22976 main ()
22977 {
22978 _hypot(0, 0);
22979 ;
22980 return 0;
22981 }
22982 _ACEOF
22983 if ac_fn_cxx_try_compile "$LINENO"; then :
22984 glibcxx_cv_func__hypot_use=yes
22985 else
22986 glibcxx_cv_func__hypot_use=no
22987 fi
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 ac_ext=c
22990 ac_cpp='$CPP $CPPFLAGS'
22991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22994
22995
22996 fi
22997
22998 fi
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23000 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23001
23002 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23003 for ac_func in _hypot
23004 do :
23005 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23006 if test "x$ac_cv_func__hypot" = x""yes; then :
23007 cat >>confdefs.h <<_ACEOF
23008 #define HAVE__HYPOT 1
23009 _ACEOF
23010
23011 fi
23012 done
23013
23014 fi
23015 fi
23016
23017
23018
23019
23020
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23022 $as_echo_n "checking for float trig functions... " >&6; }
23023 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23024 $as_echo_n "(cached) " >&6
23025 else
23026
23027
23028 ac_ext=cpp
23029 ac_cpp='$CXXCPP $CPPFLAGS'
23030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033
23034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23036 #include <math.h>
23037 int
23038 main ()
23039 {
23040 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23041 ;
23042 return 0;
23043 }
23044 _ACEOF
23045 if ac_fn_cxx_try_compile "$LINENO"; then :
23046 glibcxx_cv_func_float_trig_use=yes
23047 else
23048 glibcxx_cv_func_float_trig_use=no
23049 fi
23050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051 ac_ext=c
23052 ac_cpp='$CPP $CPPFLAGS'
23053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23056
23057 fi
23058
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23060 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23061 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23062 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23063 do :
23064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23066 eval as_val=\$$as_ac_var
23067 if test "x$as_val" = x""yes; then :
23068 cat >>confdefs.h <<_ACEOF
23069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23070 _ACEOF
23071
23072 fi
23073 done
23074
23075 else
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23077 $as_echo_n "checking for _float trig functions... " >&6; }
23078 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23079 $as_echo_n "(cached) " >&6
23080 else
23081
23082
23083 ac_ext=cpp
23084 ac_cpp='$CXXCPP $CPPFLAGS'
23085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23088
23089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23090 /* end confdefs.h. */
23091 #include <math.h>
23092 int
23093 main ()
23094 {
23095 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23096 ;
23097 return 0;
23098 }
23099 _ACEOF
23100 if ac_fn_cxx_try_compile "$LINENO"; then :
23101 glibcxx_cv_func__float_trig_use=yes
23102 else
23103 glibcxx_cv_func__float_trig_use=no
23104 fi
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 ac_ext=c
23107 ac_cpp='$CPP $CPPFLAGS'
23108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23111
23112 fi
23113
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23115 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23116 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23117 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23118 do :
23119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23121 eval as_val=\$$as_ac_var
23122 if test "x$as_val" = x""yes; then :
23123 cat >>confdefs.h <<_ACEOF
23124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23125 _ACEOF
23126
23127 fi
23128 done
23129
23130 fi
23131 fi
23132
23133
23134
23135
23136
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23138 $as_echo_n "checking for float round functions... " >&6; }
23139 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23140 $as_echo_n "(cached) " >&6
23141 else
23142
23143
23144 ac_ext=cpp
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23149
23150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23152 #include <math.h>
23153 int
23154 main ()
23155 {
23156 ceilf (0); floorf (0);
23157 ;
23158 return 0;
23159 }
23160 _ACEOF
23161 if ac_fn_cxx_try_compile "$LINENO"; then :
23162 glibcxx_cv_func_float_round_use=yes
23163 else
23164 glibcxx_cv_func_float_round_use=no
23165 fi
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_ext=c
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23172
23173 fi
23174
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23176 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23177 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23178 for ac_func in ceilf floorf
23179 do :
23180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23182 eval as_val=\$$as_ac_var
23183 if test "x$as_val" = x""yes; then :
23184 cat >>confdefs.h <<_ACEOF
23185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23186 _ACEOF
23187
23188 fi
23189 done
23190
23191 else
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23193 $as_echo_n "checking for _float round functions... " >&6; }
23194 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23195 $as_echo_n "(cached) " >&6
23196 else
23197
23198
23199 ac_ext=cpp
23200 ac_cpp='$CXXCPP $CPPFLAGS'
23201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23204
23205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23207 #include <math.h>
23208 int
23209 main ()
23210 {
23211 _ceilf (0); _floorf (0);
23212 ;
23213 return 0;
23214 }
23215 _ACEOF
23216 if ac_fn_cxx_try_compile "$LINENO"; then :
23217 glibcxx_cv_func__float_round_use=yes
23218 else
23219 glibcxx_cv_func__float_round_use=no
23220 fi
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23222 ac_ext=c
23223 ac_cpp='$CPP $CPPFLAGS'
23224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23227
23228 fi
23229
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23231 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23232 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23233 for ac_func in _ceilf _floorf
23234 do :
23235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23237 eval as_val=\$$as_ac_var
23238 if test "x$as_val" = x""yes; then :
23239 cat >>confdefs.h <<_ACEOF
23240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23241 _ACEOF
23242
23243 fi
23244 done
23245
23246 fi
23247 fi
23248
23249
23250
23251
23252
23253
23254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23255 $as_echo_n "checking for expf declaration... " >&6; }
23256 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23257 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23258 $as_echo_n "(cached) " >&6
23259 else
23260
23261
23262 ac_ext=cpp
23263 ac_cpp='$CXXCPP $CPPFLAGS'
23264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23267
23268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23269 /* end confdefs.h. */
23270 #include <math.h>
23271 #ifdef HAVE_IEEEFP_H
23272 #include <ieeefp.h>
23273 #endif
23274
23275 int
23276 main ()
23277 {
23278 expf(0);
23279 ;
23280 return 0;
23281 }
23282 _ACEOF
23283 if ac_fn_cxx_try_compile "$LINENO"; then :
23284 glibcxx_cv_func_expf_use=yes
23285 else
23286 glibcxx_cv_func_expf_use=no
23287 fi
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23289 ac_ext=c
23290 ac_cpp='$CPP $CPPFLAGS'
23291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23294
23295
23296 fi
23297
23298 fi
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23300 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23301
23302 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23303 for ac_func in expf
23304 do :
23305 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23306 if test "x$ac_cv_func_expf" = x""yes; then :
23307 cat >>confdefs.h <<_ACEOF
23308 #define HAVE_EXPF 1
23309 _ACEOF
23310
23311 fi
23312 done
23313
23314 else
23315
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23317 $as_echo_n "checking for _expf declaration... " >&6; }
23318 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23319 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23320 $as_echo_n "(cached) " >&6
23321 else
23322
23323
23324 ac_ext=cpp
23325 ac_cpp='$CXXCPP $CPPFLAGS'
23326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23329
23330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332 #include <math.h>
23333 #ifdef HAVE_IEEEFP_H
23334 #include <ieeefp.h>
23335 #endif
23336
23337 int
23338 main ()
23339 {
23340 _expf(0);
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func__expf_use=yes
23347 else
23348 glibcxx_cv_func__expf_use=no
23349 fi
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23356
23357
23358 fi
23359
23360 fi
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23362 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23363
23364 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23365 for ac_func in _expf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23368 if test "x$ac_cv_func__expf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE__EXPF 1
23371 _ACEOF
23372
23373 fi
23374 done
23375
23376 fi
23377 fi
23378
23379
23380
23381
23382
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23384 $as_echo_n "checking for isnanf declaration... " >&6; }
23385 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23386 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23387 $as_echo_n "(cached) " >&6
23388 else
23389
23390
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23399 #include <math.h>
23400 #ifdef HAVE_IEEEFP_H
23401 #include <ieeefp.h>
23402 #endif
23403
23404 int
23405 main ()
23406 {
23407 isnanf(0);
23408 ;
23409 return 0;
23410 }
23411 _ACEOF
23412 if ac_fn_cxx_try_compile "$LINENO"; then :
23413 glibcxx_cv_func_isnanf_use=yes
23414 else
23415 glibcxx_cv_func_isnanf_use=no
23416 fi
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423
23424
23425 fi
23426
23427 fi
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23429 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23430
23431 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23432 for ac_func in isnanf
23433 do :
23434 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23435 if test "x$ac_cv_func_isnanf" = x""yes; then :
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE_ISNANF 1
23438 _ACEOF
23439
23440 fi
23441 done
23442
23443 else
23444
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23446 $as_echo_n "checking for _isnanf declaration... " >&6; }
23447 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23448 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23451
23452
23453 ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23458
23459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23465
23466 int
23467 main ()
23468 {
23469 _isnanf(0);
23470 ;
23471 return 0;
23472 }
23473 _ACEOF
23474 if ac_fn_cxx_try_compile "$LINENO"; then :
23475 glibcxx_cv_func__isnanf_use=yes
23476 else
23477 glibcxx_cv_func__isnanf_use=no
23478 fi
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485
23486
23487 fi
23488
23489 fi
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23491 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23492
23493 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23494 for ac_func in _isnanf
23495 do :
23496 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23497 if test "x$ac_cv_func__isnanf" = x""yes; then :
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE__ISNANF 1
23500 _ACEOF
23501
23502 fi
23503 done
23504
23505 fi
23506 fi
23507
23508
23509
23510
23511
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23513 $as_echo_n "checking for isinff declaration... " >&6; }
23514 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23515 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23517 else
23518
23519
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525
23526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 #ifdef HAVE_IEEEFP_H
23530 #include <ieeefp.h>
23531 #endif
23532
23533 int
23534 main ()
23535 {
23536 isinff(0);
23537 ;
23538 return 0;
23539 }
23540 _ACEOF
23541 if ac_fn_cxx_try_compile "$LINENO"; then :
23542 glibcxx_cv_func_isinff_use=yes
23543 else
23544 glibcxx_cv_func_isinff_use=no
23545 fi
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 ac_ext=c
23548 ac_cpp='$CPP $CPPFLAGS'
23549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23552
23553
23554 fi
23555
23556 fi
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23558 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23559
23560 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23561 for ac_func in isinff
23562 do :
23563 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23564 if test "x$ac_cv_func_isinff" = x""yes; then :
23565 cat >>confdefs.h <<_ACEOF
23566 #define HAVE_ISINFF 1
23567 _ACEOF
23568
23569 fi
23570 done
23571
23572 else
23573
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23575 $as_echo_n "checking for _isinff declaration... " >&6; }
23576 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23577 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23579 else
23580
23581
23582 ac_ext=cpp
23583 ac_cpp='$CXXCPP $CPPFLAGS'
23584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23587
23588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23589 /* end confdefs.h. */
23590 #include <math.h>
23591 #ifdef HAVE_IEEEFP_H
23592 #include <ieeefp.h>
23593 #endif
23594
23595 int
23596 main ()
23597 {
23598 _isinff(0);
23599 ;
23600 return 0;
23601 }
23602 _ACEOF
23603 if ac_fn_cxx_try_compile "$LINENO"; then :
23604 glibcxx_cv_func__isinff_use=yes
23605 else
23606 glibcxx_cv_func__isinff_use=no
23607 fi
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 ac_ext=c
23610 ac_cpp='$CPP $CPPFLAGS'
23611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23614
23615
23616 fi
23617
23618 fi
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23620 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23621
23622 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23623 for ac_func in _isinff
23624 do :
23625 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23626 if test "x$ac_cv_func__isinff" = x""yes; then :
23627 cat >>confdefs.h <<_ACEOF
23628 #define HAVE__ISINFF 1
23629 _ACEOF
23630
23631 fi
23632 done
23633
23634 fi
23635 fi
23636
23637
23638
23639
23640
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23642 $as_echo_n "checking for atan2f declaration... " >&6; }
23643 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23644 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23645 $as_echo_n "(cached) " >&6
23646 else
23647
23648
23649 ac_ext=cpp
23650 ac_cpp='$CXXCPP $CPPFLAGS'
23651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23654
23655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23656 /* end confdefs.h. */
23657 #include <math.h>
23658 int
23659 main ()
23660 {
23661 atan2f(0, 0);
23662 ;
23663 return 0;
23664 }
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func_atan2f_use=yes
23668 else
23669 glibcxx_cv_func_atan2f_use=no
23670 fi
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23677
23678
23679 fi
23680
23681 fi
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23683 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23684
23685 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23686 for ac_func in atan2f
23687 do :
23688 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23689 if test "x$ac_cv_func_atan2f" = x""yes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE_ATAN2F 1
23692 _ACEOF
23693
23694 fi
23695 done
23696
23697 else
23698
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23700 $as_echo_n "checking for _atan2f declaration... " >&6; }
23701 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23702 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23705
23706
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23716 int
23717 main ()
23718 {
23719 _atan2f(0, 0);
23720 ;
23721 return 0;
23722 }
23723 _ACEOF
23724 if ac_fn_cxx_try_compile "$LINENO"; then :
23725 glibcxx_cv_func__atan2f_use=yes
23726 else
23727 glibcxx_cv_func__atan2f_use=no
23728 fi
23729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23730 ac_ext=c
23731 ac_cpp='$CPP $CPPFLAGS'
23732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23735
23736
23737 fi
23738
23739 fi
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23741 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23742
23743 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23744 for ac_func in _atan2f
23745 do :
23746 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23747 if test "x$ac_cv_func__atan2f" = x""yes; then :
23748 cat >>confdefs.h <<_ACEOF
23749 #define HAVE__ATAN2F 1
23750 _ACEOF
23751
23752 fi
23753 done
23754
23755 fi
23756 fi
23757
23758
23759
23760
23761
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23763 $as_echo_n "checking for fabsf declaration... " >&6; }
23764 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23765 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23766 $as_echo_n "(cached) " >&6
23767 else
23768
23769
23770 ac_ext=cpp
23771 ac_cpp='$CXXCPP $CPPFLAGS'
23772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23775
23776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23777 /* end confdefs.h. */
23778 #include <math.h>
23779 #ifdef HAVE_IEEEFP_H
23780 #include <ieeefp.h>
23781 #endif
23782
23783 int
23784 main ()
23785 {
23786 fabsf(0);
23787 ;
23788 return 0;
23789 }
23790 _ACEOF
23791 if ac_fn_cxx_try_compile "$LINENO"; then :
23792 glibcxx_cv_func_fabsf_use=yes
23793 else
23794 glibcxx_cv_func_fabsf_use=no
23795 fi
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 ac_ext=c
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23802
23803
23804 fi
23805
23806 fi
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23808 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23809
23810 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23811 for ac_func in fabsf
23812 do :
23813 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23814 if test "x$ac_cv_func_fabsf" = x""yes; then :
23815 cat >>confdefs.h <<_ACEOF
23816 #define HAVE_FABSF 1
23817 _ACEOF
23818
23819 fi
23820 done
23821
23822 else
23823
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23825 $as_echo_n "checking for _fabsf declaration... " >&6; }
23826 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23827 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23828 $as_echo_n "(cached) " >&6
23829 else
23830
23831
23832 ac_ext=cpp
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23837
23838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 /* end confdefs.h. */
23840 #include <math.h>
23841 #ifdef HAVE_IEEEFP_H
23842 #include <ieeefp.h>
23843 #endif
23844
23845 int
23846 main ()
23847 {
23848 _fabsf(0);
23849 ;
23850 return 0;
23851 }
23852 _ACEOF
23853 if ac_fn_cxx_try_compile "$LINENO"; then :
23854 glibcxx_cv_func__fabsf_use=yes
23855 else
23856 glibcxx_cv_func__fabsf_use=no
23857 fi
23858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23859 ac_ext=c
23860 ac_cpp='$CPP $CPPFLAGS'
23861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23864
23865
23866 fi
23867
23868 fi
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23870 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23871
23872 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23873 for ac_func in _fabsf
23874 do :
23875 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23876 if test "x$ac_cv_func__fabsf" = x""yes; then :
23877 cat >>confdefs.h <<_ACEOF
23878 #define HAVE__FABSF 1
23879 _ACEOF
23880
23881 fi
23882 done
23883
23884 fi
23885 fi
23886
23887
23888
23889
23890
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23892 $as_echo_n "checking for fmodf declaration... " >&6; }
23893 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23894 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23895 $as_echo_n "(cached) " >&6
23896 else
23897
23898
23899 ac_ext=cpp
23900 ac_cpp='$CXXCPP $CPPFLAGS'
23901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23904
23905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23906 /* end confdefs.h. */
23907 #include <math.h>
23908 int
23909 main ()
23910 {
23911 fmodf(0, 0);
23912 ;
23913 return 0;
23914 }
23915 _ACEOF
23916 if ac_fn_cxx_try_compile "$LINENO"; then :
23917 glibcxx_cv_func_fmodf_use=yes
23918 else
23919 glibcxx_cv_func_fmodf_use=no
23920 fi
23921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23922 ac_ext=c
23923 ac_cpp='$CPP $CPPFLAGS'
23924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23927
23928
23929 fi
23930
23931 fi
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23933 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23934
23935 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23936 for ac_func in fmodf
23937 do :
23938 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23939 if test "x$ac_cv_func_fmodf" = x""yes; then :
23940 cat >>confdefs.h <<_ACEOF
23941 #define HAVE_FMODF 1
23942 _ACEOF
23943
23944 fi
23945 done
23946
23947 else
23948
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23950 $as_echo_n "checking for _fmodf declaration... " >&6; }
23951 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23952 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23953 $as_echo_n "(cached) " >&6
23954 else
23955
23956
23957 ac_ext=cpp
23958 ac_cpp='$CXXCPP $CPPFLAGS'
23959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23962
23963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23965 #include <math.h>
23966 int
23967 main ()
23968 {
23969 _fmodf(0, 0);
23970 ;
23971 return 0;
23972 }
23973 _ACEOF
23974 if ac_fn_cxx_try_compile "$LINENO"; then :
23975 glibcxx_cv_func__fmodf_use=yes
23976 else
23977 glibcxx_cv_func__fmodf_use=no
23978 fi
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23985
23986
23987 fi
23988
23989 fi
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23991 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23992
23993 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23994 for ac_func in _fmodf
23995 do :
23996 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23997 if test "x$ac_cv_func__fmodf" = x""yes; then :
23998 cat >>confdefs.h <<_ACEOF
23999 #define HAVE__FMODF 1
24000 _ACEOF
24001
24002 fi
24003 done
24004
24005 fi
24006 fi
24007
24008
24009
24010
24011
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24013 $as_echo_n "checking for frexpf declaration... " >&6; }
24014 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24015 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24016 $as_echo_n "(cached) " >&6
24017 else
24018
24019
24020 ac_ext=cpp
24021 ac_cpp='$CXXCPP $CPPFLAGS'
24022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24025
24026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24028 #include <math.h>
24029 int
24030 main ()
24031 {
24032 frexpf(0, 0);
24033 ;
24034 return 0;
24035 }
24036 _ACEOF
24037 if ac_fn_cxx_try_compile "$LINENO"; then :
24038 glibcxx_cv_func_frexpf_use=yes
24039 else
24040 glibcxx_cv_func_frexpf_use=no
24041 fi
24042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24043 ac_ext=c
24044 ac_cpp='$CPP $CPPFLAGS'
24045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24048
24049
24050 fi
24051
24052 fi
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24054 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24055
24056 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24057 for ac_func in frexpf
24058 do :
24059 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24060 if test "x$ac_cv_func_frexpf" = x""yes; then :
24061 cat >>confdefs.h <<_ACEOF
24062 #define HAVE_FREXPF 1
24063 _ACEOF
24064
24065 fi
24066 done
24067
24068 else
24069
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24071 $as_echo_n "checking for _frexpf declaration... " >&6; }
24072 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24073 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24074 $as_echo_n "(cached) " >&6
24075 else
24076
24077
24078 ac_ext=cpp
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083
24084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h. */
24086 #include <math.h>
24087 int
24088 main ()
24089 {
24090 _frexpf(0, 0);
24091 ;
24092 return 0;
24093 }
24094 _ACEOF
24095 if ac_fn_cxx_try_compile "$LINENO"; then :
24096 glibcxx_cv_func__frexpf_use=yes
24097 else
24098 glibcxx_cv_func__frexpf_use=no
24099 fi
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 ac_ext=c
24102 ac_cpp='$CPP $CPPFLAGS'
24103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24106
24107
24108 fi
24109
24110 fi
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24112 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24113
24114 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24115 for ac_func in _frexpf
24116 do :
24117 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24118 if test "x$ac_cv_func__frexpf" = x""yes; then :
24119 cat >>confdefs.h <<_ACEOF
24120 #define HAVE__FREXPF 1
24121 _ACEOF
24122
24123 fi
24124 done
24125
24126 fi
24127 fi
24128
24129
24130
24131
24132
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24134 $as_echo_n "checking for hypotf declaration... " >&6; }
24135 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24136 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24137 $as_echo_n "(cached) " >&6
24138 else
24139
24140
24141 ac_ext=cpp
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24146
24147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24148 /* end confdefs.h. */
24149 #include <math.h>
24150 int
24151 main ()
24152 {
24153 hypotf(0, 0);
24154 ;
24155 return 0;
24156 }
24157 _ACEOF
24158 if ac_fn_cxx_try_compile "$LINENO"; then :
24159 glibcxx_cv_func_hypotf_use=yes
24160 else
24161 glibcxx_cv_func_hypotf_use=no
24162 fi
24163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24164 ac_ext=c
24165 ac_cpp='$CPP $CPPFLAGS'
24166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24169
24170
24171 fi
24172
24173 fi
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24175 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24176
24177 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24178 for ac_func in hypotf
24179 do :
24180 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24181 if test "x$ac_cv_func_hypotf" = x""yes; then :
24182 cat >>confdefs.h <<_ACEOF
24183 #define HAVE_HYPOTF 1
24184 _ACEOF
24185
24186 fi
24187 done
24188
24189 else
24190
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24192 $as_echo_n "checking for _hypotf declaration... " >&6; }
24193 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24194 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24195 $as_echo_n "(cached) " >&6
24196 else
24197
24198
24199 ac_ext=cpp
24200 ac_cpp='$CXXCPP $CPPFLAGS'
24201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24204
24205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24206 /* end confdefs.h. */
24207 #include <math.h>
24208 int
24209 main ()
24210 {
24211 _hypotf(0, 0);
24212 ;
24213 return 0;
24214 }
24215 _ACEOF
24216 if ac_fn_cxx_try_compile "$LINENO"; then :
24217 glibcxx_cv_func__hypotf_use=yes
24218 else
24219 glibcxx_cv_func__hypotf_use=no
24220 fi
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24222 ac_ext=c
24223 ac_cpp='$CPP $CPPFLAGS'
24224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24227
24228
24229 fi
24230
24231 fi
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24233 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24234
24235 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24236 for ac_func in _hypotf
24237 do :
24238 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24239 if test "x$ac_cv_func__hypotf" = x""yes; then :
24240 cat >>confdefs.h <<_ACEOF
24241 #define HAVE__HYPOTF 1
24242 _ACEOF
24243
24244 fi
24245 done
24246
24247 fi
24248 fi
24249
24250
24251
24252
24253
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24255 $as_echo_n "checking for ldexpf declaration... " >&6; }
24256 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24257 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24259 else
24260
24261
24262 ac_ext=cpp
24263 ac_cpp='$CXXCPP $CPPFLAGS'
24264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24267
24268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269 /* end confdefs.h. */
24270 #include <math.h>
24271 int
24272 main ()
24273 {
24274 ldexpf(0, 0);
24275 ;
24276 return 0;
24277 }
24278 _ACEOF
24279 if ac_fn_cxx_try_compile "$LINENO"; then :
24280 glibcxx_cv_func_ldexpf_use=yes
24281 else
24282 glibcxx_cv_func_ldexpf_use=no
24283 fi
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285 ac_ext=c
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24290
24291
24292 fi
24293
24294 fi
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24296 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24297
24298 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24299 for ac_func in ldexpf
24300 do :
24301 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24302 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24303 cat >>confdefs.h <<_ACEOF
24304 #define HAVE_LDEXPF 1
24305 _ACEOF
24306
24307 fi
24308 done
24309
24310 else
24311
24312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24313 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24314 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24315 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24317 else
24318
24319
24320 ac_ext=cpp
24321 ac_cpp='$CXXCPP $CPPFLAGS'
24322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24325
24326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24327 /* end confdefs.h. */
24328 #include <math.h>
24329 int
24330 main ()
24331 {
24332 _ldexpf(0, 0);
24333 ;
24334 return 0;
24335 }
24336 _ACEOF
24337 if ac_fn_cxx_try_compile "$LINENO"; then :
24338 glibcxx_cv_func__ldexpf_use=yes
24339 else
24340 glibcxx_cv_func__ldexpf_use=no
24341 fi
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343 ac_ext=c
24344 ac_cpp='$CPP $CPPFLAGS'
24345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24348
24349
24350 fi
24351
24352 fi
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24354 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24355
24356 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24357 for ac_func in _ldexpf
24358 do :
24359 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24360 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24361 cat >>confdefs.h <<_ACEOF
24362 #define HAVE__LDEXPF 1
24363 _ACEOF
24364
24365 fi
24366 done
24367
24368 fi
24369 fi
24370
24371
24372
24373
24374
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24376 $as_echo_n "checking for logf declaration... " >&6; }
24377 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24378 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24381
24382
24383 ac_ext=cpp
24384 ac_cpp='$CXXCPP $CPPFLAGS'
24385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24388
24389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h. */
24391 #include <math.h>
24392 #ifdef HAVE_IEEEFP_H
24393 #include <ieeefp.h>
24394 #endif
24395
24396 int
24397 main ()
24398 {
24399 logf(0);
24400 ;
24401 return 0;
24402 }
24403 _ACEOF
24404 if ac_fn_cxx_try_compile "$LINENO"; then :
24405 glibcxx_cv_func_logf_use=yes
24406 else
24407 glibcxx_cv_func_logf_use=no
24408 fi
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 ac_ext=c
24411 ac_cpp='$CPP $CPPFLAGS'
24412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24415
24416
24417 fi
24418
24419 fi
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24421 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24422
24423 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24424 for ac_func in logf
24425 do :
24426 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24427 if test "x$ac_cv_func_logf" = x""yes; then :
24428 cat >>confdefs.h <<_ACEOF
24429 #define HAVE_LOGF 1
24430 _ACEOF
24431
24432 fi
24433 done
24434
24435 else
24436
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24438 $as_echo_n "checking for _logf declaration... " >&6; }
24439 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24440 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24441 $as_echo_n "(cached) " >&6
24442 else
24443
24444
24445 ac_ext=cpp
24446 ac_cpp='$CXXCPP $CPPFLAGS'
24447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24450
24451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24453 #include <math.h>
24454 #ifdef HAVE_IEEEFP_H
24455 #include <ieeefp.h>
24456 #endif
24457
24458 int
24459 main ()
24460 {
24461 _logf(0);
24462 ;
24463 return 0;
24464 }
24465 _ACEOF
24466 if ac_fn_cxx_try_compile "$LINENO"; then :
24467 glibcxx_cv_func__logf_use=yes
24468 else
24469 glibcxx_cv_func__logf_use=no
24470 fi
24471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24472 ac_ext=c
24473 ac_cpp='$CPP $CPPFLAGS'
24474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24477
24478
24479 fi
24480
24481 fi
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24483 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24484
24485 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24486 for ac_func in _logf
24487 do :
24488 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24489 if test "x$ac_cv_func__logf" = x""yes; then :
24490 cat >>confdefs.h <<_ACEOF
24491 #define HAVE__LOGF 1
24492 _ACEOF
24493
24494 fi
24495 done
24496
24497 fi
24498 fi
24499
24500
24501
24502
24503
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24505 $as_echo_n "checking for log10f declaration... " >&6; }
24506 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24507 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24508 $as_echo_n "(cached) " >&6
24509 else
24510
24511
24512 ac_ext=cpp
24513 ac_cpp='$CXXCPP $CPPFLAGS'
24514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24517
24518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h. */
24520 #include <math.h>
24521 #ifdef HAVE_IEEEFP_H
24522 #include <ieeefp.h>
24523 #endif
24524
24525 int
24526 main ()
24527 {
24528 log10f(0);
24529 ;
24530 return 0;
24531 }
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_log10f_use=yes
24535 else
24536 glibcxx_cv_func_log10f_use=no
24537 fi
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24544
24545
24546 fi
24547
24548 fi
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24550 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24551
24552 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24553 for ac_func in log10f
24554 do :
24555 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24556 if test "x$ac_cv_func_log10f" = x""yes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_LOG10F 1
24559 _ACEOF
24560
24561 fi
24562 done
24563
24564 else
24565
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24567 $as_echo_n "checking for _log10f declaration... " >&6; }
24568 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24569 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24572
24573
24574 ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24579
24580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24582 #include <math.h>
24583 #ifdef HAVE_IEEEFP_H
24584 #include <ieeefp.h>
24585 #endif
24586
24587 int
24588 main ()
24589 {
24590 _log10f(0);
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 if ac_fn_cxx_try_compile "$LINENO"; then :
24596 glibcxx_cv_func__log10f_use=yes
24597 else
24598 glibcxx_cv_func__log10f_use=no
24599 fi
24600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 ac_ext=c
24602 ac_cpp='$CPP $CPPFLAGS'
24603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24606
24607
24608 fi
24609
24610 fi
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24612 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24613
24614 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24615 for ac_func in _log10f
24616 do :
24617 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24618 if test "x$ac_cv_func__log10f" = x""yes; then :
24619 cat >>confdefs.h <<_ACEOF
24620 #define HAVE__LOG10F 1
24621 _ACEOF
24622
24623 fi
24624 done
24625
24626 fi
24627 fi
24628
24629
24630
24631
24632
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24634 $as_echo_n "checking for modff declaration... " >&6; }
24635 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24636 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24637 $as_echo_n "(cached) " >&6
24638 else
24639
24640
24641 ac_ext=cpp
24642 ac_cpp='$CXXCPP $CPPFLAGS'
24643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24646
24647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24648 /* end confdefs.h. */
24649 #include <math.h>
24650 int
24651 main ()
24652 {
24653 modff(0, 0);
24654 ;
24655 return 0;
24656 }
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_modff_use=yes
24660 else
24661 glibcxx_cv_func_modff_use=no
24662 fi
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24669
24670
24671 fi
24672
24673 fi
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24675 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24676
24677 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24678 for ac_func in modff
24679 do :
24680 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24681 if test "x$ac_cv_func_modff" = x""yes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_MODFF 1
24684 _ACEOF
24685
24686 fi
24687 done
24688
24689 else
24690
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24692 $as_echo_n "checking for _modff declaration... " >&6; }
24693 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24694 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24697
24698
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24708 int
24709 main ()
24710 {
24711 _modff(0, 0);
24712 ;
24713 return 0;
24714 }
24715 _ACEOF
24716 if ac_fn_cxx_try_compile "$LINENO"; then :
24717 glibcxx_cv_func__modff_use=yes
24718 else
24719 glibcxx_cv_func__modff_use=no
24720 fi
24721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24722 ac_ext=c
24723 ac_cpp='$CPP $CPPFLAGS'
24724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24727
24728
24729 fi
24730
24731 fi
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24733 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24734
24735 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24736 for ac_func in _modff
24737 do :
24738 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24739 if test "x$ac_cv_func__modff" = x""yes; then :
24740 cat >>confdefs.h <<_ACEOF
24741 #define HAVE__MODFF 1
24742 _ACEOF
24743
24744 fi
24745 done
24746
24747 fi
24748 fi
24749
24750
24751
24752
24753
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24755 $as_echo_n "checking for modf declaration... " >&6; }
24756 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24757 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24758 $as_echo_n "(cached) " >&6
24759 else
24760
24761
24762 ac_ext=cpp
24763 ac_cpp='$CXXCPP $CPPFLAGS'
24764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24767
24768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24769 /* end confdefs.h. */
24770 #include <math.h>
24771 int
24772 main ()
24773 {
24774 modf(0, 0);
24775 ;
24776 return 0;
24777 }
24778 _ACEOF
24779 if ac_fn_cxx_try_compile "$LINENO"; then :
24780 glibcxx_cv_func_modf_use=yes
24781 else
24782 glibcxx_cv_func_modf_use=no
24783 fi
24784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24785 ac_ext=c
24786 ac_cpp='$CPP $CPPFLAGS'
24787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24790
24791
24792 fi
24793
24794 fi
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24796 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24797
24798 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24799 for ac_func in modf
24800 do :
24801 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24802 if test "x$ac_cv_func_modf" = x""yes; then :
24803 cat >>confdefs.h <<_ACEOF
24804 #define HAVE_MODF 1
24805 _ACEOF
24806
24807 fi
24808 done
24809
24810 else
24811
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24813 $as_echo_n "checking for _modf declaration... " >&6; }
24814 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24815 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24816 $as_echo_n "(cached) " >&6
24817 else
24818
24819
24820 ac_ext=cpp
24821 ac_cpp='$CXXCPP $CPPFLAGS'
24822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24825
24826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24827 /* end confdefs.h. */
24828 #include <math.h>
24829 int
24830 main ()
24831 {
24832 _modf(0, 0);
24833 ;
24834 return 0;
24835 }
24836 _ACEOF
24837 if ac_fn_cxx_try_compile "$LINENO"; then :
24838 glibcxx_cv_func__modf_use=yes
24839 else
24840 glibcxx_cv_func__modf_use=no
24841 fi
24842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24843 ac_ext=c
24844 ac_cpp='$CPP $CPPFLAGS'
24845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24848
24849
24850 fi
24851
24852 fi
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24854 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24855
24856 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24857 for ac_func in _modf
24858 do :
24859 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24860 if test "x$ac_cv_func__modf" = x""yes; then :
24861 cat >>confdefs.h <<_ACEOF
24862 #define HAVE__MODF 1
24863 _ACEOF
24864
24865 fi
24866 done
24867
24868 fi
24869 fi
24870
24871
24872
24873
24874
24875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24876 $as_echo_n "checking for powf declaration... " >&6; }
24877 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24878 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24879 $as_echo_n "(cached) " >&6
24880 else
24881
24882
24883 ac_ext=cpp
24884 ac_cpp='$CXXCPP $CPPFLAGS'
24885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24888
24889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h. */
24891 #include <math.h>
24892 int
24893 main ()
24894 {
24895 powf(0, 0);
24896 ;
24897 return 0;
24898 }
24899 _ACEOF
24900 if ac_fn_cxx_try_compile "$LINENO"; then :
24901 glibcxx_cv_func_powf_use=yes
24902 else
24903 glibcxx_cv_func_powf_use=no
24904 fi
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906 ac_ext=c
24907 ac_cpp='$CPP $CPPFLAGS'
24908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24911
24912
24913 fi
24914
24915 fi
24916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24917 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24918
24919 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24920 for ac_func in powf
24921 do :
24922 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24923 if test "x$ac_cv_func_powf" = x""yes; then :
24924 cat >>confdefs.h <<_ACEOF
24925 #define HAVE_POWF 1
24926 _ACEOF
24927
24928 fi
24929 done
24930
24931 else
24932
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24934 $as_echo_n "checking for _powf declaration... " >&6; }
24935 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24936 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24937 $as_echo_n "(cached) " >&6
24938 else
24939
24940
24941 ac_ext=cpp
24942 ac_cpp='$CXXCPP $CPPFLAGS'
24943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24949 #include <math.h>
24950 int
24951 main ()
24952 {
24953 _powf(0, 0);
24954 ;
24955 return 0;
24956 }
24957 _ACEOF
24958 if ac_fn_cxx_try_compile "$LINENO"; then :
24959 glibcxx_cv_func__powf_use=yes
24960 else
24961 glibcxx_cv_func__powf_use=no
24962 fi
24963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24964 ac_ext=c
24965 ac_cpp='$CPP $CPPFLAGS'
24966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24969
24970
24971 fi
24972
24973 fi
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24975 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24976
24977 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24978 for ac_func in _powf
24979 do :
24980 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24981 if test "x$ac_cv_func__powf" = x""yes; then :
24982 cat >>confdefs.h <<_ACEOF
24983 #define HAVE__POWF 1
24984 _ACEOF
24985
24986 fi
24987 done
24988
24989 fi
24990 fi
24991
24992
24993
24994
24995
24996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24997 $as_echo_n "checking for sqrtf declaration... " >&6; }
24998 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24999 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25000 $as_echo_n "(cached) " >&6
25001 else
25002
25003
25004 ac_ext=cpp
25005 ac_cpp='$CXXCPP $CPPFLAGS'
25006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25009
25010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25011 /* end confdefs.h. */
25012 #include <math.h>
25013 #ifdef HAVE_IEEEFP_H
25014 #include <ieeefp.h>
25015 #endif
25016
25017 int
25018 main ()
25019 {
25020 sqrtf(0);
25021 ;
25022 return 0;
25023 }
25024 _ACEOF
25025 if ac_fn_cxx_try_compile "$LINENO"; then :
25026 glibcxx_cv_func_sqrtf_use=yes
25027 else
25028 glibcxx_cv_func_sqrtf_use=no
25029 fi
25030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25031 ac_ext=c
25032 ac_cpp='$CPP $CPPFLAGS'
25033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25036
25037
25038 fi
25039
25040 fi
25041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25042 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25043
25044 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25045 for ac_func in sqrtf
25046 do :
25047 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25048 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25049 cat >>confdefs.h <<_ACEOF
25050 #define HAVE_SQRTF 1
25051 _ACEOF
25052
25053 fi
25054 done
25055
25056 else
25057
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25059 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25060 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25061 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25062 $as_echo_n "(cached) " >&6
25063 else
25064
25065
25066 ac_ext=cpp
25067 ac_cpp='$CXXCPP $CPPFLAGS'
25068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25071
25072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073 /* end confdefs.h. */
25074 #include <math.h>
25075 #ifdef HAVE_IEEEFP_H
25076 #include <ieeefp.h>
25077 #endif
25078
25079 int
25080 main ()
25081 {
25082 _sqrtf(0);
25083 ;
25084 return 0;
25085 }
25086 _ACEOF
25087 if ac_fn_cxx_try_compile "$LINENO"; then :
25088 glibcxx_cv_func__sqrtf_use=yes
25089 else
25090 glibcxx_cv_func__sqrtf_use=no
25091 fi
25092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25093 ac_ext=c
25094 ac_cpp='$CPP $CPPFLAGS'
25095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25098
25099
25100 fi
25101
25102 fi
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25104 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25105
25106 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25107 for ac_func in _sqrtf
25108 do :
25109 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25110 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25111 cat >>confdefs.h <<_ACEOF
25112 #define HAVE__SQRTF 1
25113 _ACEOF
25114
25115 fi
25116 done
25117
25118 fi
25119 fi
25120
25121
25122
25123
25124
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25126 $as_echo_n "checking for sincosf declaration... " >&6; }
25127 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25128 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25129 $as_echo_n "(cached) " >&6
25130 else
25131
25132
25133 ac_ext=cpp
25134 ac_cpp='$CXXCPP $CPPFLAGS'
25135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25138
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25141 #include <math.h>
25142 int
25143 main ()
25144 {
25145 sincosf(0, 0, 0);
25146 ;
25147 return 0;
25148 }
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func_sincosf_use=yes
25152 else
25153 glibcxx_cv_func_sincosf_use=no
25154 fi
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25161
25162
25163 fi
25164
25165 fi
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25167 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25168
25169 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25170 for ac_func in sincosf
25171 do :
25172 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25173 if test "x$ac_cv_func_sincosf" = x""yes; then :
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE_SINCOSF 1
25176 _ACEOF
25177
25178 fi
25179 done
25180
25181 else
25182
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25184 $as_echo_n "checking for _sincosf declaration... " >&6; }
25185 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25186 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25187 $as_echo_n "(cached) " >&6
25188 else
25189
25190
25191 ac_ext=cpp
25192 ac_cpp='$CXXCPP $CPPFLAGS'
25193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25196
25197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25198 /* end confdefs.h. */
25199 #include <math.h>
25200 int
25201 main ()
25202 {
25203 _sincosf(0, 0, 0);
25204 ;
25205 return 0;
25206 }
25207 _ACEOF
25208 if ac_fn_cxx_try_compile "$LINENO"; then :
25209 glibcxx_cv_func__sincosf_use=yes
25210 else
25211 glibcxx_cv_func__sincosf_use=no
25212 fi
25213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25214 ac_ext=c
25215 ac_cpp='$CPP $CPPFLAGS'
25216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25219
25220
25221 fi
25222
25223 fi
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25225 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25226
25227 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25228 for ac_func in _sincosf
25229 do :
25230 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25231 if test "x$ac_cv_func__sincosf" = x""yes; then :
25232 cat >>confdefs.h <<_ACEOF
25233 #define HAVE__SINCOSF 1
25234 _ACEOF
25235
25236 fi
25237 done
25238
25239 fi
25240 fi
25241
25242
25243
25244
25245
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25247 $as_echo_n "checking for finitef declaration... " >&6; }
25248 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25249 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25251 else
25252
25253
25254 ac_ext=cpp
25255 ac_cpp='$CXXCPP $CPPFLAGS'
25256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25259
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 #include <math.h>
25263 #ifdef HAVE_IEEEFP_H
25264 #include <ieeefp.h>
25265 #endif
25266
25267 int
25268 main ()
25269 {
25270 finitef(0);
25271 ;
25272 return 0;
25273 }
25274 _ACEOF
25275 if ac_fn_cxx_try_compile "$LINENO"; then :
25276 glibcxx_cv_func_finitef_use=yes
25277 else
25278 glibcxx_cv_func_finitef_use=no
25279 fi
25280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25281 ac_ext=c
25282 ac_cpp='$CPP $CPPFLAGS'
25283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25286
25287
25288 fi
25289
25290 fi
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25292 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25293
25294 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25295 for ac_func in finitef
25296 do :
25297 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25298 if test "x$ac_cv_func_finitef" = x""yes; then :
25299 cat >>confdefs.h <<_ACEOF
25300 #define HAVE_FINITEF 1
25301 _ACEOF
25302
25303 fi
25304 done
25305
25306 else
25307
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25309 $as_echo_n "checking for _finitef declaration... " >&6; }
25310 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25311 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25312 $as_echo_n "(cached) " >&6
25313 else
25314
25315
25316 ac_ext=cpp
25317 ac_cpp='$CXXCPP $CPPFLAGS'
25318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25321
25322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25323 /* end confdefs.h. */
25324 #include <math.h>
25325 #ifdef HAVE_IEEEFP_H
25326 #include <ieeefp.h>
25327 #endif
25328
25329 int
25330 main ()
25331 {
25332 _finitef(0);
25333 ;
25334 return 0;
25335 }
25336 _ACEOF
25337 if ac_fn_cxx_try_compile "$LINENO"; then :
25338 glibcxx_cv_func__finitef_use=yes
25339 else
25340 glibcxx_cv_func__finitef_use=no
25341 fi
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25348
25349
25350 fi
25351
25352 fi
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25354 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25355
25356 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25357 for ac_func in _finitef
25358 do :
25359 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25360 if test "x$ac_cv_func__finitef" = x""yes; then :
25361 cat >>confdefs.h <<_ACEOF
25362 #define HAVE__FINITEF 1
25363 _ACEOF
25364
25365 fi
25366 done
25367
25368 fi
25369 fi
25370
25371
25372
25373
25374
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25376 $as_echo_n "checking for long double trig functions... " >&6; }
25377 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25378 $as_echo_n "(cached) " >&6
25379 else
25380
25381
25382 ac_ext=cpp
25383 ac_cpp='$CXXCPP $CPPFLAGS'
25384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25387
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25390 #include <math.h>
25391 int
25392 main ()
25393 {
25394 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25395 ;
25396 return 0;
25397 }
25398 _ACEOF
25399 if ac_fn_cxx_try_compile "$LINENO"; then :
25400 glibcxx_cv_func_long_double_trig_use=yes
25401 else
25402 glibcxx_cv_func_long_double_trig_use=no
25403 fi
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405 ac_ext=c
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410
25411 fi
25412
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25414 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25415 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25416 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25417 do :
25418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25420 eval as_val=\$$as_ac_var
25421 if test "x$as_val" = x""yes; then :
25422 cat >>confdefs.h <<_ACEOF
25423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25424 _ACEOF
25425
25426 fi
25427 done
25428
25429 else
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25431 $as_echo_n "checking for _long double trig functions... " >&6; }
25432 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25433 $as_echo_n "(cached) " >&6
25434 else
25435
25436
25437 ac_ext=cpp
25438 ac_cpp='$CXXCPP $CPPFLAGS'
25439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25442
25443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25444 /* end confdefs.h. */
25445 #include <math.h>
25446 int
25447 main ()
25448 {
25449 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25450 ;
25451 return 0;
25452 }
25453 _ACEOF
25454 if ac_fn_cxx_try_compile "$LINENO"; then :
25455 glibcxx_cv_func__long_double_trig_use=yes
25456 else
25457 glibcxx_cv_func__long_double_trig_use=no
25458 fi
25459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25460 ac_ext=c
25461 ac_cpp='$CPP $CPPFLAGS'
25462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25465
25466 fi
25467
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25469 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25470 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25471 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25472 do :
25473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25475 eval as_val=\$$as_ac_var
25476 if test "x$as_val" = x""yes; then :
25477 cat >>confdefs.h <<_ACEOF
25478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25479 _ACEOF
25480
25481 fi
25482 done
25483
25484 fi
25485 fi
25486
25487
25488
25489
25490
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25492 $as_echo_n "checking for long double round functions... " >&6; }
25493 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25494 $as_echo_n "(cached) " >&6
25495 else
25496
25497
25498 ac_ext=cpp
25499 ac_cpp='$CXXCPP $CPPFLAGS'
25500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25503
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506 #include <math.h>
25507 int
25508 main ()
25509 {
25510 ceill (0); floorl (0);
25511 ;
25512 return 0;
25513 }
25514 _ACEOF
25515 if ac_fn_cxx_try_compile "$LINENO"; then :
25516 glibcxx_cv_func_long_double_round_use=yes
25517 else
25518 glibcxx_cv_func_long_double_round_use=no
25519 fi
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 ac_ext=c
25522 ac_cpp='$CPP $CPPFLAGS'
25523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25526
25527 fi
25528
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25530 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25531 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25532 for ac_func in ceill floorl
25533 do :
25534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25536 eval as_val=\$$as_ac_var
25537 if test "x$as_val" = x""yes; then :
25538 cat >>confdefs.h <<_ACEOF
25539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25540 _ACEOF
25541
25542 fi
25543 done
25544
25545 else
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25547 $as_echo_n "checking for _long double round functions... " >&6; }
25548 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25549 $as_echo_n "(cached) " >&6
25550 else
25551
25552
25553 ac_ext=cpp
25554 ac_cpp='$CXXCPP $CPPFLAGS'
25555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25558
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25561 #include <math.h>
25562 int
25563 main ()
25564 {
25565 _ceill (0); _floorl (0);
25566 ;
25567 return 0;
25568 }
25569 _ACEOF
25570 if ac_fn_cxx_try_compile "$LINENO"; then :
25571 glibcxx_cv_func__long_double_round_use=yes
25572 else
25573 glibcxx_cv_func__long_double_round_use=no
25574 fi
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576 ac_ext=c
25577 ac_cpp='$CPP $CPPFLAGS'
25578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25581
25582 fi
25583
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25585 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25586 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25587 for ac_func in _ceill _floorl
25588 do :
25589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25591 eval as_val=\$$as_ac_var
25592 if test "x$as_val" = x""yes; then :
25593 cat >>confdefs.h <<_ACEOF
25594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25595 _ACEOF
25596
25597 fi
25598 done
25599
25600 fi
25601 fi
25602
25603
25604
25605
25606
25607
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25609 $as_echo_n "checking for isnanl declaration... " >&6; }
25610 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25611 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25612 $as_echo_n "(cached) " >&6
25613 else
25614
25615
25616 ac_ext=cpp
25617 ac_cpp='$CXXCPP $CPPFLAGS'
25618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25621
25622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25623 /* end confdefs.h. */
25624 #include <math.h>
25625 #ifdef HAVE_IEEEFP_H
25626 #include <ieeefp.h>
25627 #endif
25628
25629 int
25630 main ()
25631 {
25632 isnanl(0);
25633 ;
25634 return 0;
25635 }
25636 _ACEOF
25637 if ac_fn_cxx_try_compile "$LINENO"; then :
25638 glibcxx_cv_func_isnanl_use=yes
25639 else
25640 glibcxx_cv_func_isnanl_use=no
25641 fi
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25643 ac_ext=c
25644 ac_cpp='$CPP $CPPFLAGS'
25645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25648
25649
25650 fi
25651
25652 fi
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25654 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25655
25656 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25657 for ac_func in isnanl
25658 do :
25659 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25660 if test "x$ac_cv_func_isnanl" = x""yes; then :
25661 cat >>confdefs.h <<_ACEOF
25662 #define HAVE_ISNANL 1
25663 _ACEOF
25664
25665 fi
25666 done
25667
25668 else
25669
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25671 $as_echo_n "checking for _isnanl declaration... " >&6; }
25672 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25673 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25674 $as_echo_n "(cached) " >&6
25675 else
25676
25677
25678 ac_ext=cpp
25679 ac_cpp='$CXXCPP $CPPFLAGS'
25680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25683
25684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25685 /* end confdefs.h. */
25686 #include <math.h>
25687 #ifdef HAVE_IEEEFP_H
25688 #include <ieeefp.h>
25689 #endif
25690
25691 int
25692 main ()
25693 {
25694 _isnanl(0);
25695 ;
25696 return 0;
25697 }
25698 _ACEOF
25699 if ac_fn_cxx_try_compile "$LINENO"; then :
25700 glibcxx_cv_func__isnanl_use=yes
25701 else
25702 glibcxx_cv_func__isnanl_use=no
25703 fi
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 ac_ext=c
25706 ac_cpp='$CPP $CPPFLAGS'
25707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25710
25711
25712 fi
25713
25714 fi
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25716 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25717
25718 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25719 for ac_func in _isnanl
25720 do :
25721 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25722 if test "x$ac_cv_func__isnanl" = x""yes; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define HAVE__ISNANL 1
25725 _ACEOF
25726
25727 fi
25728 done
25729
25730 fi
25731 fi
25732
25733
25734
25735
25736
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25738 $as_echo_n "checking for isinfl declaration... " >&6; }
25739 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25740 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742 else
25743
25744
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25750
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25757
25758 int
25759 main ()
25760 {
25761 isinfl(0);
25762 ;
25763 return 0;
25764 }
25765 _ACEOF
25766 if ac_fn_cxx_try_compile "$LINENO"; then :
25767 glibcxx_cv_func_isinfl_use=yes
25768 else
25769 glibcxx_cv_func_isinfl_use=no
25770 fi
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25777
25778
25779 fi
25780
25781 fi
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25783 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25784
25785 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25786 for ac_func in isinfl
25787 do :
25788 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25789 if test "x$ac_cv_func_isinfl" = x""yes; then :
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE_ISINFL 1
25792 _ACEOF
25793
25794 fi
25795 done
25796
25797 else
25798
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25800 $as_echo_n "checking for _isinfl declaration... " >&6; }
25801 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25802 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25803 $as_echo_n "(cached) " >&6
25804 else
25805
25806
25807 ac_ext=cpp
25808 ac_cpp='$CXXCPP $CPPFLAGS'
25809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25812
25813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25815 #include <math.h>
25816 #ifdef HAVE_IEEEFP_H
25817 #include <ieeefp.h>
25818 #endif
25819
25820 int
25821 main ()
25822 {
25823 _isinfl(0);
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func__isinfl_use=yes
25830 else
25831 glibcxx_cv_func__isinfl_use=no
25832 fi
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25839
25840
25841 fi
25842
25843 fi
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25845 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25846
25847 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25848 for ac_func in _isinfl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25851 if test "x$ac_cv_func__isinfl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE__ISINFL 1
25854 _ACEOF
25855
25856 fi
25857 done
25858
25859 fi
25860 fi
25861
25862
25863
25864
25865
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25867 $as_echo_n "checking for atan2l declaration... " >&6; }
25868 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25869 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25872
25873
25874 ac_ext=cpp
25875 ac_cpp='$CXXCPP $CPPFLAGS'
25876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25879
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25882 #include <math.h>
25883 int
25884 main ()
25885 {
25886 atan2l(0, 0);
25887 ;
25888 return 0;
25889 }
25890 _ACEOF
25891 if ac_fn_cxx_try_compile "$LINENO"; then :
25892 glibcxx_cv_func_atan2l_use=yes
25893 else
25894 glibcxx_cv_func_atan2l_use=no
25895 fi
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 ac_ext=c
25898 ac_cpp='$CPP $CPPFLAGS'
25899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25902
25903
25904 fi
25905
25906 fi
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25908 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25909
25910 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25911 for ac_func in atan2l
25912 do :
25913 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25914 if test "x$ac_cv_func_atan2l" = x""yes; then :
25915 cat >>confdefs.h <<_ACEOF
25916 #define HAVE_ATAN2L 1
25917 _ACEOF
25918
25919 fi
25920 done
25921
25922 else
25923
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25925 $as_echo_n "checking for _atan2l declaration... " >&6; }
25926 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25927 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25930
25931
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25937
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25941 int
25942 main ()
25943 {
25944 _atan2l(0, 0);
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func__atan2l_use=yes
25951 else
25952 glibcxx_cv_func__atan2l_use=no
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962 fi
25963
25964 fi
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25966 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25967
25968 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25969 for ac_func in _atan2l
25970 do :
25971 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25972 if test "x$ac_cv_func__atan2l" = x""yes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE__ATAN2L 1
25975 _ACEOF
25976
25977 fi
25978 done
25979
25980 fi
25981 fi
25982
25983
25984
25985
25986
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25988 $as_echo_n "checking for expl declaration... " >&6; }
25989 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25990 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25993
25994
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26007
26008 int
26009 main ()
26010 {
26011 expl(0);
26012 ;
26013 return 0;
26014 }
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_expl_use=yes
26018 else
26019 glibcxx_cv_func_expl_use=no
26020 fi
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26027
26028
26029 fi
26030
26031 fi
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26033 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26034
26035 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26036 for ac_func in expl
26037 do :
26038 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26039 if test "x$ac_cv_func_expl" = x""yes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE_EXPL 1
26042 _ACEOF
26043
26044 fi
26045 done
26046
26047 else
26048
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26050 $as_echo_n "checking for _expl declaration... " >&6; }
26051 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26052 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26055
26056
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26069
26070 int
26071 main ()
26072 {
26073 _expl(0);
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func__expl_use=yes
26080 else
26081 glibcxx_cv_func__expl_use=no
26082 fi
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26089
26090
26091 fi
26092
26093 fi
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26095 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26096
26097 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26098 for ac_func in _expl
26099 do :
26100 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26101 if test "x$ac_cv_func__expl" = x""yes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE__EXPL 1
26104 _ACEOF
26105
26106 fi
26107 done
26108
26109 fi
26110 fi
26111
26112
26113
26114
26115
26116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26117 $as_echo_n "checking for fabsl declaration... " >&6; }
26118 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26119 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26122
26123
26124 ac_ext=cpp
26125 ac_cpp='$CXXCPP $CPPFLAGS'
26126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26129
26130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26131 /* end confdefs.h. */
26132 #include <math.h>
26133 #ifdef HAVE_IEEEFP_H
26134 #include <ieeefp.h>
26135 #endif
26136
26137 int
26138 main ()
26139 {
26140 fabsl(0);
26141 ;
26142 return 0;
26143 }
26144 _ACEOF
26145 if ac_fn_cxx_try_compile "$LINENO"; then :
26146 glibcxx_cv_func_fabsl_use=yes
26147 else
26148 glibcxx_cv_func_fabsl_use=no
26149 fi
26150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26151 ac_ext=c
26152 ac_cpp='$CPP $CPPFLAGS'
26153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26156
26157
26158 fi
26159
26160 fi
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26162 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26163
26164 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26165 for ac_func in fabsl
26166 do :
26167 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26168 if test "x$ac_cv_func_fabsl" = x""yes; then :
26169 cat >>confdefs.h <<_ACEOF
26170 #define HAVE_FABSL 1
26171 _ACEOF
26172
26173 fi
26174 done
26175
26176 else
26177
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26179 $as_echo_n "checking for _fabsl declaration... " >&6; }
26180 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26181 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26182 $as_echo_n "(cached) " >&6
26183 else
26184
26185
26186 ac_ext=cpp
26187 ac_cpp='$CXXCPP $CPPFLAGS'
26188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26191
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194 #include <math.h>
26195 #ifdef HAVE_IEEEFP_H
26196 #include <ieeefp.h>
26197 #endif
26198
26199 int
26200 main ()
26201 {
26202 _fabsl(0);
26203 ;
26204 return 0;
26205 }
26206 _ACEOF
26207 if ac_fn_cxx_try_compile "$LINENO"; then :
26208 glibcxx_cv_func__fabsl_use=yes
26209 else
26210 glibcxx_cv_func__fabsl_use=no
26211 fi
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213 ac_ext=c
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26218
26219
26220 fi
26221
26222 fi
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26224 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26225
26226 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26227 for ac_func in _fabsl
26228 do :
26229 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26230 if test "x$ac_cv_func__fabsl" = x""yes; then :
26231 cat >>confdefs.h <<_ACEOF
26232 #define HAVE__FABSL 1
26233 _ACEOF
26234
26235 fi
26236 done
26237
26238 fi
26239 fi
26240
26241
26242
26243
26244
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26246 $as_echo_n "checking for fmodl declaration... " >&6; }
26247 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26248 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26249 $as_echo_n "(cached) " >&6
26250 else
26251
26252
26253 ac_ext=cpp
26254 ac_cpp='$CXXCPP $CPPFLAGS'
26255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26258
26259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26260 /* end confdefs.h. */
26261 #include <math.h>
26262 int
26263 main ()
26264 {
26265 fmodl(0, 0);
26266 ;
26267 return 0;
26268 }
26269 _ACEOF
26270 if ac_fn_cxx_try_compile "$LINENO"; then :
26271 glibcxx_cv_func_fmodl_use=yes
26272 else
26273 glibcxx_cv_func_fmodl_use=no
26274 fi
26275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26276 ac_ext=c
26277 ac_cpp='$CPP $CPPFLAGS'
26278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26281
26282
26283 fi
26284
26285 fi
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26287 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26288
26289 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26290 for ac_func in fmodl
26291 do :
26292 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26293 if test "x$ac_cv_func_fmodl" = x""yes; then :
26294 cat >>confdefs.h <<_ACEOF
26295 #define HAVE_FMODL 1
26296 _ACEOF
26297
26298 fi
26299 done
26300
26301 else
26302
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26304 $as_echo_n "checking for _fmodl declaration... " >&6; }
26305 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26306 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26307 $as_echo_n "(cached) " >&6
26308 else
26309
26310
26311 ac_ext=cpp
26312 ac_cpp='$CXXCPP $CPPFLAGS'
26313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26316
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26319 #include <math.h>
26320 int
26321 main ()
26322 {
26323 _fmodl(0, 0);
26324 ;
26325 return 0;
26326 }
26327 _ACEOF
26328 if ac_fn_cxx_try_compile "$LINENO"; then :
26329 glibcxx_cv_func__fmodl_use=yes
26330 else
26331 glibcxx_cv_func__fmodl_use=no
26332 fi
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334 ac_ext=c
26335 ac_cpp='$CPP $CPPFLAGS'
26336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26339
26340
26341 fi
26342
26343 fi
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26345 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26346
26347 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26348 for ac_func in _fmodl
26349 do :
26350 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26351 if test "x$ac_cv_func__fmodl" = x""yes; then :
26352 cat >>confdefs.h <<_ACEOF
26353 #define HAVE__FMODL 1
26354 _ACEOF
26355
26356 fi
26357 done
26358
26359 fi
26360 fi
26361
26362
26363
26364
26365
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26367 $as_echo_n "checking for frexpl declaration... " >&6; }
26368 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26369 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26372
26373
26374 ac_ext=cpp
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26379
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26382 #include <math.h>
26383 int
26384 main ()
26385 {
26386 frexpl(0, 0);
26387 ;
26388 return 0;
26389 }
26390 _ACEOF
26391 if ac_fn_cxx_try_compile "$LINENO"; then :
26392 glibcxx_cv_func_frexpl_use=yes
26393 else
26394 glibcxx_cv_func_frexpl_use=no
26395 fi
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26397 ac_ext=c
26398 ac_cpp='$CPP $CPPFLAGS'
26399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26402
26403
26404 fi
26405
26406 fi
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26408 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26409
26410 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26411 for ac_func in frexpl
26412 do :
26413 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26414 if test "x$ac_cv_func_frexpl" = x""yes; then :
26415 cat >>confdefs.h <<_ACEOF
26416 #define HAVE_FREXPL 1
26417 _ACEOF
26418
26419 fi
26420 done
26421
26422 else
26423
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26425 $as_echo_n "checking for _frexpl declaration... " >&6; }
26426 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26427 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26428 $as_echo_n "(cached) " >&6
26429 else
26430
26431
26432 ac_ext=cpp
26433 ac_cpp='$CXXCPP $CPPFLAGS'
26434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26437
26438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26439 /* end confdefs.h. */
26440 #include <math.h>
26441 int
26442 main ()
26443 {
26444 _frexpl(0, 0);
26445 ;
26446 return 0;
26447 }
26448 _ACEOF
26449 if ac_fn_cxx_try_compile "$LINENO"; then :
26450 glibcxx_cv_func__frexpl_use=yes
26451 else
26452 glibcxx_cv_func__frexpl_use=no
26453 fi
26454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455 ac_ext=c
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26460
26461
26462 fi
26463
26464 fi
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26466 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26467
26468 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26469 for ac_func in _frexpl
26470 do :
26471 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26472 if test "x$ac_cv_func__frexpl" = x""yes; then :
26473 cat >>confdefs.h <<_ACEOF
26474 #define HAVE__FREXPL 1
26475 _ACEOF
26476
26477 fi
26478 done
26479
26480 fi
26481 fi
26482
26483
26484
26485
26486
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26488 $as_echo_n "checking for hypotl declaration... " >&6; }
26489 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26490 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26493
26494
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26500
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26504 int
26505 main ()
26506 {
26507 hypotl(0, 0);
26508 ;
26509 return 0;
26510 }
26511 _ACEOF
26512 if ac_fn_cxx_try_compile "$LINENO"; then :
26513 glibcxx_cv_func_hypotl_use=yes
26514 else
26515 glibcxx_cv_func_hypotl_use=no
26516 fi
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26518 ac_ext=c
26519 ac_cpp='$CPP $CPPFLAGS'
26520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26523
26524
26525 fi
26526
26527 fi
26528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26529 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26530
26531 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26532 for ac_func in hypotl
26533 do :
26534 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26535 if test "x$ac_cv_func_hypotl" = x""yes; then :
26536 cat >>confdefs.h <<_ACEOF
26537 #define HAVE_HYPOTL 1
26538 _ACEOF
26539
26540 fi
26541 done
26542
26543 else
26544
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26546 $as_echo_n "checking for _hypotl declaration... " >&6; }
26547 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26548 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26549 $as_echo_n "(cached) " >&6
26550 else
26551
26552
26553 ac_ext=cpp
26554 ac_cpp='$CXXCPP $CPPFLAGS'
26555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26558
26559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26560 /* end confdefs.h. */
26561 #include <math.h>
26562 int
26563 main ()
26564 {
26565 _hypotl(0, 0);
26566 ;
26567 return 0;
26568 }
26569 _ACEOF
26570 if ac_fn_cxx_try_compile "$LINENO"; then :
26571 glibcxx_cv_func__hypotl_use=yes
26572 else
26573 glibcxx_cv_func__hypotl_use=no
26574 fi
26575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26576 ac_ext=c
26577 ac_cpp='$CPP $CPPFLAGS'
26578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26581
26582
26583 fi
26584
26585 fi
26586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26587 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26588
26589 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26590 for ac_func in _hypotl
26591 do :
26592 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26593 if test "x$ac_cv_func__hypotl" = x""yes; then :
26594 cat >>confdefs.h <<_ACEOF
26595 #define HAVE__HYPOTL 1
26596 _ACEOF
26597
26598 fi
26599 done
26600
26601 fi
26602 fi
26603
26604
26605
26606
26607
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26609 $as_echo_n "checking for ldexpl declaration... " >&6; }
26610 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26611 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26612 $as_echo_n "(cached) " >&6
26613 else
26614
26615
26616 ac_ext=cpp
26617 ac_cpp='$CXXCPP $CPPFLAGS'
26618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26621
26622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26623 /* end confdefs.h. */
26624 #include <math.h>
26625 int
26626 main ()
26627 {
26628 ldexpl(0, 0);
26629 ;
26630 return 0;
26631 }
26632 _ACEOF
26633 if ac_fn_cxx_try_compile "$LINENO"; then :
26634 glibcxx_cv_func_ldexpl_use=yes
26635 else
26636 glibcxx_cv_func_ldexpl_use=no
26637 fi
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639 ac_ext=c
26640 ac_cpp='$CPP $CPPFLAGS'
26641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26644
26645
26646 fi
26647
26648 fi
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26650 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26651
26652 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26653 for ac_func in ldexpl
26654 do :
26655 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26656 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26657 cat >>confdefs.h <<_ACEOF
26658 #define HAVE_LDEXPL 1
26659 _ACEOF
26660
26661 fi
26662 done
26663
26664 else
26665
26666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26667 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26668 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26669 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26670 $as_echo_n "(cached) " >&6
26671 else
26672
26673
26674 ac_ext=cpp
26675 ac_cpp='$CXXCPP $CPPFLAGS'
26676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26679
26680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26681 /* end confdefs.h. */
26682 #include <math.h>
26683 int
26684 main ()
26685 {
26686 _ldexpl(0, 0);
26687 ;
26688 return 0;
26689 }
26690 _ACEOF
26691 if ac_fn_cxx_try_compile "$LINENO"; then :
26692 glibcxx_cv_func__ldexpl_use=yes
26693 else
26694 glibcxx_cv_func__ldexpl_use=no
26695 fi
26696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26697 ac_ext=c
26698 ac_cpp='$CPP $CPPFLAGS'
26699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26702
26703
26704 fi
26705
26706 fi
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26708 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26709
26710 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26711 for ac_func in _ldexpl
26712 do :
26713 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26714 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26715 cat >>confdefs.h <<_ACEOF
26716 #define HAVE__LDEXPL 1
26717 _ACEOF
26718
26719 fi
26720 done
26721
26722 fi
26723 fi
26724
26725
26726
26727
26728
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26730 $as_echo_n "checking for logl declaration... " >&6; }
26731 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26732 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26733 $as_echo_n "(cached) " >&6
26734 else
26735
26736
26737 ac_ext=cpp
26738 ac_cpp='$CXXCPP $CPPFLAGS'
26739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26742
26743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26744 /* end confdefs.h. */
26745 #include <math.h>
26746 #ifdef HAVE_IEEEFP_H
26747 #include <ieeefp.h>
26748 #endif
26749
26750 int
26751 main ()
26752 {
26753 logl(0);
26754 ;
26755 return 0;
26756 }
26757 _ACEOF
26758 if ac_fn_cxx_try_compile "$LINENO"; then :
26759 glibcxx_cv_func_logl_use=yes
26760 else
26761 glibcxx_cv_func_logl_use=no
26762 fi
26763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 ac_ext=c
26765 ac_cpp='$CPP $CPPFLAGS'
26766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26769
26770
26771 fi
26772
26773 fi
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26775 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26776
26777 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26778 for ac_func in logl
26779 do :
26780 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26781 if test "x$ac_cv_func_logl" = x""yes; then :
26782 cat >>confdefs.h <<_ACEOF
26783 #define HAVE_LOGL 1
26784 _ACEOF
26785
26786 fi
26787 done
26788
26789 else
26790
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26792 $as_echo_n "checking for _logl declaration... " >&6; }
26793 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26794 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26795 $as_echo_n "(cached) " >&6
26796 else
26797
26798
26799 ac_ext=cpp
26800 ac_cpp='$CXXCPP $CPPFLAGS'
26801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26804
26805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26806 /* end confdefs.h. */
26807 #include <math.h>
26808 #ifdef HAVE_IEEEFP_H
26809 #include <ieeefp.h>
26810 #endif
26811
26812 int
26813 main ()
26814 {
26815 _logl(0);
26816 ;
26817 return 0;
26818 }
26819 _ACEOF
26820 if ac_fn_cxx_try_compile "$LINENO"; then :
26821 glibcxx_cv_func__logl_use=yes
26822 else
26823 glibcxx_cv_func__logl_use=no
26824 fi
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826 ac_ext=c
26827 ac_cpp='$CPP $CPPFLAGS'
26828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26831
26832
26833 fi
26834
26835 fi
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26837 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26838
26839 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26840 for ac_func in _logl
26841 do :
26842 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26843 if test "x$ac_cv_func__logl" = x""yes; then :
26844 cat >>confdefs.h <<_ACEOF
26845 #define HAVE__LOGL 1
26846 _ACEOF
26847
26848 fi
26849 done
26850
26851 fi
26852 fi
26853
26854
26855
26856
26857
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26859 $as_echo_n "checking for log10l declaration... " >&6; }
26860 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26861 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26862 $as_echo_n "(cached) " >&6
26863 else
26864
26865
26866 ac_ext=cpp
26867 ac_cpp='$CXXCPP $CPPFLAGS'
26868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26871
26872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26873 /* end confdefs.h. */
26874 #include <math.h>
26875 #ifdef HAVE_IEEEFP_H
26876 #include <ieeefp.h>
26877 #endif
26878
26879 int
26880 main ()
26881 {
26882 log10l(0);
26883 ;
26884 return 0;
26885 }
26886 _ACEOF
26887 if ac_fn_cxx_try_compile "$LINENO"; then :
26888 glibcxx_cv_func_log10l_use=yes
26889 else
26890 glibcxx_cv_func_log10l_use=no
26891 fi
26892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26893 ac_ext=c
26894 ac_cpp='$CPP $CPPFLAGS'
26895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26898
26899
26900 fi
26901
26902 fi
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26904 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26905
26906 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26907 for ac_func in log10l
26908 do :
26909 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26910 if test "x$ac_cv_func_log10l" = x""yes; then :
26911 cat >>confdefs.h <<_ACEOF
26912 #define HAVE_LOG10L 1
26913 _ACEOF
26914
26915 fi
26916 done
26917
26918 else
26919
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26921 $as_echo_n "checking for _log10l declaration... " >&6; }
26922 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26923 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26924 $as_echo_n "(cached) " >&6
26925 else
26926
26927
26928 ac_ext=cpp
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26933
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26936 #include <math.h>
26937 #ifdef HAVE_IEEEFP_H
26938 #include <ieeefp.h>
26939 #endif
26940
26941 int
26942 main ()
26943 {
26944 _log10l(0);
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 if ac_fn_cxx_try_compile "$LINENO"; then :
26950 glibcxx_cv_func__log10l_use=yes
26951 else
26952 glibcxx_cv_func__log10l_use=no
26953 fi
26954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26955 ac_ext=c
26956 ac_cpp='$CPP $CPPFLAGS'
26957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26960
26961
26962 fi
26963
26964 fi
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26966 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26967
26968 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26969 for ac_func in _log10l
26970 do :
26971 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26972 if test "x$ac_cv_func__log10l" = x""yes; then :
26973 cat >>confdefs.h <<_ACEOF
26974 #define HAVE__LOG10L 1
26975 _ACEOF
26976
26977 fi
26978 done
26979
26980 fi
26981 fi
26982
26983
26984
26985
26986
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26988 $as_echo_n "checking for modfl declaration... " >&6; }
26989 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26990 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26991 $as_echo_n "(cached) " >&6
26992 else
26993
26994
26995 ac_ext=cpp
26996 ac_cpp='$CXXCPP $CPPFLAGS'
26997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27000
27001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27002 /* end confdefs.h. */
27003 #include <math.h>
27004 int
27005 main ()
27006 {
27007 modfl(0, 0);
27008 ;
27009 return 0;
27010 }
27011 _ACEOF
27012 if ac_fn_cxx_try_compile "$LINENO"; then :
27013 glibcxx_cv_func_modfl_use=yes
27014 else
27015 glibcxx_cv_func_modfl_use=no
27016 fi
27017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27018 ac_ext=c
27019 ac_cpp='$CPP $CPPFLAGS'
27020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27023
27024
27025 fi
27026
27027 fi
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27029 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27030
27031 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27032 for ac_func in modfl
27033 do :
27034 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27035 if test "x$ac_cv_func_modfl" = x""yes; then :
27036 cat >>confdefs.h <<_ACEOF
27037 #define HAVE_MODFL 1
27038 _ACEOF
27039
27040 fi
27041 done
27042
27043 else
27044
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27046 $as_echo_n "checking for _modfl declaration... " >&6; }
27047 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27048 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27049 $as_echo_n "(cached) " >&6
27050 else
27051
27052
27053 ac_ext=cpp
27054 ac_cpp='$CXXCPP $CPPFLAGS'
27055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27058
27059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27060 /* end confdefs.h. */
27061 #include <math.h>
27062 int
27063 main ()
27064 {
27065 _modfl(0, 0);
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 if ac_fn_cxx_try_compile "$LINENO"; then :
27071 glibcxx_cv_func__modfl_use=yes
27072 else
27073 glibcxx_cv_func__modfl_use=no
27074 fi
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27081
27082
27083 fi
27084
27085 fi
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27087 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27088
27089 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27090 for ac_func in _modfl
27091 do :
27092 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27093 if test "x$ac_cv_func__modfl" = x""yes; then :
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE__MODFL 1
27096 _ACEOF
27097
27098 fi
27099 done
27100
27101 fi
27102 fi
27103
27104
27105
27106
27107
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27109 $as_echo_n "checking for powl declaration... " >&6; }
27110 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27111 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27112 $as_echo_n "(cached) " >&6
27113 else
27114
27115
27116 ac_ext=cpp
27117 ac_cpp='$CXXCPP $CPPFLAGS'
27118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27121
27122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27123 /* end confdefs.h. */
27124 #include <math.h>
27125 int
27126 main ()
27127 {
27128 powl(0, 0);
27129 ;
27130 return 0;
27131 }
27132 _ACEOF
27133 if ac_fn_cxx_try_compile "$LINENO"; then :
27134 glibcxx_cv_func_powl_use=yes
27135 else
27136 glibcxx_cv_func_powl_use=no
27137 fi
27138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27139 ac_ext=c
27140 ac_cpp='$CPP $CPPFLAGS'
27141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27144
27145
27146 fi
27147
27148 fi
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27150 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27151
27152 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27153 for ac_func in powl
27154 do :
27155 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27156 if test "x$ac_cv_func_powl" = x""yes; then :
27157 cat >>confdefs.h <<_ACEOF
27158 #define HAVE_POWL 1
27159 _ACEOF
27160
27161 fi
27162 done
27163
27164 else
27165
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27167 $as_echo_n "checking for _powl declaration... " >&6; }
27168 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27169 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27170 $as_echo_n "(cached) " >&6
27171 else
27172
27173
27174 ac_ext=cpp
27175 ac_cpp='$CXXCPP $CPPFLAGS'
27176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27179
27180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27181 /* end confdefs.h. */
27182 #include <math.h>
27183 int
27184 main ()
27185 {
27186 _powl(0, 0);
27187 ;
27188 return 0;
27189 }
27190 _ACEOF
27191 if ac_fn_cxx_try_compile "$LINENO"; then :
27192 glibcxx_cv_func__powl_use=yes
27193 else
27194 glibcxx_cv_func__powl_use=no
27195 fi
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 ac_ext=c
27198 ac_cpp='$CPP $CPPFLAGS'
27199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27202
27203
27204 fi
27205
27206 fi
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27208 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27209
27210 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27211 for ac_func in _powl
27212 do :
27213 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27214 if test "x$ac_cv_func__powl" = x""yes; then :
27215 cat >>confdefs.h <<_ACEOF
27216 #define HAVE__POWL 1
27217 _ACEOF
27218
27219 fi
27220 done
27221
27222 fi
27223 fi
27224
27225
27226
27227
27228
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27230 $as_echo_n "checking for sqrtl declaration... " >&6; }
27231 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27232 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27233 $as_echo_n "(cached) " >&6
27234 else
27235
27236
27237 ac_ext=cpp
27238 ac_cpp='$CXXCPP $CPPFLAGS'
27239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27242
27243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27244 /* end confdefs.h. */
27245 #include <math.h>
27246 #ifdef HAVE_IEEEFP_H
27247 #include <ieeefp.h>
27248 #endif
27249
27250 int
27251 main ()
27252 {
27253 sqrtl(0);
27254 ;
27255 return 0;
27256 }
27257 _ACEOF
27258 if ac_fn_cxx_try_compile "$LINENO"; then :
27259 glibcxx_cv_func_sqrtl_use=yes
27260 else
27261 glibcxx_cv_func_sqrtl_use=no
27262 fi
27263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 ac_ext=c
27265 ac_cpp='$CPP $CPPFLAGS'
27266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27269
27270
27271 fi
27272
27273 fi
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27275 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27276
27277 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27278 for ac_func in sqrtl
27279 do :
27280 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27281 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27282 cat >>confdefs.h <<_ACEOF
27283 #define HAVE_SQRTL 1
27284 _ACEOF
27285
27286 fi
27287 done
27288
27289 else
27290
27291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27292 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27293 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27294 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27295 $as_echo_n "(cached) " >&6
27296 else
27297
27298
27299 ac_ext=cpp
27300 ac_cpp='$CXXCPP $CPPFLAGS'
27301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27304
27305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27306 /* end confdefs.h. */
27307 #include <math.h>
27308 #ifdef HAVE_IEEEFP_H
27309 #include <ieeefp.h>
27310 #endif
27311
27312 int
27313 main ()
27314 {
27315 _sqrtl(0);
27316 ;
27317 return 0;
27318 }
27319 _ACEOF
27320 if ac_fn_cxx_try_compile "$LINENO"; then :
27321 glibcxx_cv_func__sqrtl_use=yes
27322 else
27323 glibcxx_cv_func__sqrtl_use=no
27324 fi
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 ac_ext=c
27327 ac_cpp='$CPP $CPPFLAGS'
27328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27331
27332
27333 fi
27334
27335 fi
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27337 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27338
27339 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27340 for ac_func in _sqrtl
27341 do :
27342 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27343 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27344 cat >>confdefs.h <<_ACEOF
27345 #define HAVE__SQRTL 1
27346 _ACEOF
27347
27348 fi
27349 done
27350
27351 fi
27352 fi
27353
27354
27355
27356
27357
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27359 $as_echo_n "checking for sincosl declaration... " >&6; }
27360 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27361 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27362 $as_echo_n "(cached) " >&6
27363 else
27364
27365
27366 ac_ext=cpp
27367 ac_cpp='$CXXCPP $CPPFLAGS'
27368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27371
27372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27373 /* end confdefs.h. */
27374 #include <math.h>
27375 int
27376 main ()
27377 {
27378 sincosl(0, 0, 0);
27379 ;
27380 return 0;
27381 }
27382 _ACEOF
27383 if ac_fn_cxx_try_compile "$LINENO"; then :
27384 glibcxx_cv_func_sincosl_use=yes
27385 else
27386 glibcxx_cv_func_sincosl_use=no
27387 fi
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 ac_ext=c
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27394
27395
27396 fi
27397
27398 fi
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27400 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27401
27402 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27403 for ac_func in sincosl
27404 do :
27405 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27406 if test "x$ac_cv_func_sincosl" = x""yes; then :
27407 cat >>confdefs.h <<_ACEOF
27408 #define HAVE_SINCOSL 1
27409 _ACEOF
27410
27411 fi
27412 done
27413
27414 else
27415
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27417 $as_echo_n "checking for _sincosl declaration... " >&6; }
27418 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27419 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27420 $as_echo_n "(cached) " >&6
27421 else
27422
27423
27424 ac_ext=cpp
27425 ac_cpp='$CXXCPP $CPPFLAGS'
27426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27429
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <math.h>
27433 int
27434 main ()
27435 {
27436 _sincosl(0, 0, 0);
27437 ;
27438 return 0;
27439 }
27440 _ACEOF
27441 if ac_fn_cxx_try_compile "$LINENO"; then :
27442 glibcxx_cv_func__sincosl_use=yes
27443 else
27444 glibcxx_cv_func__sincosl_use=no
27445 fi
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447 ac_ext=c
27448 ac_cpp='$CPP $CPPFLAGS'
27449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27452
27453
27454 fi
27455
27456 fi
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27458 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27459
27460 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27461 for ac_func in _sincosl
27462 do :
27463 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27464 if test "x$ac_cv_func__sincosl" = x""yes; then :
27465 cat >>confdefs.h <<_ACEOF
27466 #define HAVE__SINCOSL 1
27467 _ACEOF
27468
27469 fi
27470 done
27471
27472 fi
27473 fi
27474
27475
27476
27477
27478
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27480 $as_echo_n "checking for finitel declaration... " >&6; }
27481 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27482 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27483 $as_echo_n "(cached) " >&6
27484 else
27485
27486
27487 ac_ext=cpp
27488 ac_cpp='$CXXCPP $CPPFLAGS'
27489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27492
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h. */
27495 #include <math.h>
27496 #ifdef HAVE_IEEEFP_H
27497 #include <ieeefp.h>
27498 #endif
27499
27500 int
27501 main ()
27502 {
27503 finitel(0);
27504 ;
27505 return 0;
27506 }
27507 _ACEOF
27508 if ac_fn_cxx_try_compile "$LINENO"; then :
27509 glibcxx_cv_func_finitel_use=yes
27510 else
27511 glibcxx_cv_func_finitel_use=no
27512 fi
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 ac_ext=c
27515 ac_cpp='$CPP $CPPFLAGS'
27516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27519
27520
27521 fi
27522
27523 fi
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27525 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27526
27527 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27528 for ac_func in finitel
27529 do :
27530 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27531 if test "x$ac_cv_func_finitel" = x""yes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_FINITEL 1
27534 _ACEOF
27535
27536 fi
27537 done
27538
27539 else
27540
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27542 $as_echo_n "checking for _finitel declaration... " >&6; }
27543 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27544 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27547
27548
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27554
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 #ifdef HAVE_IEEEFP_H
27559 #include <ieeefp.h>
27560 #endif
27561
27562 int
27563 main ()
27564 {
27565 _finitel(0);
27566 ;
27567 return 0;
27568 }
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571 glibcxx_cv_func__finitel_use=yes
27572 else
27573 glibcxx_cv_func__finitel_use=no
27574 fi
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581
27582
27583 fi
27584
27585 fi
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27587 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27588
27589 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27590 for ac_func in _finitel
27591 do :
27592 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27593 if test "x$ac_cv_func__finitel" = x""yes; then :
27594 cat >>confdefs.h <<_ACEOF
27595 #define HAVE__FINITEL 1
27596 _ACEOF
27597
27598 fi
27599 done
27600
27601 fi
27602 fi
27603
27604
27605
27606
27607 LIBS="$ac_save_LIBS"
27608 CXXFLAGS="$ac_save_CXXFLAGS"
27609
27610
27611 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27612 ac_save_CXXFLAGS="$CXXFLAGS"
27613 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27614
27615
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27617 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27618 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27619 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27620 $as_echo_n "(cached) " >&6
27621 else
27622
27623
27624 ac_ext=cpp
27625 ac_cpp='$CXXCPP $CPPFLAGS'
27626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27629
27630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27631 /* end confdefs.h. */
27632 #include <stdlib.h>
27633 int
27634 main ()
27635 {
27636 at_quick_exit(0);
27637 ;
27638 return 0;
27639 }
27640 _ACEOF
27641 if ac_fn_cxx_try_compile "$LINENO"; then :
27642 glibcxx_cv_func_at_quick_exit_use=yes
27643 else
27644 glibcxx_cv_func_at_quick_exit_use=no
27645 fi
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647 ac_ext=c
27648 ac_cpp='$CPP $CPPFLAGS'
27649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27652
27653
27654 fi
27655
27656 fi
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27658 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27659 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27660 for ac_func in at_quick_exit
27661 do :
27662 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27663 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27664 cat >>confdefs.h <<_ACEOF
27665 #define HAVE_AT_QUICK_EXIT 1
27666 _ACEOF
27667
27668 fi
27669 done
27670
27671 fi
27672
27673
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27675 $as_echo_n "checking for quick_exit declaration... " >&6; }
27676 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27677 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27678 $as_echo_n "(cached) " >&6
27679 else
27680
27681
27682 ac_ext=cpp
27683 ac_cpp='$CXXCPP $CPPFLAGS'
27684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27687
27688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27689 /* end confdefs.h. */
27690 #include <stdlib.h>
27691 int
27692 main ()
27693 {
27694 quick_exit(0);
27695 ;
27696 return 0;
27697 }
27698 _ACEOF
27699 if ac_fn_cxx_try_compile "$LINENO"; then :
27700 glibcxx_cv_func_quick_exit_use=yes
27701 else
27702 glibcxx_cv_func_quick_exit_use=no
27703 fi
27704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27705 ac_ext=c
27706 ac_cpp='$CPP $CPPFLAGS'
27707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27710
27711
27712 fi
27713
27714 fi
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27716 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27717 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27718 for ac_func in quick_exit
27719 do :
27720 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27721 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27722 cat >>confdefs.h <<_ACEOF
27723 #define HAVE_QUICK_EXIT 1
27724 _ACEOF
27725
27726 fi
27727 done
27728
27729 fi
27730
27731
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27733 $as_echo_n "checking for strtold declaration... " >&6; }
27734 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27735 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27736 $as_echo_n "(cached) " >&6
27737 else
27738
27739
27740 ac_ext=cpp
27741 ac_cpp='$CXXCPP $CPPFLAGS'
27742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27745
27746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27747 /* end confdefs.h. */
27748 #include <stdlib.h>
27749 int
27750 main ()
27751 {
27752 strtold(0, 0);
27753 ;
27754 return 0;
27755 }
27756 _ACEOF
27757 if ac_fn_cxx_try_compile "$LINENO"; then :
27758 glibcxx_cv_func_strtold_use=yes
27759 else
27760 glibcxx_cv_func_strtold_use=no
27761 fi
27762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27763 ac_ext=c
27764 ac_cpp='$CPP $CPPFLAGS'
27765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27768
27769
27770 fi
27771
27772 fi
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27774 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27775 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27776 for ac_func in strtold
27777 do :
27778 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27779 if test "x$ac_cv_func_strtold" = x""yes; then :
27780 cat >>confdefs.h <<_ACEOF
27781 #define HAVE_STRTOLD 1
27782 _ACEOF
27783
27784 fi
27785 done
27786
27787 fi
27788
27789
27790
27791
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27793 $as_echo_n "checking for strtof declaration... " >&6; }
27794 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27795 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27796 $as_echo_n "(cached) " >&6
27797 else
27798
27799
27800 ac_ext=cpp
27801 ac_cpp='$CXXCPP $CPPFLAGS'
27802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27805
27806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27807 /* end confdefs.h. */
27808 #include <stdlib.h>
27809 int
27810 main ()
27811 {
27812 strtof(0, 0);
27813 ;
27814 return 0;
27815 }
27816 _ACEOF
27817 if ac_fn_cxx_try_compile "$LINENO"; then :
27818 glibcxx_cv_func_strtof_use=yes
27819 else
27820 glibcxx_cv_func_strtof_use=no
27821 fi
27822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27823 ac_ext=c
27824 ac_cpp='$CPP $CPPFLAGS'
27825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27828
27829
27830 fi
27831
27832 fi
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27834 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27835 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27836 for ac_func in strtof
27837 do :
27838 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27839 if test "x$ac_cv_func_strtof" = x""yes; then :
27840 cat >>confdefs.h <<_ACEOF
27841 #define HAVE_STRTOF 1
27842 _ACEOF
27843
27844 fi
27845 done
27846
27847 fi
27848
27849
27850
27851
27852 CXXFLAGS="$ac_save_CXXFLAGS"
27853
27854
27855 # For /dev/random and /dev/urandom for std::random_device.
27856
27857
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
27859 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
27860 if test "${glibcxx_cv_dev_random+set}" = set; then :
27861 $as_echo_n "(cached) " >&6
27862 else
27863
27864 if test -r /dev/random && test -r /dev/urandom; then
27865 ## For MSys environment the test above is detected as false-positive
27866 ## on mingw-targets. So disable it explicitly for them.
27867 case ${target_os} in
27868 *mingw*) glibcxx_cv_dev_random=no ;;
27869 *) glibcxx_cv_dev_random=yes ;;
27870 esac
27871 else
27872 glibcxx_cv_dev_random=no;
27873 fi
27874
27875 fi
27876
27877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
27878 $as_echo "$glibcxx_cv_dev_random" >&6; }
27879
27880 if test x"$glibcxx_cv_dev_random" = x"yes"; then
27881
27882 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
27883
27884
27885 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27886
27887 fi
27888
27889
27890
27891 # For TLS support.
27892
27893
27894 # Check whether --enable-tls was given.
27895 if test "${enable_tls+set}" = set; then :
27896 enableval=$enable_tls;
27897 case "$enableval" in
27898 yes|no) ;;
27899 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27900 esac
27901
27902 else
27903 enable_tls=yes
27904 fi
27905
27906
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27908 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27909 if test "${gcc_cv_have_tls+set}" = set; then :
27910 $as_echo_n "(cached) " >&6
27911 else
27912
27913 if test "$cross_compiling" = yes; then :
27914 if test x$gcc_no_link = xyes; then
27915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27916 fi
27917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27918 /* end confdefs.h. */
27919 __thread int a; int b; int main() { return a = b; }
27920 _ACEOF
27921 if ac_fn_c_try_link "$LINENO"; then :
27922 chktls_save_LDFLAGS="$LDFLAGS"
27923 case $host in
27924 *-*-linux*)
27925 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27926 ;;
27927 esac
27928 chktls_save_CFLAGS="$CFLAGS"
27929 CFLAGS="-fPIC $CFLAGS"
27930 if test x$gcc_no_link = xyes; then
27931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27932 fi
27933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27934 /* end confdefs.h. */
27935 int f() { return 0; }
27936 _ACEOF
27937 if ac_fn_c_try_link "$LINENO"; then :
27938 if test x$gcc_no_link = xyes; then
27939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27940 fi
27941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27942 /* end confdefs.h. */
27943 __thread int a; int b; int f() { return a = b; }
27944 _ACEOF
27945 if ac_fn_c_try_link "$LINENO"; then :
27946 gcc_cv_have_tls=yes
27947 else
27948 gcc_cv_have_tls=no
27949 fi
27950 rm -f core conftest.err conftest.$ac_objext \
27951 conftest$ac_exeext conftest.$ac_ext
27952 else
27953 gcc_cv_have_tls=yes
27954 fi
27955 rm -f core conftest.err conftest.$ac_objext \
27956 conftest$ac_exeext conftest.$ac_ext
27957 CFLAGS="$chktls_save_CFLAGS"
27958 LDFLAGS="$chktls_save_LDFLAGS"
27959 else
27960 gcc_cv_have_tls=no
27961 fi
27962 rm -f core conftest.err conftest.$ac_objext \
27963 conftest$ac_exeext conftest.$ac_ext
27964
27965
27966 else
27967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27968 /* end confdefs.h. */
27969 __thread int a; int b; int main() { return a = b; }
27970 _ACEOF
27971 if ac_fn_c_try_run "$LINENO"; then :
27972 chktls_save_LDFLAGS="$LDFLAGS"
27973 LDFLAGS="-static $LDFLAGS"
27974 if test x$gcc_no_link = xyes; then
27975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27976 fi
27977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27978 /* end confdefs.h. */
27979 int main() { return 0; }
27980 _ACEOF
27981 if ac_fn_c_try_link "$LINENO"; then :
27982 if test "$cross_compiling" = yes; then :
27983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27985 as_fn_error "cannot run test program while cross compiling
27986 See \`config.log' for more details." "$LINENO" 5; }
27987 else
27988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27989 /* end confdefs.h. */
27990 __thread int a; int b; int main() { return a = b; }
27991 _ACEOF
27992 if ac_fn_c_try_run "$LINENO"; then :
27993 gcc_cv_have_tls=yes
27994 else
27995 gcc_cv_have_tls=no
27996 fi
27997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27998 conftest.$ac_objext conftest.beam conftest.$ac_ext
27999 fi
28000
28001 else
28002 gcc_cv_have_tls=yes
28003 fi
28004 rm -f core conftest.err conftest.$ac_objext \
28005 conftest$ac_exeext conftest.$ac_ext
28006 LDFLAGS="$chktls_save_LDFLAGS"
28007 if test $gcc_cv_have_tls = yes; then
28008 chktls_save_CFLAGS="$CFLAGS"
28009 thread_CFLAGS=failed
28010 for flag in '' '-pthread' '-lpthread'; do
28011 CFLAGS="$flag $chktls_save_CFLAGS"
28012 if test x$gcc_no_link = xyes; then
28013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28014 fi
28015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28016 /* end confdefs.h. */
28017 #include <pthread.h>
28018 void *g(void *d) { return NULL; }
28019 int
28020 main ()
28021 {
28022 pthread_t t; pthread_create(&t,NULL,g,NULL);
28023 ;
28024 return 0;
28025 }
28026 _ACEOF
28027 if ac_fn_c_try_link "$LINENO"; then :
28028 thread_CFLAGS="$flag"
28029 fi
28030 rm -f core conftest.err conftest.$ac_objext \
28031 conftest$ac_exeext conftest.$ac_ext
28032 if test "X$thread_CFLAGS" != Xfailed; then
28033 break
28034 fi
28035 done
28036 CFLAGS="$chktls_save_CFLAGS"
28037 if test "X$thread_CFLAGS" != Xfailed; then
28038 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28039 if test "$cross_compiling" = yes; then :
28040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28042 as_fn_error "cannot run test program while cross compiling
28043 See \`config.log' for more details." "$LINENO" 5; }
28044 else
28045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28046 /* end confdefs.h. */
28047 #include <pthread.h>
28048 __thread int a;
28049 static int *volatile a_in_other_thread;
28050 static void *
28051 thread_func (void *arg)
28052 {
28053 a_in_other_thread = &a;
28054 return (void *)0;
28055 }
28056 int
28057 main ()
28058 {
28059 pthread_t thread;
28060 void *thread_retval;
28061 int *volatile a_in_main_thread;
28062 a_in_main_thread = &a;
28063 if (pthread_create (&thread, (pthread_attr_t *)0,
28064 thread_func, (void *)0))
28065 return 0;
28066 if (pthread_join (thread, &thread_retval))
28067 return 0;
28068 return (a_in_other_thread == a_in_main_thread);
28069 ;
28070 return 0;
28071 }
28072 _ACEOF
28073 if ac_fn_c_try_run "$LINENO"; then :
28074 gcc_cv_have_tls=yes
28075 else
28076 gcc_cv_have_tls=no
28077 fi
28078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28079 conftest.$ac_objext conftest.beam conftest.$ac_ext
28080 fi
28081
28082 CFLAGS="$chktls_save_CFLAGS"
28083 fi
28084 fi
28085 else
28086 gcc_cv_have_tls=no
28087 fi
28088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28089 conftest.$ac_objext conftest.beam conftest.$ac_ext
28090 fi
28091
28092 fi
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28094 $as_echo "$gcc_cv_have_tls" >&6; }
28095 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28096
28097 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28098
28099 fi
28100
28101 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28102 do :
28103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28105 eval as_val=\$$as_ac_var
28106 if test "x$as_val" = x""yes; then :
28107 cat >>confdefs.h <<_ACEOF
28108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28109 _ACEOF
28110
28111 fi
28112 done
28113
28114 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28115 do :
28116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28118 eval as_val=\$$as_ac_var
28119 if test "x$as_val" = x""yes; then :
28120 cat >>confdefs.h <<_ACEOF
28121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28122 _ACEOF
28123
28124 fi
28125 done
28126
28127 for ac_func in _wfopen
28128 do :
28129 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28130 if test "x$ac_cv_func__wfopen" = x""yes; then :
28131 cat >>confdefs.h <<_ACEOF
28132 #define HAVE__WFOPEN 1
28133 _ACEOF
28134
28135 fi
28136 done
28137
28138
28139 # For iconv support.
28140
28141 if test "X$prefix" = "XNONE"; then
28142 acl_final_prefix="$ac_default_prefix"
28143 else
28144 acl_final_prefix="$prefix"
28145 fi
28146 if test "X$exec_prefix" = "XNONE"; then
28147 acl_final_exec_prefix='${prefix}'
28148 else
28149 acl_final_exec_prefix="$exec_prefix"
28150 fi
28151 acl_save_prefix="$prefix"
28152 prefix="$acl_final_prefix"
28153 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28154 prefix="$acl_save_prefix"
28155
28156
28157 # Check whether --with-gnu-ld was given.
28158 if test "${with_gnu_ld+set}" = set; then :
28159 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28160 else
28161 with_gnu_ld=no
28162 fi
28163
28164 # Prepare PATH_SEPARATOR.
28165 # The user is always right.
28166 if test "${PATH_SEPARATOR+set}" != set; then
28167 echo "#! /bin/sh" >conf$$.sh
28168 echo "exit 0" >>conf$$.sh
28169 chmod +x conf$$.sh
28170 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28171 PATH_SEPARATOR=';'
28172 else
28173 PATH_SEPARATOR=:
28174 fi
28175 rm -f conf$$.sh
28176 fi
28177 ac_prog=ld
28178 if test "$GCC" = yes; then
28179 # Check if gcc -print-prog-name=ld gives a path.
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28181 $as_echo_n "checking for ld used by GCC... " >&6; }
28182 case $host in
28183 *-*-mingw*)
28184 # gcc leaves a trailing carriage return which upsets mingw
28185 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28186 *)
28187 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28188 esac
28189 case $ac_prog in
28190 # Accept absolute paths.
28191 [\\/]* | [A-Za-z]:[\\/]*)
28192 re_direlt='/[^/][^/]*/\.\./'
28193 # Canonicalize the path of ld
28194 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28195 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28196 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28197 done
28198 test -z "$LD" && LD="$ac_prog"
28199 ;;
28200 "")
28201 # If it fails, then pretend we aren't using GCC.
28202 ac_prog=ld
28203 ;;
28204 *)
28205 # If it is relative, then search for the first ld in PATH.
28206 with_gnu_ld=unknown
28207 ;;
28208 esac
28209 elif test "$with_gnu_ld" = yes; then
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28211 $as_echo_n "checking for GNU ld... " >&6; }
28212 else
28213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28214 $as_echo_n "checking for non-GNU ld... " >&6; }
28215 fi
28216 if test "${acl_cv_path_LD+set}" = set; then :
28217 $as_echo_n "(cached) " >&6
28218 else
28219 if test -z "$LD"; then
28220 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28221 for ac_dir in $PATH; do
28222 test -z "$ac_dir" && ac_dir=.
28223 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28224 acl_cv_path_LD="$ac_dir/$ac_prog"
28225 # Check to see if the program is GNU ld. I'd rather use --version,
28226 # but apparently some GNU ld's only accept -v.
28227 # Break only if it was the GNU/non-GNU ld that we prefer.
28228 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28229 test "$with_gnu_ld" != no && break
28230 else
28231 test "$with_gnu_ld" != yes && break
28232 fi
28233 fi
28234 done
28235 IFS="$ac_save_ifs"
28236 else
28237 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28238 fi
28239 fi
28240
28241 LD="$acl_cv_path_LD"
28242 if test -n "$LD"; then
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28244 $as_echo "$LD" >&6; }
28245 else
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28247 $as_echo "no" >&6; }
28248 fi
28249 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28251 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28252 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28253 $as_echo_n "(cached) " >&6
28254 else
28255 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28256 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28257 acl_cv_prog_gnu_ld=yes
28258 else
28259 acl_cv_prog_gnu_ld=no
28260 fi
28261 fi
28262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28263 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28264 with_gnu_ld=$acl_cv_prog_gnu_ld
28265
28266
28267
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28269 $as_echo_n "checking for shared library run path origin... " >&6; }
28270 if test "${acl_cv_rpath+set}" = set; then :
28271 $as_echo_n "(cached) " >&6
28272 else
28273
28274 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28275 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28276 . ./conftest.sh
28277 rm -f ./conftest.sh
28278 acl_cv_rpath=done
28279
28280 fi
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28282 $as_echo "$acl_cv_rpath" >&6; }
28283 wl="$acl_cv_wl"
28284 libext="$acl_cv_libext"
28285 shlibext="$acl_cv_shlibext"
28286 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28287 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28288 hardcode_direct="$acl_cv_hardcode_direct"
28289 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28290 # Check whether --enable-rpath was given.
28291 if test "${enable_rpath+set}" = set; then :
28292 enableval=$enable_rpath; :
28293 else
28294 enable_rpath=yes
28295 fi
28296
28297
28298
28299
28300
28301
28302
28303
28304 use_additional=yes
28305
28306 acl_save_prefix="$prefix"
28307 prefix="$acl_final_prefix"
28308 acl_save_exec_prefix="$exec_prefix"
28309 exec_prefix="$acl_final_exec_prefix"
28310
28311 eval additional_includedir=\"$includedir\"
28312 eval additional_libdir=\"$libdir\"
28313
28314 exec_prefix="$acl_save_exec_prefix"
28315 prefix="$acl_save_prefix"
28316
28317
28318 # Check whether --with-libiconv-prefix was given.
28319 if test "${with_libiconv_prefix+set}" = set; then :
28320 withval=$with_libiconv_prefix;
28321 if test "X$withval" = "Xno"; then
28322 use_additional=no
28323 else
28324 if test "X$withval" = "X"; then
28325
28326 acl_save_prefix="$prefix"
28327 prefix="$acl_final_prefix"
28328 acl_save_exec_prefix="$exec_prefix"
28329 exec_prefix="$acl_final_exec_prefix"
28330
28331 eval additional_includedir=\"$includedir\"
28332 eval additional_libdir=\"$libdir\"
28333
28334 exec_prefix="$acl_save_exec_prefix"
28335 prefix="$acl_save_prefix"
28336
28337 else
28338 additional_includedir="$withval/include"
28339 additional_libdir="$withval/lib"
28340 fi
28341 fi
28342
28343 fi
28344
28345 LIBICONV=
28346 LTLIBICONV=
28347 INCICONV=
28348 rpathdirs=
28349 ltrpathdirs=
28350 names_already_handled=
28351 names_next_round='iconv '
28352 while test -n "$names_next_round"; do
28353 names_this_round="$names_next_round"
28354 names_next_round=
28355 for name in $names_this_round; do
28356 already_handled=
28357 for n in $names_already_handled; do
28358 if test "$n" = "$name"; then
28359 already_handled=yes
28360 break
28361 fi
28362 done
28363 if test -z "$already_handled"; then
28364 names_already_handled="$names_already_handled $name"
28365 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28366 eval value=\"\$HAVE_LIB$uppername\"
28367 if test -n "$value"; then
28368 if test "$value" = yes; then
28369 eval value=\"\$LIB$uppername\"
28370 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28371 eval value=\"\$LTLIB$uppername\"
28372 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28373 else
28374 :
28375 fi
28376 else
28377 found_dir=
28378 found_la=
28379 found_so=
28380 found_a=
28381 if test $use_additional = yes; then
28382 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28383 found_dir="$additional_libdir"
28384 found_so="$additional_libdir/lib$name.$shlibext"
28385 if test -f "$additional_libdir/lib$name.la"; then
28386 found_la="$additional_libdir/lib$name.la"
28387 fi
28388 else
28389 if test -f "$additional_libdir/lib$name.$libext"; then
28390 found_dir="$additional_libdir"
28391 found_a="$additional_libdir/lib$name.$libext"
28392 if test -f "$additional_libdir/lib$name.la"; then
28393 found_la="$additional_libdir/lib$name.la"
28394 fi
28395 fi
28396 fi
28397 fi
28398 if test "X$found_dir" = "X"; then
28399 for x in $LDFLAGS $LTLIBICONV; do
28400
28401 acl_save_prefix="$prefix"
28402 prefix="$acl_final_prefix"
28403 acl_save_exec_prefix="$exec_prefix"
28404 exec_prefix="$acl_final_exec_prefix"
28405 eval x=\"$x\"
28406 exec_prefix="$acl_save_exec_prefix"
28407 prefix="$acl_save_prefix"
28408
28409 case "$x" in
28410 -L*)
28411 dir=`echo "X$x" | sed -e 's/^X-L//'`
28412 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28413 found_dir="$dir"
28414 found_so="$dir/lib$name.$shlibext"
28415 if test -f "$dir/lib$name.la"; then
28416 found_la="$dir/lib$name.la"
28417 fi
28418 else
28419 if test -f "$dir/lib$name.$libext"; then
28420 found_dir="$dir"
28421 found_a="$dir/lib$name.$libext"
28422 if test -f "$dir/lib$name.la"; then
28423 found_la="$dir/lib$name.la"
28424 fi
28425 fi
28426 fi
28427 ;;
28428 esac
28429 if test "X$found_dir" != "X"; then
28430 break
28431 fi
28432 done
28433 fi
28434 if test "X$found_dir" != "X"; then
28435 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28436 if test "X$found_so" != "X"; then
28437 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28438 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28439 else
28440 haveit=
28441 for x in $ltrpathdirs; do
28442 if test "X$x" = "X$found_dir"; then
28443 haveit=yes
28444 break
28445 fi
28446 done
28447 if test -z "$haveit"; then
28448 ltrpathdirs="$ltrpathdirs $found_dir"
28449 fi
28450 if test "$hardcode_direct" = yes; then
28451 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28452 else
28453 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28454 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28455 haveit=
28456 for x in $rpathdirs; do
28457 if test "X$x" = "X$found_dir"; then
28458 haveit=yes
28459 break
28460 fi
28461 done
28462 if test -z "$haveit"; then
28463 rpathdirs="$rpathdirs $found_dir"
28464 fi
28465 else
28466 haveit=
28467 for x in $LDFLAGS $LIBICONV; do
28468
28469 acl_save_prefix="$prefix"
28470 prefix="$acl_final_prefix"
28471 acl_save_exec_prefix="$exec_prefix"
28472 exec_prefix="$acl_final_exec_prefix"
28473 eval x=\"$x\"
28474 exec_prefix="$acl_save_exec_prefix"
28475 prefix="$acl_save_prefix"
28476
28477 if test "X$x" = "X-L$found_dir"; then
28478 haveit=yes
28479 break
28480 fi
28481 done
28482 if test -z "$haveit"; then
28483 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28484 fi
28485 if test "$hardcode_minus_L" != no; then
28486 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28487 else
28488 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28489 fi
28490 fi
28491 fi
28492 fi
28493 else
28494 if test "X$found_a" != "X"; then
28495 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28496 else
28497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28498 fi
28499 fi
28500 additional_includedir=
28501 case "$found_dir" in
28502 */lib | */lib/)
28503 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28504 additional_includedir="$basedir/include"
28505 ;;
28506 esac
28507 if test "X$additional_includedir" != "X"; then
28508 if test "X$additional_includedir" != "X/usr/include"; then
28509 haveit=
28510 if test "X$additional_includedir" = "X/usr/local/include"; then
28511 if test -n "$GCC"; then
28512 case $host_os in
28513 linux*) haveit=yes;;
28514 esac
28515 fi
28516 fi
28517 if test -z "$haveit"; then
28518 for x in $CPPFLAGS $INCICONV; do
28519
28520 acl_save_prefix="$prefix"
28521 prefix="$acl_final_prefix"
28522 acl_save_exec_prefix="$exec_prefix"
28523 exec_prefix="$acl_final_exec_prefix"
28524 eval x=\"$x\"
28525 exec_prefix="$acl_save_exec_prefix"
28526 prefix="$acl_save_prefix"
28527
28528 if test "X$x" = "X-I$additional_includedir"; then
28529 haveit=yes
28530 break
28531 fi
28532 done
28533 if test -z "$haveit"; then
28534 if test -d "$additional_includedir"; then
28535 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28536 fi
28537 fi
28538 fi
28539 fi
28540 fi
28541 if test -n "$found_la"; then
28542 save_libdir="$libdir"
28543 case "$found_la" in
28544 */* | *\\*) . "$found_la" ;;
28545 *) . "./$found_la" ;;
28546 esac
28547 libdir="$save_libdir"
28548 for dep in $dependency_libs; do
28549 case "$dep" in
28550 -L*)
28551 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28552 if test "X$additional_libdir" != "X/usr/lib"; then
28553 haveit=
28554 if test "X$additional_libdir" = "X/usr/local/lib"; then
28555 if test -n "$GCC"; then
28556 case $host_os in
28557 linux*) haveit=yes;;
28558 esac
28559 fi
28560 fi
28561 if test -z "$haveit"; then
28562 haveit=
28563 for x in $LDFLAGS $LIBICONV; do
28564
28565 acl_save_prefix="$prefix"
28566 prefix="$acl_final_prefix"
28567 acl_save_exec_prefix="$exec_prefix"
28568 exec_prefix="$acl_final_exec_prefix"
28569 eval x=\"$x\"
28570 exec_prefix="$acl_save_exec_prefix"
28571 prefix="$acl_save_prefix"
28572
28573 if test "X$x" = "X-L$additional_libdir"; then
28574 haveit=yes
28575 break
28576 fi
28577 done
28578 if test -z "$haveit"; then
28579 if test -d "$additional_libdir"; then
28580 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28581 fi
28582 fi
28583 haveit=
28584 for x in $LDFLAGS $LTLIBICONV; do
28585
28586 acl_save_prefix="$prefix"
28587 prefix="$acl_final_prefix"
28588 acl_save_exec_prefix="$exec_prefix"
28589 exec_prefix="$acl_final_exec_prefix"
28590 eval x=\"$x\"
28591 exec_prefix="$acl_save_exec_prefix"
28592 prefix="$acl_save_prefix"
28593
28594 if test "X$x" = "X-L$additional_libdir"; then
28595 haveit=yes
28596 break
28597 fi
28598 done
28599 if test -z "$haveit"; then
28600 if test -d "$additional_libdir"; then
28601 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28602 fi
28603 fi
28604 fi
28605 fi
28606 ;;
28607 -R*)
28608 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28609 if test "$enable_rpath" != no; then
28610 haveit=
28611 for x in $rpathdirs; do
28612 if test "X$x" = "X$dir"; then
28613 haveit=yes
28614 break
28615 fi
28616 done
28617 if test -z "$haveit"; then
28618 rpathdirs="$rpathdirs $dir"
28619 fi
28620 haveit=
28621 for x in $ltrpathdirs; do
28622 if test "X$x" = "X$dir"; then
28623 haveit=yes
28624 break
28625 fi
28626 done
28627 if test -z "$haveit"; then
28628 ltrpathdirs="$ltrpathdirs $dir"
28629 fi
28630 fi
28631 ;;
28632 -l*)
28633 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28634 ;;
28635 *.la)
28636 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28637 ;;
28638 *)
28639 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28640 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28641 ;;
28642 esac
28643 done
28644 fi
28645 else
28646 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28647 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28648 fi
28649 fi
28650 fi
28651 done
28652 done
28653 if test "X$rpathdirs" != "X"; then
28654 if test -n "$hardcode_libdir_separator"; then
28655 alldirs=
28656 for found_dir in $rpathdirs; do
28657 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28658 done
28659 acl_save_libdir="$libdir"
28660 libdir="$alldirs"
28661 eval flag=\"$hardcode_libdir_flag_spec\"
28662 libdir="$acl_save_libdir"
28663 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28664 else
28665 for found_dir in $rpathdirs; do
28666 acl_save_libdir="$libdir"
28667 libdir="$found_dir"
28668 eval flag=\"$hardcode_libdir_flag_spec\"
28669 libdir="$acl_save_libdir"
28670 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28671 done
28672 fi
28673 fi
28674 if test "X$ltrpathdirs" != "X"; then
28675 for found_dir in $ltrpathdirs; do
28676 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28677 done
28678 fi
28679
28680
28681
28682
28683
28684
28685
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28687 $as_echo_n "checking for iconv... " >&6; }
28688 if test "${am_cv_func_iconv+set}" = set; then :
28689 $as_echo_n "(cached) " >&6
28690 else
28691
28692 am_cv_func_iconv="no, consider installing GNU libiconv"
28693 am_cv_lib_iconv=no
28694 am_save_CPPFLAGS="$CPPFLAGS"
28695 CPPFLAGS="$CPPFLAGS $INCICONV"
28696 if test x$gcc_no_link = xyes; then
28697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28698 fi
28699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28700 /* end confdefs.h. */
28701 #include <stdlib.h>
28702 #include <iconv.h>
28703 int
28704 main ()
28705 {
28706 iconv_t cd = iconv_open("","");
28707 iconv(cd,NULL,NULL,NULL,NULL);
28708 iconv_close(cd);
28709 ;
28710 return 0;
28711 }
28712 _ACEOF
28713 if ac_fn_c_try_link "$LINENO"; then :
28714 am_cv_func_iconv=yes
28715 fi
28716 rm -f core conftest.err conftest.$ac_objext \
28717 conftest$ac_exeext conftest.$ac_ext
28718 CPPFLAGS="$am_save_CPPFLAGS"
28719
28720 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28721 for _libs in .libs _libs; do
28722 am_save_CPPFLAGS="$CPPFLAGS"
28723 am_save_LIBS="$LIBS"
28724 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28725 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28726 if test x$gcc_no_link = xyes; then
28727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28728 fi
28729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28730 /* end confdefs.h. */
28731 #include <stdlib.h>
28732 #include <iconv.h>
28733 int
28734 main ()
28735 {
28736 iconv_t cd = iconv_open("","");
28737 iconv(cd,NULL,NULL,NULL,NULL);
28738 iconv_close(cd);
28739 ;
28740 return 0;
28741 }
28742 _ACEOF
28743 if ac_fn_c_try_link "$LINENO"; then :
28744 INCICONV="-I../libiconv/include"
28745 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28746 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28747 am_cv_lib_iconv=yes
28748 am_cv_func_iconv=yes
28749 fi
28750 rm -f core conftest.err conftest.$ac_objext \
28751 conftest$ac_exeext conftest.$ac_ext
28752 CPPFLAGS="$am_save_CPPFLAGS"
28753 LIBS="$am_save_LIBS"
28754 if test "$am_cv_func_iconv" = "yes"; then
28755 break
28756 fi
28757 done
28758 fi
28759
28760 if test "$am_cv_func_iconv" != yes; then
28761 am_save_CPPFLAGS="$CPPFLAGS"
28762 am_save_LIBS="$LIBS"
28763 CPPFLAGS="$LIBS $INCICONV"
28764 LIBS="$LIBS $LIBICONV"
28765 if test x$gcc_no_link = xyes; then
28766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28767 fi
28768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28769 /* end confdefs.h. */
28770 #include <stdlib.h>
28771 #include <iconv.h>
28772 int
28773 main ()
28774 {
28775 iconv_t cd = iconv_open("","");
28776 iconv(cd,NULL,NULL,NULL,NULL);
28777 iconv_close(cd);
28778 ;
28779 return 0;
28780 }
28781 _ACEOF
28782 if ac_fn_c_try_link "$LINENO"; then :
28783 am_cv_lib_iconv=yes
28784 am_cv_func_iconv=yes
28785 fi
28786 rm -f core conftest.err conftest.$ac_objext \
28787 conftest$ac_exeext conftest.$ac_ext
28788 CPPFLAGS="$am_save_CPPFLAGS"
28789 LIBS="$am_save_LIBS"
28790 fi
28791
28792 fi
28793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28794 $as_echo "$am_cv_func_iconv" >&6; }
28795 if test "$am_cv_func_iconv" = yes; then
28796
28797 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28798
28799 fi
28800 if test "$am_cv_lib_iconv" = yes; then
28801
28802 for element in $INCICONV; do
28803 haveit=
28804 for x in $CPPFLAGS; do
28805
28806 acl_save_prefix="$prefix"
28807 prefix="$acl_final_prefix"
28808 acl_save_exec_prefix="$exec_prefix"
28809 exec_prefix="$acl_final_exec_prefix"
28810 eval x=\"$x\"
28811 exec_prefix="$acl_save_exec_prefix"
28812 prefix="$acl_save_prefix"
28813
28814 if test "X$x" = "X$element"; then
28815 haveit=yes
28816 break
28817 fi
28818 done
28819 if test -z "$haveit"; then
28820 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28821 fi
28822 done
28823
28824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28825 $as_echo_n "checking how to link with libiconv... " >&6; }
28826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28827 $as_echo "$LIBICONV" >&6; }
28828 else
28829 LIBICONV=
28830 LTLIBICONV=
28831 fi
28832
28833
28834
28835 if test "$am_cv_func_iconv" = yes; then
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28837 $as_echo_n "checking for iconv declaration... " >&6; }
28838 if test "${am_cv_proto_iconv+set}" = set; then :
28839 $as_echo_n "(cached) " >&6
28840 else
28841
28842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28843 /* end confdefs.h. */
28844
28845 #include <stdlib.h>
28846 #include <iconv.h>
28847 extern
28848 #ifdef __cplusplus
28849 "C"
28850 #endif
28851 #if defined(__STDC__) || defined(__cplusplus)
28852 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28853 #else
28854 size_t iconv();
28855 #endif
28856
28857 int
28858 main ()
28859 {
28860
28861 ;
28862 return 0;
28863 }
28864 _ACEOF
28865 if ac_fn_c_try_compile "$LINENO"; then :
28866 am_cv_proto_iconv_arg1=""
28867 else
28868 am_cv_proto_iconv_arg1="const"
28869 fi
28870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28871 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);"
28872 fi
28873
28874 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28876 }$am_cv_proto_iconv" >&5
28877 $as_echo "${ac_t:-
28878 }$am_cv_proto_iconv" >&6; }
28879
28880 cat >>confdefs.h <<_ACEOF
28881 #define ICONV_CONST $am_cv_proto_iconv_arg1
28882 _ACEOF
28883
28884 fi
28885
28886
28887 else
28888
28889 # This lets us hard-code the functionality we know we'll have in the cross
28890 # target environment. "Let" is a sugar-coated word placed on an especially
28891 # dull and tedious hack, actually.
28892 #
28893 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28894 # that involve linking, can't be used:
28895 # "cannot open sim-crt0.o"
28896 # "cannot open crt0.o"
28897 # etc. All this is because there currently exists no unified, consistent
28898 # way for top level CC information to be passed down to target directories:
28899 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28900 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28901 # crosses can be removed.
28902
28903 # If Canadian cross, then don't pick up tools from the build directory.
28904 # Used only in GLIBCXX_EXPORT_INCLUDES.
28905 if test -n "$with_cross_host" &&
28906 test x"$build_alias" != x"$with_cross_host" &&
28907 test x"$build" != x"$target";
28908 then
28909 CANADIAN=yes
28910 else
28911 CANADIAN=no
28912 fi
28913
28914 # Construct crosses by hand, eliminating bits that need ld...
28915 # GLIBCXX_CHECK_MATH_SUPPORT
28916
28917 # First, test for "known" system libraries. We may be using newlib even
28918 # on a hosted environment.
28919 if test "x${with_newlib}" = "xyes"; then
28920 os_include_dir="os/newlib"
28921 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28922
28923
28924 # GLIBCXX_CHECK_STDLIB_SUPPORT
28925 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28926
28927
28928 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28929
28930 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28931
28932 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28933
28934 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28935
28936 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28937
28938 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28939
28940 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28941
28942 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28943
28944 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28945
28946 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28947
28948 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28949
28950 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28951
28952 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28953
28954 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28955
28956 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28957
28958 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28959
28960 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28961
28962 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28963
28964 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28965
28966 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28967
28968 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28969
28970 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28971
28972
28973 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28974
28975 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28976
28977 else
28978
28979 # Base decisions on target environment.
28980 case "${host}" in
28981 arm*-*-symbianelf*)
28982 # This is a freestanding configuration; there is nothing to do here.
28983 ;;
28984
28985 avr*-*-*)
28986 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28987
28988 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28989
28990 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28991
28992 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28993
28994 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28995
28996 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28997
28998 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28999
29000 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29001
29002 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29003
29004 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29005
29006 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29007
29008 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29009
29010 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29011
29012 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29013
29014 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29015
29016 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29017
29018 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29019
29020 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29021
29022 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29023
29024 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29025
29026 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29027
29028 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29029
29030 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29031
29032 ;;
29033
29034 mips*-sde-elf*)
29035 # These definitions are for the SDE C library rather than newlib.
29036 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29037
29038
29039 # All these tests are for C++; save the language and the compiler flags.
29040 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29041 # found in GLIBCXX_CONFIGURE.
29042
29043 ac_ext=cpp
29044 ac_cpp='$CXXCPP $CPPFLAGS'
29045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29048
29049 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29050 ac_save_CXXFLAGS="$CXXFLAGS"
29051
29052 # Check for -ffunction-sections -fdata-sections
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29054 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29055 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29057 /* end confdefs.h. */
29058 int foo; void bar() { };
29059 int
29060 main ()
29061 {
29062
29063 ;
29064 return 0;
29065 }
29066 _ACEOF
29067 if ac_fn_cxx_try_compile "$LINENO"; then :
29068 ac_fdsections=yes
29069 else
29070 ac_fdsections=no
29071 fi
29072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29073 if test "$ac_test_CXXFLAGS" = set; then
29074 CXXFLAGS="$ac_save_CXXFLAGS"
29075 else
29076 # this is the suspicious part
29077 CXXFLAGS=''
29078 fi
29079 if test x"$ac_fdsections" = x"yes"; then
29080 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29081 fi
29082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29083 $as_echo "$ac_fdsections" >&6; }
29084
29085 ac_ext=c
29086 ac_cpp='$CPP $CPPFLAGS'
29087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29090
29091
29092
29093
29094 # If we're not using GNU ld, then there's no point in even trying these
29095 # tests. Check for that first. We should have already tested for gld
29096 # by now (in libtool), but require it now just to be safe...
29097 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29098 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29099
29100
29101
29102 # The name set by libtool depends on the version of libtool. Shame on us
29103 # for depending on an impl detail, but c'est la vie. Older versions used
29104 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29105 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29106 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29107 # set (hence we're using an older libtool), then set it.
29108 if test x${with_gnu_ld+set} != xset; then
29109 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29110 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29111 with_gnu_ld=no
29112 else
29113 with_gnu_ld=$ac_cv_prog_gnu_ld
29114 fi
29115 fi
29116
29117 # Start by getting the version number. I think the libtool test already
29118 # does some of this, but throws away the result.
29119 glibcxx_ld_is_gold=no
29120 if test x"$with_gnu_ld" = x"yes"; then
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29122 $as_echo_n "checking for ld version... " >&6; }
29123
29124 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29125 glibcxx_ld_is_gold=yes
29126 fi
29127 ldver=`$LD --version 2>/dev/null |
29128 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'`
29129
29130 glibcxx_gnu_ld_version=`echo $ldver | \
29131 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29133 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29134 fi
29135
29136 # Set --gc-sections.
29137 glibcxx_have_gc_sections=no
29138 if test "$glibcxx_ld_is_gold" = "yes"; then
29139 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29140 glibcxx_have_gc_sections=yes
29141 fi
29142 else
29143 glibcxx_gcsections_min_ld=21602
29144 if test x"$with_gnu_ld" = x"yes" &&
29145 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29146 glibcxx_have_gc_sections=yes
29147 fi
29148 fi
29149 if test "$glibcxx_have_gc_sections" = "yes"; then
29150 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29151 # NB: This flag only works reliably after 2.16.1. Configure tests
29152 # for this are difficult, so hard wire a value that should work.
29153
29154 ac_test_CFLAGS="${CFLAGS+set}"
29155 ac_save_CFLAGS="$CFLAGS"
29156 CFLAGS='-Wl,--gc-sections'
29157
29158 # Check for -Wl,--gc-sections
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29160 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29161 if test x$gcc_no_link = xyes; then
29162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29163 fi
29164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29165 /* end confdefs.h. */
29166 int one(void) { return 1; }
29167 int two(void) { return 2; }
29168
29169 int
29170 main ()
29171 {
29172 two();
29173 ;
29174 return 0;
29175 }
29176 _ACEOF
29177 if ac_fn_c_try_link "$LINENO"; then :
29178 ac_gcsections=yes
29179 else
29180 ac_gcsections=no
29181 fi
29182 rm -f core conftest.err conftest.$ac_objext \
29183 conftest$ac_exeext conftest.$ac_ext
29184 if test "$ac_gcsections" = "yes"; then
29185 rm -f conftest.c
29186 touch conftest.c
29187 if $CC -c conftest.c; then
29188 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29189 grep "Warning: gc-sections option ignored" > /dev/null; then
29190 ac_gcsections=no
29191 fi
29192 fi
29193 rm -f conftest.c conftest.o conftest
29194 fi
29195 if test "$ac_gcsections" = "yes"; then
29196 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29197 fi
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29199 $as_echo "$ac_gcsections" >&6; }
29200
29201 if test "$ac_test_CFLAGS" = set; then
29202 CFLAGS="$ac_save_CFLAGS"
29203 else
29204 # this is the suspicious part
29205 CFLAGS=''
29206 fi
29207 fi
29208
29209 # Set -z,relro.
29210 # Note this is only for shared objects.
29211 ac_ld_relro=no
29212 if test x"$with_gnu_ld" = x"yes"; then
29213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29214 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29215 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29216 if test -n "$cxx_z_relo"; then
29217 OPT_LDFLAGS="-Wl,-z,relro"
29218 ac_ld_relro=yes
29219 fi
29220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29221 $as_echo "$ac_ld_relro" >&6; }
29222 fi
29223
29224 # Set linker optimization flags.
29225 if test x"$with_gnu_ld" = x"yes"; then
29226 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29227 fi
29228
29229
29230
29231
29232
29233 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29234 ac_save_CXXFLAGS="$CXXFLAGS"
29235 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29236
29237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29238 $as_echo_n "checking for sin in -lm... " >&6; }
29239 if test "${ac_cv_lib_m_sin+set}" = set; then :
29240 $as_echo_n "(cached) " >&6
29241 else
29242 ac_check_lib_save_LIBS=$LIBS
29243 LIBS="-lm $LIBS"
29244 if test x$gcc_no_link = xyes; then
29245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29246 fi
29247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29248 /* end confdefs.h. */
29249
29250 /* Override any GCC internal prototype to avoid an error.
29251 Use char because int might match the return type of a GCC
29252 builtin and then its argument prototype would still apply. */
29253 #ifdef __cplusplus
29254 extern "C"
29255 #endif
29256 char sin ();
29257 int
29258 main ()
29259 {
29260 return sin ();
29261 ;
29262 return 0;
29263 }
29264 _ACEOF
29265 if ac_fn_c_try_link "$LINENO"; then :
29266 ac_cv_lib_m_sin=yes
29267 else
29268 ac_cv_lib_m_sin=no
29269 fi
29270 rm -f core conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29272 LIBS=$ac_check_lib_save_LIBS
29273 fi
29274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29275 $as_echo "$ac_cv_lib_m_sin" >&6; }
29276 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29277 libm="-lm"
29278 fi
29279
29280 ac_save_LIBS="$LIBS"
29281 LIBS="$LIBS $libm"
29282
29283
29284
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29286 $as_echo_n "checking for isinf declaration... " >&6; }
29287 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29288 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29289 $as_echo_n "(cached) " >&6
29290 else
29291
29292
29293 ac_ext=cpp
29294 ac_cpp='$CXXCPP $CPPFLAGS'
29295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29298
29299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29300 /* end confdefs.h. */
29301 #include <math.h>
29302 #ifdef HAVE_IEEEFP_H
29303 #include <ieeefp.h>
29304 #endif
29305
29306 int
29307 main ()
29308 {
29309 isinf(0);
29310 ;
29311 return 0;
29312 }
29313 _ACEOF
29314 if ac_fn_cxx_try_compile "$LINENO"; then :
29315 glibcxx_cv_func_isinf_use=yes
29316 else
29317 glibcxx_cv_func_isinf_use=no
29318 fi
29319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29320 ac_ext=c
29321 ac_cpp='$CPP $CPPFLAGS'
29322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29325
29326
29327 fi
29328
29329 fi
29330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29331 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29332
29333 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29334 for ac_func in isinf
29335 do :
29336 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29337 if test "x$ac_cv_func_isinf" = x""yes; then :
29338 cat >>confdefs.h <<_ACEOF
29339 #define HAVE_ISINF 1
29340 _ACEOF
29341
29342 fi
29343 done
29344
29345 else
29346
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29348 $as_echo_n "checking for _isinf declaration... " >&6; }
29349 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29350 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29351 $as_echo_n "(cached) " >&6
29352 else
29353
29354
29355 ac_ext=cpp
29356 ac_cpp='$CXXCPP $CPPFLAGS'
29357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29360
29361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29362 /* end confdefs.h. */
29363 #include <math.h>
29364 #ifdef HAVE_IEEEFP_H
29365 #include <ieeefp.h>
29366 #endif
29367
29368 int
29369 main ()
29370 {
29371 _isinf(0);
29372 ;
29373 return 0;
29374 }
29375 _ACEOF
29376 if ac_fn_cxx_try_compile "$LINENO"; then :
29377 glibcxx_cv_func__isinf_use=yes
29378 else
29379 glibcxx_cv_func__isinf_use=no
29380 fi
29381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29382 ac_ext=c
29383 ac_cpp='$CPP $CPPFLAGS'
29384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29387
29388
29389 fi
29390
29391 fi
29392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29393 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29394
29395 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29396 for ac_func in _isinf
29397 do :
29398 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29399 if test "x$ac_cv_func__isinf" = x""yes; then :
29400 cat >>confdefs.h <<_ACEOF
29401 #define HAVE__ISINF 1
29402 _ACEOF
29403
29404 fi
29405 done
29406
29407 fi
29408 fi
29409
29410
29411
29412
29413
29414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29415 $as_echo_n "checking for isnan declaration... " >&6; }
29416 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29417 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29418 $as_echo_n "(cached) " >&6
29419 else
29420
29421
29422 ac_ext=cpp
29423 ac_cpp='$CXXCPP $CPPFLAGS'
29424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29427
29428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29429 /* end confdefs.h. */
29430 #include <math.h>
29431 #ifdef HAVE_IEEEFP_H
29432 #include <ieeefp.h>
29433 #endif
29434
29435 int
29436 main ()
29437 {
29438 isnan(0);
29439 ;
29440 return 0;
29441 }
29442 _ACEOF
29443 if ac_fn_cxx_try_compile "$LINENO"; then :
29444 glibcxx_cv_func_isnan_use=yes
29445 else
29446 glibcxx_cv_func_isnan_use=no
29447 fi
29448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29449 ac_ext=c
29450 ac_cpp='$CPP $CPPFLAGS'
29451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29454
29455
29456 fi
29457
29458 fi
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29460 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29461
29462 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29463 for ac_func in isnan
29464 do :
29465 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29466 if test "x$ac_cv_func_isnan" = x""yes; then :
29467 cat >>confdefs.h <<_ACEOF
29468 #define HAVE_ISNAN 1
29469 _ACEOF
29470
29471 fi
29472 done
29473
29474 else
29475
29476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29477 $as_echo_n "checking for _isnan declaration... " >&6; }
29478 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29479 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29480 $as_echo_n "(cached) " >&6
29481 else
29482
29483
29484 ac_ext=cpp
29485 ac_cpp='$CXXCPP $CPPFLAGS'
29486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29489
29490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29491 /* end confdefs.h. */
29492 #include <math.h>
29493 #ifdef HAVE_IEEEFP_H
29494 #include <ieeefp.h>
29495 #endif
29496
29497 int
29498 main ()
29499 {
29500 _isnan(0);
29501 ;
29502 return 0;
29503 }
29504 _ACEOF
29505 if ac_fn_cxx_try_compile "$LINENO"; then :
29506 glibcxx_cv_func__isnan_use=yes
29507 else
29508 glibcxx_cv_func__isnan_use=no
29509 fi
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29511 ac_ext=c
29512 ac_cpp='$CPP $CPPFLAGS'
29513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29516
29517
29518 fi
29519
29520 fi
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29522 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29523
29524 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29525 for ac_func in _isnan
29526 do :
29527 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29528 if test "x$ac_cv_func__isnan" = x""yes; then :
29529 cat >>confdefs.h <<_ACEOF
29530 #define HAVE__ISNAN 1
29531 _ACEOF
29532
29533 fi
29534 done
29535
29536 fi
29537 fi
29538
29539
29540
29541
29542
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29544 $as_echo_n "checking for finite declaration... " >&6; }
29545 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29546 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29547 $as_echo_n "(cached) " >&6
29548 else
29549
29550
29551 ac_ext=cpp
29552 ac_cpp='$CXXCPP $CPPFLAGS'
29553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29556
29557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29558 /* end confdefs.h. */
29559 #include <math.h>
29560 #ifdef HAVE_IEEEFP_H
29561 #include <ieeefp.h>
29562 #endif
29563
29564 int
29565 main ()
29566 {
29567 finite(0);
29568 ;
29569 return 0;
29570 }
29571 _ACEOF
29572 if ac_fn_cxx_try_compile "$LINENO"; then :
29573 glibcxx_cv_func_finite_use=yes
29574 else
29575 glibcxx_cv_func_finite_use=no
29576 fi
29577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29578 ac_ext=c
29579 ac_cpp='$CPP $CPPFLAGS'
29580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29583
29584
29585 fi
29586
29587 fi
29588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29589 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29590
29591 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29592 for ac_func in finite
29593 do :
29594 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29595 if test "x$ac_cv_func_finite" = x""yes; then :
29596 cat >>confdefs.h <<_ACEOF
29597 #define HAVE_FINITE 1
29598 _ACEOF
29599
29600 fi
29601 done
29602
29603 else
29604
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29606 $as_echo_n "checking for _finite declaration... " >&6; }
29607 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29608 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29609 $as_echo_n "(cached) " >&6
29610 else
29611
29612
29613 ac_ext=cpp
29614 ac_cpp='$CXXCPP $CPPFLAGS'
29615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29618
29619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29620 /* end confdefs.h. */
29621 #include <math.h>
29622 #ifdef HAVE_IEEEFP_H
29623 #include <ieeefp.h>
29624 #endif
29625
29626 int
29627 main ()
29628 {
29629 _finite(0);
29630 ;
29631 return 0;
29632 }
29633 _ACEOF
29634 if ac_fn_cxx_try_compile "$LINENO"; then :
29635 glibcxx_cv_func__finite_use=yes
29636 else
29637 glibcxx_cv_func__finite_use=no
29638 fi
29639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29640 ac_ext=c
29641 ac_cpp='$CPP $CPPFLAGS'
29642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29645
29646
29647 fi
29648
29649 fi
29650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29651 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29652
29653 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29654 for ac_func in _finite
29655 do :
29656 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29657 if test "x$ac_cv_func__finite" = x""yes; then :
29658 cat >>confdefs.h <<_ACEOF
29659 #define HAVE__FINITE 1
29660 _ACEOF
29661
29662 fi
29663 done
29664
29665 fi
29666 fi
29667
29668
29669
29670
29671
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29673 $as_echo_n "checking for sincos declaration... " >&6; }
29674 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29675 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29676 $as_echo_n "(cached) " >&6
29677 else
29678
29679
29680 ac_ext=cpp
29681 ac_cpp='$CXXCPP $CPPFLAGS'
29682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29685
29686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29687 /* end confdefs.h. */
29688 #include <math.h>
29689 int
29690 main ()
29691 {
29692 sincos(0, 0, 0);
29693 ;
29694 return 0;
29695 }
29696 _ACEOF
29697 if ac_fn_cxx_try_compile "$LINENO"; then :
29698 glibcxx_cv_func_sincos_use=yes
29699 else
29700 glibcxx_cv_func_sincos_use=no
29701 fi
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29703 ac_ext=c
29704 ac_cpp='$CPP $CPPFLAGS'
29705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29708
29709
29710 fi
29711
29712 fi
29713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29714 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29715
29716 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29717 for ac_func in sincos
29718 do :
29719 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29720 if test "x$ac_cv_func_sincos" = x""yes; then :
29721 cat >>confdefs.h <<_ACEOF
29722 #define HAVE_SINCOS 1
29723 _ACEOF
29724
29725 fi
29726 done
29727
29728 else
29729
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29731 $as_echo_n "checking for _sincos declaration... " >&6; }
29732 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29733 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29734 $as_echo_n "(cached) " >&6
29735 else
29736
29737
29738 ac_ext=cpp
29739 ac_cpp='$CXXCPP $CPPFLAGS'
29740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29743
29744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29745 /* end confdefs.h. */
29746 #include <math.h>
29747 int
29748 main ()
29749 {
29750 _sincos(0, 0, 0);
29751 ;
29752 return 0;
29753 }
29754 _ACEOF
29755 if ac_fn_cxx_try_compile "$LINENO"; then :
29756 glibcxx_cv_func__sincos_use=yes
29757 else
29758 glibcxx_cv_func__sincos_use=no
29759 fi
29760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29761 ac_ext=c
29762 ac_cpp='$CPP $CPPFLAGS'
29763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29766
29767
29768 fi
29769
29770 fi
29771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29772 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29773
29774 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29775 for ac_func in _sincos
29776 do :
29777 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29778 if test "x$ac_cv_func__sincos" = x""yes; then :
29779 cat >>confdefs.h <<_ACEOF
29780 #define HAVE__SINCOS 1
29781 _ACEOF
29782
29783 fi
29784 done
29785
29786 fi
29787 fi
29788
29789
29790
29791
29792
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29794 $as_echo_n "checking for fpclass declaration... " >&6; }
29795 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29796 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29797 $as_echo_n "(cached) " >&6
29798 else
29799
29800
29801 ac_ext=cpp
29802 ac_cpp='$CXXCPP $CPPFLAGS'
29803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29806
29807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29808 /* end confdefs.h. */
29809 #include <math.h>
29810 #ifdef HAVE_IEEEFP_H
29811 #include <ieeefp.h>
29812 #endif
29813
29814 int
29815 main ()
29816 {
29817 fpclass(0);
29818 ;
29819 return 0;
29820 }
29821 _ACEOF
29822 if ac_fn_cxx_try_compile "$LINENO"; then :
29823 glibcxx_cv_func_fpclass_use=yes
29824 else
29825 glibcxx_cv_func_fpclass_use=no
29826 fi
29827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29828 ac_ext=c
29829 ac_cpp='$CPP $CPPFLAGS'
29830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29833
29834
29835 fi
29836
29837 fi
29838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29839 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29840
29841 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29842 for ac_func in fpclass
29843 do :
29844 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29845 if test "x$ac_cv_func_fpclass" = x""yes; then :
29846 cat >>confdefs.h <<_ACEOF
29847 #define HAVE_FPCLASS 1
29848 _ACEOF
29849
29850 fi
29851 done
29852
29853 else
29854
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29856 $as_echo_n "checking for _fpclass declaration... " >&6; }
29857 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29858 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29859 $as_echo_n "(cached) " >&6
29860 else
29861
29862
29863 ac_ext=cpp
29864 ac_cpp='$CXXCPP $CPPFLAGS'
29865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29868
29869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29870 /* end confdefs.h. */
29871 #include <math.h>
29872 #ifdef HAVE_IEEEFP_H
29873 #include <ieeefp.h>
29874 #endif
29875
29876 int
29877 main ()
29878 {
29879 _fpclass(0);
29880 ;
29881 return 0;
29882 }
29883 _ACEOF
29884 if ac_fn_cxx_try_compile "$LINENO"; then :
29885 glibcxx_cv_func__fpclass_use=yes
29886 else
29887 glibcxx_cv_func__fpclass_use=no
29888 fi
29889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29890 ac_ext=c
29891 ac_cpp='$CPP $CPPFLAGS'
29892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29895
29896
29897 fi
29898
29899 fi
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29901 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29902
29903 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29904 for ac_func in _fpclass
29905 do :
29906 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29907 if test "x$ac_cv_func__fpclass" = x""yes; then :
29908 cat >>confdefs.h <<_ACEOF
29909 #define HAVE__FPCLASS 1
29910 _ACEOF
29911
29912 fi
29913 done
29914
29915 fi
29916 fi
29917
29918
29919
29920
29921
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29923 $as_echo_n "checking for qfpclass declaration... " >&6; }
29924 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29925 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29926 $as_echo_n "(cached) " >&6
29927 else
29928
29929
29930 ac_ext=cpp
29931 ac_cpp='$CXXCPP $CPPFLAGS'
29932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29935
29936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29937 /* end confdefs.h. */
29938 #include <math.h>
29939 #ifdef HAVE_IEEEFP_H
29940 #include <ieeefp.h>
29941 #endif
29942
29943 int
29944 main ()
29945 {
29946 qfpclass(0);
29947 ;
29948 return 0;
29949 }
29950 _ACEOF
29951 if ac_fn_cxx_try_compile "$LINENO"; then :
29952 glibcxx_cv_func_qfpclass_use=yes
29953 else
29954 glibcxx_cv_func_qfpclass_use=no
29955 fi
29956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29957 ac_ext=c
29958 ac_cpp='$CPP $CPPFLAGS'
29959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29962
29963
29964 fi
29965
29966 fi
29967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29968 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29969
29970 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29971 for ac_func in qfpclass
29972 do :
29973 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29974 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29975 cat >>confdefs.h <<_ACEOF
29976 #define HAVE_QFPCLASS 1
29977 _ACEOF
29978
29979 fi
29980 done
29981
29982 else
29983
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29985 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29986 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29987 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29988 $as_echo_n "(cached) " >&6
29989 else
29990
29991
29992 ac_ext=cpp
29993 ac_cpp='$CXXCPP $CPPFLAGS'
29994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29997
29998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30000 #include <math.h>
30001 #ifdef HAVE_IEEEFP_H
30002 #include <ieeefp.h>
30003 #endif
30004
30005 int
30006 main ()
30007 {
30008 _qfpclass(0);
30009 ;
30010 return 0;
30011 }
30012 _ACEOF
30013 if ac_fn_cxx_try_compile "$LINENO"; then :
30014 glibcxx_cv_func__qfpclass_use=yes
30015 else
30016 glibcxx_cv_func__qfpclass_use=no
30017 fi
30018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30019 ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30024
30025
30026 fi
30027
30028 fi
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30030 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30031
30032 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30033 for ac_func in _qfpclass
30034 do :
30035 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30036 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE__QFPCLASS 1
30039 _ACEOF
30040
30041 fi
30042 done
30043
30044 fi
30045 fi
30046
30047
30048
30049
30050
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30052 $as_echo_n "checking for hypot declaration... " >&6; }
30053 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30054 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30055 $as_echo_n "(cached) " >&6
30056 else
30057
30058
30059 ac_ext=cpp
30060 ac_cpp='$CXXCPP $CPPFLAGS'
30061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30064
30065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h. */
30067 #include <math.h>
30068 int
30069 main ()
30070 {
30071 hypot(0, 0);
30072 ;
30073 return 0;
30074 }
30075 _ACEOF
30076 if ac_fn_cxx_try_compile "$LINENO"; then :
30077 glibcxx_cv_func_hypot_use=yes
30078 else
30079 glibcxx_cv_func_hypot_use=no
30080 fi
30081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30082 ac_ext=c
30083 ac_cpp='$CPP $CPPFLAGS'
30084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30087
30088
30089 fi
30090
30091 fi
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30093 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30094
30095 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30096 for ac_func in hypot
30097 do :
30098 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30099 if test "x$ac_cv_func_hypot" = x""yes; then :
30100 cat >>confdefs.h <<_ACEOF
30101 #define HAVE_HYPOT 1
30102 _ACEOF
30103
30104 fi
30105 done
30106
30107 else
30108
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30110 $as_echo_n "checking for _hypot declaration... " >&6; }
30111 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30112 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30113 $as_echo_n "(cached) " >&6
30114 else
30115
30116
30117 ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30122
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <math.h>
30126 int
30127 main ()
30128 {
30129 _hypot(0, 0);
30130 ;
30131 return 0;
30132 }
30133 _ACEOF
30134 if ac_fn_cxx_try_compile "$LINENO"; then :
30135 glibcxx_cv_func__hypot_use=yes
30136 else
30137 glibcxx_cv_func__hypot_use=no
30138 fi
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140 ac_ext=c
30141 ac_cpp='$CPP $CPPFLAGS'
30142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30145
30146
30147 fi
30148
30149 fi
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30151 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30152
30153 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30154 for ac_func in _hypot
30155 do :
30156 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30157 if test "x$ac_cv_func__hypot" = x""yes; then :
30158 cat >>confdefs.h <<_ACEOF
30159 #define HAVE__HYPOT 1
30160 _ACEOF
30161
30162 fi
30163 done
30164
30165 fi
30166 fi
30167
30168
30169
30170
30171
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30173 $as_echo_n "checking for float trig functions... " >&6; }
30174 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30175 $as_echo_n "(cached) " >&6
30176 else
30177
30178
30179 ac_ext=cpp
30180 ac_cpp='$CXXCPP $CPPFLAGS'
30181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30184
30185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30186 /* end confdefs.h. */
30187 #include <math.h>
30188 int
30189 main ()
30190 {
30191 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30192 ;
30193 return 0;
30194 }
30195 _ACEOF
30196 if ac_fn_cxx_try_compile "$LINENO"; then :
30197 glibcxx_cv_func_float_trig_use=yes
30198 else
30199 glibcxx_cv_func_float_trig_use=no
30200 fi
30201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30202 ac_ext=c
30203 ac_cpp='$CPP $CPPFLAGS'
30204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30207
30208 fi
30209
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30211 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30212 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30213 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30214 do :
30215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30217 eval as_val=\$$as_ac_var
30218 if test "x$as_val" = x""yes; then :
30219 cat >>confdefs.h <<_ACEOF
30220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30221 _ACEOF
30222
30223 fi
30224 done
30225
30226 else
30227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30228 $as_echo_n "checking for _float trig functions... " >&6; }
30229 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30230 $as_echo_n "(cached) " >&6
30231 else
30232
30233
30234 ac_ext=cpp
30235 ac_cpp='$CXXCPP $CPPFLAGS'
30236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30239
30240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30241 /* end confdefs.h. */
30242 #include <math.h>
30243 int
30244 main ()
30245 {
30246 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30247 ;
30248 return 0;
30249 }
30250 _ACEOF
30251 if ac_fn_cxx_try_compile "$LINENO"; then :
30252 glibcxx_cv_func__float_trig_use=yes
30253 else
30254 glibcxx_cv_func__float_trig_use=no
30255 fi
30256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30257 ac_ext=c
30258 ac_cpp='$CPP $CPPFLAGS'
30259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30262
30263 fi
30264
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30266 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30267 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30268 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30269 do :
30270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30272 eval as_val=\$$as_ac_var
30273 if test "x$as_val" = x""yes; then :
30274 cat >>confdefs.h <<_ACEOF
30275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30276 _ACEOF
30277
30278 fi
30279 done
30280
30281 fi
30282 fi
30283
30284
30285
30286
30287
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30289 $as_echo_n "checking for float round functions... " >&6; }
30290 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30291 $as_echo_n "(cached) " >&6
30292 else
30293
30294
30295 ac_ext=cpp
30296 ac_cpp='$CXXCPP $CPPFLAGS'
30297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30300
30301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30302 /* end confdefs.h. */
30303 #include <math.h>
30304 int
30305 main ()
30306 {
30307 ceilf (0); floorf (0);
30308 ;
30309 return 0;
30310 }
30311 _ACEOF
30312 if ac_fn_cxx_try_compile "$LINENO"; then :
30313 glibcxx_cv_func_float_round_use=yes
30314 else
30315 glibcxx_cv_func_float_round_use=no
30316 fi
30317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30318 ac_ext=c
30319 ac_cpp='$CPP $CPPFLAGS'
30320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30323
30324 fi
30325
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30327 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30328 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30329 for ac_func in ceilf floorf
30330 do :
30331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30333 eval as_val=\$$as_ac_var
30334 if test "x$as_val" = x""yes; then :
30335 cat >>confdefs.h <<_ACEOF
30336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30337 _ACEOF
30338
30339 fi
30340 done
30341
30342 else
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30344 $as_echo_n "checking for _float round functions... " >&6; }
30345 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30346 $as_echo_n "(cached) " >&6
30347 else
30348
30349
30350 ac_ext=cpp
30351 ac_cpp='$CXXCPP $CPPFLAGS'
30352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30355
30356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30357 /* end confdefs.h. */
30358 #include <math.h>
30359 int
30360 main ()
30361 {
30362 _ceilf (0); _floorf (0);
30363 ;
30364 return 0;
30365 }
30366 _ACEOF
30367 if ac_fn_cxx_try_compile "$LINENO"; then :
30368 glibcxx_cv_func__float_round_use=yes
30369 else
30370 glibcxx_cv_func__float_round_use=no
30371 fi
30372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30373 ac_ext=c
30374 ac_cpp='$CPP $CPPFLAGS'
30375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30378
30379 fi
30380
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30382 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30383 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30384 for ac_func in _ceilf _floorf
30385 do :
30386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30388 eval as_val=\$$as_ac_var
30389 if test "x$as_val" = x""yes; then :
30390 cat >>confdefs.h <<_ACEOF
30391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30392 _ACEOF
30393
30394 fi
30395 done
30396
30397 fi
30398 fi
30399
30400
30401
30402
30403
30404
30405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30406 $as_echo_n "checking for expf declaration... " >&6; }
30407 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30408 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30409 $as_echo_n "(cached) " >&6
30410 else
30411
30412
30413 ac_ext=cpp
30414 ac_cpp='$CXXCPP $CPPFLAGS'
30415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30418
30419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30420 /* end confdefs.h. */
30421 #include <math.h>
30422 #ifdef HAVE_IEEEFP_H
30423 #include <ieeefp.h>
30424 #endif
30425
30426 int
30427 main ()
30428 {
30429 expf(0);
30430 ;
30431 return 0;
30432 }
30433 _ACEOF
30434 if ac_fn_cxx_try_compile "$LINENO"; then :
30435 glibcxx_cv_func_expf_use=yes
30436 else
30437 glibcxx_cv_func_expf_use=no
30438 fi
30439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30440 ac_ext=c
30441 ac_cpp='$CPP $CPPFLAGS'
30442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30445
30446
30447 fi
30448
30449 fi
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30451 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30452
30453 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30454 for ac_func in expf
30455 do :
30456 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30457 if test "x$ac_cv_func_expf" = x""yes; then :
30458 cat >>confdefs.h <<_ACEOF
30459 #define HAVE_EXPF 1
30460 _ACEOF
30461
30462 fi
30463 done
30464
30465 else
30466
30467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30468 $as_echo_n "checking for _expf declaration... " >&6; }
30469 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30470 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30471 $as_echo_n "(cached) " >&6
30472 else
30473
30474
30475 ac_ext=cpp
30476 ac_cpp='$CXXCPP $CPPFLAGS'
30477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30480
30481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30482 /* end confdefs.h. */
30483 #include <math.h>
30484 #ifdef HAVE_IEEEFP_H
30485 #include <ieeefp.h>
30486 #endif
30487
30488 int
30489 main ()
30490 {
30491 _expf(0);
30492 ;
30493 return 0;
30494 }
30495 _ACEOF
30496 if ac_fn_cxx_try_compile "$LINENO"; then :
30497 glibcxx_cv_func__expf_use=yes
30498 else
30499 glibcxx_cv_func__expf_use=no
30500 fi
30501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30502 ac_ext=c
30503 ac_cpp='$CPP $CPPFLAGS'
30504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30507
30508
30509 fi
30510
30511 fi
30512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30513 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30514
30515 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30516 for ac_func in _expf
30517 do :
30518 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30519 if test "x$ac_cv_func__expf" = x""yes; then :
30520 cat >>confdefs.h <<_ACEOF
30521 #define HAVE__EXPF 1
30522 _ACEOF
30523
30524 fi
30525 done
30526
30527 fi
30528 fi
30529
30530
30531
30532
30533
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30535 $as_echo_n "checking for isnanf declaration... " >&6; }
30536 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30537 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30538 $as_echo_n "(cached) " >&6
30539 else
30540
30541
30542 ac_ext=cpp
30543 ac_cpp='$CXXCPP $CPPFLAGS'
30544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30547
30548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30549 /* end confdefs.h. */
30550 #include <math.h>
30551 #ifdef HAVE_IEEEFP_H
30552 #include <ieeefp.h>
30553 #endif
30554
30555 int
30556 main ()
30557 {
30558 isnanf(0);
30559 ;
30560 return 0;
30561 }
30562 _ACEOF
30563 if ac_fn_cxx_try_compile "$LINENO"; then :
30564 glibcxx_cv_func_isnanf_use=yes
30565 else
30566 glibcxx_cv_func_isnanf_use=no
30567 fi
30568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30569 ac_ext=c
30570 ac_cpp='$CPP $CPPFLAGS'
30571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30574
30575
30576 fi
30577
30578 fi
30579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30580 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30581
30582 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30583 for ac_func in isnanf
30584 do :
30585 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30586 if test "x$ac_cv_func_isnanf" = x""yes; then :
30587 cat >>confdefs.h <<_ACEOF
30588 #define HAVE_ISNANF 1
30589 _ACEOF
30590
30591 fi
30592 done
30593
30594 else
30595
30596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30597 $as_echo_n "checking for _isnanf declaration... " >&6; }
30598 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30599 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30600 $as_echo_n "(cached) " >&6
30601 else
30602
30603
30604 ac_ext=cpp
30605 ac_cpp='$CXXCPP $CPPFLAGS'
30606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30609
30610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30611 /* end confdefs.h. */
30612 #include <math.h>
30613 #ifdef HAVE_IEEEFP_H
30614 #include <ieeefp.h>
30615 #endif
30616
30617 int
30618 main ()
30619 {
30620 _isnanf(0);
30621 ;
30622 return 0;
30623 }
30624 _ACEOF
30625 if ac_fn_cxx_try_compile "$LINENO"; then :
30626 glibcxx_cv_func__isnanf_use=yes
30627 else
30628 glibcxx_cv_func__isnanf_use=no
30629 fi
30630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30631 ac_ext=c
30632 ac_cpp='$CPP $CPPFLAGS'
30633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30636
30637
30638 fi
30639
30640 fi
30641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30642 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30643
30644 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30645 for ac_func in _isnanf
30646 do :
30647 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30648 if test "x$ac_cv_func__isnanf" = x""yes; then :
30649 cat >>confdefs.h <<_ACEOF
30650 #define HAVE__ISNANF 1
30651 _ACEOF
30652
30653 fi
30654 done
30655
30656 fi
30657 fi
30658
30659
30660
30661
30662
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30664 $as_echo_n "checking for isinff declaration... " >&6; }
30665 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30666 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30667 $as_echo_n "(cached) " >&6
30668 else
30669
30670
30671 ac_ext=cpp
30672 ac_cpp='$CXXCPP $CPPFLAGS'
30673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30676
30677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30678 /* end confdefs.h. */
30679 #include <math.h>
30680 #ifdef HAVE_IEEEFP_H
30681 #include <ieeefp.h>
30682 #endif
30683
30684 int
30685 main ()
30686 {
30687 isinff(0);
30688 ;
30689 return 0;
30690 }
30691 _ACEOF
30692 if ac_fn_cxx_try_compile "$LINENO"; then :
30693 glibcxx_cv_func_isinff_use=yes
30694 else
30695 glibcxx_cv_func_isinff_use=no
30696 fi
30697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30698 ac_ext=c
30699 ac_cpp='$CPP $CPPFLAGS'
30700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30703
30704
30705 fi
30706
30707 fi
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30709 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30710
30711 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30712 for ac_func in isinff
30713 do :
30714 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30715 if test "x$ac_cv_func_isinff" = x""yes; then :
30716 cat >>confdefs.h <<_ACEOF
30717 #define HAVE_ISINFF 1
30718 _ACEOF
30719
30720 fi
30721 done
30722
30723 else
30724
30725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30726 $as_echo_n "checking for _isinff declaration... " >&6; }
30727 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30728 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30729 $as_echo_n "(cached) " >&6
30730 else
30731
30732
30733 ac_ext=cpp
30734 ac_cpp='$CXXCPP $CPPFLAGS'
30735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30738
30739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30740 /* end confdefs.h. */
30741 #include <math.h>
30742 #ifdef HAVE_IEEEFP_H
30743 #include <ieeefp.h>
30744 #endif
30745
30746 int
30747 main ()
30748 {
30749 _isinff(0);
30750 ;
30751 return 0;
30752 }
30753 _ACEOF
30754 if ac_fn_cxx_try_compile "$LINENO"; then :
30755 glibcxx_cv_func__isinff_use=yes
30756 else
30757 glibcxx_cv_func__isinff_use=no
30758 fi
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30760 ac_ext=c
30761 ac_cpp='$CPP $CPPFLAGS'
30762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30765
30766
30767 fi
30768
30769 fi
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30771 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30772
30773 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30774 for ac_func in _isinff
30775 do :
30776 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30777 if test "x$ac_cv_func__isinff" = x""yes; then :
30778 cat >>confdefs.h <<_ACEOF
30779 #define HAVE__ISINFF 1
30780 _ACEOF
30781
30782 fi
30783 done
30784
30785 fi
30786 fi
30787
30788
30789
30790
30791
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30793 $as_echo_n "checking for atan2f declaration... " >&6; }
30794 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30795 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30796 $as_echo_n "(cached) " >&6
30797 else
30798
30799
30800 ac_ext=cpp
30801 ac_cpp='$CXXCPP $CPPFLAGS'
30802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30805
30806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30807 /* end confdefs.h. */
30808 #include <math.h>
30809 int
30810 main ()
30811 {
30812 atan2f(0, 0);
30813 ;
30814 return 0;
30815 }
30816 _ACEOF
30817 if ac_fn_cxx_try_compile "$LINENO"; then :
30818 glibcxx_cv_func_atan2f_use=yes
30819 else
30820 glibcxx_cv_func_atan2f_use=no
30821 fi
30822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30823 ac_ext=c
30824 ac_cpp='$CPP $CPPFLAGS'
30825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30828
30829
30830 fi
30831
30832 fi
30833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30834 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30835
30836 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30837 for ac_func in atan2f
30838 do :
30839 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30840 if test "x$ac_cv_func_atan2f" = x""yes; then :
30841 cat >>confdefs.h <<_ACEOF
30842 #define HAVE_ATAN2F 1
30843 _ACEOF
30844
30845 fi
30846 done
30847
30848 else
30849
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30851 $as_echo_n "checking for _atan2f declaration... " >&6; }
30852 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30853 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30854 $as_echo_n "(cached) " >&6
30855 else
30856
30857
30858 ac_ext=cpp
30859 ac_cpp='$CXXCPP $CPPFLAGS'
30860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30863
30864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30865 /* end confdefs.h. */
30866 #include <math.h>
30867 int
30868 main ()
30869 {
30870 _atan2f(0, 0);
30871 ;
30872 return 0;
30873 }
30874 _ACEOF
30875 if ac_fn_cxx_try_compile "$LINENO"; then :
30876 glibcxx_cv_func__atan2f_use=yes
30877 else
30878 glibcxx_cv_func__atan2f_use=no
30879 fi
30880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30881 ac_ext=c
30882 ac_cpp='$CPP $CPPFLAGS'
30883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30886
30887
30888 fi
30889
30890 fi
30891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30892 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30893
30894 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30895 for ac_func in _atan2f
30896 do :
30897 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30898 if test "x$ac_cv_func__atan2f" = x""yes; then :
30899 cat >>confdefs.h <<_ACEOF
30900 #define HAVE__ATAN2F 1
30901 _ACEOF
30902
30903 fi
30904 done
30905
30906 fi
30907 fi
30908
30909
30910
30911
30912
30913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30914 $as_echo_n "checking for fabsf declaration... " >&6; }
30915 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30916 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30917 $as_echo_n "(cached) " >&6
30918 else
30919
30920
30921 ac_ext=cpp
30922 ac_cpp='$CXXCPP $CPPFLAGS'
30923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30926
30927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30928 /* end confdefs.h. */
30929 #include <math.h>
30930 #ifdef HAVE_IEEEFP_H
30931 #include <ieeefp.h>
30932 #endif
30933
30934 int
30935 main ()
30936 {
30937 fabsf(0);
30938 ;
30939 return 0;
30940 }
30941 _ACEOF
30942 if ac_fn_cxx_try_compile "$LINENO"; then :
30943 glibcxx_cv_func_fabsf_use=yes
30944 else
30945 glibcxx_cv_func_fabsf_use=no
30946 fi
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30948 ac_ext=c
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30953
30954
30955 fi
30956
30957 fi
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30959 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30960
30961 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30962 for ac_func in fabsf
30963 do :
30964 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30965 if test "x$ac_cv_func_fabsf" = x""yes; then :
30966 cat >>confdefs.h <<_ACEOF
30967 #define HAVE_FABSF 1
30968 _ACEOF
30969
30970 fi
30971 done
30972
30973 else
30974
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30976 $as_echo_n "checking for _fabsf declaration... " >&6; }
30977 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30978 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30979 $as_echo_n "(cached) " >&6
30980 else
30981
30982
30983 ac_ext=cpp
30984 ac_cpp='$CXXCPP $CPPFLAGS'
30985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30988
30989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30990 /* end confdefs.h. */
30991 #include <math.h>
30992 #ifdef HAVE_IEEEFP_H
30993 #include <ieeefp.h>
30994 #endif
30995
30996 int
30997 main ()
30998 {
30999 _fabsf(0);
31000 ;
31001 return 0;
31002 }
31003 _ACEOF
31004 if ac_fn_cxx_try_compile "$LINENO"; then :
31005 glibcxx_cv_func__fabsf_use=yes
31006 else
31007 glibcxx_cv_func__fabsf_use=no
31008 fi
31009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31010 ac_ext=c
31011 ac_cpp='$CPP $CPPFLAGS'
31012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31015
31016
31017 fi
31018
31019 fi
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31021 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31022
31023 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31024 for ac_func in _fabsf
31025 do :
31026 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31027 if test "x$ac_cv_func__fabsf" = x""yes; then :
31028 cat >>confdefs.h <<_ACEOF
31029 #define HAVE__FABSF 1
31030 _ACEOF
31031
31032 fi
31033 done
31034
31035 fi
31036 fi
31037
31038
31039
31040
31041
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31043 $as_echo_n "checking for fmodf declaration... " >&6; }
31044 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31045 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31046 $as_echo_n "(cached) " >&6
31047 else
31048
31049
31050 ac_ext=cpp
31051 ac_cpp='$CXXCPP $CPPFLAGS'
31052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31055
31056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31058 #include <math.h>
31059 int
31060 main ()
31061 {
31062 fmodf(0, 0);
31063 ;
31064 return 0;
31065 }
31066 _ACEOF
31067 if ac_fn_cxx_try_compile "$LINENO"; then :
31068 glibcxx_cv_func_fmodf_use=yes
31069 else
31070 glibcxx_cv_func_fmodf_use=no
31071 fi
31072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31073 ac_ext=c
31074 ac_cpp='$CPP $CPPFLAGS'
31075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31078
31079
31080 fi
31081
31082 fi
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31084 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31085
31086 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31087 for ac_func in fmodf
31088 do :
31089 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31090 if test "x$ac_cv_func_fmodf" = x""yes; then :
31091 cat >>confdefs.h <<_ACEOF
31092 #define HAVE_FMODF 1
31093 _ACEOF
31094
31095 fi
31096 done
31097
31098 else
31099
31100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31101 $as_echo_n "checking for _fmodf declaration... " >&6; }
31102 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31103 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31104 $as_echo_n "(cached) " >&6
31105 else
31106
31107
31108 ac_ext=cpp
31109 ac_cpp='$CXXCPP $CPPFLAGS'
31110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31113
31114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31115 /* end confdefs.h. */
31116 #include <math.h>
31117 int
31118 main ()
31119 {
31120 _fmodf(0, 0);
31121 ;
31122 return 0;
31123 }
31124 _ACEOF
31125 if ac_fn_cxx_try_compile "$LINENO"; then :
31126 glibcxx_cv_func__fmodf_use=yes
31127 else
31128 glibcxx_cv_func__fmodf_use=no
31129 fi
31130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31131 ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31136
31137
31138 fi
31139
31140 fi
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31142 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31143
31144 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31145 for ac_func in _fmodf
31146 do :
31147 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31148 if test "x$ac_cv_func__fmodf" = x""yes; then :
31149 cat >>confdefs.h <<_ACEOF
31150 #define HAVE__FMODF 1
31151 _ACEOF
31152
31153 fi
31154 done
31155
31156 fi
31157 fi
31158
31159
31160
31161
31162
31163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31164 $as_echo_n "checking for frexpf declaration... " >&6; }
31165 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31166 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31167 $as_echo_n "(cached) " >&6
31168 else
31169
31170
31171 ac_ext=cpp
31172 ac_cpp='$CXXCPP $CPPFLAGS'
31173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31176
31177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31178 /* end confdefs.h. */
31179 #include <math.h>
31180 int
31181 main ()
31182 {
31183 frexpf(0, 0);
31184 ;
31185 return 0;
31186 }
31187 _ACEOF
31188 if ac_fn_cxx_try_compile "$LINENO"; then :
31189 glibcxx_cv_func_frexpf_use=yes
31190 else
31191 glibcxx_cv_func_frexpf_use=no
31192 fi
31193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31194 ac_ext=c
31195 ac_cpp='$CPP $CPPFLAGS'
31196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31199
31200
31201 fi
31202
31203 fi
31204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31205 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31206
31207 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31208 for ac_func in frexpf
31209 do :
31210 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31211 if test "x$ac_cv_func_frexpf" = x""yes; then :
31212 cat >>confdefs.h <<_ACEOF
31213 #define HAVE_FREXPF 1
31214 _ACEOF
31215
31216 fi
31217 done
31218
31219 else
31220
31221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31222 $as_echo_n "checking for _frexpf declaration... " >&6; }
31223 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31224 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31225 $as_echo_n "(cached) " >&6
31226 else
31227
31228
31229 ac_ext=cpp
31230 ac_cpp='$CXXCPP $CPPFLAGS'
31231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31234
31235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31236 /* end confdefs.h. */
31237 #include <math.h>
31238 int
31239 main ()
31240 {
31241 _frexpf(0, 0);
31242 ;
31243 return 0;
31244 }
31245 _ACEOF
31246 if ac_fn_cxx_try_compile "$LINENO"; then :
31247 glibcxx_cv_func__frexpf_use=yes
31248 else
31249 glibcxx_cv_func__frexpf_use=no
31250 fi
31251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31252 ac_ext=c
31253 ac_cpp='$CPP $CPPFLAGS'
31254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31257
31258
31259 fi
31260
31261 fi
31262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31263 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31264
31265 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31266 for ac_func in _frexpf
31267 do :
31268 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31269 if test "x$ac_cv_func__frexpf" = x""yes; then :
31270 cat >>confdefs.h <<_ACEOF
31271 #define HAVE__FREXPF 1
31272 _ACEOF
31273
31274 fi
31275 done
31276
31277 fi
31278 fi
31279
31280
31281
31282
31283
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31285 $as_echo_n "checking for hypotf declaration... " >&6; }
31286 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31287 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31288 $as_echo_n "(cached) " >&6
31289 else
31290
31291
31292 ac_ext=cpp
31293 ac_cpp='$CXXCPP $CPPFLAGS'
31294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31297
31298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31300 #include <math.h>
31301 int
31302 main ()
31303 {
31304 hypotf(0, 0);
31305 ;
31306 return 0;
31307 }
31308 _ACEOF
31309 if ac_fn_cxx_try_compile "$LINENO"; then :
31310 glibcxx_cv_func_hypotf_use=yes
31311 else
31312 glibcxx_cv_func_hypotf_use=no
31313 fi
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31320
31321
31322 fi
31323
31324 fi
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31326 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31327
31328 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31329 for ac_func in hypotf
31330 do :
31331 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31332 if test "x$ac_cv_func_hypotf" = x""yes; then :
31333 cat >>confdefs.h <<_ACEOF
31334 #define HAVE_HYPOTF 1
31335 _ACEOF
31336
31337 fi
31338 done
31339
31340 else
31341
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31343 $as_echo_n "checking for _hypotf declaration... " >&6; }
31344 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31345 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31346 $as_echo_n "(cached) " >&6
31347 else
31348
31349
31350 ac_ext=cpp
31351 ac_cpp='$CXXCPP $CPPFLAGS'
31352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31355
31356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31357 /* end confdefs.h. */
31358 #include <math.h>
31359 int
31360 main ()
31361 {
31362 _hypotf(0, 0);
31363 ;
31364 return 0;
31365 }
31366 _ACEOF
31367 if ac_fn_cxx_try_compile "$LINENO"; then :
31368 glibcxx_cv_func__hypotf_use=yes
31369 else
31370 glibcxx_cv_func__hypotf_use=no
31371 fi
31372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31373 ac_ext=c
31374 ac_cpp='$CPP $CPPFLAGS'
31375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31378
31379
31380 fi
31381
31382 fi
31383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31384 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31385
31386 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31387 for ac_func in _hypotf
31388 do :
31389 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31390 if test "x$ac_cv_func__hypotf" = x""yes; then :
31391 cat >>confdefs.h <<_ACEOF
31392 #define HAVE__HYPOTF 1
31393 _ACEOF
31394
31395 fi
31396 done
31397
31398 fi
31399 fi
31400
31401
31402
31403
31404
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31406 $as_echo_n "checking for ldexpf declaration... " >&6; }
31407 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31408 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31409 $as_echo_n "(cached) " >&6
31410 else
31411
31412
31413 ac_ext=cpp
31414 ac_cpp='$CXXCPP $CPPFLAGS'
31415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31418
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31421 #include <math.h>
31422 int
31423 main ()
31424 {
31425 ldexpf(0, 0);
31426 ;
31427 return 0;
31428 }
31429 _ACEOF
31430 if ac_fn_cxx_try_compile "$LINENO"; then :
31431 glibcxx_cv_func_ldexpf_use=yes
31432 else
31433 glibcxx_cv_func_ldexpf_use=no
31434 fi
31435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31436 ac_ext=c
31437 ac_cpp='$CPP $CPPFLAGS'
31438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31441
31442
31443 fi
31444
31445 fi
31446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31447 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31448
31449 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31450 for ac_func in ldexpf
31451 do :
31452 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31453 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31454 cat >>confdefs.h <<_ACEOF
31455 #define HAVE_LDEXPF 1
31456 _ACEOF
31457
31458 fi
31459 done
31460
31461 else
31462
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31464 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31465 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31466 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31467 $as_echo_n "(cached) " >&6
31468 else
31469
31470
31471 ac_ext=cpp
31472 ac_cpp='$CXXCPP $CPPFLAGS'
31473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31476
31477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31478 /* end confdefs.h. */
31479 #include <math.h>
31480 int
31481 main ()
31482 {
31483 _ldexpf(0, 0);
31484 ;
31485 return 0;
31486 }
31487 _ACEOF
31488 if ac_fn_cxx_try_compile "$LINENO"; then :
31489 glibcxx_cv_func__ldexpf_use=yes
31490 else
31491 glibcxx_cv_func__ldexpf_use=no
31492 fi
31493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31494 ac_ext=c
31495 ac_cpp='$CPP $CPPFLAGS'
31496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31499
31500
31501 fi
31502
31503 fi
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31505 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31506
31507 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31508 for ac_func in _ldexpf
31509 do :
31510 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31511 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31512 cat >>confdefs.h <<_ACEOF
31513 #define HAVE__LDEXPF 1
31514 _ACEOF
31515
31516 fi
31517 done
31518
31519 fi
31520 fi
31521
31522
31523
31524
31525
31526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31527 $as_echo_n "checking for logf declaration... " >&6; }
31528 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31529 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31530 $as_echo_n "(cached) " >&6
31531 else
31532
31533
31534 ac_ext=cpp
31535 ac_cpp='$CXXCPP $CPPFLAGS'
31536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31539
31540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h. */
31542 #include <math.h>
31543 #ifdef HAVE_IEEEFP_H
31544 #include <ieeefp.h>
31545 #endif
31546
31547 int
31548 main ()
31549 {
31550 logf(0);
31551 ;
31552 return 0;
31553 }
31554 _ACEOF
31555 if ac_fn_cxx_try_compile "$LINENO"; then :
31556 glibcxx_cv_func_logf_use=yes
31557 else
31558 glibcxx_cv_func_logf_use=no
31559 fi
31560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31561 ac_ext=c
31562 ac_cpp='$CPP $CPPFLAGS'
31563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31566
31567
31568 fi
31569
31570 fi
31571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31572 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31573
31574 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31575 for ac_func in logf
31576 do :
31577 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31578 if test "x$ac_cv_func_logf" = x""yes; then :
31579 cat >>confdefs.h <<_ACEOF
31580 #define HAVE_LOGF 1
31581 _ACEOF
31582
31583 fi
31584 done
31585
31586 else
31587
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31589 $as_echo_n "checking for _logf declaration... " >&6; }
31590 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31591 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31592 $as_echo_n "(cached) " >&6
31593 else
31594
31595
31596 ac_ext=cpp
31597 ac_cpp='$CXXCPP $CPPFLAGS'
31598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31601
31602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31603 /* end confdefs.h. */
31604 #include <math.h>
31605 #ifdef HAVE_IEEEFP_H
31606 #include <ieeefp.h>
31607 #endif
31608
31609 int
31610 main ()
31611 {
31612 _logf(0);
31613 ;
31614 return 0;
31615 }
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618 glibcxx_cv_func__logf_use=yes
31619 else
31620 glibcxx_cv_func__logf_use=no
31621 fi
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31628
31629
31630 fi
31631
31632 fi
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31634 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31635
31636 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31637 for ac_func in _logf
31638 do :
31639 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31640 if test "x$ac_cv_func__logf" = x""yes; then :
31641 cat >>confdefs.h <<_ACEOF
31642 #define HAVE__LOGF 1
31643 _ACEOF
31644
31645 fi
31646 done
31647
31648 fi
31649 fi
31650
31651
31652
31653
31654
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31656 $as_echo_n "checking for log10f declaration... " >&6; }
31657 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31658 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31659 $as_echo_n "(cached) " >&6
31660 else
31661
31662
31663 ac_ext=cpp
31664 ac_cpp='$CXXCPP $CPPFLAGS'
31665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31668
31669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31670 /* end confdefs.h. */
31671 #include <math.h>
31672 #ifdef HAVE_IEEEFP_H
31673 #include <ieeefp.h>
31674 #endif
31675
31676 int
31677 main ()
31678 {
31679 log10f(0);
31680 ;
31681 return 0;
31682 }
31683 _ACEOF
31684 if ac_fn_cxx_try_compile "$LINENO"; then :
31685 glibcxx_cv_func_log10f_use=yes
31686 else
31687 glibcxx_cv_func_log10f_use=no
31688 fi
31689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31690 ac_ext=c
31691 ac_cpp='$CPP $CPPFLAGS'
31692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31695
31696
31697 fi
31698
31699 fi
31700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31701 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31702
31703 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31704 for ac_func in log10f
31705 do :
31706 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31707 if test "x$ac_cv_func_log10f" = x""yes; then :
31708 cat >>confdefs.h <<_ACEOF
31709 #define HAVE_LOG10F 1
31710 _ACEOF
31711
31712 fi
31713 done
31714
31715 else
31716
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31718 $as_echo_n "checking for _log10f declaration... " >&6; }
31719 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31720 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31721 $as_echo_n "(cached) " >&6
31722 else
31723
31724
31725 ac_ext=cpp
31726 ac_cpp='$CXXCPP $CPPFLAGS'
31727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31730
31731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31732 /* end confdefs.h. */
31733 #include <math.h>
31734 #ifdef HAVE_IEEEFP_H
31735 #include <ieeefp.h>
31736 #endif
31737
31738 int
31739 main ()
31740 {
31741 _log10f(0);
31742 ;
31743 return 0;
31744 }
31745 _ACEOF
31746 if ac_fn_cxx_try_compile "$LINENO"; then :
31747 glibcxx_cv_func__log10f_use=yes
31748 else
31749 glibcxx_cv_func__log10f_use=no
31750 fi
31751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31752 ac_ext=c
31753 ac_cpp='$CPP $CPPFLAGS'
31754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31757
31758
31759 fi
31760
31761 fi
31762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31763 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31764
31765 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31766 for ac_func in _log10f
31767 do :
31768 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31769 if test "x$ac_cv_func__log10f" = x""yes; then :
31770 cat >>confdefs.h <<_ACEOF
31771 #define HAVE__LOG10F 1
31772 _ACEOF
31773
31774 fi
31775 done
31776
31777 fi
31778 fi
31779
31780
31781
31782
31783
31784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31785 $as_echo_n "checking for modff declaration... " >&6; }
31786 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31787 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31788 $as_echo_n "(cached) " >&6
31789 else
31790
31791
31792 ac_ext=cpp
31793 ac_cpp='$CXXCPP $CPPFLAGS'
31794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31797
31798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h. */
31800 #include <math.h>
31801 int
31802 main ()
31803 {
31804 modff(0, 0);
31805 ;
31806 return 0;
31807 }
31808 _ACEOF
31809 if ac_fn_cxx_try_compile "$LINENO"; then :
31810 glibcxx_cv_func_modff_use=yes
31811 else
31812 glibcxx_cv_func_modff_use=no
31813 fi
31814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31815 ac_ext=c
31816 ac_cpp='$CPP $CPPFLAGS'
31817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31820
31821
31822 fi
31823
31824 fi
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31826 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31827
31828 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31829 for ac_func in modff
31830 do :
31831 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31832 if test "x$ac_cv_func_modff" = x""yes; then :
31833 cat >>confdefs.h <<_ACEOF
31834 #define HAVE_MODFF 1
31835 _ACEOF
31836
31837 fi
31838 done
31839
31840 else
31841
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31843 $as_echo_n "checking for _modff declaration... " >&6; }
31844 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31845 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31846 $as_echo_n "(cached) " >&6
31847 else
31848
31849
31850 ac_ext=cpp
31851 ac_cpp='$CXXCPP $CPPFLAGS'
31852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31855
31856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31857 /* end confdefs.h. */
31858 #include <math.h>
31859 int
31860 main ()
31861 {
31862 _modff(0, 0);
31863 ;
31864 return 0;
31865 }
31866 _ACEOF
31867 if ac_fn_cxx_try_compile "$LINENO"; then :
31868 glibcxx_cv_func__modff_use=yes
31869 else
31870 glibcxx_cv_func__modff_use=no
31871 fi
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 ac_ext=c
31874 ac_cpp='$CPP $CPPFLAGS'
31875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31878
31879
31880 fi
31881
31882 fi
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31884 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31885
31886 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31887 for ac_func in _modff
31888 do :
31889 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31890 if test "x$ac_cv_func__modff" = x""yes; then :
31891 cat >>confdefs.h <<_ACEOF
31892 #define HAVE__MODFF 1
31893 _ACEOF
31894
31895 fi
31896 done
31897
31898 fi
31899 fi
31900
31901
31902
31903
31904
31905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31906 $as_echo_n "checking for modf declaration... " >&6; }
31907 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31908 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31909 $as_echo_n "(cached) " >&6
31910 else
31911
31912
31913 ac_ext=cpp
31914 ac_cpp='$CXXCPP $CPPFLAGS'
31915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31918
31919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31920 /* end confdefs.h. */
31921 #include <math.h>
31922 int
31923 main ()
31924 {
31925 modf(0, 0);
31926 ;
31927 return 0;
31928 }
31929 _ACEOF
31930 if ac_fn_cxx_try_compile "$LINENO"; then :
31931 glibcxx_cv_func_modf_use=yes
31932 else
31933 glibcxx_cv_func_modf_use=no
31934 fi
31935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31936 ac_ext=c
31937 ac_cpp='$CPP $CPPFLAGS'
31938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31941
31942
31943 fi
31944
31945 fi
31946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31947 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31948
31949 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31950 for ac_func in modf
31951 do :
31952 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31953 if test "x$ac_cv_func_modf" = x""yes; then :
31954 cat >>confdefs.h <<_ACEOF
31955 #define HAVE_MODF 1
31956 _ACEOF
31957
31958 fi
31959 done
31960
31961 else
31962
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31964 $as_echo_n "checking for _modf declaration... " >&6; }
31965 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31966 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31967 $as_echo_n "(cached) " >&6
31968 else
31969
31970
31971 ac_ext=cpp
31972 ac_cpp='$CXXCPP $CPPFLAGS'
31973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31976
31977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31978 /* end confdefs.h. */
31979 #include <math.h>
31980 int
31981 main ()
31982 {
31983 _modf(0, 0);
31984 ;
31985 return 0;
31986 }
31987 _ACEOF
31988 if ac_fn_cxx_try_compile "$LINENO"; then :
31989 glibcxx_cv_func__modf_use=yes
31990 else
31991 glibcxx_cv_func__modf_use=no
31992 fi
31993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31994 ac_ext=c
31995 ac_cpp='$CPP $CPPFLAGS'
31996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31999
32000
32001 fi
32002
32003 fi
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32005 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32006
32007 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32008 for ac_func in _modf
32009 do :
32010 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32011 if test "x$ac_cv_func__modf" = x""yes; then :
32012 cat >>confdefs.h <<_ACEOF
32013 #define HAVE__MODF 1
32014 _ACEOF
32015
32016 fi
32017 done
32018
32019 fi
32020 fi
32021
32022
32023
32024
32025
32026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32027 $as_echo_n "checking for powf declaration... " >&6; }
32028 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32029 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32030 $as_echo_n "(cached) " >&6
32031 else
32032
32033
32034 ac_ext=cpp
32035 ac_cpp='$CXXCPP $CPPFLAGS'
32036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32039
32040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32041 /* end confdefs.h. */
32042 #include <math.h>
32043 int
32044 main ()
32045 {
32046 powf(0, 0);
32047 ;
32048 return 0;
32049 }
32050 _ACEOF
32051 if ac_fn_cxx_try_compile "$LINENO"; then :
32052 glibcxx_cv_func_powf_use=yes
32053 else
32054 glibcxx_cv_func_powf_use=no
32055 fi
32056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32057 ac_ext=c
32058 ac_cpp='$CPP $CPPFLAGS'
32059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32062
32063
32064 fi
32065
32066 fi
32067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32068 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32069
32070 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32071 for ac_func in powf
32072 do :
32073 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32074 if test "x$ac_cv_func_powf" = x""yes; then :
32075 cat >>confdefs.h <<_ACEOF
32076 #define HAVE_POWF 1
32077 _ACEOF
32078
32079 fi
32080 done
32081
32082 else
32083
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32085 $as_echo_n "checking for _powf declaration... " >&6; }
32086 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32087 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32088 $as_echo_n "(cached) " >&6
32089 else
32090
32091
32092 ac_ext=cpp
32093 ac_cpp='$CXXCPP $CPPFLAGS'
32094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32097
32098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32099 /* end confdefs.h. */
32100 #include <math.h>
32101 int
32102 main ()
32103 {
32104 _powf(0, 0);
32105 ;
32106 return 0;
32107 }
32108 _ACEOF
32109 if ac_fn_cxx_try_compile "$LINENO"; then :
32110 glibcxx_cv_func__powf_use=yes
32111 else
32112 glibcxx_cv_func__powf_use=no
32113 fi
32114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32115 ac_ext=c
32116 ac_cpp='$CPP $CPPFLAGS'
32117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32120
32121
32122 fi
32123
32124 fi
32125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32126 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32127
32128 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32129 for ac_func in _powf
32130 do :
32131 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32132 if test "x$ac_cv_func__powf" = x""yes; then :
32133 cat >>confdefs.h <<_ACEOF
32134 #define HAVE__POWF 1
32135 _ACEOF
32136
32137 fi
32138 done
32139
32140 fi
32141 fi
32142
32143
32144
32145
32146
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32148 $as_echo_n "checking for sqrtf declaration... " >&6; }
32149 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32150 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32151 $as_echo_n "(cached) " >&6
32152 else
32153
32154
32155 ac_ext=cpp
32156 ac_cpp='$CXXCPP $CPPFLAGS'
32157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32160
32161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32162 /* end confdefs.h. */
32163 #include <math.h>
32164 #ifdef HAVE_IEEEFP_H
32165 #include <ieeefp.h>
32166 #endif
32167
32168 int
32169 main ()
32170 {
32171 sqrtf(0);
32172 ;
32173 return 0;
32174 }
32175 _ACEOF
32176 if ac_fn_cxx_try_compile "$LINENO"; then :
32177 glibcxx_cv_func_sqrtf_use=yes
32178 else
32179 glibcxx_cv_func_sqrtf_use=no
32180 fi
32181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32182 ac_ext=c
32183 ac_cpp='$CPP $CPPFLAGS'
32184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32187
32188
32189 fi
32190
32191 fi
32192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32193 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32194
32195 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32196 for ac_func in sqrtf
32197 do :
32198 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32199 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32200 cat >>confdefs.h <<_ACEOF
32201 #define HAVE_SQRTF 1
32202 _ACEOF
32203
32204 fi
32205 done
32206
32207 else
32208
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32210 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32211 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32212 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32213 $as_echo_n "(cached) " >&6
32214 else
32215
32216
32217 ac_ext=cpp
32218 ac_cpp='$CXXCPP $CPPFLAGS'
32219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32222
32223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32224 /* end confdefs.h. */
32225 #include <math.h>
32226 #ifdef HAVE_IEEEFP_H
32227 #include <ieeefp.h>
32228 #endif
32229
32230 int
32231 main ()
32232 {
32233 _sqrtf(0);
32234 ;
32235 return 0;
32236 }
32237 _ACEOF
32238 if ac_fn_cxx_try_compile "$LINENO"; then :
32239 glibcxx_cv_func__sqrtf_use=yes
32240 else
32241 glibcxx_cv_func__sqrtf_use=no
32242 fi
32243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32244 ac_ext=c
32245 ac_cpp='$CPP $CPPFLAGS'
32246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32249
32250
32251 fi
32252
32253 fi
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32255 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32256
32257 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32258 for ac_func in _sqrtf
32259 do :
32260 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32261 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32262 cat >>confdefs.h <<_ACEOF
32263 #define HAVE__SQRTF 1
32264 _ACEOF
32265
32266 fi
32267 done
32268
32269 fi
32270 fi
32271
32272
32273
32274
32275
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32277 $as_echo_n "checking for sincosf declaration... " >&6; }
32278 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32279 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32280 $as_echo_n "(cached) " >&6
32281 else
32282
32283
32284 ac_ext=cpp
32285 ac_cpp='$CXXCPP $CPPFLAGS'
32286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32289
32290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32291 /* end confdefs.h. */
32292 #include <math.h>
32293 int
32294 main ()
32295 {
32296 sincosf(0, 0, 0);
32297 ;
32298 return 0;
32299 }
32300 _ACEOF
32301 if ac_fn_cxx_try_compile "$LINENO"; then :
32302 glibcxx_cv_func_sincosf_use=yes
32303 else
32304 glibcxx_cv_func_sincosf_use=no
32305 fi
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307 ac_ext=c
32308 ac_cpp='$CPP $CPPFLAGS'
32309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32312
32313
32314 fi
32315
32316 fi
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32318 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32319
32320 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32321 for ac_func in sincosf
32322 do :
32323 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32324 if test "x$ac_cv_func_sincosf" = x""yes; then :
32325 cat >>confdefs.h <<_ACEOF
32326 #define HAVE_SINCOSF 1
32327 _ACEOF
32328
32329 fi
32330 done
32331
32332 else
32333
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32335 $as_echo_n "checking for _sincosf declaration... " >&6; }
32336 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32337 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32338 $as_echo_n "(cached) " >&6
32339 else
32340
32341
32342 ac_ext=cpp
32343 ac_cpp='$CXXCPP $CPPFLAGS'
32344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32347
32348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32349 /* end confdefs.h. */
32350 #include <math.h>
32351 int
32352 main ()
32353 {
32354 _sincosf(0, 0, 0);
32355 ;
32356 return 0;
32357 }
32358 _ACEOF
32359 if ac_fn_cxx_try_compile "$LINENO"; then :
32360 glibcxx_cv_func__sincosf_use=yes
32361 else
32362 glibcxx_cv_func__sincosf_use=no
32363 fi
32364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32370
32371
32372 fi
32373
32374 fi
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32376 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32377
32378 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32379 for ac_func in _sincosf
32380 do :
32381 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32382 if test "x$ac_cv_func__sincosf" = x""yes; then :
32383 cat >>confdefs.h <<_ACEOF
32384 #define HAVE__SINCOSF 1
32385 _ACEOF
32386
32387 fi
32388 done
32389
32390 fi
32391 fi
32392
32393
32394
32395
32396
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32398 $as_echo_n "checking for finitef declaration... " >&6; }
32399 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32400 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32401 $as_echo_n "(cached) " >&6
32402 else
32403
32404
32405 ac_ext=cpp
32406 ac_cpp='$CXXCPP $CPPFLAGS'
32407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32410
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 #include <math.h>
32414 #ifdef HAVE_IEEEFP_H
32415 #include <ieeefp.h>
32416 #endif
32417
32418 int
32419 main ()
32420 {
32421 finitef(0);
32422 ;
32423 return 0;
32424 }
32425 _ACEOF
32426 if ac_fn_cxx_try_compile "$LINENO"; then :
32427 glibcxx_cv_func_finitef_use=yes
32428 else
32429 glibcxx_cv_func_finitef_use=no
32430 fi
32431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32432 ac_ext=c
32433 ac_cpp='$CPP $CPPFLAGS'
32434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32437
32438
32439 fi
32440
32441 fi
32442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32443 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32444
32445 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32446 for ac_func in finitef
32447 do :
32448 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32449 if test "x$ac_cv_func_finitef" = x""yes; then :
32450 cat >>confdefs.h <<_ACEOF
32451 #define HAVE_FINITEF 1
32452 _ACEOF
32453
32454 fi
32455 done
32456
32457 else
32458
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32460 $as_echo_n "checking for _finitef declaration... " >&6; }
32461 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32462 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32463 $as_echo_n "(cached) " >&6
32464 else
32465
32466
32467 ac_ext=cpp
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32472
32473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h. */
32475 #include <math.h>
32476 #ifdef HAVE_IEEEFP_H
32477 #include <ieeefp.h>
32478 #endif
32479
32480 int
32481 main ()
32482 {
32483 _finitef(0);
32484 ;
32485 return 0;
32486 }
32487 _ACEOF
32488 if ac_fn_cxx_try_compile "$LINENO"; then :
32489 glibcxx_cv_func__finitef_use=yes
32490 else
32491 glibcxx_cv_func__finitef_use=no
32492 fi
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32494 ac_ext=c
32495 ac_cpp='$CPP $CPPFLAGS'
32496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32499
32500
32501 fi
32502
32503 fi
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32505 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32506
32507 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32508 for ac_func in _finitef
32509 do :
32510 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32511 if test "x$ac_cv_func__finitef" = x""yes; then :
32512 cat >>confdefs.h <<_ACEOF
32513 #define HAVE__FINITEF 1
32514 _ACEOF
32515
32516 fi
32517 done
32518
32519 fi
32520 fi
32521
32522
32523
32524
32525
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32527 $as_echo_n "checking for long double trig functions... " >&6; }
32528 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32529 $as_echo_n "(cached) " >&6
32530 else
32531
32532
32533 ac_ext=cpp
32534 ac_cpp='$CXXCPP $CPPFLAGS'
32535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32538
32539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32540 /* end confdefs.h. */
32541 #include <math.h>
32542 int
32543 main ()
32544 {
32545 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32546 ;
32547 return 0;
32548 }
32549 _ACEOF
32550 if ac_fn_cxx_try_compile "$LINENO"; then :
32551 glibcxx_cv_func_long_double_trig_use=yes
32552 else
32553 glibcxx_cv_func_long_double_trig_use=no
32554 fi
32555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32556 ac_ext=c
32557 ac_cpp='$CPP $CPPFLAGS'
32558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32561
32562 fi
32563
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32565 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32566 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32567 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32568 do :
32569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32571 eval as_val=\$$as_ac_var
32572 if test "x$as_val" = x""yes; then :
32573 cat >>confdefs.h <<_ACEOF
32574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32575 _ACEOF
32576
32577 fi
32578 done
32579
32580 else
32581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32582 $as_echo_n "checking for _long double trig functions... " >&6; }
32583 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32584 $as_echo_n "(cached) " >&6
32585 else
32586
32587
32588 ac_ext=cpp
32589 ac_cpp='$CXXCPP $CPPFLAGS'
32590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32593
32594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32595 /* end confdefs.h. */
32596 #include <math.h>
32597 int
32598 main ()
32599 {
32600 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32601 ;
32602 return 0;
32603 }
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606 glibcxx_cv_func__long_double_trig_use=yes
32607 else
32608 glibcxx_cv_func__long_double_trig_use=no
32609 fi
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611 ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616
32617 fi
32618
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32620 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32621 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32622 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32623 do :
32624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32626 eval as_val=\$$as_ac_var
32627 if test "x$as_val" = x""yes; then :
32628 cat >>confdefs.h <<_ACEOF
32629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32630 _ACEOF
32631
32632 fi
32633 done
32634
32635 fi
32636 fi
32637
32638
32639
32640
32641
32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32643 $as_echo_n "checking for long double round functions... " >&6; }
32644 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32645 $as_echo_n "(cached) " >&6
32646 else
32647
32648
32649 ac_ext=cpp
32650 ac_cpp='$CXXCPP $CPPFLAGS'
32651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32654
32655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32656 /* end confdefs.h. */
32657 #include <math.h>
32658 int
32659 main ()
32660 {
32661 ceill (0); floorl (0);
32662 ;
32663 return 0;
32664 }
32665 _ACEOF
32666 if ac_fn_cxx_try_compile "$LINENO"; then :
32667 glibcxx_cv_func_long_double_round_use=yes
32668 else
32669 glibcxx_cv_func_long_double_round_use=no
32670 fi
32671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32672 ac_ext=c
32673 ac_cpp='$CPP $CPPFLAGS'
32674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32677
32678 fi
32679
32680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32681 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32682 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32683 for ac_func in ceill floorl
32684 do :
32685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32687 eval as_val=\$$as_ac_var
32688 if test "x$as_val" = x""yes; then :
32689 cat >>confdefs.h <<_ACEOF
32690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32691 _ACEOF
32692
32693 fi
32694 done
32695
32696 else
32697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32698 $as_echo_n "checking for _long double round functions... " >&6; }
32699 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32700 $as_echo_n "(cached) " >&6
32701 else
32702
32703
32704 ac_ext=cpp
32705 ac_cpp='$CXXCPP $CPPFLAGS'
32706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32709
32710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32711 /* end confdefs.h. */
32712 #include <math.h>
32713 int
32714 main ()
32715 {
32716 _ceill (0); _floorl (0);
32717 ;
32718 return 0;
32719 }
32720 _ACEOF
32721 if ac_fn_cxx_try_compile "$LINENO"; then :
32722 glibcxx_cv_func__long_double_round_use=yes
32723 else
32724 glibcxx_cv_func__long_double_round_use=no
32725 fi
32726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32727 ac_ext=c
32728 ac_cpp='$CPP $CPPFLAGS'
32729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32732
32733 fi
32734
32735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32736 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32737 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32738 for ac_func in _ceill _floorl
32739 do :
32740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32742 eval as_val=\$$as_ac_var
32743 if test "x$as_val" = x""yes; then :
32744 cat >>confdefs.h <<_ACEOF
32745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32746 _ACEOF
32747
32748 fi
32749 done
32750
32751 fi
32752 fi
32753
32754
32755
32756
32757
32758
32759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32760 $as_echo_n "checking for isnanl declaration... " >&6; }
32761 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32762 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32763 $as_echo_n "(cached) " >&6
32764 else
32765
32766
32767 ac_ext=cpp
32768 ac_cpp='$CXXCPP $CPPFLAGS'
32769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32772
32773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32774 /* end confdefs.h. */
32775 #include <math.h>
32776 #ifdef HAVE_IEEEFP_H
32777 #include <ieeefp.h>
32778 #endif
32779
32780 int
32781 main ()
32782 {
32783 isnanl(0);
32784 ;
32785 return 0;
32786 }
32787 _ACEOF
32788 if ac_fn_cxx_try_compile "$LINENO"; then :
32789 glibcxx_cv_func_isnanl_use=yes
32790 else
32791 glibcxx_cv_func_isnanl_use=no
32792 fi
32793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32794 ac_ext=c
32795 ac_cpp='$CPP $CPPFLAGS'
32796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32799
32800
32801 fi
32802
32803 fi
32804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32805 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32806
32807 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32808 for ac_func in isnanl
32809 do :
32810 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32811 if test "x$ac_cv_func_isnanl" = x""yes; then :
32812 cat >>confdefs.h <<_ACEOF
32813 #define HAVE_ISNANL 1
32814 _ACEOF
32815
32816 fi
32817 done
32818
32819 else
32820
32821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32822 $as_echo_n "checking for _isnanl declaration... " >&6; }
32823 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32824 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32825 $as_echo_n "(cached) " >&6
32826 else
32827
32828
32829 ac_ext=cpp
32830 ac_cpp='$CXXCPP $CPPFLAGS'
32831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32834
32835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32836 /* end confdefs.h. */
32837 #include <math.h>
32838 #ifdef HAVE_IEEEFP_H
32839 #include <ieeefp.h>
32840 #endif
32841
32842 int
32843 main ()
32844 {
32845 _isnanl(0);
32846 ;
32847 return 0;
32848 }
32849 _ACEOF
32850 if ac_fn_cxx_try_compile "$LINENO"; then :
32851 glibcxx_cv_func__isnanl_use=yes
32852 else
32853 glibcxx_cv_func__isnanl_use=no
32854 fi
32855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32856 ac_ext=c
32857 ac_cpp='$CPP $CPPFLAGS'
32858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32861
32862
32863 fi
32864
32865 fi
32866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32867 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32868
32869 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32870 for ac_func in _isnanl
32871 do :
32872 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32873 if test "x$ac_cv_func__isnanl" = x""yes; then :
32874 cat >>confdefs.h <<_ACEOF
32875 #define HAVE__ISNANL 1
32876 _ACEOF
32877
32878 fi
32879 done
32880
32881 fi
32882 fi
32883
32884
32885
32886
32887
32888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32889 $as_echo_n "checking for isinfl declaration... " >&6; }
32890 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32891 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32892 $as_echo_n "(cached) " >&6
32893 else
32894
32895
32896 ac_ext=cpp
32897 ac_cpp='$CXXCPP $CPPFLAGS'
32898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32901
32902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32903 /* end confdefs.h. */
32904 #include <math.h>
32905 #ifdef HAVE_IEEEFP_H
32906 #include <ieeefp.h>
32907 #endif
32908
32909 int
32910 main ()
32911 {
32912 isinfl(0);
32913 ;
32914 return 0;
32915 }
32916 _ACEOF
32917 if ac_fn_cxx_try_compile "$LINENO"; then :
32918 glibcxx_cv_func_isinfl_use=yes
32919 else
32920 glibcxx_cv_func_isinfl_use=no
32921 fi
32922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32923 ac_ext=c
32924 ac_cpp='$CPP $CPPFLAGS'
32925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32928
32929
32930 fi
32931
32932 fi
32933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32934 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32935
32936 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32937 for ac_func in isinfl
32938 do :
32939 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32940 if test "x$ac_cv_func_isinfl" = x""yes; then :
32941 cat >>confdefs.h <<_ACEOF
32942 #define HAVE_ISINFL 1
32943 _ACEOF
32944
32945 fi
32946 done
32947
32948 else
32949
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32951 $as_echo_n "checking for _isinfl declaration... " >&6; }
32952 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32953 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32954 $as_echo_n "(cached) " >&6
32955 else
32956
32957
32958 ac_ext=cpp
32959 ac_cpp='$CXXCPP $CPPFLAGS'
32960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32963
32964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32965 /* end confdefs.h. */
32966 #include <math.h>
32967 #ifdef HAVE_IEEEFP_H
32968 #include <ieeefp.h>
32969 #endif
32970
32971 int
32972 main ()
32973 {
32974 _isinfl(0);
32975 ;
32976 return 0;
32977 }
32978 _ACEOF
32979 if ac_fn_cxx_try_compile "$LINENO"; then :
32980 glibcxx_cv_func__isinfl_use=yes
32981 else
32982 glibcxx_cv_func__isinfl_use=no
32983 fi
32984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32985 ac_ext=c
32986 ac_cpp='$CPP $CPPFLAGS'
32987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32990
32991
32992 fi
32993
32994 fi
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32996 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32997
32998 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32999 for ac_func in _isinfl
33000 do :
33001 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33002 if test "x$ac_cv_func__isinfl" = x""yes; then :
33003 cat >>confdefs.h <<_ACEOF
33004 #define HAVE__ISINFL 1
33005 _ACEOF
33006
33007 fi
33008 done
33009
33010 fi
33011 fi
33012
33013
33014
33015
33016
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33018 $as_echo_n "checking for atan2l declaration... " >&6; }
33019 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33020 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33022 else
33023
33024
33025 ac_ext=cpp
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33030
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33033 #include <math.h>
33034 int
33035 main ()
33036 {
33037 atan2l(0, 0);
33038 ;
33039 return 0;
33040 }
33041 _ACEOF
33042 if ac_fn_cxx_try_compile "$LINENO"; then :
33043 glibcxx_cv_func_atan2l_use=yes
33044 else
33045 glibcxx_cv_func_atan2l_use=no
33046 fi
33047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33048 ac_ext=c
33049 ac_cpp='$CPP $CPPFLAGS'
33050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33053
33054
33055 fi
33056
33057 fi
33058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33059 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33060
33061 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33062 for ac_func in atan2l
33063 do :
33064 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33065 if test "x$ac_cv_func_atan2l" = x""yes; then :
33066 cat >>confdefs.h <<_ACEOF
33067 #define HAVE_ATAN2L 1
33068 _ACEOF
33069
33070 fi
33071 done
33072
33073 else
33074
33075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33076 $as_echo_n "checking for _atan2l declaration... " >&6; }
33077 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33078 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33079 $as_echo_n "(cached) " >&6
33080 else
33081
33082
33083 ac_ext=cpp
33084 ac_cpp='$CXXCPP $CPPFLAGS'
33085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33088
33089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33090 /* end confdefs.h. */
33091 #include <math.h>
33092 int
33093 main ()
33094 {
33095 _atan2l(0, 0);
33096 ;
33097 return 0;
33098 }
33099 _ACEOF
33100 if ac_fn_cxx_try_compile "$LINENO"; then :
33101 glibcxx_cv_func__atan2l_use=yes
33102 else
33103 glibcxx_cv_func__atan2l_use=no
33104 fi
33105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33106 ac_ext=c
33107 ac_cpp='$CPP $CPPFLAGS'
33108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33111
33112
33113 fi
33114
33115 fi
33116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33117 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33118
33119 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33120 for ac_func in _atan2l
33121 do :
33122 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33123 if test "x$ac_cv_func__atan2l" = x""yes; then :
33124 cat >>confdefs.h <<_ACEOF
33125 #define HAVE__ATAN2L 1
33126 _ACEOF
33127
33128 fi
33129 done
33130
33131 fi
33132 fi
33133
33134
33135
33136
33137
33138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33139 $as_echo_n "checking for expl declaration... " >&6; }
33140 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33141 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33142 $as_echo_n "(cached) " >&6
33143 else
33144
33145
33146 ac_ext=cpp
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33151
33152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33153 /* end confdefs.h. */
33154 #include <math.h>
33155 #ifdef HAVE_IEEEFP_H
33156 #include <ieeefp.h>
33157 #endif
33158
33159 int
33160 main ()
33161 {
33162 expl(0);
33163 ;
33164 return 0;
33165 }
33166 _ACEOF
33167 if ac_fn_cxx_try_compile "$LINENO"; then :
33168 glibcxx_cv_func_expl_use=yes
33169 else
33170 glibcxx_cv_func_expl_use=no
33171 fi
33172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33173 ac_ext=c
33174 ac_cpp='$CPP $CPPFLAGS'
33175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33178
33179
33180 fi
33181
33182 fi
33183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33184 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33185
33186 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33187 for ac_func in expl
33188 do :
33189 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33190 if test "x$ac_cv_func_expl" = x""yes; then :
33191 cat >>confdefs.h <<_ACEOF
33192 #define HAVE_EXPL 1
33193 _ACEOF
33194
33195 fi
33196 done
33197
33198 else
33199
33200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33201 $as_echo_n "checking for _expl declaration... " >&6; }
33202 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33203 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33204 $as_echo_n "(cached) " >&6
33205 else
33206
33207
33208 ac_ext=cpp
33209 ac_cpp='$CXXCPP $CPPFLAGS'
33210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33213
33214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33215 /* end confdefs.h. */
33216 #include <math.h>
33217 #ifdef HAVE_IEEEFP_H
33218 #include <ieeefp.h>
33219 #endif
33220
33221 int
33222 main ()
33223 {
33224 _expl(0);
33225 ;
33226 return 0;
33227 }
33228 _ACEOF
33229 if ac_fn_cxx_try_compile "$LINENO"; then :
33230 glibcxx_cv_func__expl_use=yes
33231 else
33232 glibcxx_cv_func__expl_use=no
33233 fi
33234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33235 ac_ext=c
33236 ac_cpp='$CPP $CPPFLAGS'
33237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33240
33241
33242 fi
33243
33244 fi
33245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33246 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33247
33248 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33249 for ac_func in _expl
33250 do :
33251 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33252 if test "x$ac_cv_func__expl" = x""yes; then :
33253 cat >>confdefs.h <<_ACEOF
33254 #define HAVE__EXPL 1
33255 _ACEOF
33256
33257 fi
33258 done
33259
33260 fi
33261 fi
33262
33263
33264
33265
33266
33267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33268 $as_echo_n "checking for fabsl declaration... " >&6; }
33269 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33270 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33271 $as_echo_n "(cached) " >&6
33272 else
33273
33274
33275 ac_ext=cpp
33276 ac_cpp='$CXXCPP $CPPFLAGS'
33277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33280
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 #include <math.h>
33284 #ifdef HAVE_IEEEFP_H
33285 #include <ieeefp.h>
33286 #endif
33287
33288 int
33289 main ()
33290 {
33291 fabsl(0);
33292 ;
33293 return 0;
33294 }
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297 glibcxx_cv_func_fabsl_use=yes
33298 else
33299 glibcxx_cv_func_fabsl_use=no
33300 fi
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302 ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33307
33308
33309 fi
33310
33311 fi
33312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33313 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33314
33315 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33316 for ac_func in fabsl
33317 do :
33318 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33319 if test "x$ac_cv_func_fabsl" = x""yes; then :
33320 cat >>confdefs.h <<_ACEOF
33321 #define HAVE_FABSL 1
33322 _ACEOF
33323
33324 fi
33325 done
33326
33327 else
33328
33329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33330 $as_echo_n "checking for _fabsl declaration... " >&6; }
33331 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33332 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33333 $as_echo_n "(cached) " >&6
33334 else
33335
33336
33337 ac_ext=cpp
33338 ac_cpp='$CXXCPP $CPPFLAGS'
33339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33342
33343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33344 /* end confdefs.h. */
33345 #include <math.h>
33346 #ifdef HAVE_IEEEFP_H
33347 #include <ieeefp.h>
33348 #endif
33349
33350 int
33351 main ()
33352 {
33353 _fabsl(0);
33354 ;
33355 return 0;
33356 }
33357 _ACEOF
33358 if ac_fn_cxx_try_compile "$LINENO"; then :
33359 glibcxx_cv_func__fabsl_use=yes
33360 else
33361 glibcxx_cv_func__fabsl_use=no
33362 fi
33363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33364 ac_ext=c
33365 ac_cpp='$CPP $CPPFLAGS'
33366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33369
33370
33371 fi
33372
33373 fi
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33375 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33376
33377 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33378 for ac_func in _fabsl
33379 do :
33380 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33381 if test "x$ac_cv_func__fabsl" = x""yes; then :
33382 cat >>confdefs.h <<_ACEOF
33383 #define HAVE__FABSL 1
33384 _ACEOF
33385
33386 fi
33387 done
33388
33389 fi
33390 fi
33391
33392
33393
33394
33395
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33397 $as_echo_n "checking for fmodl declaration... " >&6; }
33398 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33399 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33400 $as_echo_n "(cached) " >&6
33401 else
33402
33403
33404 ac_ext=cpp
33405 ac_cpp='$CXXCPP $CPPFLAGS'
33406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33409
33410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33411 /* end confdefs.h. */
33412 #include <math.h>
33413 int
33414 main ()
33415 {
33416 fmodl(0, 0);
33417 ;
33418 return 0;
33419 }
33420 _ACEOF
33421 if ac_fn_cxx_try_compile "$LINENO"; then :
33422 glibcxx_cv_func_fmodl_use=yes
33423 else
33424 glibcxx_cv_func_fmodl_use=no
33425 fi
33426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33427 ac_ext=c
33428 ac_cpp='$CPP $CPPFLAGS'
33429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33432
33433
33434 fi
33435
33436 fi
33437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33438 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33439
33440 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33441 for ac_func in fmodl
33442 do :
33443 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33444 if test "x$ac_cv_func_fmodl" = x""yes; then :
33445 cat >>confdefs.h <<_ACEOF
33446 #define HAVE_FMODL 1
33447 _ACEOF
33448
33449 fi
33450 done
33451
33452 else
33453
33454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33455 $as_echo_n "checking for _fmodl declaration... " >&6; }
33456 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33457 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33458 $as_echo_n "(cached) " >&6
33459 else
33460
33461
33462 ac_ext=cpp
33463 ac_cpp='$CXXCPP $CPPFLAGS'
33464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33467
33468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33469 /* end confdefs.h. */
33470 #include <math.h>
33471 int
33472 main ()
33473 {
33474 _fmodl(0, 0);
33475 ;
33476 return 0;
33477 }
33478 _ACEOF
33479 if ac_fn_cxx_try_compile "$LINENO"; then :
33480 glibcxx_cv_func__fmodl_use=yes
33481 else
33482 glibcxx_cv_func__fmodl_use=no
33483 fi
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485 ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490
33491
33492 fi
33493
33494 fi
33495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33496 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33497
33498 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33499 for ac_func in _fmodl
33500 do :
33501 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33502 if test "x$ac_cv_func__fmodl" = x""yes; then :
33503 cat >>confdefs.h <<_ACEOF
33504 #define HAVE__FMODL 1
33505 _ACEOF
33506
33507 fi
33508 done
33509
33510 fi
33511 fi
33512
33513
33514
33515
33516
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33518 $as_echo_n "checking for frexpl declaration... " >&6; }
33519 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33520 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33521 $as_echo_n "(cached) " >&6
33522 else
33523
33524
33525 ac_ext=cpp
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33530
33531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33532 /* end confdefs.h. */
33533 #include <math.h>
33534 int
33535 main ()
33536 {
33537 frexpl(0, 0);
33538 ;
33539 return 0;
33540 }
33541 _ACEOF
33542 if ac_fn_cxx_try_compile "$LINENO"; then :
33543 glibcxx_cv_func_frexpl_use=yes
33544 else
33545 glibcxx_cv_func_frexpl_use=no
33546 fi
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548 ac_ext=c
33549 ac_cpp='$CPP $CPPFLAGS'
33550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33553
33554
33555 fi
33556
33557 fi
33558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33559 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33560
33561 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33562 for ac_func in frexpl
33563 do :
33564 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33565 if test "x$ac_cv_func_frexpl" = x""yes; then :
33566 cat >>confdefs.h <<_ACEOF
33567 #define HAVE_FREXPL 1
33568 _ACEOF
33569
33570 fi
33571 done
33572
33573 else
33574
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33576 $as_echo_n "checking for _frexpl declaration... " >&6; }
33577 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33578 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33579 $as_echo_n "(cached) " >&6
33580 else
33581
33582
33583 ac_ext=cpp
33584 ac_cpp='$CXXCPP $CPPFLAGS'
33585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33588
33589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33590 /* end confdefs.h. */
33591 #include <math.h>
33592 int
33593 main ()
33594 {
33595 _frexpl(0, 0);
33596 ;
33597 return 0;
33598 }
33599 _ACEOF
33600 if ac_fn_cxx_try_compile "$LINENO"; then :
33601 glibcxx_cv_func__frexpl_use=yes
33602 else
33603 glibcxx_cv_func__frexpl_use=no
33604 fi
33605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33606 ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33611
33612
33613 fi
33614
33615 fi
33616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33617 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33618
33619 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33620 for ac_func in _frexpl
33621 do :
33622 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33623 if test "x$ac_cv_func__frexpl" = x""yes; then :
33624 cat >>confdefs.h <<_ACEOF
33625 #define HAVE__FREXPL 1
33626 _ACEOF
33627
33628 fi
33629 done
33630
33631 fi
33632 fi
33633
33634
33635
33636
33637
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33639 $as_echo_n "checking for hypotl declaration... " >&6; }
33640 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33641 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33642 $as_echo_n "(cached) " >&6
33643 else
33644
33645
33646 ac_ext=cpp
33647 ac_cpp='$CXXCPP $CPPFLAGS'
33648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33651
33652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33653 /* end confdefs.h. */
33654 #include <math.h>
33655 int
33656 main ()
33657 {
33658 hypotl(0, 0);
33659 ;
33660 return 0;
33661 }
33662 _ACEOF
33663 if ac_fn_cxx_try_compile "$LINENO"; then :
33664 glibcxx_cv_func_hypotl_use=yes
33665 else
33666 glibcxx_cv_func_hypotl_use=no
33667 fi
33668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33669 ac_ext=c
33670 ac_cpp='$CPP $CPPFLAGS'
33671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33674
33675
33676 fi
33677
33678 fi
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33680 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33681
33682 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33683 for ac_func in hypotl
33684 do :
33685 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33686 if test "x$ac_cv_func_hypotl" = x""yes; then :
33687 cat >>confdefs.h <<_ACEOF
33688 #define HAVE_HYPOTL 1
33689 _ACEOF
33690
33691 fi
33692 done
33693
33694 else
33695
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33697 $as_echo_n "checking for _hypotl declaration... " >&6; }
33698 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33699 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33700 $as_echo_n "(cached) " >&6
33701 else
33702
33703
33704 ac_ext=cpp
33705 ac_cpp='$CXXCPP $CPPFLAGS'
33706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33709
33710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33711 /* end confdefs.h. */
33712 #include <math.h>
33713 int
33714 main ()
33715 {
33716 _hypotl(0, 0);
33717 ;
33718 return 0;
33719 }
33720 _ACEOF
33721 if ac_fn_cxx_try_compile "$LINENO"; then :
33722 glibcxx_cv_func__hypotl_use=yes
33723 else
33724 glibcxx_cv_func__hypotl_use=no
33725 fi
33726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33727 ac_ext=c
33728 ac_cpp='$CPP $CPPFLAGS'
33729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33732
33733
33734 fi
33735
33736 fi
33737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33738 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33739
33740 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33741 for ac_func in _hypotl
33742 do :
33743 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33744 if test "x$ac_cv_func__hypotl" = x""yes; then :
33745 cat >>confdefs.h <<_ACEOF
33746 #define HAVE__HYPOTL 1
33747 _ACEOF
33748
33749 fi
33750 done
33751
33752 fi
33753 fi
33754
33755
33756
33757
33758
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33760 $as_echo_n "checking for ldexpl declaration... " >&6; }
33761 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33762 if test "${glibcxx_cv_func_ldexpl_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 <math.h>
33776 int
33777 main ()
33778 {
33779 ldexpl(0, 0);
33780 ;
33781 return 0;
33782 }
33783 _ACEOF
33784 if ac_fn_cxx_try_compile "$LINENO"; then :
33785 glibcxx_cv_func_ldexpl_use=yes
33786 else
33787 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
33801 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33802
33803 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33804 for ac_func in ldexpl
33805 do :
33806 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33807 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33808 cat >>confdefs.h <<_ACEOF
33809 #define HAVE_LDEXPL 1
33810 _ACEOF
33811
33812 fi
33813 done
33814
33815 else
33816
33817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33818 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33819 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33820 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33821 $as_echo_n "(cached) " >&6
33822 else
33823
33824
33825 ac_ext=cpp
33826 ac_cpp='$CXXCPP $CPPFLAGS'
33827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33830
33831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33832 /* end confdefs.h. */
33833 #include <math.h>
33834 int
33835 main ()
33836 {
33837 _ldexpl(0, 0);
33838 ;
33839 return 0;
33840 }
33841 _ACEOF
33842 if ac_fn_cxx_try_compile "$LINENO"; then :
33843 glibcxx_cv_func__ldexpl_use=yes
33844 else
33845 glibcxx_cv_func__ldexpl_use=no
33846 fi
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33848 ac_ext=c
33849 ac_cpp='$CPP $CPPFLAGS'
33850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33853
33854
33855 fi
33856
33857 fi
33858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33859 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33860
33861 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33862 for ac_func in _ldexpl
33863 do :
33864 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33865 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33866 cat >>confdefs.h <<_ACEOF
33867 #define HAVE__LDEXPL 1
33868 _ACEOF
33869
33870 fi
33871 done
33872
33873 fi
33874 fi
33875
33876
33877
33878
33879
33880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33881 $as_echo_n "checking for logl declaration... " >&6; }
33882 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33883 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33884 $as_echo_n "(cached) " >&6
33885 else
33886
33887
33888 ac_ext=cpp
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33893
33894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33895 /* end confdefs.h. */
33896 #include <math.h>
33897 #ifdef HAVE_IEEEFP_H
33898 #include <ieeefp.h>
33899 #endif
33900
33901 int
33902 main ()
33903 {
33904 logl(0);
33905 ;
33906 return 0;
33907 }
33908 _ACEOF
33909 if ac_fn_cxx_try_compile "$LINENO"; then :
33910 glibcxx_cv_func_logl_use=yes
33911 else
33912 glibcxx_cv_func_logl_use=no
33913 fi
33914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33915 ac_ext=c
33916 ac_cpp='$CPP $CPPFLAGS'
33917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33920
33921
33922 fi
33923
33924 fi
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33926 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33927
33928 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33929 for ac_func in logl
33930 do :
33931 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33932 if test "x$ac_cv_func_logl" = x""yes; then :
33933 cat >>confdefs.h <<_ACEOF
33934 #define HAVE_LOGL 1
33935 _ACEOF
33936
33937 fi
33938 done
33939
33940 else
33941
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33943 $as_echo_n "checking for _logl declaration... " >&6; }
33944 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33945 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33946 $as_echo_n "(cached) " >&6
33947 else
33948
33949
33950 ac_ext=cpp
33951 ac_cpp='$CXXCPP $CPPFLAGS'
33952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33955
33956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33957 /* end confdefs.h. */
33958 #include <math.h>
33959 #ifdef HAVE_IEEEFP_H
33960 #include <ieeefp.h>
33961 #endif
33962
33963 int
33964 main ()
33965 {
33966 _logl(0);
33967 ;
33968 return 0;
33969 }
33970 _ACEOF
33971 if ac_fn_cxx_try_compile "$LINENO"; then :
33972 glibcxx_cv_func__logl_use=yes
33973 else
33974 glibcxx_cv_func__logl_use=no
33975 fi
33976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33977 ac_ext=c
33978 ac_cpp='$CPP $CPPFLAGS'
33979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33982
33983
33984 fi
33985
33986 fi
33987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33988 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33989
33990 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33991 for ac_func in _logl
33992 do :
33993 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33994 if test "x$ac_cv_func__logl" = x""yes; then :
33995 cat >>confdefs.h <<_ACEOF
33996 #define HAVE__LOGL 1
33997 _ACEOF
33998
33999 fi
34000 done
34001
34002 fi
34003 fi
34004
34005
34006
34007
34008
34009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34010 $as_echo_n "checking for log10l declaration... " >&6; }
34011 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34012 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34013 $as_echo_n "(cached) " >&6
34014 else
34015
34016
34017 ac_ext=cpp
34018 ac_cpp='$CXXCPP $CPPFLAGS'
34019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34022
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34025 #include <math.h>
34026 #ifdef HAVE_IEEEFP_H
34027 #include <ieeefp.h>
34028 #endif
34029
34030 int
34031 main ()
34032 {
34033 log10l(0);
34034 ;
34035 return 0;
34036 }
34037 _ACEOF
34038 if ac_fn_cxx_try_compile "$LINENO"; then :
34039 glibcxx_cv_func_log10l_use=yes
34040 else
34041 glibcxx_cv_func_log10l_use=no
34042 fi
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34044 ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34049
34050
34051 fi
34052
34053 fi
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34055 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34056
34057 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34058 for ac_func in log10l
34059 do :
34060 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34061 if test "x$ac_cv_func_log10l" = x""yes; then :
34062 cat >>confdefs.h <<_ACEOF
34063 #define HAVE_LOG10L 1
34064 _ACEOF
34065
34066 fi
34067 done
34068
34069 else
34070
34071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34072 $as_echo_n "checking for _log10l declaration... " >&6; }
34073 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34074 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34075 $as_echo_n "(cached) " >&6
34076 else
34077
34078
34079 ac_ext=cpp
34080 ac_cpp='$CXXCPP $CPPFLAGS'
34081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34084
34085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34086 /* end confdefs.h. */
34087 #include <math.h>
34088 #ifdef HAVE_IEEEFP_H
34089 #include <ieeefp.h>
34090 #endif
34091
34092 int
34093 main ()
34094 {
34095 _log10l(0);
34096 ;
34097 return 0;
34098 }
34099 _ACEOF
34100 if ac_fn_cxx_try_compile "$LINENO"; then :
34101 glibcxx_cv_func__log10l_use=yes
34102 else
34103 glibcxx_cv_func__log10l_use=no
34104 fi
34105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34106 ac_ext=c
34107 ac_cpp='$CPP $CPPFLAGS'
34108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34111
34112
34113 fi
34114
34115 fi
34116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34117 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34118
34119 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34120 for ac_func in _log10l
34121 do :
34122 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34123 if test "x$ac_cv_func__log10l" = x""yes; then :
34124 cat >>confdefs.h <<_ACEOF
34125 #define HAVE__LOG10L 1
34126 _ACEOF
34127
34128 fi
34129 done
34130
34131 fi
34132 fi
34133
34134
34135
34136
34137
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34139 $as_echo_n "checking for modfl declaration... " >&6; }
34140 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34141 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34142 $as_echo_n "(cached) " >&6
34143 else
34144
34145
34146 ac_ext=cpp
34147 ac_cpp='$CXXCPP $CPPFLAGS'
34148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34151
34152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34153 /* end confdefs.h. */
34154 #include <math.h>
34155 int
34156 main ()
34157 {
34158 modfl(0, 0);
34159 ;
34160 return 0;
34161 }
34162 _ACEOF
34163 if ac_fn_cxx_try_compile "$LINENO"; then :
34164 glibcxx_cv_func_modfl_use=yes
34165 else
34166 glibcxx_cv_func_modfl_use=no
34167 fi
34168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34169 ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34174
34175
34176 fi
34177
34178 fi
34179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34180 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34181
34182 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34183 for ac_func in modfl
34184 do :
34185 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34186 if test "x$ac_cv_func_modfl" = x""yes; then :
34187 cat >>confdefs.h <<_ACEOF
34188 #define HAVE_MODFL 1
34189 _ACEOF
34190
34191 fi
34192 done
34193
34194 else
34195
34196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34197 $as_echo_n "checking for _modfl declaration... " >&6; }
34198 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34199 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34200 $as_echo_n "(cached) " >&6
34201 else
34202
34203
34204 ac_ext=cpp
34205 ac_cpp='$CXXCPP $CPPFLAGS'
34206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34209
34210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34211 /* end confdefs.h. */
34212 #include <math.h>
34213 int
34214 main ()
34215 {
34216 _modfl(0, 0);
34217 ;
34218 return 0;
34219 }
34220 _ACEOF
34221 if ac_fn_cxx_try_compile "$LINENO"; then :
34222 glibcxx_cv_func__modfl_use=yes
34223 else
34224 glibcxx_cv_func__modfl_use=no
34225 fi
34226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34227 ac_ext=c
34228 ac_cpp='$CPP $CPPFLAGS'
34229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34232
34233
34234 fi
34235
34236 fi
34237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34238 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34239
34240 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34241 for ac_func in _modfl
34242 do :
34243 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34244 if test "x$ac_cv_func__modfl" = x""yes; then :
34245 cat >>confdefs.h <<_ACEOF
34246 #define HAVE__MODFL 1
34247 _ACEOF
34248
34249 fi
34250 done
34251
34252 fi
34253 fi
34254
34255
34256
34257
34258
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34260 $as_echo_n "checking for powl declaration... " >&6; }
34261 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34262 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34263 $as_echo_n "(cached) " >&6
34264 else
34265
34266
34267 ac_ext=cpp
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34272
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34275 #include <math.h>
34276 int
34277 main ()
34278 {
34279 powl(0, 0);
34280 ;
34281 return 0;
34282 }
34283 _ACEOF
34284 if ac_fn_cxx_try_compile "$LINENO"; then :
34285 glibcxx_cv_func_powl_use=yes
34286 else
34287 glibcxx_cv_func_powl_use=no
34288 fi
34289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34290 ac_ext=c
34291 ac_cpp='$CPP $CPPFLAGS'
34292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34295
34296
34297 fi
34298
34299 fi
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34301 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34302
34303 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34304 for ac_func in powl
34305 do :
34306 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34307 if test "x$ac_cv_func_powl" = x""yes; then :
34308 cat >>confdefs.h <<_ACEOF
34309 #define HAVE_POWL 1
34310 _ACEOF
34311
34312 fi
34313 done
34314
34315 else
34316
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34318 $as_echo_n "checking for _powl declaration... " >&6; }
34319 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34320 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34321 $as_echo_n "(cached) " >&6
34322 else
34323
34324
34325 ac_ext=cpp
34326 ac_cpp='$CXXCPP $CPPFLAGS'
34327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34330
34331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34332 /* end confdefs.h. */
34333 #include <math.h>
34334 int
34335 main ()
34336 {
34337 _powl(0, 0);
34338 ;
34339 return 0;
34340 }
34341 _ACEOF
34342 if ac_fn_cxx_try_compile "$LINENO"; then :
34343 glibcxx_cv_func__powl_use=yes
34344 else
34345 glibcxx_cv_func__powl_use=no
34346 fi
34347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34348 ac_ext=c
34349 ac_cpp='$CPP $CPPFLAGS'
34350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34353
34354
34355 fi
34356
34357 fi
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34359 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34360
34361 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34362 for ac_func in _powl
34363 do :
34364 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34365 if test "x$ac_cv_func__powl" = x""yes; then :
34366 cat >>confdefs.h <<_ACEOF
34367 #define HAVE__POWL 1
34368 _ACEOF
34369
34370 fi
34371 done
34372
34373 fi
34374 fi
34375
34376
34377
34378
34379
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34381 $as_echo_n "checking for sqrtl declaration... " >&6; }
34382 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34383 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34384 $as_echo_n "(cached) " >&6
34385 else
34386
34387
34388 ac_ext=cpp
34389 ac_cpp='$CXXCPP $CPPFLAGS'
34390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34393
34394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34395 /* end confdefs.h. */
34396 #include <math.h>
34397 #ifdef HAVE_IEEEFP_H
34398 #include <ieeefp.h>
34399 #endif
34400
34401 int
34402 main ()
34403 {
34404 sqrtl(0);
34405 ;
34406 return 0;
34407 }
34408 _ACEOF
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410 glibcxx_cv_func_sqrtl_use=yes
34411 else
34412 glibcxx_cv_func_sqrtl_use=no
34413 fi
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415 ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34420
34421
34422 fi
34423
34424 fi
34425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34426 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34427
34428 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34429 for ac_func in sqrtl
34430 do :
34431 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34432 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34433 cat >>confdefs.h <<_ACEOF
34434 #define HAVE_SQRTL 1
34435 _ACEOF
34436
34437 fi
34438 done
34439
34440 else
34441
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34443 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34444 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34445 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34446 $as_echo_n "(cached) " >&6
34447 else
34448
34449
34450 ac_ext=cpp
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455
34456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 /* end confdefs.h. */
34458 #include <math.h>
34459 #ifdef HAVE_IEEEFP_H
34460 #include <ieeefp.h>
34461 #endif
34462
34463 int
34464 main ()
34465 {
34466 _sqrtl(0);
34467 ;
34468 return 0;
34469 }
34470 _ACEOF
34471 if ac_fn_cxx_try_compile "$LINENO"; then :
34472 glibcxx_cv_func__sqrtl_use=yes
34473 else
34474 glibcxx_cv_func__sqrtl_use=no
34475 fi
34476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477 ac_ext=c
34478 ac_cpp='$CPP $CPPFLAGS'
34479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34482
34483
34484 fi
34485
34486 fi
34487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34488 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34489
34490 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34491 for ac_func in _sqrtl
34492 do :
34493 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34494 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34495 cat >>confdefs.h <<_ACEOF
34496 #define HAVE__SQRTL 1
34497 _ACEOF
34498
34499 fi
34500 done
34501
34502 fi
34503 fi
34504
34505
34506
34507
34508
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34510 $as_echo_n "checking for sincosl declaration... " >&6; }
34511 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34512 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34513 $as_echo_n "(cached) " >&6
34514 else
34515
34516
34517 ac_ext=cpp
34518 ac_cpp='$CXXCPP $CPPFLAGS'
34519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34522
34523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34524 /* end confdefs.h. */
34525 #include <math.h>
34526 int
34527 main ()
34528 {
34529 sincosl(0, 0, 0);
34530 ;
34531 return 0;
34532 }
34533 _ACEOF
34534 if ac_fn_cxx_try_compile "$LINENO"; then :
34535 glibcxx_cv_func_sincosl_use=yes
34536 else
34537 glibcxx_cv_func_sincosl_use=no
34538 fi
34539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34540 ac_ext=c
34541 ac_cpp='$CPP $CPPFLAGS'
34542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34545
34546
34547 fi
34548
34549 fi
34550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34551 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34552
34553 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34554 for ac_func in sincosl
34555 do :
34556 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34557 if test "x$ac_cv_func_sincosl" = x""yes; then :
34558 cat >>confdefs.h <<_ACEOF
34559 #define HAVE_SINCOSL 1
34560 _ACEOF
34561
34562 fi
34563 done
34564
34565 else
34566
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34568 $as_echo_n "checking for _sincosl declaration... " >&6; }
34569 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34570 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34571 $as_echo_n "(cached) " >&6
34572 else
34573
34574
34575 ac_ext=cpp
34576 ac_cpp='$CXXCPP $CPPFLAGS'
34577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34580
34581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34582 /* end confdefs.h. */
34583 #include <math.h>
34584 int
34585 main ()
34586 {
34587 _sincosl(0, 0, 0);
34588 ;
34589 return 0;
34590 }
34591 _ACEOF
34592 if ac_fn_cxx_try_compile "$LINENO"; then :
34593 glibcxx_cv_func__sincosl_use=yes
34594 else
34595 glibcxx_cv_func__sincosl_use=no
34596 fi
34597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34598 ac_ext=c
34599 ac_cpp='$CPP $CPPFLAGS'
34600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34603
34604
34605 fi
34606
34607 fi
34608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34609 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34610
34611 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34612 for ac_func in _sincosl
34613 do :
34614 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34615 if test "x$ac_cv_func__sincosl" = x""yes; then :
34616 cat >>confdefs.h <<_ACEOF
34617 #define HAVE__SINCOSL 1
34618 _ACEOF
34619
34620 fi
34621 done
34622
34623 fi
34624 fi
34625
34626
34627
34628
34629
34630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34631 $as_echo_n "checking for finitel declaration... " >&6; }
34632 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34633 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34634 $as_echo_n "(cached) " >&6
34635 else
34636
34637
34638 ac_ext=cpp
34639 ac_cpp='$CXXCPP $CPPFLAGS'
34640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34643
34644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34645 /* end confdefs.h. */
34646 #include <math.h>
34647 #ifdef HAVE_IEEEFP_H
34648 #include <ieeefp.h>
34649 #endif
34650
34651 int
34652 main ()
34653 {
34654 finitel(0);
34655 ;
34656 return 0;
34657 }
34658 _ACEOF
34659 if ac_fn_cxx_try_compile "$LINENO"; then :
34660 glibcxx_cv_func_finitel_use=yes
34661 else
34662 glibcxx_cv_func_finitel_use=no
34663 fi
34664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34665 ac_ext=c
34666 ac_cpp='$CPP $CPPFLAGS'
34667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34670
34671
34672 fi
34673
34674 fi
34675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34676 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34677
34678 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34679 for ac_func in finitel
34680 do :
34681 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34682 if test "x$ac_cv_func_finitel" = x""yes; then :
34683 cat >>confdefs.h <<_ACEOF
34684 #define HAVE_FINITEL 1
34685 _ACEOF
34686
34687 fi
34688 done
34689
34690 else
34691
34692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34693 $as_echo_n "checking for _finitel declaration... " >&6; }
34694 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34695 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34696 $as_echo_n "(cached) " >&6
34697 else
34698
34699
34700 ac_ext=cpp
34701 ac_cpp='$CXXCPP $CPPFLAGS'
34702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34705
34706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34707 /* end confdefs.h. */
34708 #include <math.h>
34709 #ifdef HAVE_IEEEFP_H
34710 #include <ieeefp.h>
34711 #endif
34712
34713 int
34714 main ()
34715 {
34716 _finitel(0);
34717 ;
34718 return 0;
34719 }
34720 _ACEOF
34721 if ac_fn_cxx_try_compile "$LINENO"; then :
34722 glibcxx_cv_func__finitel_use=yes
34723 else
34724 glibcxx_cv_func__finitel_use=no
34725 fi
34726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34727 ac_ext=c
34728 ac_cpp='$CPP $CPPFLAGS'
34729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34732
34733
34734 fi
34735
34736 fi
34737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34738 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34739
34740 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34741 for ac_func in _finitel
34742 do :
34743 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34744 if test "x$ac_cv_func__finitel" = x""yes; then :
34745 cat >>confdefs.h <<_ACEOF
34746 #define HAVE__FINITEL 1
34747 _ACEOF
34748
34749 fi
34750 done
34751
34752 fi
34753 fi
34754
34755
34756
34757
34758 LIBS="$ac_save_LIBS"
34759 CXXFLAGS="$ac_save_CXXFLAGS"
34760
34761
34762 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34763 ac_save_CXXFLAGS="$CXXFLAGS"
34764 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34765
34766
34767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34768 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34769 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34770 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34771 $as_echo_n "(cached) " >&6
34772 else
34773
34774
34775 ac_ext=cpp
34776 ac_cpp='$CXXCPP $CPPFLAGS'
34777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34780
34781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34782 /* end confdefs.h. */
34783 #include <stdlib.h>
34784 int
34785 main ()
34786 {
34787 at_quick_exit(0);
34788 ;
34789 return 0;
34790 }
34791 _ACEOF
34792 if ac_fn_cxx_try_compile "$LINENO"; then :
34793 glibcxx_cv_func_at_quick_exit_use=yes
34794 else
34795 glibcxx_cv_func_at_quick_exit_use=no
34796 fi
34797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34798 ac_ext=c
34799 ac_cpp='$CPP $CPPFLAGS'
34800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34803
34804
34805 fi
34806
34807 fi
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34809 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34810 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34811 for ac_func in at_quick_exit
34812 do :
34813 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34814 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34815 cat >>confdefs.h <<_ACEOF
34816 #define HAVE_AT_QUICK_EXIT 1
34817 _ACEOF
34818
34819 fi
34820 done
34821
34822 fi
34823
34824
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34826 $as_echo_n "checking for quick_exit declaration... " >&6; }
34827 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34828 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34829 $as_echo_n "(cached) " >&6
34830 else
34831
34832
34833 ac_ext=cpp
34834 ac_cpp='$CXXCPP $CPPFLAGS'
34835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34838
34839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34840 /* end confdefs.h. */
34841 #include <stdlib.h>
34842 int
34843 main ()
34844 {
34845 quick_exit(0);
34846 ;
34847 return 0;
34848 }
34849 _ACEOF
34850 if ac_fn_cxx_try_compile "$LINENO"; then :
34851 glibcxx_cv_func_quick_exit_use=yes
34852 else
34853 glibcxx_cv_func_quick_exit_use=no
34854 fi
34855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34856 ac_ext=c
34857 ac_cpp='$CPP $CPPFLAGS'
34858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34861
34862
34863 fi
34864
34865 fi
34866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34867 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34868 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34869 for ac_func in quick_exit
34870 do :
34871 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34872 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34873 cat >>confdefs.h <<_ACEOF
34874 #define HAVE_QUICK_EXIT 1
34875 _ACEOF
34876
34877 fi
34878 done
34879
34880 fi
34881
34882
34883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34884 $as_echo_n "checking for strtold declaration... " >&6; }
34885 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34886 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34887 $as_echo_n "(cached) " >&6
34888 else
34889
34890
34891 ac_ext=cpp
34892 ac_cpp='$CXXCPP $CPPFLAGS'
34893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34896
34897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34898 /* end confdefs.h. */
34899 #include <stdlib.h>
34900 int
34901 main ()
34902 {
34903 strtold(0, 0);
34904 ;
34905 return 0;
34906 }
34907 _ACEOF
34908 if ac_fn_cxx_try_compile "$LINENO"; then :
34909 glibcxx_cv_func_strtold_use=yes
34910 else
34911 glibcxx_cv_func_strtold_use=no
34912 fi
34913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34914 ac_ext=c
34915 ac_cpp='$CPP $CPPFLAGS'
34916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34919
34920
34921 fi
34922
34923 fi
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34925 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34926 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34927 for ac_func in strtold
34928 do :
34929 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34930 if test "x$ac_cv_func_strtold" = x""yes; then :
34931 cat >>confdefs.h <<_ACEOF
34932 #define HAVE_STRTOLD 1
34933 _ACEOF
34934
34935 fi
34936 done
34937
34938 fi
34939
34940
34941
34942
34943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34944 $as_echo_n "checking for strtof declaration... " >&6; }
34945 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34946 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34947 $as_echo_n "(cached) " >&6
34948 else
34949
34950
34951 ac_ext=cpp
34952 ac_cpp='$CXXCPP $CPPFLAGS'
34953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34956
34957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34958 /* end confdefs.h. */
34959 #include <stdlib.h>
34960 int
34961 main ()
34962 {
34963 strtof(0, 0);
34964 ;
34965 return 0;
34966 }
34967 _ACEOF
34968 if ac_fn_cxx_try_compile "$LINENO"; then :
34969 glibcxx_cv_func_strtof_use=yes
34970 else
34971 glibcxx_cv_func_strtof_use=no
34972 fi
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34974 ac_ext=c
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34979
34980
34981 fi
34982
34983 fi
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34985 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34986 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34987 for ac_func in strtof
34988 do :
34989 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34990 if test "x$ac_cv_func_strtof" = x""yes; then :
34991 cat >>confdefs.h <<_ACEOF
34992 #define HAVE_STRTOF 1
34993 _ACEOF
34994
34995 fi
34996 done
34997
34998 fi
34999
35000
35001
35002
35003 CXXFLAGS="$ac_save_CXXFLAGS"
35004
35005
35006 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35007
35008 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35009
35010 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35011
35012 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35013
35014
35015 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35016
35017 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35018
35019 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35020
35021 ;;
35022
35023 spu-*-elf*)
35024
35025 # All these tests are for C++; save the language and the compiler flags.
35026 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35027 # found in GLIBCXX_CONFIGURE.
35028
35029 ac_ext=cpp
35030 ac_cpp='$CXXCPP $CPPFLAGS'
35031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35034
35035 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35036 ac_save_CXXFLAGS="$CXXFLAGS"
35037
35038 # Check for -ffunction-sections -fdata-sections
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35040 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35041 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35043 /* end confdefs.h. */
35044 int foo; void bar() { };
35045 int
35046 main ()
35047 {
35048
35049 ;
35050 return 0;
35051 }
35052 _ACEOF
35053 if ac_fn_cxx_try_compile "$LINENO"; then :
35054 ac_fdsections=yes
35055 else
35056 ac_fdsections=no
35057 fi
35058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35059 if test "$ac_test_CXXFLAGS" = set; then
35060 CXXFLAGS="$ac_save_CXXFLAGS"
35061 else
35062 # this is the suspicious part
35063 CXXFLAGS=''
35064 fi
35065 if test x"$ac_fdsections" = x"yes"; then
35066 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35067 fi
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35069 $as_echo "$ac_fdsections" >&6; }
35070
35071 ac_ext=c
35072 ac_cpp='$CPP $CPPFLAGS'
35073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35076
35077
35078
35079
35080 # If we're not using GNU ld, then there's no point in even trying these
35081 # tests. Check for that first. We should have already tested for gld
35082 # by now (in libtool), but require it now just to be safe...
35083 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35084 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35085
35086
35087
35088 # The name set by libtool depends on the version of libtool. Shame on us
35089 # for depending on an impl detail, but c'est la vie. Older versions used
35090 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35091 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35092 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35093 # set (hence we're using an older libtool), then set it.
35094 if test x${with_gnu_ld+set} != xset; then
35095 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35096 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35097 with_gnu_ld=no
35098 else
35099 with_gnu_ld=$ac_cv_prog_gnu_ld
35100 fi
35101 fi
35102
35103 # Start by getting the version number. I think the libtool test already
35104 # does some of this, but throws away the result.
35105 glibcxx_ld_is_gold=no
35106 if test x"$with_gnu_ld" = x"yes"; then
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35108 $as_echo_n "checking for ld version... " >&6; }
35109
35110 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35111 glibcxx_ld_is_gold=yes
35112 fi
35113 ldver=`$LD --version 2>/dev/null |
35114 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'`
35115
35116 glibcxx_gnu_ld_version=`echo $ldver | \
35117 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35119 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35120 fi
35121
35122 # Set --gc-sections.
35123 glibcxx_have_gc_sections=no
35124 if test "$glibcxx_ld_is_gold" = "yes"; then
35125 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35126 glibcxx_have_gc_sections=yes
35127 fi
35128 else
35129 glibcxx_gcsections_min_ld=21602
35130 if test x"$with_gnu_ld" = x"yes" &&
35131 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35132 glibcxx_have_gc_sections=yes
35133 fi
35134 fi
35135 if test "$glibcxx_have_gc_sections" = "yes"; then
35136 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35137 # NB: This flag only works reliably after 2.16.1. Configure tests
35138 # for this are difficult, so hard wire a value that should work.
35139
35140 ac_test_CFLAGS="${CFLAGS+set}"
35141 ac_save_CFLAGS="$CFLAGS"
35142 CFLAGS='-Wl,--gc-sections'
35143
35144 # Check for -Wl,--gc-sections
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35146 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35147 if test x$gcc_no_link = xyes; then
35148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35149 fi
35150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35151 /* end confdefs.h. */
35152 int one(void) { return 1; }
35153 int two(void) { return 2; }
35154
35155 int
35156 main ()
35157 {
35158 two();
35159 ;
35160 return 0;
35161 }
35162 _ACEOF
35163 if ac_fn_c_try_link "$LINENO"; then :
35164 ac_gcsections=yes
35165 else
35166 ac_gcsections=no
35167 fi
35168 rm -f core conftest.err conftest.$ac_objext \
35169 conftest$ac_exeext conftest.$ac_ext
35170 if test "$ac_gcsections" = "yes"; then
35171 rm -f conftest.c
35172 touch conftest.c
35173 if $CC -c conftest.c; then
35174 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35175 grep "Warning: gc-sections option ignored" > /dev/null; then
35176 ac_gcsections=no
35177 fi
35178 fi
35179 rm -f conftest.c conftest.o conftest
35180 fi
35181 if test "$ac_gcsections" = "yes"; then
35182 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35183 fi
35184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35185 $as_echo "$ac_gcsections" >&6; }
35186
35187 if test "$ac_test_CFLAGS" = set; then
35188 CFLAGS="$ac_save_CFLAGS"
35189 else
35190 # this is the suspicious part
35191 CFLAGS=''
35192 fi
35193 fi
35194
35195 # Set -z,relro.
35196 # Note this is only for shared objects.
35197 ac_ld_relro=no
35198 if test x"$with_gnu_ld" = x"yes"; then
35199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35200 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35201 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35202 if test -n "$cxx_z_relo"; then
35203 OPT_LDFLAGS="-Wl,-z,relro"
35204 ac_ld_relro=yes
35205 fi
35206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35207 $as_echo "$ac_ld_relro" >&6; }
35208 fi
35209
35210 # Set linker optimization flags.
35211 if test x"$with_gnu_ld" = x"yes"; then
35212 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35213 fi
35214
35215
35216
35217
35218
35219 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35220 ac_save_CXXFLAGS="$CXXFLAGS"
35221 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35222
35223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35224 $as_echo_n "checking for sin in -lm... " >&6; }
35225 if test "${ac_cv_lib_m_sin+set}" = set; then :
35226 $as_echo_n "(cached) " >&6
35227 else
35228 ac_check_lib_save_LIBS=$LIBS
35229 LIBS="-lm $LIBS"
35230 if test x$gcc_no_link = xyes; then
35231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35232 fi
35233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35234 /* end confdefs.h. */
35235
35236 /* Override any GCC internal prototype to avoid an error.
35237 Use char because int might match the return type of a GCC
35238 builtin and then its argument prototype would still apply. */
35239 #ifdef __cplusplus
35240 extern "C"
35241 #endif
35242 char sin ();
35243 int
35244 main ()
35245 {
35246 return sin ();
35247 ;
35248 return 0;
35249 }
35250 _ACEOF
35251 if ac_fn_c_try_link "$LINENO"; then :
35252 ac_cv_lib_m_sin=yes
35253 else
35254 ac_cv_lib_m_sin=no
35255 fi
35256 rm -f core conftest.err conftest.$ac_objext \
35257 conftest$ac_exeext conftest.$ac_ext
35258 LIBS=$ac_check_lib_save_LIBS
35259 fi
35260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35261 $as_echo "$ac_cv_lib_m_sin" >&6; }
35262 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35263 libm="-lm"
35264 fi
35265
35266 ac_save_LIBS="$LIBS"
35267 LIBS="$LIBS $libm"
35268
35269
35270
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35272 $as_echo_n "checking for isinf declaration... " >&6; }
35273 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35274 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35275 $as_echo_n "(cached) " >&6
35276 else
35277
35278
35279 ac_ext=cpp
35280 ac_cpp='$CXXCPP $CPPFLAGS'
35281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35284
35285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35286 /* end confdefs.h. */
35287 #include <math.h>
35288 #ifdef HAVE_IEEEFP_H
35289 #include <ieeefp.h>
35290 #endif
35291
35292 int
35293 main ()
35294 {
35295 isinf(0);
35296 ;
35297 return 0;
35298 }
35299 _ACEOF
35300 if ac_fn_cxx_try_compile "$LINENO"; then :
35301 glibcxx_cv_func_isinf_use=yes
35302 else
35303 glibcxx_cv_func_isinf_use=no
35304 fi
35305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35306 ac_ext=c
35307 ac_cpp='$CPP $CPPFLAGS'
35308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35311
35312
35313 fi
35314
35315 fi
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35317 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35318
35319 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35320 for ac_func in isinf
35321 do :
35322 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35323 if test "x$ac_cv_func_isinf" = x""yes; then :
35324 cat >>confdefs.h <<_ACEOF
35325 #define HAVE_ISINF 1
35326 _ACEOF
35327
35328 fi
35329 done
35330
35331 else
35332
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35334 $as_echo_n "checking for _isinf declaration... " >&6; }
35335 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35336 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35337 $as_echo_n "(cached) " >&6
35338 else
35339
35340
35341 ac_ext=cpp
35342 ac_cpp='$CXXCPP $CPPFLAGS'
35343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35346
35347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35348 /* end confdefs.h. */
35349 #include <math.h>
35350 #ifdef HAVE_IEEEFP_H
35351 #include <ieeefp.h>
35352 #endif
35353
35354 int
35355 main ()
35356 {
35357 _isinf(0);
35358 ;
35359 return 0;
35360 }
35361 _ACEOF
35362 if ac_fn_cxx_try_compile "$LINENO"; then :
35363 glibcxx_cv_func__isinf_use=yes
35364 else
35365 glibcxx_cv_func__isinf_use=no
35366 fi
35367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35368 ac_ext=c
35369 ac_cpp='$CPP $CPPFLAGS'
35370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35373
35374
35375 fi
35376
35377 fi
35378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35379 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35380
35381 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35382 for ac_func in _isinf
35383 do :
35384 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35385 if test "x$ac_cv_func__isinf" = x""yes; then :
35386 cat >>confdefs.h <<_ACEOF
35387 #define HAVE__ISINF 1
35388 _ACEOF
35389
35390 fi
35391 done
35392
35393 fi
35394 fi
35395
35396
35397
35398
35399
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35401 $as_echo_n "checking for isnan declaration... " >&6; }
35402 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35403 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35404 $as_echo_n "(cached) " >&6
35405 else
35406
35407
35408 ac_ext=cpp
35409 ac_cpp='$CXXCPP $CPPFLAGS'
35410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35413
35414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35415 /* end confdefs.h. */
35416 #include <math.h>
35417 #ifdef HAVE_IEEEFP_H
35418 #include <ieeefp.h>
35419 #endif
35420
35421 int
35422 main ()
35423 {
35424 isnan(0);
35425 ;
35426 return 0;
35427 }
35428 _ACEOF
35429 if ac_fn_cxx_try_compile "$LINENO"; then :
35430 glibcxx_cv_func_isnan_use=yes
35431 else
35432 glibcxx_cv_func_isnan_use=no
35433 fi
35434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35435 ac_ext=c
35436 ac_cpp='$CPP $CPPFLAGS'
35437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35440
35441
35442 fi
35443
35444 fi
35445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35446 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35447
35448 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35449 for ac_func in isnan
35450 do :
35451 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35452 if test "x$ac_cv_func_isnan" = x""yes; then :
35453 cat >>confdefs.h <<_ACEOF
35454 #define HAVE_ISNAN 1
35455 _ACEOF
35456
35457 fi
35458 done
35459
35460 else
35461
35462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35463 $as_echo_n "checking for _isnan declaration... " >&6; }
35464 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35465 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35466 $as_echo_n "(cached) " >&6
35467 else
35468
35469
35470 ac_ext=cpp
35471 ac_cpp='$CXXCPP $CPPFLAGS'
35472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35475
35476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35477 /* end confdefs.h. */
35478 #include <math.h>
35479 #ifdef HAVE_IEEEFP_H
35480 #include <ieeefp.h>
35481 #endif
35482
35483 int
35484 main ()
35485 {
35486 _isnan(0);
35487 ;
35488 return 0;
35489 }
35490 _ACEOF
35491 if ac_fn_cxx_try_compile "$LINENO"; then :
35492 glibcxx_cv_func__isnan_use=yes
35493 else
35494 glibcxx_cv_func__isnan_use=no
35495 fi
35496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35497 ac_ext=c
35498 ac_cpp='$CPP $CPPFLAGS'
35499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35502
35503
35504 fi
35505
35506 fi
35507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35508 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35509
35510 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35511 for ac_func in _isnan
35512 do :
35513 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35514 if test "x$ac_cv_func__isnan" = x""yes; then :
35515 cat >>confdefs.h <<_ACEOF
35516 #define HAVE__ISNAN 1
35517 _ACEOF
35518
35519 fi
35520 done
35521
35522 fi
35523 fi
35524
35525
35526
35527
35528
35529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35530 $as_echo_n "checking for finite declaration... " >&6; }
35531 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35532 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35533 $as_echo_n "(cached) " >&6
35534 else
35535
35536
35537 ac_ext=cpp
35538 ac_cpp='$CXXCPP $CPPFLAGS'
35539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35542
35543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35544 /* end confdefs.h. */
35545 #include <math.h>
35546 #ifdef HAVE_IEEEFP_H
35547 #include <ieeefp.h>
35548 #endif
35549
35550 int
35551 main ()
35552 {
35553 finite(0);
35554 ;
35555 return 0;
35556 }
35557 _ACEOF
35558 if ac_fn_cxx_try_compile "$LINENO"; then :
35559 glibcxx_cv_func_finite_use=yes
35560 else
35561 glibcxx_cv_func_finite_use=no
35562 fi
35563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35564 ac_ext=c
35565 ac_cpp='$CPP $CPPFLAGS'
35566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35569
35570
35571 fi
35572
35573 fi
35574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35575 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35576
35577 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35578 for ac_func in finite
35579 do :
35580 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35581 if test "x$ac_cv_func_finite" = x""yes; then :
35582 cat >>confdefs.h <<_ACEOF
35583 #define HAVE_FINITE 1
35584 _ACEOF
35585
35586 fi
35587 done
35588
35589 else
35590
35591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35592 $as_echo_n "checking for _finite declaration... " >&6; }
35593 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35594 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35595 $as_echo_n "(cached) " >&6
35596 else
35597
35598
35599 ac_ext=cpp
35600 ac_cpp='$CXXCPP $CPPFLAGS'
35601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35604
35605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35606 /* end confdefs.h. */
35607 #include <math.h>
35608 #ifdef HAVE_IEEEFP_H
35609 #include <ieeefp.h>
35610 #endif
35611
35612 int
35613 main ()
35614 {
35615 _finite(0);
35616 ;
35617 return 0;
35618 }
35619 _ACEOF
35620 if ac_fn_cxx_try_compile "$LINENO"; then :
35621 glibcxx_cv_func__finite_use=yes
35622 else
35623 glibcxx_cv_func__finite_use=no
35624 fi
35625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35626 ac_ext=c
35627 ac_cpp='$CPP $CPPFLAGS'
35628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35631
35632
35633 fi
35634
35635 fi
35636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35637 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35638
35639 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35640 for ac_func in _finite
35641 do :
35642 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35643 if test "x$ac_cv_func__finite" = x""yes; then :
35644 cat >>confdefs.h <<_ACEOF
35645 #define HAVE__FINITE 1
35646 _ACEOF
35647
35648 fi
35649 done
35650
35651 fi
35652 fi
35653
35654
35655
35656
35657
35658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35659 $as_echo_n "checking for sincos declaration... " >&6; }
35660 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35661 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35662 $as_echo_n "(cached) " >&6
35663 else
35664
35665
35666 ac_ext=cpp
35667 ac_cpp='$CXXCPP $CPPFLAGS'
35668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35671
35672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35673 /* end confdefs.h. */
35674 #include <math.h>
35675 int
35676 main ()
35677 {
35678 sincos(0, 0, 0);
35679 ;
35680 return 0;
35681 }
35682 _ACEOF
35683 if ac_fn_cxx_try_compile "$LINENO"; then :
35684 glibcxx_cv_func_sincos_use=yes
35685 else
35686 glibcxx_cv_func_sincos_use=no
35687 fi
35688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35689 ac_ext=c
35690 ac_cpp='$CPP $CPPFLAGS'
35691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35694
35695
35696 fi
35697
35698 fi
35699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35700 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35701
35702 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35703 for ac_func in sincos
35704 do :
35705 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35706 if test "x$ac_cv_func_sincos" = x""yes; then :
35707 cat >>confdefs.h <<_ACEOF
35708 #define HAVE_SINCOS 1
35709 _ACEOF
35710
35711 fi
35712 done
35713
35714 else
35715
35716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35717 $as_echo_n "checking for _sincos declaration... " >&6; }
35718 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35719 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35720 $as_echo_n "(cached) " >&6
35721 else
35722
35723
35724 ac_ext=cpp
35725 ac_cpp='$CXXCPP $CPPFLAGS'
35726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35729
35730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35731 /* end confdefs.h. */
35732 #include <math.h>
35733 int
35734 main ()
35735 {
35736 _sincos(0, 0, 0);
35737 ;
35738 return 0;
35739 }
35740 _ACEOF
35741 if ac_fn_cxx_try_compile "$LINENO"; then :
35742 glibcxx_cv_func__sincos_use=yes
35743 else
35744 glibcxx_cv_func__sincos_use=no
35745 fi
35746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35747 ac_ext=c
35748 ac_cpp='$CPP $CPPFLAGS'
35749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35752
35753
35754 fi
35755
35756 fi
35757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35758 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35759
35760 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35761 for ac_func in _sincos
35762 do :
35763 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35764 if test "x$ac_cv_func__sincos" = x""yes; then :
35765 cat >>confdefs.h <<_ACEOF
35766 #define HAVE__SINCOS 1
35767 _ACEOF
35768
35769 fi
35770 done
35771
35772 fi
35773 fi
35774
35775
35776
35777
35778
35779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35780 $as_echo_n "checking for fpclass declaration... " >&6; }
35781 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35782 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35783 $as_echo_n "(cached) " >&6
35784 else
35785
35786
35787 ac_ext=cpp
35788 ac_cpp='$CXXCPP $CPPFLAGS'
35789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35792
35793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35794 /* end confdefs.h. */
35795 #include <math.h>
35796 #ifdef HAVE_IEEEFP_H
35797 #include <ieeefp.h>
35798 #endif
35799
35800 int
35801 main ()
35802 {
35803 fpclass(0);
35804 ;
35805 return 0;
35806 }
35807 _ACEOF
35808 if ac_fn_cxx_try_compile "$LINENO"; then :
35809 glibcxx_cv_func_fpclass_use=yes
35810 else
35811 glibcxx_cv_func_fpclass_use=no
35812 fi
35813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35814 ac_ext=c
35815 ac_cpp='$CPP $CPPFLAGS'
35816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35819
35820
35821 fi
35822
35823 fi
35824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35825 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35826
35827 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35828 for ac_func in fpclass
35829 do :
35830 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35831 if test "x$ac_cv_func_fpclass" = x""yes; then :
35832 cat >>confdefs.h <<_ACEOF
35833 #define HAVE_FPCLASS 1
35834 _ACEOF
35835
35836 fi
35837 done
35838
35839 else
35840
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35842 $as_echo_n "checking for _fpclass declaration... " >&6; }
35843 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35844 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35845 $as_echo_n "(cached) " >&6
35846 else
35847
35848
35849 ac_ext=cpp
35850 ac_cpp='$CXXCPP $CPPFLAGS'
35851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35854
35855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35856 /* end confdefs.h. */
35857 #include <math.h>
35858 #ifdef HAVE_IEEEFP_H
35859 #include <ieeefp.h>
35860 #endif
35861
35862 int
35863 main ()
35864 {
35865 _fpclass(0);
35866 ;
35867 return 0;
35868 }
35869 _ACEOF
35870 if ac_fn_cxx_try_compile "$LINENO"; then :
35871 glibcxx_cv_func__fpclass_use=yes
35872 else
35873 glibcxx_cv_func__fpclass_use=no
35874 fi
35875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35876 ac_ext=c
35877 ac_cpp='$CPP $CPPFLAGS'
35878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35881
35882
35883 fi
35884
35885 fi
35886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35887 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35888
35889 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35890 for ac_func in _fpclass
35891 do :
35892 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35893 if test "x$ac_cv_func__fpclass" = x""yes; then :
35894 cat >>confdefs.h <<_ACEOF
35895 #define HAVE__FPCLASS 1
35896 _ACEOF
35897
35898 fi
35899 done
35900
35901 fi
35902 fi
35903
35904
35905
35906
35907
35908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35909 $as_echo_n "checking for qfpclass declaration... " >&6; }
35910 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35911 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35912 $as_echo_n "(cached) " >&6
35913 else
35914
35915
35916 ac_ext=cpp
35917 ac_cpp='$CXXCPP $CPPFLAGS'
35918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35921
35922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35923 /* end confdefs.h. */
35924 #include <math.h>
35925 #ifdef HAVE_IEEEFP_H
35926 #include <ieeefp.h>
35927 #endif
35928
35929 int
35930 main ()
35931 {
35932 qfpclass(0);
35933 ;
35934 return 0;
35935 }
35936 _ACEOF
35937 if ac_fn_cxx_try_compile "$LINENO"; then :
35938 glibcxx_cv_func_qfpclass_use=yes
35939 else
35940 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
35954 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35955
35956 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35957 for ac_func in qfpclass
35958 do :
35959 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35960 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35961 cat >>confdefs.h <<_ACEOF
35962 #define HAVE_QFPCLASS 1
35963 _ACEOF
35964
35965 fi
35966 done
35967
35968 else
35969
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35971 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35972 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35973 if test "${glibcxx_cv_func__qfpclass_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 #ifdef HAVE_IEEEFP_H
35988 #include <ieeefp.h>
35989 #endif
35990
35991 int
35992 main ()
35993 {
35994 _qfpclass(0);
35995 ;
35996 return 0;
35997 }
35998 _ACEOF
35999 if ac_fn_cxx_try_compile "$LINENO"; then :
36000 glibcxx_cv_func__qfpclass_use=yes
36001 else
36002 glibcxx_cv_func__qfpclass_use=no
36003 fi
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36005 ac_ext=c
36006 ac_cpp='$CPP $CPPFLAGS'
36007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36010
36011
36012 fi
36013
36014 fi
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36016 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36017
36018 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36019 for ac_func in _qfpclass
36020 do :
36021 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36022 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36023 cat >>confdefs.h <<_ACEOF
36024 #define HAVE__QFPCLASS 1
36025 _ACEOF
36026
36027 fi
36028 done
36029
36030 fi
36031 fi
36032
36033
36034
36035
36036
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36038 $as_echo_n "checking for hypot declaration... " >&6; }
36039 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36040 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36041 $as_echo_n "(cached) " >&6
36042 else
36043
36044
36045 ac_ext=cpp
36046 ac_cpp='$CXXCPP $CPPFLAGS'
36047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36050
36051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36052 /* end confdefs.h. */
36053 #include <math.h>
36054 int
36055 main ()
36056 {
36057 hypot(0, 0);
36058 ;
36059 return 0;
36060 }
36061 _ACEOF
36062 if ac_fn_cxx_try_compile "$LINENO"; then :
36063 glibcxx_cv_func_hypot_use=yes
36064 else
36065 glibcxx_cv_func_hypot_use=no
36066 fi
36067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36068 ac_ext=c
36069 ac_cpp='$CPP $CPPFLAGS'
36070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36073
36074
36075 fi
36076
36077 fi
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36079 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36080
36081 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36082 for ac_func in hypot
36083 do :
36084 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36085 if test "x$ac_cv_func_hypot" = x""yes; then :
36086 cat >>confdefs.h <<_ACEOF
36087 #define HAVE_HYPOT 1
36088 _ACEOF
36089
36090 fi
36091 done
36092
36093 else
36094
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36096 $as_echo_n "checking for _hypot declaration... " >&6; }
36097 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36098 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36099 $as_echo_n "(cached) " >&6
36100 else
36101
36102
36103 ac_ext=cpp
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36108
36109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36110 /* end confdefs.h. */
36111 #include <math.h>
36112 int
36113 main ()
36114 {
36115 _hypot(0, 0);
36116 ;
36117 return 0;
36118 }
36119 _ACEOF
36120 if ac_fn_cxx_try_compile "$LINENO"; then :
36121 glibcxx_cv_func__hypot_use=yes
36122 else
36123 glibcxx_cv_func__hypot_use=no
36124 fi
36125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36126 ac_ext=c
36127 ac_cpp='$CPP $CPPFLAGS'
36128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36131
36132
36133 fi
36134
36135 fi
36136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36137 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36138
36139 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36140 for ac_func in _hypot
36141 do :
36142 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36143 if test "x$ac_cv_func__hypot" = x""yes; then :
36144 cat >>confdefs.h <<_ACEOF
36145 #define HAVE__HYPOT 1
36146 _ACEOF
36147
36148 fi
36149 done
36150
36151 fi
36152 fi
36153
36154
36155
36156
36157
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36159 $as_echo_n "checking for float trig functions... " >&6; }
36160 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36161 $as_echo_n "(cached) " >&6
36162 else
36163
36164
36165 ac_ext=cpp
36166 ac_cpp='$CXXCPP $CPPFLAGS'
36167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36170
36171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36172 /* end confdefs.h. */
36173 #include <math.h>
36174 int
36175 main ()
36176 {
36177 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36178 ;
36179 return 0;
36180 }
36181 _ACEOF
36182 if ac_fn_cxx_try_compile "$LINENO"; then :
36183 glibcxx_cv_func_float_trig_use=yes
36184 else
36185 glibcxx_cv_func_float_trig_use=no
36186 fi
36187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36188 ac_ext=c
36189 ac_cpp='$CPP $CPPFLAGS'
36190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36193
36194 fi
36195
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36197 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36198 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36199 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36200 do :
36201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36203 eval as_val=\$$as_ac_var
36204 if test "x$as_val" = x""yes; then :
36205 cat >>confdefs.h <<_ACEOF
36206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36207 _ACEOF
36208
36209 fi
36210 done
36211
36212 else
36213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36214 $as_echo_n "checking for _float trig functions... " >&6; }
36215 if test "${glibcxx_cv_func__float_trig_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 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36233 ;
36234 return 0;
36235 }
36236 _ACEOF
36237 if ac_fn_cxx_try_compile "$LINENO"; then :
36238 glibcxx_cv_func__float_trig_use=yes
36239 else
36240 glibcxx_cv_func__float_trig_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 fi
36250
36251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36252 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36253 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36254 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36255 do :
36256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36258 eval as_val=\$$as_ac_var
36259 if test "x$as_val" = x""yes; then :
36260 cat >>confdefs.h <<_ACEOF
36261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36262 _ACEOF
36263
36264 fi
36265 done
36266
36267 fi
36268 fi
36269
36270
36271
36272
36273
36274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36275 $as_echo_n "checking for float round functions... " >&6; }
36276 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36277 $as_echo_n "(cached) " >&6
36278 else
36279
36280
36281 ac_ext=cpp
36282 ac_cpp='$CXXCPP $CPPFLAGS'
36283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286
36287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36288 /* end confdefs.h. */
36289 #include <math.h>
36290 int
36291 main ()
36292 {
36293 ceilf (0); floorf (0);
36294 ;
36295 return 0;
36296 }
36297 _ACEOF
36298 if ac_fn_cxx_try_compile "$LINENO"; then :
36299 glibcxx_cv_func_float_round_use=yes
36300 else
36301 glibcxx_cv_func_float_round_use=no
36302 fi
36303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36304 ac_ext=c
36305 ac_cpp='$CPP $CPPFLAGS'
36306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36309
36310 fi
36311
36312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36313 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36314 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36315 for ac_func in ceilf floorf
36316 do :
36317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36319 eval as_val=\$$as_ac_var
36320 if test "x$as_val" = x""yes; then :
36321 cat >>confdefs.h <<_ACEOF
36322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36323 _ACEOF
36324
36325 fi
36326 done
36327
36328 else
36329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36330 $as_echo_n "checking for _float round functions... " >&6; }
36331 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36332 $as_echo_n "(cached) " >&6
36333 else
36334
36335
36336 ac_ext=cpp
36337 ac_cpp='$CXXCPP $CPPFLAGS'
36338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36341
36342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36343 /* end confdefs.h. */
36344 #include <math.h>
36345 int
36346 main ()
36347 {
36348 _ceilf (0); _floorf (0);
36349 ;
36350 return 0;
36351 }
36352 _ACEOF
36353 if ac_fn_cxx_try_compile "$LINENO"; then :
36354 glibcxx_cv_func__float_round_use=yes
36355 else
36356 glibcxx_cv_func__float_round_use=no
36357 fi
36358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36359 ac_ext=c
36360 ac_cpp='$CPP $CPPFLAGS'
36361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36364
36365 fi
36366
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36368 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36369 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36370 for ac_func in _ceilf _floorf
36371 do :
36372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36374 eval as_val=\$$as_ac_var
36375 if test "x$as_val" = x""yes; then :
36376 cat >>confdefs.h <<_ACEOF
36377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36378 _ACEOF
36379
36380 fi
36381 done
36382
36383 fi
36384 fi
36385
36386
36387
36388
36389
36390
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36392 $as_echo_n "checking for expf declaration... " >&6; }
36393 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36394 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36395 $as_echo_n "(cached) " >&6
36396 else
36397
36398
36399 ac_ext=cpp
36400 ac_cpp='$CXXCPP $CPPFLAGS'
36401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36404
36405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36406 /* end confdefs.h. */
36407 #include <math.h>
36408 #ifdef HAVE_IEEEFP_H
36409 #include <ieeefp.h>
36410 #endif
36411
36412 int
36413 main ()
36414 {
36415 expf(0);
36416 ;
36417 return 0;
36418 }
36419 _ACEOF
36420 if ac_fn_cxx_try_compile "$LINENO"; then :
36421 glibcxx_cv_func_expf_use=yes
36422 else
36423 glibcxx_cv_func_expf_use=no
36424 fi
36425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36426 ac_ext=c
36427 ac_cpp='$CPP $CPPFLAGS'
36428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36431
36432
36433 fi
36434
36435 fi
36436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36437 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36438
36439 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36440 for ac_func in expf
36441 do :
36442 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36443 if test "x$ac_cv_func_expf" = x""yes; then :
36444 cat >>confdefs.h <<_ACEOF
36445 #define HAVE_EXPF 1
36446 _ACEOF
36447
36448 fi
36449 done
36450
36451 else
36452
36453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36454 $as_echo_n "checking for _expf declaration... " >&6; }
36455 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36456 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36457 $as_echo_n "(cached) " >&6
36458 else
36459
36460
36461 ac_ext=cpp
36462 ac_cpp='$CXXCPP $CPPFLAGS'
36463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36466
36467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36468 /* end confdefs.h. */
36469 #include <math.h>
36470 #ifdef HAVE_IEEEFP_H
36471 #include <ieeefp.h>
36472 #endif
36473
36474 int
36475 main ()
36476 {
36477 _expf(0);
36478 ;
36479 return 0;
36480 }
36481 _ACEOF
36482 if ac_fn_cxx_try_compile "$LINENO"; then :
36483 glibcxx_cv_func__expf_use=yes
36484 else
36485 glibcxx_cv_func__expf_use=no
36486 fi
36487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36488 ac_ext=c
36489 ac_cpp='$CPP $CPPFLAGS'
36490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36493
36494
36495 fi
36496
36497 fi
36498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36499 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36500
36501 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36502 for ac_func in _expf
36503 do :
36504 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36505 if test "x$ac_cv_func__expf" = x""yes; then :
36506 cat >>confdefs.h <<_ACEOF
36507 #define HAVE__EXPF 1
36508 _ACEOF
36509
36510 fi
36511 done
36512
36513 fi
36514 fi
36515
36516
36517
36518
36519
36520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36521 $as_echo_n "checking for isnanf declaration... " >&6; }
36522 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36523 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36524 $as_echo_n "(cached) " >&6
36525 else
36526
36527
36528 ac_ext=cpp
36529 ac_cpp='$CXXCPP $CPPFLAGS'
36530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36533
36534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36535 /* end confdefs.h. */
36536 #include <math.h>
36537 #ifdef HAVE_IEEEFP_H
36538 #include <ieeefp.h>
36539 #endif
36540
36541 int
36542 main ()
36543 {
36544 isnanf(0);
36545 ;
36546 return 0;
36547 }
36548 _ACEOF
36549 if ac_fn_cxx_try_compile "$LINENO"; then :
36550 glibcxx_cv_func_isnanf_use=yes
36551 else
36552 glibcxx_cv_func_isnanf_use=no
36553 fi
36554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36555 ac_ext=c
36556 ac_cpp='$CPP $CPPFLAGS'
36557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36560
36561
36562 fi
36563
36564 fi
36565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36566 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36567
36568 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36569 for ac_func in isnanf
36570 do :
36571 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36572 if test "x$ac_cv_func_isnanf" = x""yes; then :
36573 cat >>confdefs.h <<_ACEOF
36574 #define HAVE_ISNANF 1
36575 _ACEOF
36576
36577 fi
36578 done
36579
36580 else
36581
36582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36583 $as_echo_n "checking for _isnanf declaration... " >&6; }
36584 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36585 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36586 $as_echo_n "(cached) " >&6
36587 else
36588
36589
36590 ac_ext=cpp
36591 ac_cpp='$CXXCPP $CPPFLAGS'
36592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36595
36596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36597 /* end confdefs.h. */
36598 #include <math.h>
36599 #ifdef HAVE_IEEEFP_H
36600 #include <ieeefp.h>
36601 #endif
36602
36603 int
36604 main ()
36605 {
36606 _isnanf(0);
36607 ;
36608 return 0;
36609 }
36610 _ACEOF
36611 if ac_fn_cxx_try_compile "$LINENO"; then :
36612 glibcxx_cv_func__isnanf_use=yes
36613 else
36614 glibcxx_cv_func__isnanf_use=no
36615 fi
36616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36617 ac_ext=c
36618 ac_cpp='$CPP $CPPFLAGS'
36619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36622
36623
36624 fi
36625
36626 fi
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36628 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36629
36630 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36631 for ac_func in _isnanf
36632 do :
36633 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36634 if test "x$ac_cv_func__isnanf" = x""yes; then :
36635 cat >>confdefs.h <<_ACEOF
36636 #define HAVE__ISNANF 1
36637 _ACEOF
36638
36639 fi
36640 done
36641
36642 fi
36643 fi
36644
36645
36646
36647
36648
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36650 $as_echo_n "checking for isinff declaration... " >&6; }
36651 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36652 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36653 $as_echo_n "(cached) " >&6
36654 else
36655
36656
36657 ac_ext=cpp
36658 ac_cpp='$CXXCPP $CPPFLAGS'
36659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36662
36663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36664 /* end confdefs.h. */
36665 #include <math.h>
36666 #ifdef HAVE_IEEEFP_H
36667 #include <ieeefp.h>
36668 #endif
36669
36670 int
36671 main ()
36672 {
36673 isinff(0);
36674 ;
36675 return 0;
36676 }
36677 _ACEOF
36678 if ac_fn_cxx_try_compile "$LINENO"; then :
36679 glibcxx_cv_func_isinff_use=yes
36680 else
36681 glibcxx_cv_func_isinff_use=no
36682 fi
36683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36684 ac_ext=c
36685 ac_cpp='$CPP $CPPFLAGS'
36686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36689
36690
36691 fi
36692
36693 fi
36694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36695 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36696
36697 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36698 for ac_func in isinff
36699 do :
36700 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36701 if test "x$ac_cv_func_isinff" = x""yes; then :
36702 cat >>confdefs.h <<_ACEOF
36703 #define HAVE_ISINFF 1
36704 _ACEOF
36705
36706 fi
36707 done
36708
36709 else
36710
36711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36712 $as_echo_n "checking for _isinff declaration... " >&6; }
36713 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36714 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36715 $as_echo_n "(cached) " >&6
36716 else
36717
36718
36719 ac_ext=cpp
36720 ac_cpp='$CXXCPP $CPPFLAGS'
36721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36724
36725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36726 /* end confdefs.h. */
36727 #include <math.h>
36728 #ifdef HAVE_IEEEFP_H
36729 #include <ieeefp.h>
36730 #endif
36731
36732 int
36733 main ()
36734 {
36735 _isinff(0);
36736 ;
36737 return 0;
36738 }
36739 _ACEOF
36740 if ac_fn_cxx_try_compile "$LINENO"; then :
36741 glibcxx_cv_func__isinff_use=yes
36742 else
36743 glibcxx_cv_func__isinff_use=no
36744 fi
36745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36746 ac_ext=c
36747 ac_cpp='$CPP $CPPFLAGS'
36748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36751
36752
36753 fi
36754
36755 fi
36756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36757 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36758
36759 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36760 for ac_func in _isinff
36761 do :
36762 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36763 if test "x$ac_cv_func__isinff" = x""yes; then :
36764 cat >>confdefs.h <<_ACEOF
36765 #define HAVE__ISINFF 1
36766 _ACEOF
36767
36768 fi
36769 done
36770
36771 fi
36772 fi
36773
36774
36775
36776
36777
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36779 $as_echo_n "checking for atan2f declaration... " >&6; }
36780 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36781 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36782 $as_echo_n "(cached) " >&6
36783 else
36784
36785
36786 ac_ext=cpp
36787 ac_cpp='$CXXCPP $CPPFLAGS'
36788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36791
36792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36793 /* end confdefs.h. */
36794 #include <math.h>
36795 int
36796 main ()
36797 {
36798 atan2f(0, 0);
36799 ;
36800 return 0;
36801 }
36802 _ACEOF
36803 if ac_fn_cxx_try_compile "$LINENO"; then :
36804 glibcxx_cv_func_atan2f_use=yes
36805 else
36806 glibcxx_cv_func_atan2f_use=no
36807 fi
36808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36809 ac_ext=c
36810 ac_cpp='$CPP $CPPFLAGS'
36811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36814
36815
36816 fi
36817
36818 fi
36819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36820 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36821
36822 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36823 for ac_func in atan2f
36824 do :
36825 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36826 if test "x$ac_cv_func_atan2f" = x""yes; then :
36827 cat >>confdefs.h <<_ACEOF
36828 #define HAVE_ATAN2F 1
36829 _ACEOF
36830
36831 fi
36832 done
36833
36834 else
36835
36836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36837 $as_echo_n "checking for _atan2f declaration... " >&6; }
36838 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36839 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36840 $as_echo_n "(cached) " >&6
36841 else
36842
36843
36844 ac_ext=cpp
36845 ac_cpp='$CXXCPP $CPPFLAGS'
36846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36849
36850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36851 /* end confdefs.h. */
36852 #include <math.h>
36853 int
36854 main ()
36855 {
36856 _atan2f(0, 0);
36857 ;
36858 return 0;
36859 }
36860 _ACEOF
36861 if ac_fn_cxx_try_compile "$LINENO"; then :
36862 glibcxx_cv_func__atan2f_use=yes
36863 else
36864 glibcxx_cv_func__atan2f_use=no
36865 fi
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867 ac_ext=c
36868 ac_cpp='$CPP $CPPFLAGS'
36869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36872
36873
36874 fi
36875
36876 fi
36877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36878 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36879
36880 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36881 for ac_func in _atan2f
36882 do :
36883 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36884 if test "x$ac_cv_func__atan2f" = x""yes; then :
36885 cat >>confdefs.h <<_ACEOF
36886 #define HAVE__ATAN2F 1
36887 _ACEOF
36888
36889 fi
36890 done
36891
36892 fi
36893 fi
36894
36895
36896
36897
36898
36899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36900 $as_echo_n "checking for fabsf declaration... " >&6; }
36901 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36902 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36903 $as_echo_n "(cached) " >&6
36904 else
36905
36906
36907 ac_ext=cpp
36908 ac_cpp='$CXXCPP $CPPFLAGS'
36909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36912
36913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36914 /* end confdefs.h. */
36915 #include <math.h>
36916 #ifdef HAVE_IEEEFP_H
36917 #include <ieeefp.h>
36918 #endif
36919
36920 int
36921 main ()
36922 {
36923 fabsf(0);
36924 ;
36925 return 0;
36926 }
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929 glibcxx_cv_func_fabsf_use=yes
36930 else
36931 glibcxx_cv_func_fabsf_use=no
36932 fi
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36939
36940
36941 fi
36942
36943 fi
36944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36945 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36946
36947 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36948 for ac_func in fabsf
36949 do :
36950 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36951 if test "x$ac_cv_func_fabsf" = x""yes; then :
36952 cat >>confdefs.h <<_ACEOF
36953 #define HAVE_FABSF 1
36954 _ACEOF
36955
36956 fi
36957 done
36958
36959 else
36960
36961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36962 $as_echo_n "checking for _fabsf declaration... " >&6; }
36963 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36964 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36965 $as_echo_n "(cached) " >&6
36966 else
36967
36968
36969 ac_ext=cpp
36970 ac_cpp='$CXXCPP $CPPFLAGS'
36971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36974
36975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36976 /* end confdefs.h. */
36977 #include <math.h>
36978 #ifdef HAVE_IEEEFP_H
36979 #include <ieeefp.h>
36980 #endif
36981
36982 int
36983 main ()
36984 {
36985 _fabsf(0);
36986 ;
36987 return 0;
36988 }
36989 _ACEOF
36990 if ac_fn_cxx_try_compile "$LINENO"; then :
36991 glibcxx_cv_func__fabsf_use=yes
36992 else
36993 glibcxx_cv_func__fabsf_use=no
36994 fi
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996 ac_ext=c
36997 ac_cpp='$CPP $CPPFLAGS'
36998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37001
37002
37003 fi
37004
37005 fi
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37007 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37008
37009 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37010 for ac_func in _fabsf
37011 do :
37012 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37013 if test "x$ac_cv_func__fabsf" = x""yes; then :
37014 cat >>confdefs.h <<_ACEOF
37015 #define HAVE__FABSF 1
37016 _ACEOF
37017
37018 fi
37019 done
37020
37021 fi
37022 fi
37023
37024
37025
37026
37027
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37029 $as_echo_n "checking for fmodf declaration... " >&6; }
37030 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37031 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37034
37035
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37041
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37045 int
37046 main ()
37047 {
37048 fmodf(0, 0);
37049 ;
37050 return 0;
37051 }
37052 _ACEOF
37053 if ac_fn_cxx_try_compile "$LINENO"; then :
37054 glibcxx_cv_func_fmodf_use=yes
37055 else
37056 glibcxx_cv_func_fmodf_use=no
37057 fi
37058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059 ac_ext=c
37060 ac_cpp='$CPP $CPPFLAGS'
37061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37064
37065
37066 fi
37067
37068 fi
37069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37070 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37071
37072 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37073 for ac_func in fmodf
37074 do :
37075 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37076 if test "x$ac_cv_func_fmodf" = x""yes; then :
37077 cat >>confdefs.h <<_ACEOF
37078 #define HAVE_FMODF 1
37079 _ACEOF
37080
37081 fi
37082 done
37083
37084 else
37085
37086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37087 $as_echo_n "checking for _fmodf declaration... " >&6; }
37088 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37089 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37090 $as_echo_n "(cached) " >&6
37091 else
37092
37093
37094 ac_ext=cpp
37095 ac_cpp='$CXXCPP $CPPFLAGS'
37096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37099
37100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37101 /* end confdefs.h. */
37102 #include <math.h>
37103 int
37104 main ()
37105 {
37106 _fmodf(0, 0);
37107 ;
37108 return 0;
37109 }
37110 _ACEOF
37111 if ac_fn_cxx_try_compile "$LINENO"; then :
37112 glibcxx_cv_func__fmodf_use=yes
37113 else
37114 glibcxx_cv_func__fmodf_use=no
37115 fi
37116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37117 ac_ext=c
37118 ac_cpp='$CPP $CPPFLAGS'
37119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37122
37123
37124 fi
37125
37126 fi
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37128 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37129
37130 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37131 for ac_func in _fmodf
37132 do :
37133 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37134 if test "x$ac_cv_func__fmodf" = x""yes; then :
37135 cat >>confdefs.h <<_ACEOF
37136 #define HAVE__FMODF 1
37137 _ACEOF
37138
37139 fi
37140 done
37141
37142 fi
37143 fi
37144
37145
37146
37147
37148
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37150 $as_echo_n "checking for frexpf declaration... " >&6; }
37151 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37152 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37153 $as_echo_n "(cached) " >&6
37154 else
37155
37156
37157 ac_ext=cpp
37158 ac_cpp='$CXXCPP $CPPFLAGS'
37159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37162
37163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37164 /* end confdefs.h. */
37165 #include <math.h>
37166 int
37167 main ()
37168 {
37169 frexpf(0, 0);
37170 ;
37171 return 0;
37172 }
37173 _ACEOF
37174 if ac_fn_cxx_try_compile "$LINENO"; then :
37175 glibcxx_cv_func_frexpf_use=yes
37176 else
37177 glibcxx_cv_func_frexpf_use=no
37178 fi
37179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37180 ac_ext=c
37181 ac_cpp='$CPP $CPPFLAGS'
37182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37185
37186
37187 fi
37188
37189 fi
37190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37191 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37192
37193 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37194 for ac_func in frexpf
37195 do :
37196 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37197 if test "x$ac_cv_func_frexpf" = x""yes; then :
37198 cat >>confdefs.h <<_ACEOF
37199 #define HAVE_FREXPF 1
37200 _ACEOF
37201
37202 fi
37203 done
37204
37205 else
37206
37207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37208 $as_echo_n "checking for _frexpf declaration... " >&6; }
37209 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37210 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37211 $as_echo_n "(cached) " >&6
37212 else
37213
37214
37215 ac_ext=cpp
37216 ac_cpp='$CXXCPP $CPPFLAGS'
37217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37220
37221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37222 /* end confdefs.h. */
37223 #include <math.h>
37224 int
37225 main ()
37226 {
37227 _frexpf(0, 0);
37228 ;
37229 return 0;
37230 }
37231 _ACEOF
37232 if ac_fn_cxx_try_compile "$LINENO"; then :
37233 glibcxx_cv_func__frexpf_use=yes
37234 else
37235 glibcxx_cv_func__frexpf_use=no
37236 fi
37237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37238 ac_ext=c
37239 ac_cpp='$CPP $CPPFLAGS'
37240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37243
37244
37245 fi
37246
37247 fi
37248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37249 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37250
37251 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37252 for ac_func in _frexpf
37253 do :
37254 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37255 if test "x$ac_cv_func__frexpf" = x""yes; then :
37256 cat >>confdefs.h <<_ACEOF
37257 #define HAVE__FREXPF 1
37258 _ACEOF
37259
37260 fi
37261 done
37262
37263 fi
37264 fi
37265
37266
37267
37268
37269
37270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37271 $as_echo_n "checking for hypotf declaration... " >&6; }
37272 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37273 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37274 $as_echo_n "(cached) " >&6
37275 else
37276
37277
37278 ac_ext=cpp
37279 ac_cpp='$CXXCPP $CPPFLAGS'
37280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37283
37284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37285 /* end confdefs.h. */
37286 #include <math.h>
37287 int
37288 main ()
37289 {
37290 hypotf(0, 0);
37291 ;
37292 return 0;
37293 }
37294 _ACEOF
37295 if ac_fn_cxx_try_compile "$LINENO"; then :
37296 glibcxx_cv_func_hypotf_use=yes
37297 else
37298 glibcxx_cv_func_hypotf_use=no
37299 fi
37300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37301 ac_ext=c
37302 ac_cpp='$CPP $CPPFLAGS'
37303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37306
37307
37308 fi
37309
37310 fi
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37312 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37313
37314 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37315 for ac_func in hypotf
37316 do :
37317 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37318 if test "x$ac_cv_func_hypotf" = x""yes; then :
37319 cat >>confdefs.h <<_ACEOF
37320 #define HAVE_HYPOTF 1
37321 _ACEOF
37322
37323 fi
37324 done
37325
37326 else
37327
37328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37329 $as_echo_n "checking for _hypotf declaration... " >&6; }
37330 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37331 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37332 $as_echo_n "(cached) " >&6
37333 else
37334
37335
37336 ac_ext=cpp
37337 ac_cpp='$CXXCPP $CPPFLAGS'
37338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37341
37342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37343 /* end confdefs.h. */
37344 #include <math.h>
37345 int
37346 main ()
37347 {
37348 _hypotf(0, 0);
37349 ;
37350 return 0;
37351 }
37352 _ACEOF
37353 if ac_fn_cxx_try_compile "$LINENO"; then :
37354 glibcxx_cv_func__hypotf_use=yes
37355 else
37356 glibcxx_cv_func__hypotf_use=no
37357 fi
37358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37359 ac_ext=c
37360 ac_cpp='$CPP $CPPFLAGS'
37361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37364
37365
37366 fi
37367
37368 fi
37369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37370 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37371
37372 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37373 for ac_func in _hypotf
37374 do :
37375 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37376 if test "x$ac_cv_func__hypotf" = x""yes; then :
37377 cat >>confdefs.h <<_ACEOF
37378 #define HAVE__HYPOTF 1
37379 _ACEOF
37380
37381 fi
37382 done
37383
37384 fi
37385 fi
37386
37387
37388
37389
37390
37391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37392 $as_echo_n "checking for ldexpf declaration... " >&6; }
37393 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37394 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37395 $as_echo_n "(cached) " >&6
37396 else
37397
37398
37399 ac_ext=cpp
37400 ac_cpp='$CXXCPP $CPPFLAGS'
37401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37404
37405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37406 /* end confdefs.h. */
37407 #include <math.h>
37408 int
37409 main ()
37410 {
37411 ldexpf(0, 0);
37412 ;
37413 return 0;
37414 }
37415 _ACEOF
37416 if ac_fn_cxx_try_compile "$LINENO"; then :
37417 glibcxx_cv_func_ldexpf_use=yes
37418 else
37419 glibcxx_cv_func_ldexpf_use=no
37420 fi
37421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37422 ac_ext=c
37423 ac_cpp='$CPP $CPPFLAGS'
37424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37427
37428
37429 fi
37430
37431 fi
37432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37433 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37434
37435 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37436 for ac_func in ldexpf
37437 do :
37438 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37439 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37440 cat >>confdefs.h <<_ACEOF
37441 #define HAVE_LDEXPF 1
37442 _ACEOF
37443
37444 fi
37445 done
37446
37447 else
37448
37449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37450 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37451 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37452 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37453 $as_echo_n "(cached) " >&6
37454 else
37455
37456
37457 ac_ext=cpp
37458 ac_cpp='$CXXCPP $CPPFLAGS'
37459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37462
37463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37464 /* end confdefs.h. */
37465 #include <math.h>
37466 int
37467 main ()
37468 {
37469 _ldexpf(0, 0);
37470 ;
37471 return 0;
37472 }
37473 _ACEOF
37474 if ac_fn_cxx_try_compile "$LINENO"; then :
37475 glibcxx_cv_func__ldexpf_use=yes
37476 else
37477 glibcxx_cv_func__ldexpf_use=no
37478 fi
37479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37480 ac_ext=c
37481 ac_cpp='$CPP $CPPFLAGS'
37482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37485
37486
37487 fi
37488
37489 fi
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37491 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37492
37493 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37494 for ac_func in _ldexpf
37495 do :
37496 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37497 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37498 cat >>confdefs.h <<_ACEOF
37499 #define HAVE__LDEXPF 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 logf declaration" >&5
37513 $as_echo_n "checking for logf declaration... " >&6; }
37514 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37515 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37516 $as_echo_n "(cached) " >&6
37517 else
37518
37519
37520 ac_ext=cpp
37521 ac_cpp='$CXXCPP $CPPFLAGS'
37522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37525
37526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37527 /* end confdefs.h. */
37528 #include <math.h>
37529 #ifdef HAVE_IEEEFP_H
37530 #include <ieeefp.h>
37531 #endif
37532
37533 int
37534 main ()
37535 {
37536 logf(0);
37537 ;
37538 return 0;
37539 }
37540 _ACEOF
37541 if ac_fn_cxx_try_compile "$LINENO"; then :
37542 glibcxx_cv_func_logf_use=yes
37543 else
37544 glibcxx_cv_func_logf_use=no
37545 fi
37546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37547 ac_ext=c
37548 ac_cpp='$CPP $CPPFLAGS'
37549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37552
37553
37554 fi
37555
37556 fi
37557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37558 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37559
37560 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37561 for ac_func in logf
37562 do :
37563 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37564 if test "x$ac_cv_func_logf" = x""yes; then :
37565 cat >>confdefs.h <<_ACEOF
37566 #define HAVE_LOGF 1
37567 _ACEOF
37568
37569 fi
37570 done
37571
37572 else
37573
37574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37575 $as_echo_n "checking for _logf declaration... " >&6; }
37576 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37577 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37578 $as_echo_n "(cached) " >&6
37579 else
37580
37581
37582 ac_ext=cpp
37583 ac_cpp='$CXXCPP $CPPFLAGS'
37584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37587
37588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37589 /* end confdefs.h. */
37590 #include <math.h>
37591 #ifdef HAVE_IEEEFP_H
37592 #include <ieeefp.h>
37593 #endif
37594
37595 int
37596 main ()
37597 {
37598 _logf(0);
37599 ;
37600 return 0;
37601 }
37602 _ACEOF
37603 if ac_fn_cxx_try_compile "$LINENO"; then :
37604 glibcxx_cv_func__logf_use=yes
37605 else
37606 glibcxx_cv_func__logf_use=no
37607 fi
37608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37609 ac_ext=c
37610 ac_cpp='$CPP $CPPFLAGS'
37611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37614
37615
37616 fi
37617
37618 fi
37619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37620 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37621
37622 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37623 for ac_func in _logf
37624 do :
37625 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37626 if test "x$ac_cv_func__logf" = x""yes; then :
37627 cat >>confdefs.h <<_ACEOF
37628 #define HAVE__LOGF 1
37629 _ACEOF
37630
37631 fi
37632 done
37633
37634 fi
37635 fi
37636
37637
37638
37639
37640
37641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37642 $as_echo_n "checking for log10f declaration... " >&6; }
37643 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37644 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37645 $as_echo_n "(cached) " >&6
37646 else
37647
37648
37649 ac_ext=cpp
37650 ac_cpp='$CXXCPP $CPPFLAGS'
37651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37654
37655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37656 /* end confdefs.h. */
37657 #include <math.h>
37658 #ifdef HAVE_IEEEFP_H
37659 #include <ieeefp.h>
37660 #endif
37661
37662 int
37663 main ()
37664 {
37665 log10f(0);
37666 ;
37667 return 0;
37668 }
37669 _ACEOF
37670 if ac_fn_cxx_try_compile "$LINENO"; then :
37671 glibcxx_cv_func_log10f_use=yes
37672 else
37673 glibcxx_cv_func_log10f_use=no
37674 fi
37675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37676 ac_ext=c
37677 ac_cpp='$CPP $CPPFLAGS'
37678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37681
37682
37683 fi
37684
37685 fi
37686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37687 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37688
37689 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37690 for ac_func in log10f
37691 do :
37692 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37693 if test "x$ac_cv_func_log10f" = x""yes; then :
37694 cat >>confdefs.h <<_ACEOF
37695 #define HAVE_LOG10F 1
37696 _ACEOF
37697
37698 fi
37699 done
37700
37701 else
37702
37703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37704 $as_echo_n "checking for _log10f declaration... " >&6; }
37705 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37706 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37707 $as_echo_n "(cached) " >&6
37708 else
37709
37710
37711 ac_ext=cpp
37712 ac_cpp='$CXXCPP $CPPFLAGS'
37713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37716
37717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37718 /* end confdefs.h. */
37719 #include <math.h>
37720 #ifdef HAVE_IEEEFP_H
37721 #include <ieeefp.h>
37722 #endif
37723
37724 int
37725 main ()
37726 {
37727 _log10f(0);
37728 ;
37729 return 0;
37730 }
37731 _ACEOF
37732 if ac_fn_cxx_try_compile "$LINENO"; then :
37733 glibcxx_cv_func__log10f_use=yes
37734 else
37735 glibcxx_cv_func__log10f_use=no
37736 fi
37737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37738 ac_ext=c
37739 ac_cpp='$CPP $CPPFLAGS'
37740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37743
37744
37745 fi
37746
37747 fi
37748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37749 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37750
37751 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37752 for ac_func in _log10f
37753 do :
37754 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37755 if test "x$ac_cv_func__log10f" = x""yes; then :
37756 cat >>confdefs.h <<_ACEOF
37757 #define HAVE__LOG10F 1
37758 _ACEOF
37759
37760 fi
37761 done
37762
37763 fi
37764 fi
37765
37766
37767
37768
37769
37770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37771 $as_echo_n "checking for modff declaration... " >&6; }
37772 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37773 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37774 $as_echo_n "(cached) " >&6
37775 else
37776
37777
37778 ac_ext=cpp
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37783
37784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37785 /* end confdefs.h. */
37786 #include <math.h>
37787 int
37788 main ()
37789 {
37790 modff(0, 0);
37791 ;
37792 return 0;
37793 }
37794 _ACEOF
37795 if ac_fn_cxx_try_compile "$LINENO"; then :
37796 glibcxx_cv_func_modff_use=yes
37797 else
37798 glibcxx_cv_func_modff_use=no
37799 fi
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 ac_ext=c
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806
37807
37808 fi
37809
37810 fi
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37812 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37813
37814 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37815 for ac_func in modff
37816 do :
37817 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37818 if test "x$ac_cv_func_modff" = x""yes; then :
37819 cat >>confdefs.h <<_ACEOF
37820 #define HAVE_MODFF 1
37821 _ACEOF
37822
37823 fi
37824 done
37825
37826 else
37827
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37829 $as_echo_n "checking for _modff declaration... " >&6; }
37830 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37831 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37832 $as_echo_n "(cached) " >&6
37833 else
37834
37835
37836 ac_ext=cpp
37837 ac_cpp='$CXXCPP $CPPFLAGS'
37838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37841
37842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37843 /* end confdefs.h. */
37844 #include <math.h>
37845 int
37846 main ()
37847 {
37848 _modff(0, 0);
37849 ;
37850 return 0;
37851 }
37852 _ACEOF
37853 if ac_fn_cxx_try_compile "$LINENO"; then :
37854 glibcxx_cv_func__modff_use=yes
37855 else
37856 glibcxx_cv_func__modff_use=no
37857 fi
37858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37859 ac_ext=c
37860 ac_cpp='$CPP $CPPFLAGS'
37861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37864
37865
37866 fi
37867
37868 fi
37869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37870 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37871
37872 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37873 for ac_func in _modff
37874 do :
37875 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37876 if test "x$ac_cv_func__modff" = x""yes; then :
37877 cat >>confdefs.h <<_ACEOF
37878 #define HAVE__MODFF 1
37879 _ACEOF
37880
37881 fi
37882 done
37883
37884 fi
37885 fi
37886
37887
37888
37889
37890
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37892 $as_echo_n "checking for modf declaration... " >&6; }
37893 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37894 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37895 $as_echo_n "(cached) " >&6
37896 else
37897
37898
37899 ac_ext=cpp
37900 ac_cpp='$CXXCPP $CPPFLAGS'
37901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37904
37905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37906 /* end confdefs.h. */
37907 #include <math.h>
37908 int
37909 main ()
37910 {
37911 modf(0, 0);
37912 ;
37913 return 0;
37914 }
37915 _ACEOF
37916 if ac_fn_cxx_try_compile "$LINENO"; then :
37917 glibcxx_cv_func_modf_use=yes
37918 else
37919 glibcxx_cv_func_modf_use=no
37920 fi
37921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37922 ac_ext=c
37923 ac_cpp='$CPP $CPPFLAGS'
37924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37927
37928
37929 fi
37930
37931 fi
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37933 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37934
37935 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37936 for ac_func in modf
37937 do :
37938 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37939 if test "x$ac_cv_func_modf" = x""yes; then :
37940 cat >>confdefs.h <<_ACEOF
37941 #define HAVE_MODF 1
37942 _ACEOF
37943
37944 fi
37945 done
37946
37947 else
37948
37949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37950 $as_echo_n "checking for _modf declaration... " >&6; }
37951 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37952 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37953 $as_echo_n "(cached) " >&6
37954 else
37955
37956
37957 ac_ext=cpp
37958 ac_cpp='$CXXCPP $CPPFLAGS'
37959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37962
37963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37964 /* end confdefs.h. */
37965 #include <math.h>
37966 int
37967 main ()
37968 {
37969 _modf(0, 0);
37970 ;
37971 return 0;
37972 }
37973 _ACEOF
37974 if ac_fn_cxx_try_compile "$LINENO"; then :
37975 glibcxx_cv_func__modf_use=yes
37976 else
37977 glibcxx_cv_func__modf_use=no
37978 fi
37979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37980 ac_ext=c
37981 ac_cpp='$CPP $CPPFLAGS'
37982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37985
37986
37987 fi
37988
37989 fi
37990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37991 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37992
37993 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37994 for ac_func in _modf
37995 do :
37996 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37997 if test "x$ac_cv_func__modf" = x""yes; then :
37998 cat >>confdefs.h <<_ACEOF
37999 #define HAVE__MODF 1
38000 _ACEOF
38001
38002 fi
38003 done
38004
38005 fi
38006 fi
38007
38008
38009
38010
38011
38012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38013 $as_echo_n "checking for powf declaration... " >&6; }
38014 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38015 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38016 $as_echo_n "(cached) " >&6
38017 else
38018
38019
38020 ac_ext=cpp
38021 ac_cpp='$CXXCPP $CPPFLAGS'
38022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38025
38026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38027 /* end confdefs.h. */
38028 #include <math.h>
38029 int
38030 main ()
38031 {
38032 powf(0, 0);
38033 ;
38034 return 0;
38035 }
38036 _ACEOF
38037 if ac_fn_cxx_try_compile "$LINENO"; then :
38038 glibcxx_cv_func_powf_use=yes
38039 else
38040 glibcxx_cv_func_powf_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_powf_use" >&5
38054 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38055
38056 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38057 for ac_func in powf
38058 do :
38059 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38060 if test "x$ac_cv_func_powf" = x""yes; then :
38061 cat >>confdefs.h <<_ACEOF
38062 #define HAVE_POWF 1
38063 _ACEOF
38064
38065 fi
38066 done
38067
38068 else
38069
38070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38071 $as_echo_n "checking for _powf declaration... " >&6; }
38072 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38073 if test "${glibcxx_cv_func__powf_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 int
38088 main ()
38089 {
38090 _powf(0, 0);
38091 ;
38092 return 0;
38093 }
38094 _ACEOF
38095 if ac_fn_cxx_try_compile "$LINENO"; then :
38096 glibcxx_cv_func__powf_use=yes
38097 else
38098 glibcxx_cv_func__powf_use=no
38099 fi
38100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38101 ac_ext=c
38102 ac_cpp='$CPP $CPPFLAGS'
38103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38106
38107
38108 fi
38109
38110 fi
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38112 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38113
38114 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38115 for ac_func in _powf
38116 do :
38117 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38118 if test "x$ac_cv_func__powf" = x""yes; then :
38119 cat >>confdefs.h <<_ACEOF
38120 #define HAVE__POWF 1
38121 _ACEOF
38122
38123 fi
38124 done
38125
38126 fi
38127 fi
38128
38129
38130
38131
38132
38133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38134 $as_echo_n "checking for sqrtf declaration... " >&6; }
38135 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38136 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38137 $as_echo_n "(cached) " >&6
38138 else
38139
38140
38141 ac_ext=cpp
38142 ac_cpp='$CXXCPP $CPPFLAGS'
38143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38146
38147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38148 /* end confdefs.h. */
38149 #include <math.h>
38150 #ifdef HAVE_IEEEFP_H
38151 #include <ieeefp.h>
38152 #endif
38153
38154 int
38155 main ()
38156 {
38157 sqrtf(0);
38158 ;
38159 return 0;
38160 }
38161 _ACEOF
38162 if ac_fn_cxx_try_compile "$LINENO"; then :
38163 glibcxx_cv_func_sqrtf_use=yes
38164 else
38165 glibcxx_cv_func_sqrtf_use=no
38166 fi
38167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38168 ac_ext=c
38169 ac_cpp='$CPP $CPPFLAGS'
38170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38173
38174
38175 fi
38176
38177 fi
38178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38179 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38180
38181 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38182 for ac_func in sqrtf
38183 do :
38184 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38185 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38186 cat >>confdefs.h <<_ACEOF
38187 #define HAVE_SQRTF 1
38188 _ACEOF
38189
38190 fi
38191 done
38192
38193 else
38194
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38196 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38197 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38198 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38199 $as_echo_n "(cached) " >&6
38200 else
38201
38202
38203 ac_ext=cpp
38204 ac_cpp='$CXXCPP $CPPFLAGS'
38205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38208
38209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38210 /* end confdefs.h. */
38211 #include <math.h>
38212 #ifdef HAVE_IEEEFP_H
38213 #include <ieeefp.h>
38214 #endif
38215
38216 int
38217 main ()
38218 {
38219 _sqrtf(0);
38220 ;
38221 return 0;
38222 }
38223 _ACEOF
38224 if ac_fn_cxx_try_compile "$LINENO"; then :
38225 glibcxx_cv_func__sqrtf_use=yes
38226 else
38227 glibcxx_cv_func__sqrtf_use=no
38228 fi
38229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38230 ac_ext=c
38231 ac_cpp='$CPP $CPPFLAGS'
38232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38235
38236
38237 fi
38238
38239 fi
38240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38241 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38242
38243 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38244 for ac_func in _sqrtf
38245 do :
38246 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38247 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38248 cat >>confdefs.h <<_ACEOF
38249 #define HAVE__SQRTF 1
38250 _ACEOF
38251
38252 fi
38253 done
38254
38255 fi
38256 fi
38257
38258
38259
38260
38261
38262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38263 $as_echo_n "checking for sincosf declaration... " >&6; }
38264 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38265 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38266 $as_echo_n "(cached) " >&6
38267 else
38268
38269
38270 ac_ext=cpp
38271 ac_cpp='$CXXCPP $CPPFLAGS'
38272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38275
38276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38277 /* end confdefs.h. */
38278 #include <math.h>
38279 int
38280 main ()
38281 {
38282 sincosf(0, 0, 0);
38283 ;
38284 return 0;
38285 }
38286 _ACEOF
38287 if ac_fn_cxx_try_compile "$LINENO"; then :
38288 glibcxx_cv_func_sincosf_use=yes
38289 else
38290 glibcxx_cv_func_sincosf_use=no
38291 fi
38292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38293 ac_ext=c
38294 ac_cpp='$CPP $CPPFLAGS'
38295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38298
38299
38300 fi
38301
38302 fi
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38304 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38305
38306 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38307 for ac_func in sincosf
38308 do :
38309 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38310 if test "x$ac_cv_func_sincosf" = x""yes; then :
38311 cat >>confdefs.h <<_ACEOF
38312 #define HAVE_SINCOSF 1
38313 _ACEOF
38314
38315 fi
38316 done
38317
38318 else
38319
38320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38321 $as_echo_n "checking for _sincosf declaration... " >&6; }
38322 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38323 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38324 $as_echo_n "(cached) " >&6
38325 else
38326
38327
38328 ac_ext=cpp
38329 ac_cpp='$CXXCPP $CPPFLAGS'
38330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38333
38334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38335 /* end confdefs.h. */
38336 #include <math.h>
38337 int
38338 main ()
38339 {
38340 _sincosf(0, 0, 0);
38341 ;
38342 return 0;
38343 }
38344 _ACEOF
38345 if ac_fn_cxx_try_compile "$LINENO"; then :
38346 glibcxx_cv_func__sincosf_use=yes
38347 else
38348 glibcxx_cv_func__sincosf_use=no
38349 fi
38350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38351 ac_ext=c
38352 ac_cpp='$CPP $CPPFLAGS'
38353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38356
38357
38358 fi
38359
38360 fi
38361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38362 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38363
38364 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38365 for ac_func in _sincosf
38366 do :
38367 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38368 if test "x$ac_cv_func__sincosf" = x""yes; then :
38369 cat >>confdefs.h <<_ACEOF
38370 #define HAVE__SINCOSF 1
38371 _ACEOF
38372
38373 fi
38374 done
38375
38376 fi
38377 fi
38378
38379
38380
38381
38382
38383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38384 $as_echo_n "checking for finitef declaration... " >&6; }
38385 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38386 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38387 $as_echo_n "(cached) " >&6
38388 else
38389
38390
38391 ac_ext=cpp
38392 ac_cpp='$CXXCPP $CPPFLAGS'
38393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38396
38397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38398 /* end confdefs.h. */
38399 #include <math.h>
38400 #ifdef HAVE_IEEEFP_H
38401 #include <ieeefp.h>
38402 #endif
38403
38404 int
38405 main ()
38406 {
38407 finitef(0);
38408 ;
38409 return 0;
38410 }
38411 _ACEOF
38412 if ac_fn_cxx_try_compile "$LINENO"; then :
38413 glibcxx_cv_func_finitef_use=yes
38414 else
38415 glibcxx_cv_func_finitef_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_finitef_use" >&5
38429 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38430
38431 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38432 for ac_func in finitef
38433 do :
38434 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38435 if test "x$ac_cv_func_finitef" = x""yes; then :
38436 cat >>confdefs.h <<_ACEOF
38437 #define HAVE_FINITEF 1
38438 _ACEOF
38439
38440 fi
38441 done
38442
38443 else
38444
38445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38446 $as_echo_n "checking for _finitef declaration... " >&6; }
38447 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38448 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
38463 #include <ieeefp.h>
38464 #endif
38465
38466 int
38467 main ()
38468 {
38469 _finitef(0);
38470 ;
38471 return 0;
38472 }
38473 _ACEOF
38474 if ac_fn_cxx_try_compile "$LINENO"; then :
38475 glibcxx_cv_func__finitef_use=yes
38476 else
38477 glibcxx_cv_func__finitef_use=no
38478 fi
38479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38480 ac_ext=c
38481 ac_cpp='$CPP $CPPFLAGS'
38482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38485
38486
38487 fi
38488
38489 fi
38490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38491 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38492
38493 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38494 for ac_func in _finitef
38495 do :
38496 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38497 if test "x$ac_cv_func__finitef" = x""yes; then :
38498 cat >>confdefs.h <<_ACEOF
38499 #define HAVE__FINITEF 1
38500 _ACEOF
38501
38502 fi
38503 done
38504
38505 fi
38506 fi
38507
38508
38509
38510
38511
38512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38513 $as_echo_n "checking for long double trig functions... " >&6; }
38514 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38515 $as_echo_n "(cached) " >&6
38516 else
38517
38518
38519 ac_ext=cpp
38520 ac_cpp='$CXXCPP $CPPFLAGS'
38521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38524
38525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38526 /* end confdefs.h. */
38527 #include <math.h>
38528 int
38529 main ()
38530 {
38531 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38532 ;
38533 return 0;
38534 }
38535 _ACEOF
38536 if ac_fn_cxx_try_compile "$LINENO"; then :
38537 glibcxx_cv_func_long_double_trig_use=yes
38538 else
38539 glibcxx_cv_func_long_double_trig_use=no
38540 fi
38541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38542 ac_ext=c
38543 ac_cpp='$CPP $CPPFLAGS'
38544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38547
38548 fi
38549
38550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38551 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38552 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38553 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38554 do :
38555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38557 eval as_val=\$$as_ac_var
38558 if test "x$as_val" = x""yes; then :
38559 cat >>confdefs.h <<_ACEOF
38560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38561 _ACEOF
38562
38563 fi
38564 done
38565
38566 else
38567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38568 $as_echo_n "checking for _long double trig functions... " >&6; }
38569 if test "${glibcxx_cv_func__long_double_trig_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 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38587 ;
38588 return 0;
38589 }
38590 _ACEOF
38591 if ac_fn_cxx_try_compile "$LINENO"; then :
38592 glibcxx_cv_func__long_double_trig_use=yes
38593 else
38594 glibcxx_cv_func__long_double_trig_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 fi
38604
38605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38606 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38607 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38608 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38609 do :
38610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38612 eval as_val=\$$as_ac_var
38613 if test "x$as_val" = x""yes; then :
38614 cat >>confdefs.h <<_ACEOF
38615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38616 _ACEOF
38617
38618 fi
38619 done
38620
38621 fi
38622 fi
38623
38624
38625
38626
38627
38628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38629 $as_echo_n "checking for long double round functions... " >&6; }
38630 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38631 $as_echo_n "(cached) " >&6
38632 else
38633
38634
38635 ac_ext=cpp
38636 ac_cpp='$CXXCPP $CPPFLAGS'
38637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38640
38641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38642 /* end confdefs.h. */
38643 #include <math.h>
38644 int
38645 main ()
38646 {
38647 ceill (0); floorl (0);
38648 ;
38649 return 0;
38650 }
38651 _ACEOF
38652 if ac_fn_cxx_try_compile "$LINENO"; then :
38653 glibcxx_cv_func_long_double_round_use=yes
38654 else
38655 glibcxx_cv_func_long_double_round_use=no
38656 fi
38657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38658 ac_ext=c
38659 ac_cpp='$CPP $CPPFLAGS'
38660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38663
38664 fi
38665
38666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38667 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38668 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38669 for ac_func in ceill floorl
38670 do :
38671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38673 eval as_val=\$$as_ac_var
38674 if test "x$as_val" = x""yes; then :
38675 cat >>confdefs.h <<_ACEOF
38676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38677 _ACEOF
38678
38679 fi
38680 done
38681
38682 else
38683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38684 $as_echo_n "checking for _long double round functions... " >&6; }
38685 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38686 $as_echo_n "(cached) " >&6
38687 else
38688
38689
38690 ac_ext=cpp
38691 ac_cpp='$CXXCPP $CPPFLAGS'
38692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38695
38696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38697 /* end confdefs.h. */
38698 #include <math.h>
38699 int
38700 main ()
38701 {
38702 _ceill (0); _floorl (0);
38703 ;
38704 return 0;
38705 }
38706 _ACEOF
38707 if ac_fn_cxx_try_compile "$LINENO"; then :
38708 glibcxx_cv_func__long_double_round_use=yes
38709 else
38710 glibcxx_cv_func__long_double_round_use=no
38711 fi
38712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38713 ac_ext=c
38714 ac_cpp='$CPP $CPPFLAGS'
38715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38718
38719 fi
38720
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38722 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38723 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38724 for ac_func in _ceill _floorl
38725 do :
38726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38728 eval as_val=\$$as_ac_var
38729 if test "x$as_val" = x""yes; then :
38730 cat >>confdefs.h <<_ACEOF
38731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38732 _ACEOF
38733
38734 fi
38735 done
38736
38737 fi
38738 fi
38739
38740
38741
38742
38743
38744
38745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38746 $as_echo_n "checking for isnanl declaration... " >&6; }
38747 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38748 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38749 $as_echo_n "(cached) " >&6
38750 else
38751
38752
38753 ac_ext=cpp
38754 ac_cpp='$CXXCPP $CPPFLAGS'
38755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38758
38759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38760 /* end confdefs.h. */
38761 #include <math.h>
38762 #ifdef HAVE_IEEEFP_H
38763 #include <ieeefp.h>
38764 #endif
38765
38766 int
38767 main ()
38768 {
38769 isnanl(0);
38770 ;
38771 return 0;
38772 }
38773 _ACEOF
38774 if ac_fn_cxx_try_compile "$LINENO"; then :
38775 glibcxx_cv_func_isnanl_use=yes
38776 else
38777 glibcxx_cv_func_isnanl_use=no
38778 fi
38779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38780 ac_ext=c
38781 ac_cpp='$CPP $CPPFLAGS'
38782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38785
38786
38787 fi
38788
38789 fi
38790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38791 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38792
38793 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38794 for ac_func in isnanl
38795 do :
38796 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38797 if test "x$ac_cv_func_isnanl" = x""yes; then :
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_ISNANL 1
38800 _ACEOF
38801
38802 fi
38803 done
38804
38805 else
38806
38807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38808 $as_echo_n "checking for _isnanl declaration... " >&6; }
38809 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38810 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38811 $as_echo_n "(cached) " >&6
38812 else
38813
38814
38815 ac_ext=cpp
38816 ac_cpp='$CXXCPP $CPPFLAGS'
38817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38820
38821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h. */
38823 #include <math.h>
38824 #ifdef HAVE_IEEEFP_H
38825 #include <ieeefp.h>
38826 #endif
38827
38828 int
38829 main ()
38830 {
38831 _isnanl(0);
38832 ;
38833 return 0;
38834 }
38835 _ACEOF
38836 if ac_fn_cxx_try_compile "$LINENO"; then :
38837 glibcxx_cv_func__isnanl_use=yes
38838 else
38839 glibcxx_cv_func__isnanl_use=no
38840 fi
38841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38842 ac_ext=c
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38847
38848
38849 fi
38850
38851 fi
38852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38853 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38854
38855 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38856 for ac_func in _isnanl
38857 do :
38858 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38859 if test "x$ac_cv_func__isnanl" = x""yes; then :
38860 cat >>confdefs.h <<_ACEOF
38861 #define HAVE__ISNANL 1
38862 _ACEOF
38863
38864 fi
38865 done
38866
38867 fi
38868 fi
38869
38870
38871
38872
38873
38874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38875 $as_echo_n "checking for isinfl declaration... " >&6; }
38876 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38877 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38878 $as_echo_n "(cached) " >&6
38879 else
38880
38881
38882 ac_ext=cpp
38883 ac_cpp='$CXXCPP $CPPFLAGS'
38884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38887
38888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38889 /* end confdefs.h. */
38890 #include <math.h>
38891 #ifdef HAVE_IEEEFP_H
38892 #include <ieeefp.h>
38893 #endif
38894
38895 int
38896 main ()
38897 {
38898 isinfl(0);
38899 ;
38900 return 0;
38901 }
38902 _ACEOF
38903 if ac_fn_cxx_try_compile "$LINENO"; then :
38904 glibcxx_cv_func_isinfl_use=yes
38905 else
38906 glibcxx_cv_func_isinfl_use=no
38907 fi
38908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38909 ac_ext=c
38910 ac_cpp='$CPP $CPPFLAGS'
38911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38914
38915
38916 fi
38917
38918 fi
38919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38920 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38921
38922 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38923 for ac_func in isinfl
38924 do :
38925 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38926 if test "x$ac_cv_func_isinfl" = x""yes; then :
38927 cat >>confdefs.h <<_ACEOF
38928 #define HAVE_ISINFL 1
38929 _ACEOF
38930
38931 fi
38932 done
38933
38934 else
38935
38936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38937 $as_echo_n "checking for _isinfl declaration... " >&6; }
38938 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38939 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38940 $as_echo_n "(cached) " >&6
38941 else
38942
38943
38944 ac_ext=cpp
38945 ac_cpp='$CXXCPP $CPPFLAGS'
38946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38949
38950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38951 /* end confdefs.h. */
38952 #include <math.h>
38953 #ifdef HAVE_IEEEFP_H
38954 #include <ieeefp.h>
38955 #endif
38956
38957 int
38958 main ()
38959 {
38960 _isinfl(0);
38961 ;
38962 return 0;
38963 }
38964 _ACEOF
38965 if ac_fn_cxx_try_compile "$LINENO"; then :
38966 glibcxx_cv_func__isinfl_use=yes
38967 else
38968 glibcxx_cv_func__isinfl_use=no
38969 fi
38970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38971 ac_ext=c
38972 ac_cpp='$CPP $CPPFLAGS'
38973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38976
38977
38978 fi
38979
38980 fi
38981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38982 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38983
38984 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38985 for ac_func in _isinfl
38986 do :
38987 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38988 if test "x$ac_cv_func__isinfl" = x""yes; then :
38989 cat >>confdefs.h <<_ACEOF
38990 #define HAVE__ISINFL 1
38991 _ACEOF
38992
38993 fi
38994 done
38995
38996 fi
38997 fi
38998
38999
39000
39001
39002
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39004 $as_echo_n "checking for atan2l declaration... " >&6; }
39005 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39006 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39007 $as_echo_n "(cached) " >&6
39008 else
39009
39010
39011 ac_ext=cpp
39012 ac_cpp='$CXXCPP $CPPFLAGS'
39013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39016
39017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39018 /* end confdefs.h. */
39019 #include <math.h>
39020 int
39021 main ()
39022 {
39023 atan2l(0, 0);
39024 ;
39025 return 0;
39026 }
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029 glibcxx_cv_func_atan2l_use=yes
39030 else
39031 glibcxx_cv_func_atan2l_use=no
39032 fi
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39039
39040
39041 fi
39042
39043 fi
39044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39045 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39046
39047 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39048 for ac_func in atan2l
39049 do :
39050 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39051 if test "x$ac_cv_func_atan2l" = x""yes; then :
39052 cat >>confdefs.h <<_ACEOF
39053 #define HAVE_ATAN2L 1
39054 _ACEOF
39055
39056 fi
39057 done
39058
39059 else
39060
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39062 $as_echo_n "checking for _atan2l declaration... " >&6; }
39063 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39064 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39065 $as_echo_n "(cached) " >&6
39066 else
39067
39068
39069 ac_ext=cpp
39070 ac_cpp='$CXXCPP $CPPFLAGS'
39071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39074
39075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39076 /* end confdefs.h. */
39077 #include <math.h>
39078 int
39079 main ()
39080 {
39081 _atan2l(0, 0);
39082 ;
39083 return 0;
39084 }
39085 _ACEOF
39086 if ac_fn_cxx_try_compile "$LINENO"; then :
39087 glibcxx_cv_func__atan2l_use=yes
39088 else
39089 glibcxx_cv_func__atan2l_use=no
39090 fi
39091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39092 ac_ext=c
39093 ac_cpp='$CPP $CPPFLAGS'
39094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39097
39098
39099 fi
39100
39101 fi
39102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39103 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39104
39105 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39106 for ac_func in _atan2l
39107 do :
39108 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39109 if test "x$ac_cv_func__atan2l" = x""yes; then :
39110 cat >>confdefs.h <<_ACEOF
39111 #define HAVE__ATAN2L 1
39112 _ACEOF
39113
39114 fi
39115 done
39116
39117 fi
39118 fi
39119
39120
39121
39122
39123
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39125 $as_echo_n "checking for expl declaration... " >&6; }
39126 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39127 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39128 $as_echo_n "(cached) " >&6
39129 else
39130
39131
39132 ac_ext=cpp
39133 ac_cpp='$CXXCPP $CPPFLAGS'
39134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39137
39138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39139 /* end confdefs.h. */
39140 #include <math.h>
39141 #ifdef HAVE_IEEEFP_H
39142 #include <ieeefp.h>
39143 #endif
39144
39145 int
39146 main ()
39147 {
39148 expl(0);
39149 ;
39150 return 0;
39151 }
39152 _ACEOF
39153 if ac_fn_cxx_try_compile "$LINENO"; then :
39154 glibcxx_cv_func_expl_use=yes
39155 else
39156 glibcxx_cv_func_expl_use=no
39157 fi
39158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39159 ac_ext=c
39160 ac_cpp='$CPP $CPPFLAGS'
39161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39164
39165
39166 fi
39167
39168 fi
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39170 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39171
39172 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39173 for ac_func in expl
39174 do :
39175 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39176 if test "x$ac_cv_func_expl" = x""yes; then :
39177 cat >>confdefs.h <<_ACEOF
39178 #define HAVE_EXPL 1
39179 _ACEOF
39180
39181 fi
39182 done
39183
39184 else
39185
39186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39187 $as_echo_n "checking for _expl declaration... " >&6; }
39188 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39189 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39190 $as_echo_n "(cached) " >&6
39191 else
39192
39193
39194 ac_ext=cpp
39195 ac_cpp='$CXXCPP $CPPFLAGS'
39196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199
39200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39201 /* end confdefs.h. */
39202 #include <math.h>
39203 #ifdef HAVE_IEEEFP_H
39204 #include <ieeefp.h>
39205 #endif
39206
39207 int
39208 main ()
39209 {
39210 _expl(0);
39211 ;
39212 return 0;
39213 }
39214 _ACEOF
39215 if ac_fn_cxx_try_compile "$LINENO"; then :
39216 glibcxx_cv_func__expl_use=yes
39217 else
39218 glibcxx_cv_func__expl_use=no
39219 fi
39220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39221 ac_ext=c
39222 ac_cpp='$CPP $CPPFLAGS'
39223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39226
39227
39228 fi
39229
39230 fi
39231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39232 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39233
39234 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39235 for ac_func in _expl
39236 do :
39237 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39238 if test "x$ac_cv_func__expl" = x""yes; then :
39239 cat >>confdefs.h <<_ACEOF
39240 #define HAVE__EXPL 1
39241 _ACEOF
39242
39243 fi
39244 done
39245
39246 fi
39247 fi
39248
39249
39250
39251
39252
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39254 $as_echo_n "checking for fabsl declaration... " >&6; }
39255 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39256 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39257 $as_echo_n "(cached) " >&6
39258 else
39259
39260
39261 ac_ext=cpp
39262 ac_cpp='$CXXCPP $CPPFLAGS'
39263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39266
39267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39268 /* end confdefs.h. */
39269 #include <math.h>
39270 #ifdef HAVE_IEEEFP_H
39271 #include <ieeefp.h>
39272 #endif
39273
39274 int
39275 main ()
39276 {
39277 fabsl(0);
39278 ;
39279 return 0;
39280 }
39281 _ACEOF
39282 if ac_fn_cxx_try_compile "$LINENO"; then :
39283 glibcxx_cv_func_fabsl_use=yes
39284 else
39285 glibcxx_cv_func_fabsl_use=no
39286 fi
39287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39288 ac_ext=c
39289 ac_cpp='$CPP $CPPFLAGS'
39290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39293
39294
39295 fi
39296
39297 fi
39298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39299 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39300
39301 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39302 for ac_func in fabsl
39303 do :
39304 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39305 if test "x$ac_cv_func_fabsl" = x""yes; then :
39306 cat >>confdefs.h <<_ACEOF
39307 #define HAVE_FABSL 1
39308 _ACEOF
39309
39310 fi
39311 done
39312
39313 else
39314
39315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39316 $as_echo_n "checking for _fabsl declaration... " >&6; }
39317 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39318 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39319 $as_echo_n "(cached) " >&6
39320 else
39321
39322
39323 ac_ext=cpp
39324 ac_cpp='$CXXCPP $CPPFLAGS'
39325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39328
39329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39330 /* end confdefs.h. */
39331 #include <math.h>
39332 #ifdef HAVE_IEEEFP_H
39333 #include <ieeefp.h>
39334 #endif
39335
39336 int
39337 main ()
39338 {
39339 _fabsl(0);
39340 ;
39341 return 0;
39342 }
39343 _ACEOF
39344 if ac_fn_cxx_try_compile "$LINENO"; then :
39345 glibcxx_cv_func__fabsl_use=yes
39346 else
39347 glibcxx_cv_func__fabsl_use=no
39348 fi
39349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39350 ac_ext=c
39351 ac_cpp='$CPP $CPPFLAGS'
39352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39355
39356
39357 fi
39358
39359 fi
39360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39361 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39362
39363 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39364 for ac_func in _fabsl
39365 do :
39366 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39367 if test "x$ac_cv_func__fabsl" = x""yes; then :
39368 cat >>confdefs.h <<_ACEOF
39369 #define HAVE__FABSL 1
39370 _ACEOF
39371
39372 fi
39373 done
39374
39375 fi
39376 fi
39377
39378
39379
39380
39381
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39383 $as_echo_n "checking for fmodl declaration... " >&6; }
39384 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39385 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39386 $as_echo_n "(cached) " >&6
39387 else
39388
39389
39390 ac_ext=cpp
39391 ac_cpp='$CXXCPP $CPPFLAGS'
39392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39395
39396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39397 /* end confdefs.h. */
39398 #include <math.h>
39399 int
39400 main ()
39401 {
39402 fmodl(0, 0);
39403 ;
39404 return 0;
39405 }
39406 _ACEOF
39407 if ac_fn_cxx_try_compile "$LINENO"; then :
39408 glibcxx_cv_func_fmodl_use=yes
39409 else
39410 glibcxx_cv_func_fmodl_use=no
39411 fi
39412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39413 ac_ext=c
39414 ac_cpp='$CPP $CPPFLAGS'
39415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39418
39419
39420 fi
39421
39422 fi
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39424 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39425
39426 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39427 for ac_func in fmodl
39428 do :
39429 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39430 if test "x$ac_cv_func_fmodl" = x""yes; then :
39431 cat >>confdefs.h <<_ACEOF
39432 #define HAVE_FMODL 1
39433 _ACEOF
39434
39435 fi
39436 done
39437
39438 else
39439
39440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39441 $as_echo_n "checking for _fmodl declaration... " >&6; }
39442 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39443 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39444 $as_echo_n "(cached) " >&6
39445 else
39446
39447
39448 ac_ext=cpp
39449 ac_cpp='$CXXCPP $CPPFLAGS'
39450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39453
39454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39455 /* end confdefs.h. */
39456 #include <math.h>
39457 int
39458 main ()
39459 {
39460 _fmodl(0, 0);
39461 ;
39462 return 0;
39463 }
39464 _ACEOF
39465 if ac_fn_cxx_try_compile "$LINENO"; then :
39466 glibcxx_cv_func__fmodl_use=yes
39467 else
39468 glibcxx_cv_func__fmodl_use=no
39469 fi
39470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39471 ac_ext=c
39472 ac_cpp='$CPP $CPPFLAGS'
39473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39476
39477
39478 fi
39479
39480 fi
39481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39482 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39483
39484 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39485 for ac_func in _fmodl
39486 do :
39487 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39488 if test "x$ac_cv_func__fmodl" = x""yes; then :
39489 cat >>confdefs.h <<_ACEOF
39490 #define HAVE__FMODL 1
39491 _ACEOF
39492
39493 fi
39494 done
39495
39496 fi
39497 fi
39498
39499
39500
39501
39502
39503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39504 $as_echo_n "checking for frexpl declaration... " >&6; }
39505 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39506 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39507 $as_echo_n "(cached) " >&6
39508 else
39509
39510
39511 ac_ext=cpp
39512 ac_cpp='$CXXCPP $CPPFLAGS'
39513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39516
39517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39518 /* end confdefs.h. */
39519 #include <math.h>
39520 int
39521 main ()
39522 {
39523 frexpl(0, 0);
39524 ;
39525 return 0;
39526 }
39527 _ACEOF
39528 if ac_fn_cxx_try_compile "$LINENO"; then :
39529 glibcxx_cv_func_frexpl_use=yes
39530 else
39531 glibcxx_cv_func_frexpl_use=no
39532 fi
39533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39534 ac_ext=c
39535 ac_cpp='$CPP $CPPFLAGS'
39536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39539
39540
39541 fi
39542
39543 fi
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39545 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39546
39547 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39548 for ac_func in frexpl
39549 do :
39550 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39551 if test "x$ac_cv_func_frexpl" = x""yes; then :
39552 cat >>confdefs.h <<_ACEOF
39553 #define HAVE_FREXPL 1
39554 _ACEOF
39555
39556 fi
39557 done
39558
39559 else
39560
39561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39562 $as_echo_n "checking for _frexpl declaration... " >&6; }
39563 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39564 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39565 $as_echo_n "(cached) " >&6
39566 else
39567
39568
39569 ac_ext=cpp
39570 ac_cpp='$CXXCPP $CPPFLAGS'
39571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39574
39575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39576 /* end confdefs.h. */
39577 #include <math.h>
39578 int
39579 main ()
39580 {
39581 _frexpl(0, 0);
39582 ;
39583 return 0;
39584 }
39585 _ACEOF
39586 if ac_fn_cxx_try_compile "$LINENO"; then :
39587 glibcxx_cv_func__frexpl_use=yes
39588 else
39589 glibcxx_cv_func__frexpl_use=no
39590 fi
39591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39592 ac_ext=c
39593 ac_cpp='$CPP $CPPFLAGS'
39594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39597
39598
39599 fi
39600
39601 fi
39602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39603 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39604
39605 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39606 for ac_func in _frexpl
39607 do :
39608 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39609 if test "x$ac_cv_func__frexpl" = x""yes; then :
39610 cat >>confdefs.h <<_ACEOF
39611 #define HAVE__FREXPL 1
39612 _ACEOF
39613
39614 fi
39615 done
39616
39617 fi
39618 fi
39619
39620
39621
39622
39623
39624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39625 $as_echo_n "checking for hypotl declaration... " >&6; }
39626 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39627 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39628 $as_echo_n "(cached) " >&6
39629 else
39630
39631
39632 ac_ext=cpp
39633 ac_cpp='$CXXCPP $CPPFLAGS'
39634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39637
39638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39639 /* end confdefs.h. */
39640 #include <math.h>
39641 int
39642 main ()
39643 {
39644 hypotl(0, 0);
39645 ;
39646 return 0;
39647 }
39648 _ACEOF
39649 if ac_fn_cxx_try_compile "$LINENO"; then :
39650 glibcxx_cv_func_hypotl_use=yes
39651 else
39652 glibcxx_cv_func_hypotl_use=no
39653 fi
39654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39655 ac_ext=c
39656 ac_cpp='$CPP $CPPFLAGS'
39657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39660
39661
39662 fi
39663
39664 fi
39665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39666 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39667
39668 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39669 for ac_func in hypotl
39670 do :
39671 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39672 if test "x$ac_cv_func_hypotl" = x""yes; then :
39673 cat >>confdefs.h <<_ACEOF
39674 #define HAVE_HYPOTL 1
39675 _ACEOF
39676
39677 fi
39678 done
39679
39680 else
39681
39682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39683 $as_echo_n "checking for _hypotl declaration... " >&6; }
39684 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39685 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39686 $as_echo_n "(cached) " >&6
39687 else
39688
39689
39690 ac_ext=cpp
39691 ac_cpp='$CXXCPP $CPPFLAGS'
39692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39695
39696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39697 /* end confdefs.h. */
39698 #include <math.h>
39699 int
39700 main ()
39701 {
39702 _hypotl(0, 0);
39703 ;
39704 return 0;
39705 }
39706 _ACEOF
39707 if ac_fn_cxx_try_compile "$LINENO"; then :
39708 glibcxx_cv_func__hypotl_use=yes
39709 else
39710 glibcxx_cv_func__hypotl_use=no
39711 fi
39712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39713 ac_ext=c
39714 ac_cpp='$CPP $CPPFLAGS'
39715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39718
39719
39720 fi
39721
39722 fi
39723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39724 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39725
39726 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39727 for ac_func in _hypotl
39728 do :
39729 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39730 if test "x$ac_cv_func__hypotl" = x""yes; then :
39731 cat >>confdefs.h <<_ACEOF
39732 #define HAVE__HYPOTL 1
39733 _ACEOF
39734
39735 fi
39736 done
39737
39738 fi
39739 fi
39740
39741
39742
39743
39744
39745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39746 $as_echo_n "checking for ldexpl declaration... " >&6; }
39747 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39748 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39749 $as_echo_n "(cached) " >&6
39750 else
39751
39752
39753 ac_ext=cpp
39754 ac_cpp='$CXXCPP $CPPFLAGS'
39755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39758
39759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39760 /* end confdefs.h. */
39761 #include <math.h>
39762 int
39763 main ()
39764 {
39765 ldexpl(0, 0);
39766 ;
39767 return 0;
39768 }
39769 _ACEOF
39770 if ac_fn_cxx_try_compile "$LINENO"; then :
39771 glibcxx_cv_func_ldexpl_use=yes
39772 else
39773 glibcxx_cv_func_ldexpl_use=no
39774 fi
39775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39776 ac_ext=c
39777 ac_cpp='$CPP $CPPFLAGS'
39778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39781
39782
39783 fi
39784
39785 fi
39786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39787 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39788
39789 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39790 for ac_func in ldexpl
39791 do :
39792 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39793 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39794 cat >>confdefs.h <<_ACEOF
39795 #define HAVE_LDEXPL 1
39796 _ACEOF
39797
39798 fi
39799 done
39800
39801 else
39802
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39804 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39805 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39806 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39807 $as_echo_n "(cached) " >&6
39808 else
39809
39810
39811 ac_ext=cpp
39812 ac_cpp='$CXXCPP $CPPFLAGS'
39813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39816
39817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39818 /* end confdefs.h. */
39819 #include <math.h>
39820 int
39821 main ()
39822 {
39823 _ldexpl(0, 0);
39824 ;
39825 return 0;
39826 }
39827 _ACEOF
39828 if ac_fn_cxx_try_compile "$LINENO"; then :
39829 glibcxx_cv_func__ldexpl_use=yes
39830 else
39831 glibcxx_cv_func__ldexpl_use=no
39832 fi
39833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39834 ac_ext=c
39835 ac_cpp='$CPP $CPPFLAGS'
39836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39839
39840
39841 fi
39842
39843 fi
39844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39845 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39846
39847 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39848 for ac_func in _ldexpl
39849 do :
39850 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39851 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39852 cat >>confdefs.h <<_ACEOF
39853 #define HAVE__LDEXPL 1
39854 _ACEOF
39855
39856 fi
39857 done
39858
39859 fi
39860 fi
39861
39862
39863
39864
39865
39866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39867 $as_echo_n "checking for logl declaration... " >&6; }
39868 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39869 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39870 $as_echo_n "(cached) " >&6
39871 else
39872
39873
39874 ac_ext=cpp
39875 ac_cpp='$CXXCPP $CPPFLAGS'
39876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39879
39880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39881 /* end confdefs.h. */
39882 #include <math.h>
39883 #ifdef HAVE_IEEEFP_H
39884 #include <ieeefp.h>
39885 #endif
39886
39887 int
39888 main ()
39889 {
39890 logl(0);
39891 ;
39892 return 0;
39893 }
39894 _ACEOF
39895 if ac_fn_cxx_try_compile "$LINENO"; then :
39896 glibcxx_cv_func_logl_use=yes
39897 else
39898 glibcxx_cv_func_logl_use=no
39899 fi
39900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39901 ac_ext=c
39902 ac_cpp='$CPP $CPPFLAGS'
39903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39906
39907
39908 fi
39909
39910 fi
39911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39912 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39913
39914 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39915 for ac_func in logl
39916 do :
39917 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39918 if test "x$ac_cv_func_logl" = x""yes; then :
39919 cat >>confdefs.h <<_ACEOF
39920 #define HAVE_LOGL 1
39921 _ACEOF
39922
39923 fi
39924 done
39925
39926 else
39927
39928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39929 $as_echo_n "checking for _logl declaration... " >&6; }
39930 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39931 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39932 $as_echo_n "(cached) " >&6
39933 else
39934
39935
39936 ac_ext=cpp
39937 ac_cpp='$CXXCPP $CPPFLAGS'
39938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39941
39942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39943 /* end confdefs.h. */
39944 #include <math.h>
39945 #ifdef HAVE_IEEEFP_H
39946 #include <ieeefp.h>
39947 #endif
39948
39949 int
39950 main ()
39951 {
39952 _logl(0);
39953 ;
39954 return 0;
39955 }
39956 _ACEOF
39957 if ac_fn_cxx_try_compile "$LINENO"; then :
39958 glibcxx_cv_func__logl_use=yes
39959 else
39960 glibcxx_cv_func__logl_use=no
39961 fi
39962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39963 ac_ext=c
39964 ac_cpp='$CPP $CPPFLAGS'
39965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39968
39969
39970 fi
39971
39972 fi
39973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39974 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39975
39976 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39977 for ac_func in _logl
39978 do :
39979 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39980 if test "x$ac_cv_func__logl" = x""yes; then :
39981 cat >>confdefs.h <<_ACEOF
39982 #define HAVE__LOGL 1
39983 _ACEOF
39984
39985 fi
39986 done
39987
39988 fi
39989 fi
39990
39991
39992
39993
39994
39995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39996 $as_echo_n "checking for log10l declaration... " >&6; }
39997 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39998 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39999 $as_echo_n "(cached) " >&6
40000 else
40001
40002
40003 ac_ext=cpp
40004 ac_cpp='$CXXCPP $CPPFLAGS'
40005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40008
40009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40010 /* end confdefs.h. */
40011 #include <math.h>
40012 #ifdef HAVE_IEEEFP_H
40013 #include <ieeefp.h>
40014 #endif
40015
40016 int
40017 main ()
40018 {
40019 log10l(0);
40020 ;
40021 return 0;
40022 }
40023 _ACEOF
40024 if ac_fn_cxx_try_compile "$LINENO"; then :
40025 glibcxx_cv_func_log10l_use=yes
40026 else
40027 glibcxx_cv_func_log10l_use=no
40028 fi
40029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40030 ac_ext=c
40031 ac_cpp='$CPP $CPPFLAGS'
40032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40035
40036
40037 fi
40038
40039 fi
40040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40041 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40042
40043 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40044 for ac_func in log10l
40045 do :
40046 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40047 if test "x$ac_cv_func_log10l" = x""yes; then :
40048 cat >>confdefs.h <<_ACEOF
40049 #define HAVE_LOG10L 1
40050 _ACEOF
40051
40052 fi
40053 done
40054
40055 else
40056
40057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40058 $as_echo_n "checking for _log10l declaration... " >&6; }
40059 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40060 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40061 $as_echo_n "(cached) " >&6
40062 else
40063
40064
40065 ac_ext=cpp
40066 ac_cpp='$CXXCPP $CPPFLAGS'
40067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40070
40071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40072 /* end confdefs.h. */
40073 #include <math.h>
40074 #ifdef HAVE_IEEEFP_H
40075 #include <ieeefp.h>
40076 #endif
40077
40078 int
40079 main ()
40080 {
40081 _log10l(0);
40082 ;
40083 return 0;
40084 }
40085 _ACEOF
40086 if ac_fn_cxx_try_compile "$LINENO"; then :
40087 glibcxx_cv_func__log10l_use=yes
40088 else
40089 glibcxx_cv_func__log10l_use=no
40090 fi
40091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40092 ac_ext=c
40093 ac_cpp='$CPP $CPPFLAGS'
40094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40097
40098
40099 fi
40100
40101 fi
40102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40103 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40104
40105 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40106 for ac_func in _log10l
40107 do :
40108 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40109 if test "x$ac_cv_func__log10l" = x""yes; then :
40110 cat >>confdefs.h <<_ACEOF
40111 #define HAVE__LOG10L 1
40112 _ACEOF
40113
40114 fi
40115 done
40116
40117 fi
40118 fi
40119
40120
40121
40122
40123
40124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40125 $as_echo_n "checking for modfl declaration... " >&6; }
40126 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40127 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40128 $as_echo_n "(cached) " >&6
40129 else
40130
40131
40132 ac_ext=cpp
40133 ac_cpp='$CXXCPP $CPPFLAGS'
40134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40137
40138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40139 /* end confdefs.h. */
40140 #include <math.h>
40141 int
40142 main ()
40143 {
40144 modfl(0, 0);
40145 ;
40146 return 0;
40147 }
40148 _ACEOF
40149 if ac_fn_cxx_try_compile "$LINENO"; then :
40150 glibcxx_cv_func_modfl_use=yes
40151 else
40152 glibcxx_cv_func_modfl_use=no
40153 fi
40154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155 ac_ext=c
40156 ac_cpp='$CPP $CPPFLAGS'
40157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40160
40161
40162 fi
40163
40164 fi
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40166 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40167
40168 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40169 for ac_func in modfl
40170 do :
40171 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40172 if test "x$ac_cv_func_modfl" = x""yes; then :
40173 cat >>confdefs.h <<_ACEOF
40174 #define HAVE_MODFL 1
40175 _ACEOF
40176
40177 fi
40178 done
40179
40180 else
40181
40182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40183 $as_echo_n "checking for _modfl declaration... " >&6; }
40184 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40185 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40186 $as_echo_n "(cached) " >&6
40187 else
40188
40189
40190 ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40195
40196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197 /* end confdefs.h. */
40198 #include <math.h>
40199 int
40200 main ()
40201 {
40202 _modfl(0, 0);
40203 ;
40204 return 0;
40205 }
40206 _ACEOF
40207 if ac_fn_cxx_try_compile "$LINENO"; then :
40208 glibcxx_cv_func__modfl_use=yes
40209 else
40210 glibcxx_cv_func__modfl_use=no
40211 fi
40212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40213 ac_ext=c
40214 ac_cpp='$CPP $CPPFLAGS'
40215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40218
40219
40220 fi
40221
40222 fi
40223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40224 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40225
40226 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40227 for ac_func in _modfl
40228 do :
40229 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40230 if test "x$ac_cv_func__modfl" = x""yes; then :
40231 cat >>confdefs.h <<_ACEOF
40232 #define HAVE__MODFL 1
40233 _ACEOF
40234
40235 fi
40236 done
40237
40238 fi
40239 fi
40240
40241
40242
40243
40244
40245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40246 $as_echo_n "checking for powl declaration... " >&6; }
40247 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40248 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40249 $as_echo_n "(cached) " >&6
40250 else
40251
40252
40253 ac_ext=cpp
40254 ac_cpp='$CXXCPP $CPPFLAGS'
40255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40258
40259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40260 /* end confdefs.h. */
40261 #include <math.h>
40262 int
40263 main ()
40264 {
40265 powl(0, 0);
40266 ;
40267 return 0;
40268 }
40269 _ACEOF
40270 if ac_fn_cxx_try_compile "$LINENO"; then :
40271 glibcxx_cv_func_powl_use=yes
40272 else
40273 glibcxx_cv_func_powl_use=no
40274 fi
40275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40276 ac_ext=c
40277 ac_cpp='$CPP $CPPFLAGS'
40278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40281
40282
40283 fi
40284
40285 fi
40286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40287 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40288
40289 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40290 for ac_func in powl
40291 do :
40292 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40293 if test "x$ac_cv_func_powl" = x""yes; then :
40294 cat >>confdefs.h <<_ACEOF
40295 #define HAVE_POWL 1
40296 _ACEOF
40297
40298 fi
40299 done
40300
40301 else
40302
40303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40304 $as_echo_n "checking for _powl declaration... " >&6; }
40305 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40306 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40307 $as_echo_n "(cached) " >&6
40308 else
40309
40310
40311 ac_ext=cpp
40312 ac_cpp='$CXXCPP $CPPFLAGS'
40313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40316
40317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40318 /* end confdefs.h. */
40319 #include <math.h>
40320 int
40321 main ()
40322 {
40323 _powl(0, 0);
40324 ;
40325 return 0;
40326 }
40327 _ACEOF
40328 if ac_fn_cxx_try_compile "$LINENO"; then :
40329 glibcxx_cv_func__powl_use=yes
40330 else
40331 glibcxx_cv_func__powl_use=no
40332 fi
40333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40334 ac_ext=c
40335 ac_cpp='$CPP $CPPFLAGS'
40336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40339
40340
40341 fi
40342
40343 fi
40344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40345 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40346
40347 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40348 for ac_func in _powl
40349 do :
40350 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40351 if test "x$ac_cv_func__powl" = x""yes; then :
40352 cat >>confdefs.h <<_ACEOF
40353 #define HAVE__POWL 1
40354 _ACEOF
40355
40356 fi
40357 done
40358
40359 fi
40360 fi
40361
40362
40363
40364
40365
40366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40367 $as_echo_n "checking for sqrtl declaration... " >&6; }
40368 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40369 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40370 $as_echo_n "(cached) " >&6
40371 else
40372
40373
40374 ac_ext=cpp
40375 ac_cpp='$CXXCPP $CPPFLAGS'
40376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40379
40380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40381 /* end confdefs.h. */
40382 #include <math.h>
40383 #ifdef HAVE_IEEEFP_H
40384 #include <ieeefp.h>
40385 #endif
40386
40387 int
40388 main ()
40389 {
40390 sqrtl(0);
40391 ;
40392 return 0;
40393 }
40394 _ACEOF
40395 if ac_fn_cxx_try_compile "$LINENO"; then :
40396 glibcxx_cv_func_sqrtl_use=yes
40397 else
40398 glibcxx_cv_func_sqrtl_use=no
40399 fi
40400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40401 ac_ext=c
40402 ac_cpp='$CPP $CPPFLAGS'
40403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40406
40407
40408 fi
40409
40410 fi
40411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40412 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40413
40414 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40415 for ac_func in sqrtl
40416 do :
40417 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40418 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40419 cat >>confdefs.h <<_ACEOF
40420 #define HAVE_SQRTL 1
40421 _ACEOF
40422
40423 fi
40424 done
40425
40426 else
40427
40428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40429 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40430 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40431 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40432 $as_echo_n "(cached) " >&6
40433 else
40434
40435
40436 ac_ext=cpp
40437 ac_cpp='$CXXCPP $CPPFLAGS'
40438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40441
40442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40443 /* end confdefs.h. */
40444 #include <math.h>
40445 #ifdef HAVE_IEEEFP_H
40446 #include <ieeefp.h>
40447 #endif
40448
40449 int
40450 main ()
40451 {
40452 _sqrtl(0);
40453 ;
40454 return 0;
40455 }
40456 _ACEOF
40457 if ac_fn_cxx_try_compile "$LINENO"; then :
40458 glibcxx_cv_func__sqrtl_use=yes
40459 else
40460 glibcxx_cv_func__sqrtl_use=no
40461 fi
40462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40463 ac_ext=c
40464 ac_cpp='$CPP $CPPFLAGS'
40465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40468
40469
40470 fi
40471
40472 fi
40473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40474 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40475
40476 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40477 for ac_func in _sqrtl
40478 do :
40479 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40480 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40481 cat >>confdefs.h <<_ACEOF
40482 #define HAVE__SQRTL 1
40483 _ACEOF
40484
40485 fi
40486 done
40487
40488 fi
40489 fi
40490
40491
40492
40493
40494
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40496 $as_echo_n "checking for sincosl declaration... " >&6; }
40497 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40498 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40499 $as_echo_n "(cached) " >&6
40500 else
40501
40502
40503 ac_ext=cpp
40504 ac_cpp='$CXXCPP $CPPFLAGS'
40505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40508
40509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40510 /* end confdefs.h. */
40511 #include <math.h>
40512 int
40513 main ()
40514 {
40515 sincosl(0, 0, 0);
40516 ;
40517 return 0;
40518 }
40519 _ACEOF
40520 if ac_fn_cxx_try_compile "$LINENO"; then :
40521 glibcxx_cv_func_sincosl_use=yes
40522 else
40523 glibcxx_cv_func_sincosl_use=no
40524 fi
40525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40526 ac_ext=c
40527 ac_cpp='$CPP $CPPFLAGS'
40528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40531
40532
40533 fi
40534
40535 fi
40536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40537 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40538
40539 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40540 for ac_func in sincosl
40541 do :
40542 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40543 if test "x$ac_cv_func_sincosl" = x""yes; then :
40544 cat >>confdefs.h <<_ACEOF
40545 #define HAVE_SINCOSL 1
40546 _ACEOF
40547
40548 fi
40549 done
40550
40551 else
40552
40553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40554 $as_echo_n "checking for _sincosl declaration... " >&6; }
40555 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40556 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40557 $as_echo_n "(cached) " >&6
40558 else
40559
40560
40561 ac_ext=cpp
40562 ac_cpp='$CXXCPP $CPPFLAGS'
40563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40566
40567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40568 /* end confdefs.h. */
40569 #include <math.h>
40570 int
40571 main ()
40572 {
40573 _sincosl(0, 0, 0);
40574 ;
40575 return 0;
40576 }
40577 _ACEOF
40578 if ac_fn_cxx_try_compile "$LINENO"; then :
40579 glibcxx_cv_func__sincosl_use=yes
40580 else
40581 glibcxx_cv_func__sincosl_use=no
40582 fi
40583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40584 ac_ext=c
40585 ac_cpp='$CPP $CPPFLAGS'
40586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40589
40590
40591 fi
40592
40593 fi
40594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40595 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40596
40597 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40598 for ac_func in _sincosl
40599 do :
40600 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40601 if test "x$ac_cv_func__sincosl" = x""yes; then :
40602 cat >>confdefs.h <<_ACEOF
40603 #define HAVE__SINCOSL 1
40604 _ACEOF
40605
40606 fi
40607 done
40608
40609 fi
40610 fi
40611
40612
40613
40614
40615
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40617 $as_echo_n "checking for finitel declaration... " >&6; }
40618 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40619 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40620 $as_echo_n "(cached) " >&6
40621 else
40622
40623
40624 ac_ext=cpp
40625 ac_cpp='$CXXCPP $CPPFLAGS'
40626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40629
40630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40631 /* end confdefs.h. */
40632 #include <math.h>
40633 #ifdef HAVE_IEEEFP_H
40634 #include <ieeefp.h>
40635 #endif
40636
40637 int
40638 main ()
40639 {
40640 finitel(0);
40641 ;
40642 return 0;
40643 }
40644 _ACEOF
40645 if ac_fn_cxx_try_compile "$LINENO"; then :
40646 glibcxx_cv_func_finitel_use=yes
40647 else
40648 glibcxx_cv_func_finitel_use=no
40649 fi
40650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40651 ac_ext=c
40652 ac_cpp='$CPP $CPPFLAGS'
40653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40656
40657
40658 fi
40659
40660 fi
40661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40662 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40663
40664 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40665 for ac_func in finitel
40666 do :
40667 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40668 if test "x$ac_cv_func_finitel" = x""yes; then :
40669 cat >>confdefs.h <<_ACEOF
40670 #define HAVE_FINITEL 1
40671 _ACEOF
40672
40673 fi
40674 done
40675
40676 else
40677
40678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40679 $as_echo_n "checking for _finitel declaration... " >&6; }
40680 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40681 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40682 $as_echo_n "(cached) " >&6
40683 else
40684
40685
40686 ac_ext=cpp
40687 ac_cpp='$CXXCPP $CPPFLAGS'
40688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40691
40692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40693 /* end confdefs.h. */
40694 #include <math.h>
40695 #ifdef HAVE_IEEEFP_H
40696 #include <ieeefp.h>
40697 #endif
40698
40699 int
40700 main ()
40701 {
40702 _finitel(0);
40703 ;
40704 return 0;
40705 }
40706 _ACEOF
40707 if ac_fn_cxx_try_compile "$LINENO"; then :
40708 glibcxx_cv_func__finitel_use=yes
40709 else
40710 glibcxx_cv_func__finitel_use=no
40711 fi
40712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40713 ac_ext=c
40714 ac_cpp='$CPP $CPPFLAGS'
40715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40718
40719
40720 fi
40721
40722 fi
40723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40724 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40725
40726 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40727 for ac_func in _finitel
40728 do :
40729 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40730 if test "x$ac_cv_func__finitel" = x""yes; then :
40731 cat >>confdefs.h <<_ACEOF
40732 #define HAVE__FINITEL 1
40733 _ACEOF
40734
40735 fi
40736 done
40737
40738 fi
40739 fi
40740
40741
40742
40743
40744 LIBS="$ac_save_LIBS"
40745 CXXFLAGS="$ac_save_CXXFLAGS"
40746
40747
40748 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40749 ac_save_CXXFLAGS="$CXXFLAGS"
40750 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40751
40752
40753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40754 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40755 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40756 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40757 $as_echo_n "(cached) " >&6
40758 else
40759
40760
40761 ac_ext=cpp
40762 ac_cpp='$CXXCPP $CPPFLAGS'
40763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40766
40767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40768 /* end confdefs.h. */
40769 #include <stdlib.h>
40770 int
40771 main ()
40772 {
40773 at_quick_exit(0);
40774 ;
40775 return 0;
40776 }
40777 _ACEOF
40778 if ac_fn_cxx_try_compile "$LINENO"; then :
40779 glibcxx_cv_func_at_quick_exit_use=yes
40780 else
40781 glibcxx_cv_func_at_quick_exit_use=no
40782 fi
40783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40784 ac_ext=c
40785 ac_cpp='$CPP $CPPFLAGS'
40786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40789
40790
40791 fi
40792
40793 fi
40794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40795 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40796 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40797 for ac_func in at_quick_exit
40798 do :
40799 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40800 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40801 cat >>confdefs.h <<_ACEOF
40802 #define HAVE_AT_QUICK_EXIT 1
40803 _ACEOF
40804
40805 fi
40806 done
40807
40808 fi
40809
40810
40811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40812 $as_echo_n "checking for quick_exit declaration... " >&6; }
40813 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40814 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40815 $as_echo_n "(cached) " >&6
40816 else
40817
40818
40819 ac_ext=cpp
40820 ac_cpp='$CXXCPP $CPPFLAGS'
40821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40824
40825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40826 /* end confdefs.h. */
40827 #include <stdlib.h>
40828 int
40829 main ()
40830 {
40831 quick_exit(0);
40832 ;
40833 return 0;
40834 }
40835 _ACEOF
40836 if ac_fn_cxx_try_compile "$LINENO"; then :
40837 glibcxx_cv_func_quick_exit_use=yes
40838 else
40839 glibcxx_cv_func_quick_exit_use=no
40840 fi
40841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40842 ac_ext=c
40843 ac_cpp='$CPP $CPPFLAGS'
40844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40847
40848
40849 fi
40850
40851 fi
40852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40853 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40854 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40855 for ac_func in quick_exit
40856 do :
40857 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40858 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40859 cat >>confdefs.h <<_ACEOF
40860 #define HAVE_QUICK_EXIT 1
40861 _ACEOF
40862
40863 fi
40864 done
40865
40866 fi
40867
40868
40869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40870 $as_echo_n "checking for strtold declaration... " >&6; }
40871 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40872 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40873 $as_echo_n "(cached) " >&6
40874 else
40875
40876
40877 ac_ext=cpp
40878 ac_cpp='$CXXCPP $CPPFLAGS'
40879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40882
40883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40884 /* end confdefs.h. */
40885 #include <stdlib.h>
40886 int
40887 main ()
40888 {
40889 strtold(0, 0);
40890 ;
40891 return 0;
40892 }
40893 _ACEOF
40894 if ac_fn_cxx_try_compile "$LINENO"; then :
40895 glibcxx_cv_func_strtold_use=yes
40896 else
40897 glibcxx_cv_func_strtold_use=no
40898 fi
40899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40900 ac_ext=c
40901 ac_cpp='$CPP $CPPFLAGS'
40902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40905
40906
40907 fi
40908
40909 fi
40910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40911 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40912 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40913 for ac_func in strtold
40914 do :
40915 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40916 if test "x$ac_cv_func_strtold" = x""yes; then :
40917 cat >>confdefs.h <<_ACEOF
40918 #define HAVE_STRTOLD 1
40919 _ACEOF
40920
40921 fi
40922 done
40923
40924 fi
40925
40926
40927
40928
40929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40930 $as_echo_n "checking for strtof declaration... " >&6; }
40931 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40932 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40933 $as_echo_n "(cached) " >&6
40934 else
40935
40936
40937 ac_ext=cpp
40938 ac_cpp='$CXXCPP $CPPFLAGS'
40939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40942
40943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40944 /* end confdefs.h. */
40945 #include <stdlib.h>
40946 int
40947 main ()
40948 {
40949 strtof(0, 0);
40950 ;
40951 return 0;
40952 }
40953 _ACEOF
40954 if ac_fn_cxx_try_compile "$LINENO"; then :
40955 glibcxx_cv_func_strtof_use=yes
40956 else
40957 glibcxx_cv_func_strtof_use=no
40958 fi
40959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40960 ac_ext=c
40961 ac_cpp='$CPP $CPPFLAGS'
40962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40965
40966
40967 fi
40968
40969 fi
40970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40971 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40972 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40973 for ac_func in strtof
40974 do :
40975 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40976 if test "x$ac_cv_func_strtof" = x""yes; then :
40977 cat >>confdefs.h <<_ACEOF
40978 #define HAVE_STRTOF 1
40979 _ACEOF
40980
40981 fi
40982 done
40983
40984 fi
40985
40986
40987
40988
40989 CXXFLAGS="$ac_save_CXXFLAGS"
40990
40991
40992
40993
40994
40995
40996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40997 $as_echo_n "checking for iconv... " >&6; }
40998 if test "${am_cv_func_iconv+set}" = set; then :
40999 $as_echo_n "(cached) " >&6
41000 else
41001
41002 am_cv_func_iconv="no, consider installing GNU libiconv"
41003 am_cv_lib_iconv=no
41004 am_save_CPPFLAGS="$CPPFLAGS"
41005 CPPFLAGS="$CPPFLAGS $INCICONV"
41006 if test x$gcc_no_link = xyes; then
41007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41008 fi
41009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41010 /* end confdefs.h. */
41011 #include <stdlib.h>
41012 #include <iconv.h>
41013 int
41014 main ()
41015 {
41016 iconv_t cd = iconv_open("","");
41017 iconv(cd,NULL,NULL,NULL,NULL);
41018 iconv_close(cd);
41019 ;
41020 return 0;
41021 }
41022 _ACEOF
41023 if ac_fn_c_try_link "$LINENO"; then :
41024 am_cv_func_iconv=yes
41025 fi
41026 rm -f core conftest.err conftest.$ac_objext \
41027 conftest$ac_exeext conftest.$ac_ext
41028 CPPFLAGS="$am_save_CPPFLAGS"
41029
41030 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41031 for _libs in .libs _libs; do
41032 am_save_CPPFLAGS="$CPPFLAGS"
41033 am_save_LIBS="$LIBS"
41034 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41035 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41036 if test x$gcc_no_link = xyes; then
41037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41038 fi
41039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41040 /* end confdefs.h. */
41041 #include <stdlib.h>
41042 #include <iconv.h>
41043 int
41044 main ()
41045 {
41046 iconv_t cd = iconv_open("","");
41047 iconv(cd,NULL,NULL,NULL,NULL);
41048 iconv_close(cd);
41049 ;
41050 return 0;
41051 }
41052 _ACEOF
41053 if ac_fn_c_try_link "$LINENO"; then :
41054 INCICONV="-I../libiconv/include"
41055 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41056 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41057 am_cv_lib_iconv=yes
41058 am_cv_func_iconv=yes
41059 fi
41060 rm -f core conftest.err conftest.$ac_objext \
41061 conftest$ac_exeext conftest.$ac_ext
41062 CPPFLAGS="$am_save_CPPFLAGS"
41063 LIBS="$am_save_LIBS"
41064 if test "$am_cv_func_iconv" = "yes"; then
41065 break
41066 fi
41067 done
41068 fi
41069
41070 if test "$am_cv_func_iconv" != yes; then
41071 am_save_CPPFLAGS="$CPPFLAGS"
41072 am_save_LIBS="$LIBS"
41073 CPPFLAGS="$LIBS $INCICONV"
41074 LIBS="$LIBS $LIBICONV"
41075 if test x$gcc_no_link = xyes; then
41076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41077 fi
41078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41079 /* end confdefs.h. */
41080 #include <stdlib.h>
41081 #include <iconv.h>
41082 int
41083 main ()
41084 {
41085 iconv_t cd = iconv_open("","");
41086 iconv(cd,NULL,NULL,NULL,NULL);
41087 iconv_close(cd);
41088 ;
41089 return 0;
41090 }
41091 _ACEOF
41092 if ac_fn_c_try_link "$LINENO"; then :
41093 am_cv_lib_iconv=yes
41094 am_cv_func_iconv=yes
41095 fi
41096 rm -f core conftest.err conftest.$ac_objext \
41097 conftest$ac_exeext conftest.$ac_ext
41098 CPPFLAGS="$am_save_CPPFLAGS"
41099 LIBS="$am_save_LIBS"
41100 fi
41101
41102 fi
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41104 $as_echo "$am_cv_func_iconv" >&6; }
41105 if test "$am_cv_func_iconv" = yes; then
41106
41107 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41108
41109 fi
41110 if test "$am_cv_lib_iconv" = yes; then
41111
41112 for element in $INCICONV; do
41113 haveit=
41114 for x in $CPPFLAGS; do
41115
41116 acl_save_prefix="$prefix"
41117 prefix="$acl_final_prefix"
41118 acl_save_exec_prefix="$exec_prefix"
41119 exec_prefix="$acl_final_exec_prefix"
41120 eval x=\"$x\"
41121 exec_prefix="$acl_save_exec_prefix"
41122 prefix="$acl_save_prefix"
41123
41124 if test "X$x" = "X$element"; then
41125 haveit=yes
41126 break
41127 fi
41128 done
41129 if test -z "$haveit"; then
41130 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41131 fi
41132 done
41133
41134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41135 $as_echo_n "checking how to link with libiconv... " >&6; }
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41137 $as_echo "$LIBICONV" >&6; }
41138 else
41139 LIBICONV=
41140 LTLIBICONV=
41141 fi
41142
41143
41144
41145 if test "$am_cv_func_iconv" = yes; then
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41147 $as_echo_n "checking for iconv declaration... " >&6; }
41148 if test "${am_cv_proto_iconv+set}" = set; then :
41149 $as_echo_n "(cached) " >&6
41150 else
41151
41152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41153 /* end confdefs.h. */
41154
41155 #include <stdlib.h>
41156 #include <iconv.h>
41157 extern
41158 #ifdef __cplusplus
41159 "C"
41160 #endif
41161 #if defined(__STDC__) || defined(__cplusplus)
41162 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41163 #else
41164 size_t iconv();
41165 #endif
41166
41167 int
41168 main ()
41169 {
41170
41171 ;
41172 return 0;
41173 }
41174 _ACEOF
41175 if ac_fn_c_try_compile "$LINENO"; then :
41176 am_cv_proto_iconv_arg1=""
41177 else
41178 am_cv_proto_iconv_arg1="const"
41179 fi
41180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41181 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);"
41182 fi
41183
41184 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41186 }$am_cv_proto_iconv" >&5
41187 $as_echo "${ac_t:-
41188 }$am_cv_proto_iconv" >&6; }
41189
41190 cat >>confdefs.h <<_ACEOF
41191 #define ICONV_CONST $am_cv_proto_iconv_arg1
41192 _ACEOF
41193
41194 fi
41195
41196 ;;
41197
41198 *-aix*)
41199
41200 # If we're not using GNU ld, then there's no point in even trying these
41201 # tests. Check for that first. We should have already tested for gld
41202 # by now (in libtool), but require it now just to be safe...
41203 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41204 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41205
41206
41207
41208 # The name set by libtool depends on the version of libtool. Shame on us
41209 # for depending on an impl detail, but c'est la vie. Older versions used
41210 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41211 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41212 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41213 # set (hence we're using an older libtool), then set it.
41214 if test x${with_gnu_ld+set} != xset; then
41215 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41216 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41217 with_gnu_ld=no
41218 else
41219 with_gnu_ld=$ac_cv_prog_gnu_ld
41220 fi
41221 fi
41222
41223 # Start by getting the version number. I think the libtool test already
41224 # does some of this, but throws away the result.
41225 glibcxx_ld_is_gold=no
41226 if test x"$with_gnu_ld" = x"yes"; then
41227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41228 $as_echo_n "checking for ld version... " >&6; }
41229
41230 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41231 glibcxx_ld_is_gold=yes
41232 fi
41233 ldver=`$LD --version 2>/dev/null |
41234 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'`
41235
41236 glibcxx_gnu_ld_version=`echo $ldver | \
41237 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41239 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41240 fi
41241
41242 # Set --gc-sections.
41243 glibcxx_have_gc_sections=no
41244 if test "$glibcxx_ld_is_gold" = "yes"; then
41245 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41246 glibcxx_have_gc_sections=yes
41247 fi
41248 else
41249 glibcxx_gcsections_min_ld=21602
41250 if test x"$with_gnu_ld" = x"yes" &&
41251 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41252 glibcxx_have_gc_sections=yes
41253 fi
41254 fi
41255 if test "$glibcxx_have_gc_sections" = "yes"; then
41256 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41257 # NB: This flag only works reliably after 2.16.1. Configure tests
41258 # for this are difficult, so hard wire a value that should work.
41259
41260 ac_test_CFLAGS="${CFLAGS+set}"
41261 ac_save_CFLAGS="$CFLAGS"
41262 CFLAGS='-Wl,--gc-sections'
41263
41264 # Check for -Wl,--gc-sections
41265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41266 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41267 if test x$gcc_no_link = xyes; then
41268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41269 fi
41270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41271 /* end confdefs.h. */
41272 int one(void) { return 1; }
41273 int two(void) { return 2; }
41274
41275 int
41276 main ()
41277 {
41278 two();
41279 ;
41280 return 0;
41281 }
41282 _ACEOF
41283 if ac_fn_c_try_link "$LINENO"; then :
41284 ac_gcsections=yes
41285 else
41286 ac_gcsections=no
41287 fi
41288 rm -f core conftest.err conftest.$ac_objext \
41289 conftest$ac_exeext conftest.$ac_ext
41290 if test "$ac_gcsections" = "yes"; then
41291 rm -f conftest.c
41292 touch conftest.c
41293 if $CC -c conftest.c; then
41294 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41295 grep "Warning: gc-sections option ignored" > /dev/null; then
41296 ac_gcsections=no
41297 fi
41298 fi
41299 rm -f conftest.c conftest.o conftest
41300 fi
41301 if test "$ac_gcsections" = "yes"; then
41302 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41303 fi
41304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41305 $as_echo "$ac_gcsections" >&6; }
41306
41307 if test "$ac_test_CFLAGS" = set; then
41308 CFLAGS="$ac_save_CFLAGS"
41309 else
41310 # this is the suspicious part
41311 CFLAGS=''
41312 fi
41313 fi
41314
41315 # Set -z,relro.
41316 # Note this is only for shared objects.
41317 ac_ld_relro=no
41318 if test x"$with_gnu_ld" = x"yes"; then
41319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41321 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41322 if test -n "$cxx_z_relo"; then
41323 OPT_LDFLAGS="-Wl,-z,relro"
41324 ac_ld_relro=yes
41325 fi
41326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41327 $as_echo "$ac_ld_relro" >&6; }
41328 fi
41329
41330 # Set linker optimization flags.
41331 if test x"$with_gnu_ld" = x"yes"; then
41332 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41333 fi
41334
41335
41336
41337
41338
41339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41340 ac_save_CXXFLAGS="$CXXFLAGS"
41341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41342
41343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41344 $as_echo_n "checking for sin in -lm... " >&6; }
41345 if test "${ac_cv_lib_m_sin+set}" = set; then :
41346 $as_echo_n "(cached) " >&6
41347 else
41348 ac_check_lib_save_LIBS=$LIBS
41349 LIBS="-lm $LIBS"
41350 if test x$gcc_no_link = xyes; then
41351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41352 fi
41353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41354 /* end confdefs.h. */
41355
41356 /* Override any GCC internal prototype to avoid an error.
41357 Use char because int might match the return type of a GCC
41358 builtin and then its argument prototype would still apply. */
41359 #ifdef __cplusplus
41360 extern "C"
41361 #endif
41362 char sin ();
41363 int
41364 main ()
41365 {
41366 return sin ();
41367 ;
41368 return 0;
41369 }
41370 _ACEOF
41371 if ac_fn_c_try_link "$LINENO"; then :
41372 ac_cv_lib_m_sin=yes
41373 else
41374 ac_cv_lib_m_sin=no
41375 fi
41376 rm -f core conftest.err conftest.$ac_objext \
41377 conftest$ac_exeext conftest.$ac_ext
41378 LIBS=$ac_check_lib_save_LIBS
41379 fi
41380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41381 $as_echo "$ac_cv_lib_m_sin" >&6; }
41382 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41383 libm="-lm"
41384 fi
41385
41386 ac_save_LIBS="$LIBS"
41387 LIBS="$LIBS $libm"
41388
41389
41390
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41392 $as_echo_n "checking for isinf declaration... " >&6; }
41393 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41394 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41395 $as_echo_n "(cached) " >&6
41396 else
41397
41398
41399 ac_ext=cpp
41400 ac_cpp='$CXXCPP $CPPFLAGS'
41401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41404
41405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41406 /* end confdefs.h. */
41407 #include <math.h>
41408 #ifdef HAVE_IEEEFP_H
41409 #include <ieeefp.h>
41410 #endif
41411
41412 int
41413 main ()
41414 {
41415 isinf(0);
41416 ;
41417 return 0;
41418 }
41419 _ACEOF
41420 if ac_fn_cxx_try_compile "$LINENO"; then :
41421 glibcxx_cv_func_isinf_use=yes
41422 else
41423 glibcxx_cv_func_isinf_use=no
41424 fi
41425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41426 ac_ext=c
41427 ac_cpp='$CPP $CPPFLAGS'
41428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41431
41432
41433 fi
41434
41435 fi
41436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41437 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41438
41439 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41440 for ac_func in isinf
41441 do :
41442 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41443 if test "x$ac_cv_func_isinf" = x""yes; then :
41444 cat >>confdefs.h <<_ACEOF
41445 #define HAVE_ISINF 1
41446 _ACEOF
41447
41448 fi
41449 done
41450
41451 else
41452
41453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41454 $as_echo_n "checking for _isinf declaration... " >&6; }
41455 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41456 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41457 $as_echo_n "(cached) " >&6
41458 else
41459
41460
41461 ac_ext=cpp
41462 ac_cpp='$CXXCPP $CPPFLAGS'
41463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41466
41467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41468 /* end confdefs.h. */
41469 #include <math.h>
41470 #ifdef HAVE_IEEEFP_H
41471 #include <ieeefp.h>
41472 #endif
41473
41474 int
41475 main ()
41476 {
41477 _isinf(0);
41478 ;
41479 return 0;
41480 }
41481 _ACEOF
41482 if ac_fn_cxx_try_compile "$LINENO"; then :
41483 glibcxx_cv_func__isinf_use=yes
41484 else
41485 glibcxx_cv_func__isinf_use=no
41486 fi
41487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41488 ac_ext=c
41489 ac_cpp='$CPP $CPPFLAGS'
41490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41493
41494
41495 fi
41496
41497 fi
41498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41499 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41500
41501 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41502 for ac_func in _isinf
41503 do :
41504 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41505 if test "x$ac_cv_func__isinf" = x""yes; then :
41506 cat >>confdefs.h <<_ACEOF
41507 #define HAVE__ISINF 1
41508 _ACEOF
41509
41510 fi
41511 done
41512
41513 fi
41514 fi
41515
41516
41517
41518
41519
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41521 $as_echo_n "checking for isnan declaration... " >&6; }
41522 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41523 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41524 $as_echo_n "(cached) " >&6
41525 else
41526
41527
41528 ac_ext=cpp
41529 ac_cpp='$CXXCPP $CPPFLAGS'
41530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41533
41534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41535 /* end confdefs.h. */
41536 #include <math.h>
41537 #ifdef HAVE_IEEEFP_H
41538 #include <ieeefp.h>
41539 #endif
41540
41541 int
41542 main ()
41543 {
41544 isnan(0);
41545 ;
41546 return 0;
41547 }
41548 _ACEOF
41549 if ac_fn_cxx_try_compile "$LINENO"; then :
41550 glibcxx_cv_func_isnan_use=yes
41551 else
41552 glibcxx_cv_func_isnan_use=no
41553 fi
41554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41555 ac_ext=c
41556 ac_cpp='$CPP $CPPFLAGS'
41557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41560
41561
41562 fi
41563
41564 fi
41565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41566 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41567
41568 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41569 for ac_func in isnan
41570 do :
41571 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41572 if test "x$ac_cv_func_isnan" = x""yes; then :
41573 cat >>confdefs.h <<_ACEOF
41574 #define HAVE_ISNAN 1
41575 _ACEOF
41576
41577 fi
41578 done
41579
41580 else
41581
41582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41583 $as_echo_n "checking for _isnan declaration... " >&6; }
41584 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41585 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41586 $as_echo_n "(cached) " >&6
41587 else
41588
41589
41590 ac_ext=cpp
41591 ac_cpp='$CXXCPP $CPPFLAGS'
41592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41595
41596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41597 /* end confdefs.h. */
41598 #include <math.h>
41599 #ifdef HAVE_IEEEFP_H
41600 #include <ieeefp.h>
41601 #endif
41602
41603 int
41604 main ()
41605 {
41606 _isnan(0);
41607 ;
41608 return 0;
41609 }
41610 _ACEOF
41611 if ac_fn_cxx_try_compile "$LINENO"; then :
41612 glibcxx_cv_func__isnan_use=yes
41613 else
41614 glibcxx_cv_func__isnan_use=no
41615 fi
41616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41617 ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41622
41623
41624 fi
41625
41626 fi
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41628 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41629
41630 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41631 for ac_func in _isnan
41632 do :
41633 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41634 if test "x$ac_cv_func__isnan" = x""yes; then :
41635 cat >>confdefs.h <<_ACEOF
41636 #define HAVE__ISNAN 1
41637 _ACEOF
41638
41639 fi
41640 done
41641
41642 fi
41643 fi
41644
41645
41646
41647
41648
41649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41650 $as_echo_n "checking for finite declaration... " >&6; }
41651 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41652 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41653 $as_echo_n "(cached) " >&6
41654 else
41655
41656
41657 ac_ext=cpp
41658 ac_cpp='$CXXCPP $CPPFLAGS'
41659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41662
41663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41664 /* end confdefs.h. */
41665 #include <math.h>
41666 #ifdef HAVE_IEEEFP_H
41667 #include <ieeefp.h>
41668 #endif
41669
41670 int
41671 main ()
41672 {
41673 finite(0);
41674 ;
41675 return 0;
41676 }
41677 _ACEOF
41678 if ac_fn_cxx_try_compile "$LINENO"; then :
41679 glibcxx_cv_func_finite_use=yes
41680 else
41681 glibcxx_cv_func_finite_use=no
41682 fi
41683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41684 ac_ext=c
41685 ac_cpp='$CPP $CPPFLAGS'
41686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41689
41690
41691 fi
41692
41693 fi
41694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41695 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41696
41697 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41698 for ac_func in finite
41699 do :
41700 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41701 if test "x$ac_cv_func_finite" = x""yes; then :
41702 cat >>confdefs.h <<_ACEOF
41703 #define HAVE_FINITE 1
41704 _ACEOF
41705
41706 fi
41707 done
41708
41709 else
41710
41711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41712 $as_echo_n "checking for _finite declaration... " >&6; }
41713 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41714 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41715 $as_echo_n "(cached) " >&6
41716 else
41717
41718
41719 ac_ext=cpp
41720 ac_cpp='$CXXCPP $CPPFLAGS'
41721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41724
41725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41726 /* end confdefs.h. */
41727 #include <math.h>
41728 #ifdef HAVE_IEEEFP_H
41729 #include <ieeefp.h>
41730 #endif
41731
41732 int
41733 main ()
41734 {
41735 _finite(0);
41736 ;
41737 return 0;
41738 }
41739 _ACEOF
41740 if ac_fn_cxx_try_compile "$LINENO"; then :
41741 glibcxx_cv_func__finite_use=yes
41742 else
41743 glibcxx_cv_func__finite_use=no
41744 fi
41745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41746 ac_ext=c
41747 ac_cpp='$CPP $CPPFLAGS'
41748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41751
41752
41753 fi
41754
41755 fi
41756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41757 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41758
41759 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41760 for ac_func in _finite
41761 do :
41762 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41763 if test "x$ac_cv_func__finite" = x""yes; then :
41764 cat >>confdefs.h <<_ACEOF
41765 #define HAVE__FINITE 1
41766 _ACEOF
41767
41768 fi
41769 done
41770
41771 fi
41772 fi
41773
41774
41775
41776
41777
41778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41779 $as_echo_n "checking for sincos declaration... " >&6; }
41780 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41781 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41782 $as_echo_n "(cached) " >&6
41783 else
41784
41785
41786 ac_ext=cpp
41787 ac_cpp='$CXXCPP $CPPFLAGS'
41788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41791
41792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41793 /* end confdefs.h. */
41794 #include <math.h>
41795 int
41796 main ()
41797 {
41798 sincos(0, 0, 0);
41799 ;
41800 return 0;
41801 }
41802 _ACEOF
41803 if ac_fn_cxx_try_compile "$LINENO"; then :
41804 glibcxx_cv_func_sincos_use=yes
41805 else
41806 glibcxx_cv_func_sincos_use=no
41807 fi
41808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41809 ac_ext=c
41810 ac_cpp='$CPP $CPPFLAGS'
41811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41814
41815
41816 fi
41817
41818 fi
41819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41820 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41821
41822 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41823 for ac_func in sincos
41824 do :
41825 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41826 if test "x$ac_cv_func_sincos" = x""yes; then :
41827 cat >>confdefs.h <<_ACEOF
41828 #define HAVE_SINCOS 1
41829 _ACEOF
41830
41831 fi
41832 done
41833
41834 else
41835
41836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41837 $as_echo_n "checking for _sincos declaration... " >&6; }
41838 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41839 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41840 $as_echo_n "(cached) " >&6
41841 else
41842
41843
41844 ac_ext=cpp
41845 ac_cpp='$CXXCPP $CPPFLAGS'
41846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41849
41850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41851 /* end confdefs.h. */
41852 #include <math.h>
41853 int
41854 main ()
41855 {
41856 _sincos(0, 0, 0);
41857 ;
41858 return 0;
41859 }
41860 _ACEOF
41861 if ac_fn_cxx_try_compile "$LINENO"; then :
41862 glibcxx_cv_func__sincos_use=yes
41863 else
41864 glibcxx_cv_func__sincos_use=no
41865 fi
41866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41867 ac_ext=c
41868 ac_cpp='$CPP $CPPFLAGS'
41869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41872
41873
41874 fi
41875
41876 fi
41877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41878 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41879
41880 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41881 for ac_func in _sincos
41882 do :
41883 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41884 if test "x$ac_cv_func__sincos" = x""yes; then :
41885 cat >>confdefs.h <<_ACEOF
41886 #define HAVE__SINCOS 1
41887 _ACEOF
41888
41889 fi
41890 done
41891
41892 fi
41893 fi
41894
41895
41896
41897
41898
41899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41900 $as_echo_n "checking for fpclass declaration... " >&6; }
41901 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41902 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41903 $as_echo_n "(cached) " >&6
41904 else
41905
41906
41907 ac_ext=cpp
41908 ac_cpp='$CXXCPP $CPPFLAGS'
41909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41912
41913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41914 /* end confdefs.h. */
41915 #include <math.h>
41916 #ifdef HAVE_IEEEFP_H
41917 #include <ieeefp.h>
41918 #endif
41919
41920 int
41921 main ()
41922 {
41923 fpclass(0);
41924 ;
41925 return 0;
41926 }
41927 _ACEOF
41928 if ac_fn_cxx_try_compile "$LINENO"; then :
41929 glibcxx_cv_func_fpclass_use=yes
41930 else
41931 glibcxx_cv_func_fpclass_use=no
41932 fi
41933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41934 ac_ext=c
41935 ac_cpp='$CPP $CPPFLAGS'
41936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41939
41940
41941 fi
41942
41943 fi
41944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41945 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41946
41947 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41948 for ac_func in fpclass
41949 do :
41950 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41951 if test "x$ac_cv_func_fpclass" = x""yes; then :
41952 cat >>confdefs.h <<_ACEOF
41953 #define HAVE_FPCLASS 1
41954 _ACEOF
41955
41956 fi
41957 done
41958
41959 else
41960
41961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41962 $as_echo_n "checking for _fpclass declaration... " >&6; }
41963 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41964 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41965 $as_echo_n "(cached) " >&6
41966 else
41967
41968
41969 ac_ext=cpp
41970 ac_cpp='$CXXCPP $CPPFLAGS'
41971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41974
41975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41976 /* end confdefs.h. */
41977 #include <math.h>
41978 #ifdef HAVE_IEEEFP_H
41979 #include <ieeefp.h>
41980 #endif
41981
41982 int
41983 main ()
41984 {
41985 _fpclass(0);
41986 ;
41987 return 0;
41988 }
41989 _ACEOF
41990 if ac_fn_cxx_try_compile "$LINENO"; then :
41991 glibcxx_cv_func__fpclass_use=yes
41992 else
41993 glibcxx_cv_func__fpclass_use=no
41994 fi
41995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41996 ac_ext=c
41997 ac_cpp='$CPP $CPPFLAGS'
41998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42001
42002
42003 fi
42004
42005 fi
42006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42007 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42008
42009 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42010 for ac_func in _fpclass
42011 do :
42012 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42013 if test "x$ac_cv_func__fpclass" = x""yes; then :
42014 cat >>confdefs.h <<_ACEOF
42015 #define HAVE__FPCLASS 1
42016 _ACEOF
42017
42018 fi
42019 done
42020
42021 fi
42022 fi
42023
42024
42025
42026
42027
42028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42029 $as_echo_n "checking for qfpclass declaration... " >&6; }
42030 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42031 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42032 $as_echo_n "(cached) " >&6
42033 else
42034
42035
42036 ac_ext=cpp
42037 ac_cpp='$CXXCPP $CPPFLAGS'
42038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42041
42042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42043 /* end confdefs.h. */
42044 #include <math.h>
42045 #ifdef HAVE_IEEEFP_H
42046 #include <ieeefp.h>
42047 #endif
42048
42049 int
42050 main ()
42051 {
42052 qfpclass(0);
42053 ;
42054 return 0;
42055 }
42056 _ACEOF
42057 if ac_fn_cxx_try_compile "$LINENO"; then :
42058 glibcxx_cv_func_qfpclass_use=yes
42059 else
42060 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
42074 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42075
42076 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42077 for ac_func in qfpclass
42078 do :
42079 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42080 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42081 cat >>confdefs.h <<_ACEOF
42082 #define HAVE_QFPCLASS 1
42083 _ACEOF
42084
42085 fi
42086 done
42087
42088 else
42089
42090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42091 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42092 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42093 if test "${glibcxx_cv_func__qfpclass_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 #ifdef HAVE_IEEEFP_H
42108 #include <ieeefp.h>
42109 #endif
42110
42111 int
42112 main ()
42113 {
42114 _qfpclass(0);
42115 ;
42116 return 0;
42117 }
42118 _ACEOF
42119 if ac_fn_cxx_try_compile "$LINENO"; then :
42120 glibcxx_cv_func__qfpclass_use=yes
42121 else
42122 glibcxx_cv_func__qfpclass_use=no
42123 fi
42124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42125 ac_ext=c
42126 ac_cpp='$CPP $CPPFLAGS'
42127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42130
42131
42132 fi
42133
42134 fi
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42136 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42137
42138 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42139 for ac_func in _qfpclass
42140 do :
42141 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42142 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42143 cat >>confdefs.h <<_ACEOF
42144 #define HAVE__QFPCLASS 1
42145 _ACEOF
42146
42147 fi
42148 done
42149
42150 fi
42151 fi
42152
42153
42154
42155
42156
42157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42158 $as_echo_n "checking for hypot declaration... " >&6; }
42159 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42160 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42161 $as_echo_n "(cached) " >&6
42162 else
42163
42164
42165 ac_ext=cpp
42166 ac_cpp='$CXXCPP $CPPFLAGS'
42167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42170
42171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42172 /* end confdefs.h. */
42173 #include <math.h>
42174 int
42175 main ()
42176 {
42177 hypot(0, 0);
42178 ;
42179 return 0;
42180 }
42181 _ACEOF
42182 if ac_fn_cxx_try_compile "$LINENO"; then :
42183 glibcxx_cv_func_hypot_use=yes
42184 else
42185 glibcxx_cv_func_hypot_use=no
42186 fi
42187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42188 ac_ext=c
42189 ac_cpp='$CPP $CPPFLAGS'
42190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42193
42194
42195 fi
42196
42197 fi
42198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42199 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42200
42201 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42202 for ac_func in hypot
42203 do :
42204 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42205 if test "x$ac_cv_func_hypot" = x""yes; then :
42206 cat >>confdefs.h <<_ACEOF
42207 #define HAVE_HYPOT 1
42208 _ACEOF
42209
42210 fi
42211 done
42212
42213 else
42214
42215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42216 $as_echo_n "checking for _hypot declaration... " >&6; }
42217 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42218 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42219 $as_echo_n "(cached) " >&6
42220 else
42221
42222
42223 ac_ext=cpp
42224 ac_cpp='$CXXCPP $CPPFLAGS'
42225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42228
42229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42230 /* end confdefs.h. */
42231 #include <math.h>
42232 int
42233 main ()
42234 {
42235 _hypot(0, 0);
42236 ;
42237 return 0;
42238 }
42239 _ACEOF
42240 if ac_fn_cxx_try_compile "$LINENO"; then :
42241 glibcxx_cv_func__hypot_use=yes
42242 else
42243 glibcxx_cv_func__hypot_use=no
42244 fi
42245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42246 ac_ext=c
42247 ac_cpp='$CPP $CPPFLAGS'
42248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42251
42252
42253 fi
42254
42255 fi
42256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42257 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42258
42259 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42260 for ac_func in _hypot
42261 do :
42262 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42263 if test "x$ac_cv_func__hypot" = x""yes; then :
42264 cat >>confdefs.h <<_ACEOF
42265 #define HAVE__HYPOT 1
42266 _ACEOF
42267
42268 fi
42269 done
42270
42271 fi
42272 fi
42273
42274
42275
42276
42277
42278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42279 $as_echo_n "checking for float trig functions... " >&6; }
42280 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42281 $as_echo_n "(cached) " >&6
42282 else
42283
42284
42285 ac_ext=cpp
42286 ac_cpp='$CXXCPP $CPPFLAGS'
42287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42290
42291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42292 /* end confdefs.h. */
42293 #include <math.h>
42294 int
42295 main ()
42296 {
42297 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42298 ;
42299 return 0;
42300 }
42301 _ACEOF
42302 if ac_fn_cxx_try_compile "$LINENO"; then :
42303 glibcxx_cv_func_float_trig_use=yes
42304 else
42305 glibcxx_cv_func_float_trig_use=no
42306 fi
42307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42308 ac_ext=c
42309 ac_cpp='$CPP $CPPFLAGS'
42310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42313
42314 fi
42315
42316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42317 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42318 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42319 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42320 do :
42321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42323 eval as_val=\$$as_ac_var
42324 if test "x$as_val" = x""yes; then :
42325 cat >>confdefs.h <<_ACEOF
42326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42327 _ACEOF
42328
42329 fi
42330 done
42331
42332 else
42333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42334 $as_echo_n "checking for _float trig functions... " >&6; }
42335 if test "${glibcxx_cv_func__float_trig_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 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42353 ;
42354 return 0;
42355 }
42356 _ACEOF
42357 if ac_fn_cxx_try_compile "$LINENO"; then :
42358 glibcxx_cv_func__float_trig_use=yes
42359 else
42360 glibcxx_cv_func__float_trig_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 fi
42370
42371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42372 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42373 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42374 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42375 do :
42376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42378 eval as_val=\$$as_ac_var
42379 if test "x$as_val" = x""yes; then :
42380 cat >>confdefs.h <<_ACEOF
42381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42382 _ACEOF
42383
42384 fi
42385 done
42386
42387 fi
42388 fi
42389
42390
42391
42392
42393
42394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42395 $as_echo_n "checking for float round functions... " >&6; }
42396 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42397 $as_echo_n "(cached) " >&6
42398 else
42399
42400
42401 ac_ext=cpp
42402 ac_cpp='$CXXCPP $CPPFLAGS'
42403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42406
42407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42408 /* end confdefs.h. */
42409 #include <math.h>
42410 int
42411 main ()
42412 {
42413 ceilf (0); floorf (0);
42414 ;
42415 return 0;
42416 }
42417 _ACEOF
42418 if ac_fn_cxx_try_compile "$LINENO"; then :
42419 glibcxx_cv_func_float_round_use=yes
42420 else
42421 glibcxx_cv_func_float_round_use=no
42422 fi
42423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42424 ac_ext=c
42425 ac_cpp='$CPP $CPPFLAGS'
42426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42429
42430 fi
42431
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42433 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42434 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42435 for ac_func in ceilf floorf
42436 do :
42437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42439 eval as_val=\$$as_ac_var
42440 if test "x$as_val" = x""yes; then :
42441 cat >>confdefs.h <<_ACEOF
42442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42443 _ACEOF
42444
42445 fi
42446 done
42447
42448 else
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42450 $as_echo_n "checking for _float round functions... " >&6; }
42451 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42452 $as_echo_n "(cached) " >&6
42453 else
42454
42455
42456 ac_ext=cpp
42457 ac_cpp='$CXXCPP $CPPFLAGS'
42458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42461
42462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42463 /* end confdefs.h. */
42464 #include <math.h>
42465 int
42466 main ()
42467 {
42468 _ceilf (0); _floorf (0);
42469 ;
42470 return 0;
42471 }
42472 _ACEOF
42473 if ac_fn_cxx_try_compile "$LINENO"; then :
42474 glibcxx_cv_func__float_round_use=yes
42475 else
42476 glibcxx_cv_func__float_round_use=no
42477 fi
42478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42479 ac_ext=c
42480 ac_cpp='$CPP $CPPFLAGS'
42481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42484
42485 fi
42486
42487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42488 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42489 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42490 for ac_func in _ceilf _floorf
42491 do :
42492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42494 eval as_val=\$$as_ac_var
42495 if test "x$as_val" = x""yes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42498 _ACEOF
42499
42500 fi
42501 done
42502
42503 fi
42504 fi
42505
42506
42507
42508
42509
42510
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42512 $as_echo_n "checking for expf declaration... " >&6; }
42513 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42514 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42515 $as_echo_n "(cached) " >&6
42516 else
42517
42518
42519 ac_ext=cpp
42520 ac_cpp='$CXXCPP $CPPFLAGS'
42521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42524
42525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42526 /* end confdefs.h. */
42527 #include <math.h>
42528 #ifdef HAVE_IEEEFP_H
42529 #include <ieeefp.h>
42530 #endif
42531
42532 int
42533 main ()
42534 {
42535 expf(0);
42536 ;
42537 return 0;
42538 }
42539 _ACEOF
42540 if ac_fn_cxx_try_compile "$LINENO"; then :
42541 glibcxx_cv_func_expf_use=yes
42542 else
42543 glibcxx_cv_func_expf_use=no
42544 fi
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546 ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42551
42552
42553 fi
42554
42555 fi
42556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42557 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42558
42559 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42560 for ac_func in expf
42561 do :
42562 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42563 if test "x$ac_cv_func_expf" = x""yes; then :
42564 cat >>confdefs.h <<_ACEOF
42565 #define HAVE_EXPF 1
42566 _ACEOF
42567
42568 fi
42569 done
42570
42571 else
42572
42573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42574 $as_echo_n "checking for _expf declaration... " >&6; }
42575 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42576 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42577 $as_echo_n "(cached) " >&6
42578 else
42579
42580
42581 ac_ext=cpp
42582 ac_cpp='$CXXCPP $CPPFLAGS'
42583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42586
42587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42588 /* end confdefs.h. */
42589 #include <math.h>
42590 #ifdef HAVE_IEEEFP_H
42591 #include <ieeefp.h>
42592 #endif
42593
42594 int
42595 main ()
42596 {
42597 _expf(0);
42598 ;
42599 return 0;
42600 }
42601 _ACEOF
42602 if ac_fn_cxx_try_compile "$LINENO"; then :
42603 glibcxx_cv_func__expf_use=yes
42604 else
42605 glibcxx_cv_func__expf_use=no
42606 fi
42607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42608 ac_ext=c
42609 ac_cpp='$CPP $CPPFLAGS'
42610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42613
42614
42615 fi
42616
42617 fi
42618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42619 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42620
42621 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42622 for ac_func in _expf
42623 do :
42624 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42625 if test "x$ac_cv_func__expf" = x""yes; then :
42626 cat >>confdefs.h <<_ACEOF
42627 #define HAVE__EXPF 1
42628 _ACEOF
42629
42630 fi
42631 done
42632
42633 fi
42634 fi
42635
42636
42637
42638
42639
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42641 $as_echo_n "checking for isnanf declaration... " >&6; }
42642 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42643 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42644 $as_echo_n "(cached) " >&6
42645 else
42646
42647
42648 ac_ext=cpp
42649 ac_cpp='$CXXCPP $CPPFLAGS'
42650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42653
42654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42655 /* end confdefs.h. */
42656 #include <math.h>
42657 #ifdef HAVE_IEEEFP_H
42658 #include <ieeefp.h>
42659 #endif
42660
42661 int
42662 main ()
42663 {
42664 isnanf(0);
42665 ;
42666 return 0;
42667 }
42668 _ACEOF
42669 if ac_fn_cxx_try_compile "$LINENO"; then :
42670 glibcxx_cv_func_isnanf_use=yes
42671 else
42672 glibcxx_cv_func_isnanf_use=no
42673 fi
42674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42675 ac_ext=c
42676 ac_cpp='$CPP $CPPFLAGS'
42677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42680
42681
42682 fi
42683
42684 fi
42685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42686 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42687
42688 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42689 for ac_func in isnanf
42690 do :
42691 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42692 if test "x$ac_cv_func_isnanf" = x""yes; then :
42693 cat >>confdefs.h <<_ACEOF
42694 #define HAVE_ISNANF 1
42695 _ACEOF
42696
42697 fi
42698 done
42699
42700 else
42701
42702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42703 $as_echo_n "checking for _isnanf declaration... " >&6; }
42704 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42705 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42706 $as_echo_n "(cached) " >&6
42707 else
42708
42709
42710 ac_ext=cpp
42711 ac_cpp='$CXXCPP $CPPFLAGS'
42712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42715
42716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42717 /* end confdefs.h. */
42718 #include <math.h>
42719 #ifdef HAVE_IEEEFP_H
42720 #include <ieeefp.h>
42721 #endif
42722
42723 int
42724 main ()
42725 {
42726 _isnanf(0);
42727 ;
42728 return 0;
42729 }
42730 _ACEOF
42731 if ac_fn_cxx_try_compile "$LINENO"; then :
42732 glibcxx_cv_func__isnanf_use=yes
42733 else
42734 glibcxx_cv_func__isnanf_use=no
42735 fi
42736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42737 ac_ext=c
42738 ac_cpp='$CPP $CPPFLAGS'
42739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42742
42743
42744 fi
42745
42746 fi
42747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42748 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42749
42750 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42751 for ac_func in _isnanf
42752 do :
42753 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42754 if test "x$ac_cv_func__isnanf" = x""yes; then :
42755 cat >>confdefs.h <<_ACEOF
42756 #define HAVE__ISNANF 1
42757 _ACEOF
42758
42759 fi
42760 done
42761
42762 fi
42763 fi
42764
42765
42766
42767
42768
42769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42770 $as_echo_n "checking for isinff declaration... " >&6; }
42771 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42772 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42773 $as_echo_n "(cached) " >&6
42774 else
42775
42776
42777 ac_ext=cpp
42778 ac_cpp='$CXXCPP $CPPFLAGS'
42779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42782
42783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42784 /* end confdefs.h. */
42785 #include <math.h>
42786 #ifdef HAVE_IEEEFP_H
42787 #include <ieeefp.h>
42788 #endif
42789
42790 int
42791 main ()
42792 {
42793 isinff(0);
42794 ;
42795 return 0;
42796 }
42797 _ACEOF
42798 if ac_fn_cxx_try_compile "$LINENO"; then :
42799 glibcxx_cv_func_isinff_use=yes
42800 else
42801 glibcxx_cv_func_isinff_use=no
42802 fi
42803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42804 ac_ext=c
42805 ac_cpp='$CPP $CPPFLAGS'
42806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42809
42810
42811 fi
42812
42813 fi
42814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42815 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42816
42817 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42818 for ac_func in isinff
42819 do :
42820 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42821 if test "x$ac_cv_func_isinff" = x""yes; then :
42822 cat >>confdefs.h <<_ACEOF
42823 #define HAVE_ISINFF 1
42824 _ACEOF
42825
42826 fi
42827 done
42828
42829 else
42830
42831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42832 $as_echo_n "checking for _isinff declaration... " >&6; }
42833 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42834 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42835 $as_echo_n "(cached) " >&6
42836 else
42837
42838
42839 ac_ext=cpp
42840 ac_cpp='$CXXCPP $CPPFLAGS'
42841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42844
42845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42846 /* end confdefs.h. */
42847 #include <math.h>
42848 #ifdef HAVE_IEEEFP_H
42849 #include <ieeefp.h>
42850 #endif
42851
42852 int
42853 main ()
42854 {
42855 _isinff(0);
42856 ;
42857 return 0;
42858 }
42859 _ACEOF
42860 if ac_fn_cxx_try_compile "$LINENO"; then :
42861 glibcxx_cv_func__isinff_use=yes
42862 else
42863 glibcxx_cv_func__isinff_use=no
42864 fi
42865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42866 ac_ext=c
42867 ac_cpp='$CPP $CPPFLAGS'
42868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42871
42872
42873 fi
42874
42875 fi
42876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42877 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42878
42879 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42880 for ac_func in _isinff
42881 do :
42882 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42883 if test "x$ac_cv_func__isinff" = x""yes; then :
42884 cat >>confdefs.h <<_ACEOF
42885 #define HAVE__ISINFF 1
42886 _ACEOF
42887
42888 fi
42889 done
42890
42891 fi
42892 fi
42893
42894
42895
42896
42897
42898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42899 $as_echo_n "checking for atan2f declaration... " >&6; }
42900 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42901 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42902 $as_echo_n "(cached) " >&6
42903 else
42904
42905
42906 ac_ext=cpp
42907 ac_cpp='$CXXCPP $CPPFLAGS'
42908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42911
42912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42913 /* end confdefs.h. */
42914 #include <math.h>
42915 int
42916 main ()
42917 {
42918 atan2f(0, 0);
42919 ;
42920 return 0;
42921 }
42922 _ACEOF
42923 if ac_fn_cxx_try_compile "$LINENO"; then :
42924 glibcxx_cv_func_atan2f_use=yes
42925 else
42926 glibcxx_cv_func_atan2f_use=no
42927 fi
42928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42929 ac_ext=c
42930 ac_cpp='$CPP $CPPFLAGS'
42931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42934
42935
42936 fi
42937
42938 fi
42939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42940 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42941
42942 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42943 for ac_func in atan2f
42944 do :
42945 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42946 if test "x$ac_cv_func_atan2f" = x""yes; then :
42947 cat >>confdefs.h <<_ACEOF
42948 #define HAVE_ATAN2F 1
42949 _ACEOF
42950
42951 fi
42952 done
42953
42954 else
42955
42956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42957 $as_echo_n "checking for _atan2f declaration... " >&6; }
42958 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42959 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42960 $as_echo_n "(cached) " >&6
42961 else
42962
42963
42964 ac_ext=cpp
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42969
42970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42971 /* end confdefs.h. */
42972 #include <math.h>
42973 int
42974 main ()
42975 {
42976 _atan2f(0, 0);
42977 ;
42978 return 0;
42979 }
42980 _ACEOF
42981 if ac_fn_cxx_try_compile "$LINENO"; then :
42982 glibcxx_cv_func__atan2f_use=yes
42983 else
42984 glibcxx_cv_func__atan2f_use=no
42985 fi
42986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42987 ac_ext=c
42988 ac_cpp='$CPP $CPPFLAGS'
42989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42992
42993
42994 fi
42995
42996 fi
42997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42998 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42999
43000 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43001 for ac_func in _atan2f
43002 do :
43003 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43004 if test "x$ac_cv_func__atan2f" = x""yes; then :
43005 cat >>confdefs.h <<_ACEOF
43006 #define HAVE__ATAN2F 1
43007 _ACEOF
43008
43009 fi
43010 done
43011
43012 fi
43013 fi
43014
43015
43016
43017
43018
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43020 $as_echo_n "checking for fabsf declaration... " >&6; }
43021 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43022 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43023 $as_echo_n "(cached) " >&6
43024 else
43025
43026
43027 ac_ext=cpp
43028 ac_cpp='$CXXCPP $CPPFLAGS'
43029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43032
43033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43034 /* end confdefs.h. */
43035 #include <math.h>
43036 #ifdef HAVE_IEEEFP_H
43037 #include <ieeefp.h>
43038 #endif
43039
43040 int
43041 main ()
43042 {
43043 fabsf(0);
43044 ;
43045 return 0;
43046 }
43047 _ACEOF
43048 if ac_fn_cxx_try_compile "$LINENO"; then :
43049 glibcxx_cv_func_fabsf_use=yes
43050 else
43051 glibcxx_cv_func_fabsf_use=no
43052 fi
43053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054 ac_ext=c
43055 ac_cpp='$CPP $CPPFLAGS'
43056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43059
43060
43061 fi
43062
43063 fi
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43065 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43066
43067 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43068 for ac_func in fabsf
43069 do :
43070 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43071 if test "x$ac_cv_func_fabsf" = x""yes; then :
43072 cat >>confdefs.h <<_ACEOF
43073 #define HAVE_FABSF 1
43074 _ACEOF
43075
43076 fi
43077 done
43078
43079 else
43080
43081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43082 $as_echo_n "checking for _fabsf declaration... " >&6; }
43083 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43084 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43085 $as_echo_n "(cached) " >&6
43086 else
43087
43088
43089 ac_ext=cpp
43090 ac_cpp='$CXXCPP $CPPFLAGS'
43091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43094
43095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43096 /* end confdefs.h. */
43097 #include <math.h>
43098 #ifdef HAVE_IEEEFP_H
43099 #include <ieeefp.h>
43100 #endif
43101
43102 int
43103 main ()
43104 {
43105 _fabsf(0);
43106 ;
43107 return 0;
43108 }
43109 _ACEOF
43110 if ac_fn_cxx_try_compile "$LINENO"; then :
43111 glibcxx_cv_func__fabsf_use=yes
43112 else
43113 glibcxx_cv_func__fabsf_use=no
43114 fi
43115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43116 ac_ext=c
43117 ac_cpp='$CPP $CPPFLAGS'
43118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43121
43122
43123 fi
43124
43125 fi
43126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43127 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43128
43129 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43130 for ac_func in _fabsf
43131 do :
43132 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43133 if test "x$ac_cv_func__fabsf" = x""yes; then :
43134 cat >>confdefs.h <<_ACEOF
43135 #define HAVE__FABSF 1
43136 _ACEOF
43137
43138 fi
43139 done
43140
43141 fi
43142 fi
43143
43144
43145
43146
43147
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43149 $as_echo_n "checking for fmodf declaration... " >&6; }
43150 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43151 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43152 $as_echo_n "(cached) " >&6
43153 else
43154
43155
43156 ac_ext=cpp
43157 ac_cpp='$CXXCPP $CPPFLAGS'
43158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43161
43162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43163 /* end confdefs.h. */
43164 #include <math.h>
43165 int
43166 main ()
43167 {
43168 fmodf(0, 0);
43169 ;
43170 return 0;
43171 }
43172 _ACEOF
43173 if ac_fn_cxx_try_compile "$LINENO"; then :
43174 glibcxx_cv_func_fmodf_use=yes
43175 else
43176 glibcxx_cv_func_fmodf_use=no
43177 fi
43178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43179 ac_ext=c
43180 ac_cpp='$CPP $CPPFLAGS'
43181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43184
43185
43186 fi
43187
43188 fi
43189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43190 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43191
43192 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43193 for ac_func in fmodf
43194 do :
43195 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43196 if test "x$ac_cv_func_fmodf" = x""yes; then :
43197 cat >>confdefs.h <<_ACEOF
43198 #define HAVE_FMODF 1
43199 _ACEOF
43200
43201 fi
43202 done
43203
43204 else
43205
43206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43207 $as_echo_n "checking for _fmodf declaration... " >&6; }
43208 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43209 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43210 $as_echo_n "(cached) " >&6
43211 else
43212
43213
43214 ac_ext=cpp
43215 ac_cpp='$CXXCPP $CPPFLAGS'
43216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43219
43220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43221 /* end confdefs.h. */
43222 #include <math.h>
43223 int
43224 main ()
43225 {
43226 _fmodf(0, 0);
43227 ;
43228 return 0;
43229 }
43230 _ACEOF
43231 if ac_fn_cxx_try_compile "$LINENO"; then :
43232 glibcxx_cv_func__fmodf_use=yes
43233 else
43234 glibcxx_cv_func__fmodf_use=no
43235 fi
43236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43237 ac_ext=c
43238 ac_cpp='$CPP $CPPFLAGS'
43239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43242
43243
43244 fi
43245
43246 fi
43247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43248 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43249
43250 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43251 for ac_func in _fmodf
43252 do :
43253 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43254 if test "x$ac_cv_func__fmodf" = x""yes; then :
43255 cat >>confdefs.h <<_ACEOF
43256 #define HAVE__FMODF 1
43257 _ACEOF
43258
43259 fi
43260 done
43261
43262 fi
43263 fi
43264
43265
43266
43267
43268
43269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43270 $as_echo_n "checking for frexpf declaration... " >&6; }
43271 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43272 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43273 $as_echo_n "(cached) " >&6
43274 else
43275
43276
43277 ac_ext=cpp
43278 ac_cpp='$CXXCPP $CPPFLAGS'
43279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43282
43283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43284 /* end confdefs.h. */
43285 #include <math.h>
43286 int
43287 main ()
43288 {
43289 frexpf(0, 0);
43290 ;
43291 return 0;
43292 }
43293 _ACEOF
43294 if ac_fn_cxx_try_compile "$LINENO"; then :
43295 glibcxx_cv_func_frexpf_use=yes
43296 else
43297 glibcxx_cv_func_frexpf_use=no
43298 fi
43299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43300 ac_ext=c
43301 ac_cpp='$CPP $CPPFLAGS'
43302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43305
43306
43307 fi
43308
43309 fi
43310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43311 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43312
43313 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43314 for ac_func in frexpf
43315 do :
43316 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43317 if test "x$ac_cv_func_frexpf" = x""yes; then :
43318 cat >>confdefs.h <<_ACEOF
43319 #define HAVE_FREXPF 1
43320 _ACEOF
43321
43322 fi
43323 done
43324
43325 else
43326
43327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43328 $as_echo_n "checking for _frexpf declaration... " >&6; }
43329 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43330 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43331 $as_echo_n "(cached) " >&6
43332 else
43333
43334
43335 ac_ext=cpp
43336 ac_cpp='$CXXCPP $CPPFLAGS'
43337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43340
43341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43342 /* end confdefs.h. */
43343 #include <math.h>
43344 int
43345 main ()
43346 {
43347 _frexpf(0, 0);
43348 ;
43349 return 0;
43350 }
43351 _ACEOF
43352 if ac_fn_cxx_try_compile "$LINENO"; then :
43353 glibcxx_cv_func__frexpf_use=yes
43354 else
43355 glibcxx_cv_func__frexpf_use=no
43356 fi
43357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43358 ac_ext=c
43359 ac_cpp='$CPP $CPPFLAGS'
43360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43363
43364
43365 fi
43366
43367 fi
43368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43369 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43370
43371 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43372 for ac_func in _frexpf
43373 do :
43374 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43375 if test "x$ac_cv_func__frexpf" = x""yes; then :
43376 cat >>confdefs.h <<_ACEOF
43377 #define HAVE__FREXPF 1
43378 _ACEOF
43379
43380 fi
43381 done
43382
43383 fi
43384 fi
43385
43386
43387
43388
43389
43390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43391 $as_echo_n "checking for hypotf declaration... " >&6; }
43392 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43393 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43394 $as_echo_n "(cached) " >&6
43395 else
43396
43397
43398 ac_ext=cpp
43399 ac_cpp='$CXXCPP $CPPFLAGS'
43400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43403
43404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43405 /* end confdefs.h. */
43406 #include <math.h>
43407 int
43408 main ()
43409 {
43410 hypotf(0, 0);
43411 ;
43412 return 0;
43413 }
43414 _ACEOF
43415 if ac_fn_cxx_try_compile "$LINENO"; then :
43416 glibcxx_cv_func_hypotf_use=yes
43417 else
43418 glibcxx_cv_func_hypotf_use=no
43419 fi
43420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43421 ac_ext=c
43422 ac_cpp='$CPP $CPPFLAGS'
43423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43426
43427
43428 fi
43429
43430 fi
43431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43432 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43433
43434 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43435 for ac_func in hypotf
43436 do :
43437 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43438 if test "x$ac_cv_func_hypotf" = x""yes; then :
43439 cat >>confdefs.h <<_ACEOF
43440 #define HAVE_HYPOTF 1
43441 _ACEOF
43442
43443 fi
43444 done
43445
43446 else
43447
43448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43449 $as_echo_n "checking for _hypotf declaration... " >&6; }
43450 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43451 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43452 $as_echo_n "(cached) " >&6
43453 else
43454
43455
43456 ac_ext=cpp
43457 ac_cpp='$CXXCPP $CPPFLAGS'
43458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43461
43462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43463 /* end confdefs.h. */
43464 #include <math.h>
43465 int
43466 main ()
43467 {
43468 _hypotf(0, 0);
43469 ;
43470 return 0;
43471 }
43472 _ACEOF
43473 if ac_fn_cxx_try_compile "$LINENO"; then :
43474 glibcxx_cv_func__hypotf_use=yes
43475 else
43476 glibcxx_cv_func__hypotf_use=no
43477 fi
43478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43479 ac_ext=c
43480 ac_cpp='$CPP $CPPFLAGS'
43481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43484
43485
43486 fi
43487
43488 fi
43489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43490 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43491
43492 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43493 for ac_func in _hypotf
43494 do :
43495 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43496 if test "x$ac_cv_func__hypotf" = x""yes; then :
43497 cat >>confdefs.h <<_ACEOF
43498 #define HAVE__HYPOTF 1
43499 _ACEOF
43500
43501 fi
43502 done
43503
43504 fi
43505 fi
43506
43507
43508
43509
43510
43511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43512 $as_echo_n "checking for ldexpf declaration... " >&6; }
43513 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43514 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43515 $as_echo_n "(cached) " >&6
43516 else
43517
43518
43519 ac_ext=cpp
43520 ac_cpp='$CXXCPP $CPPFLAGS'
43521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43524
43525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43526 /* end confdefs.h. */
43527 #include <math.h>
43528 int
43529 main ()
43530 {
43531 ldexpf(0, 0);
43532 ;
43533 return 0;
43534 }
43535 _ACEOF
43536 if ac_fn_cxx_try_compile "$LINENO"; then :
43537 glibcxx_cv_func_ldexpf_use=yes
43538 else
43539 glibcxx_cv_func_ldexpf_use=no
43540 fi
43541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43542 ac_ext=c
43543 ac_cpp='$CPP $CPPFLAGS'
43544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43547
43548
43549 fi
43550
43551 fi
43552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43553 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43554
43555 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43556 for ac_func in ldexpf
43557 do :
43558 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43559 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43560 cat >>confdefs.h <<_ACEOF
43561 #define HAVE_LDEXPF 1
43562 _ACEOF
43563
43564 fi
43565 done
43566
43567 else
43568
43569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43570 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43571 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43572 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43573 $as_echo_n "(cached) " >&6
43574 else
43575
43576
43577 ac_ext=cpp
43578 ac_cpp='$CXXCPP $CPPFLAGS'
43579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43582
43583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43584 /* end confdefs.h. */
43585 #include <math.h>
43586 int
43587 main ()
43588 {
43589 _ldexpf(0, 0);
43590 ;
43591 return 0;
43592 }
43593 _ACEOF
43594 if ac_fn_cxx_try_compile "$LINENO"; then :
43595 glibcxx_cv_func__ldexpf_use=yes
43596 else
43597 glibcxx_cv_func__ldexpf_use=no
43598 fi
43599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43600 ac_ext=c
43601 ac_cpp='$CPP $CPPFLAGS'
43602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43605
43606
43607 fi
43608
43609 fi
43610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43611 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43612
43613 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43614 for ac_func in _ldexpf
43615 do :
43616 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43617 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43618 cat >>confdefs.h <<_ACEOF
43619 #define HAVE__LDEXPF 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 logf declaration" >&5
43633 $as_echo_n "checking for logf declaration... " >&6; }
43634 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43635 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43636 $as_echo_n "(cached) " >&6
43637 else
43638
43639
43640 ac_ext=cpp
43641 ac_cpp='$CXXCPP $CPPFLAGS'
43642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43645
43646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43647 /* end confdefs.h. */
43648 #include <math.h>
43649 #ifdef HAVE_IEEEFP_H
43650 #include <ieeefp.h>
43651 #endif
43652
43653 int
43654 main ()
43655 {
43656 logf(0);
43657 ;
43658 return 0;
43659 }
43660 _ACEOF
43661 if ac_fn_cxx_try_compile "$LINENO"; then :
43662 glibcxx_cv_func_logf_use=yes
43663 else
43664 glibcxx_cv_func_logf_use=no
43665 fi
43666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43667 ac_ext=c
43668 ac_cpp='$CPP $CPPFLAGS'
43669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43672
43673
43674 fi
43675
43676 fi
43677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43678 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43679
43680 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43681 for ac_func in logf
43682 do :
43683 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43684 if test "x$ac_cv_func_logf" = x""yes; then :
43685 cat >>confdefs.h <<_ACEOF
43686 #define HAVE_LOGF 1
43687 _ACEOF
43688
43689 fi
43690 done
43691
43692 else
43693
43694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43695 $as_echo_n "checking for _logf declaration... " >&6; }
43696 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43697 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43698 $as_echo_n "(cached) " >&6
43699 else
43700
43701
43702 ac_ext=cpp
43703 ac_cpp='$CXXCPP $CPPFLAGS'
43704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43707
43708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43709 /* end confdefs.h. */
43710 #include <math.h>
43711 #ifdef HAVE_IEEEFP_H
43712 #include <ieeefp.h>
43713 #endif
43714
43715 int
43716 main ()
43717 {
43718 _logf(0);
43719 ;
43720 return 0;
43721 }
43722 _ACEOF
43723 if ac_fn_cxx_try_compile "$LINENO"; then :
43724 glibcxx_cv_func__logf_use=yes
43725 else
43726 glibcxx_cv_func__logf_use=no
43727 fi
43728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43729 ac_ext=c
43730 ac_cpp='$CPP $CPPFLAGS'
43731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43734
43735
43736 fi
43737
43738 fi
43739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43740 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43741
43742 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43743 for ac_func in _logf
43744 do :
43745 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43746 if test "x$ac_cv_func__logf" = x""yes; then :
43747 cat >>confdefs.h <<_ACEOF
43748 #define HAVE__LOGF 1
43749 _ACEOF
43750
43751 fi
43752 done
43753
43754 fi
43755 fi
43756
43757
43758
43759
43760
43761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43762 $as_echo_n "checking for log10f declaration... " >&6; }
43763 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43764 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43765 $as_echo_n "(cached) " >&6
43766 else
43767
43768
43769 ac_ext=cpp
43770 ac_cpp='$CXXCPP $CPPFLAGS'
43771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43774
43775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43776 /* end confdefs.h. */
43777 #include <math.h>
43778 #ifdef HAVE_IEEEFP_H
43779 #include <ieeefp.h>
43780 #endif
43781
43782 int
43783 main ()
43784 {
43785 log10f(0);
43786 ;
43787 return 0;
43788 }
43789 _ACEOF
43790 if ac_fn_cxx_try_compile "$LINENO"; then :
43791 glibcxx_cv_func_log10f_use=yes
43792 else
43793 glibcxx_cv_func_log10f_use=no
43794 fi
43795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43796 ac_ext=c
43797 ac_cpp='$CPP $CPPFLAGS'
43798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43801
43802
43803 fi
43804
43805 fi
43806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43807 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43808
43809 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43810 for ac_func in log10f
43811 do :
43812 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43813 if test "x$ac_cv_func_log10f" = x""yes; then :
43814 cat >>confdefs.h <<_ACEOF
43815 #define HAVE_LOG10F 1
43816 _ACEOF
43817
43818 fi
43819 done
43820
43821 else
43822
43823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43824 $as_echo_n "checking for _log10f declaration... " >&6; }
43825 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43826 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43827 $as_echo_n "(cached) " >&6
43828 else
43829
43830
43831 ac_ext=cpp
43832 ac_cpp='$CXXCPP $CPPFLAGS'
43833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43836
43837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43838 /* end confdefs.h. */
43839 #include <math.h>
43840 #ifdef HAVE_IEEEFP_H
43841 #include <ieeefp.h>
43842 #endif
43843
43844 int
43845 main ()
43846 {
43847 _log10f(0);
43848 ;
43849 return 0;
43850 }
43851 _ACEOF
43852 if ac_fn_cxx_try_compile "$LINENO"; then :
43853 glibcxx_cv_func__log10f_use=yes
43854 else
43855 glibcxx_cv_func__log10f_use=no
43856 fi
43857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43858 ac_ext=c
43859 ac_cpp='$CPP $CPPFLAGS'
43860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43863
43864
43865 fi
43866
43867 fi
43868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43869 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43870
43871 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43872 for ac_func in _log10f
43873 do :
43874 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43875 if test "x$ac_cv_func__log10f" = x""yes; then :
43876 cat >>confdefs.h <<_ACEOF
43877 #define HAVE__LOG10F 1
43878 _ACEOF
43879
43880 fi
43881 done
43882
43883 fi
43884 fi
43885
43886
43887
43888
43889
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43891 $as_echo_n "checking for modff declaration... " >&6; }
43892 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43893 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43894 $as_echo_n "(cached) " >&6
43895 else
43896
43897
43898 ac_ext=cpp
43899 ac_cpp='$CXXCPP $CPPFLAGS'
43900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43903
43904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43905 /* end confdefs.h. */
43906 #include <math.h>
43907 int
43908 main ()
43909 {
43910 modff(0, 0);
43911 ;
43912 return 0;
43913 }
43914 _ACEOF
43915 if ac_fn_cxx_try_compile "$LINENO"; then :
43916 glibcxx_cv_func_modff_use=yes
43917 else
43918 glibcxx_cv_func_modff_use=no
43919 fi
43920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43921 ac_ext=c
43922 ac_cpp='$CPP $CPPFLAGS'
43923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43926
43927
43928 fi
43929
43930 fi
43931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43932 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43933
43934 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43935 for ac_func in modff
43936 do :
43937 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43938 if test "x$ac_cv_func_modff" = x""yes; then :
43939 cat >>confdefs.h <<_ACEOF
43940 #define HAVE_MODFF 1
43941 _ACEOF
43942
43943 fi
43944 done
43945
43946 else
43947
43948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43949 $as_echo_n "checking for _modff declaration... " >&6; }
43950 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43951 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43952 $as_echo_n "(cached) " >&6
43953 else
43954
43955
43956 ac_ext=cpp
43957 ac_cpp='$CXXCPP $CPPFLAGS'
43958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43961
43962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43963 /* end confdefs.h. */
43964 #include <math.h>
43965 int
43966 main ()
43967 {
43968 _modff(0, 0);
43969 ;
43970 return 0;
43971 }
43972 _ACEOF
43973 if ac_fn_cxx_try_compile "$LINENO"; then :
43974 glibcxx_cv_func__modff_use=yes
43975 else
43976 glibcxx_cv_func__modff_use=no
43977 fi
43978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43979 ac_ext=c
43980 ac_cpp='$CPP $CPPFLAGS'
43981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43984
43985
43986 fi
43987
43988 fi
43989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43990 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43991
43992 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43993 for ac_func in _modff
43994 do :
43995 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43996 if test "x$ac_cv_func__modff" = x""yes; then :
43997 cat >>confdefs.h <<_ACEOF
43998 #define HAVE__MODFF 1
43999 _ACEOF
44000
44001 fi
44002 done
44003
44004 fi
44005 fi
44006
44007
44008
44009
44010
44011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44012 $as_echo_n "checking for modf declaration... " >&6; }
44013 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44014 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44015 $as_echo_n "(cached) " >&6
44016 else
44017
44018
44019 ac_ext=cpp
44020 ac_cpp='$CXXCPP $CPPFLAGS'
44021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44024
44025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44026 /* end confdefs.h. */
44027 #include <math.h>
44028 int
44029 main ()
44030 {
44031 modf(0, 0);
44032 ;
44033 return 0;
44034 }
44035 _ACEOF
44036 if ac_fn_cxx_try_compile "$LINENO"; then :
44037 glibcxx_cv_func_modf_use=yes
44038 else
44039 glibcxx_cv_func_modf_use=no
44040 fi
44041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44042 ac_ext=c
44043 ac_cpp='$CPP $CPPFLAGS'
44044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44047
44048
44049 fi
44050
44051 fi
44052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44053 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44054
44055 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44056 for ac_func in modf
44057 do :
44058 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44059 if test "x$ac_cv_func_modf" = x""yes; then :
44060 cat >>confdefs.h <<_ACEOF
44061 #define HAVE_MODF 1
44062 _ACEOF
44063
44064 fi
44065 done
44066
44067 else
44068
44069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44070 $as_echo_n "checking for _modf declaration... " >&6; }
44071 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44072 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44073 $as_echo_n "(cached) " >&6
44074 else
44075
44076
44077 ac_ext=cpp
44078 ac_cpp='$CXXCPP $CPPFLAGS'
44079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44082
44083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44084 /* end confdefs.h. */
44085 #include <math.h>
44086 int
44087 main ()
44088 {
44089 _modf(0, 0);
44090 ;
44091 return 0;
44092 }
44093 _ACEOF
44094 if ac_fn_cxx_try_compile "$LINENO"; then :
44095 glibcxx_cv_func__modf_use=yes
44096 else
44097 glibcxx_cv_func__modf_use=no
44098 fi
44099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44100 ac_ext=c
44101 ac_cpp='$CPP $CPPFLAGS'
44102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44105
44106
44107 fi
44108
44109 fi
44110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44111 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44112
44113 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44114 for ac_func in _modf
44115 do :
44116 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44117 if test "x$ac_cv_func__modf" = x""yes; then :
44118 cat >>confdefs.h <<_ACEOF
44119 #define HAVE__MODF 1
44120 _ACEOF
44121
44122 fi
44123 done
44124
44125 fi
44126 fi
44127
44128
44129
44130
44131
44132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44133 $as_echo_n "checking for powf declaration... " >&6; }
44134 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44135 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44136 $as_echo_n "(cached) " >&6
44137 else
44138
44139
44140 ac_ext=cpp
44141 ac_cpp='$CXXCPP $CPPFLAGS'
44142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44145
44146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44147 /* end confdefs.h. */
44148 #include <math.h>
44149 int
44150 main ()
44151 {
44152 powf(0, 0);
44153 ;
44154 return 0;
44155 }
44156 _ACEOF
44157 if ac_fn_cxx_try_compile "$LINENO"; then :
44158 glibcxx_cv_func_powf_use=yes
44159 else
44160 glibcxx_cv_func_powf_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_powf_use" >&5
44174 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44175
44176 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44177 for ac_func in powf
44178 do :
44179 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44180 if test "x$ac_cv_func_powf" = x""yes; then :
44181 cat >>confdefs.h <<_ACEOF
44182 #define HAVE_POWF 1
44183 _ACEOF
44184
44185 fi
44186 done
44187
44188 else
44189
44190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44191 $as_echo_n "checking for _powf declaration... " >&6; }
44192 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44193 if test "${glibcxx_cv_func__powf_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 int
44208 main ()
44209 {
44210 _powf(0, 0);
44211 ;
44212 return 0;
44213 }
44214 _ACEOF
44215 if ac_fn_cxx_try_compile "$LINENO"; then :
44216 glibcxx_cv_func__powf_use=yes
44217 else
44218 glibcxx_cv_func__powf_use=no
44219 fi
44220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44221 ac_ext=c
44222 ac_cpp='$CPP $CPPFLAGS'
44223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44226
44227
44228 fi
44229
44230 fi
44231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44232 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44233
44234 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44235 for ac_func in _powf
44236 do :
44237 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44238 if test "x$ac_cv_func__powf" = x""yes; then :
44239 cat >>confdefs.h <<_ACEOF
44240 #define HAVE__POWF 1
44241 _ACEOF
44242
44243 fi
44244 done
44245
44246 fi
44247 fi
44248
44249
44250
44251
44252
44253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44254 $as_echo_n "checking for sqrtf declaration... " >&6; }
44255 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44256 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44257 $as_echo_n "(cached) " >&6
44258 else
44259
44260
44261 ac_ext=cpp
44262 ac_cpp='$CXXCPP $CPPFLAGS'
44263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44266
44267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44268 /* end confdefs.h. */
44269 #include <math.h>
44270 #ifdef HAVE_IEEEFP_H
44271 #include <ieeefp.h>
44272 #endif
44273
44274 int
44275 main ()
44276 {
44277 sqrtf(0);
44278 ;
44279 return 0;
44280 }
44281 _ACEOF
44282 if ac_fn_cxx_try_compile "$LINENO"; then :
44283 glibcxx_cv_func_sqrtf_use=yes
44284 else
44285 glibcxx_cv_func_sqrtf_use=no
44286 fi
44287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44288 ac_ext=c
44289 ac_cpp='$CPP $CPPFLAGS'
44290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44293
44294
44295 fi
44296
44297 fi
44298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44299 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44300
44301 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44302 for ac_func in sqrtf
44303 do :
44304 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44305 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44306 cat >>confdefs.h <<_ACEOF
44307 #define HAVE_SQRTF 1
44308 _ACEOF
44309
44310 fi
44311 done
44312
44313 else
44314
44315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44316 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44317 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44318 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44319 $as_echo_n "(cached) " >&6
44320 else
44321
44322
44323 ac_ext=cpp
44324 ac_cpp='$CXXCPP $CPPFLAGS'
44325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44328
44329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44330 /* end confdefs.h. */
44331 #include <math.h>
44332 #ifdef HAVE_IEEEFP_H
44333 #include <ieeefp.h>
44334 #endif
44335
44336 int
44337 main ()
44338 {
44339 _sqrtf(0);
44340 ;
44341 return 0;
44342 }
44343 _ACEOF
44344 if ac_fn_cxx_try_compile "$LINENO"; then :
44345 glibcxx_cv_func__sqrtf_use=yes
44346 else
44347 glibcxx_cv_func__sqrtf_use=no
44348 fi
44349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44350 ac_ext=c
44351 ac_cpp='$CPP $CPPFLAGS'
44352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44355
44356
44357 fi
44358
44359 fi
44360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44361 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44362
44363 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44364 for ac_func in _sqrtf
44365 do :
44366 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44367 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44368 cat >>confdefs.h <<_ACEOF
44369 #define HAVE__SQRTF 1
44370 _ACEOF
44371
44372 fi
44373 done
44374
44375 fi
44376 fi
44377
44378
44379
44380
44381
44382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44383 $as_echo_n "checking for sincosf declaration... " >&6; }
44384 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44385 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44386 $as_echo_n "(cached) " >&6
44387 else
44388
44389
44390 ac_ext=cpp
44391 ac_cpp='$CXXCPP $CPPFLAGS'
44392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44395
44396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44397 /* end confdefs.h. */
44398 #include <math.h>
44399 int
44400 main ()
44401 {
44402 sincosf(0, 0, 0);
44403 ;
44404 return 0;
44405 }
44406 _ACEOF
44407 if ac_fn_cxx_try_compile "$LINENO"; then :
44408 glibcxx_cv_func_sincosf_use=yes
44409 else
44410 glibcxx_cv_func_sincosf_use=no
44411 fi
44412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44413 ac_ext=c
44414 ac_cpp='$CPP $CPPFLAGS'
44415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44418
44419
44420 fi
44421
44422 fi
44423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44424 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44425
44426 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44427 for ac_func in sincosf
44428 do :
44429 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44430 if test "x$ac_cv_func_sincosf" = x""yes; then :
44431 cat >>confdefs.h <<_ACEOF
44432 #define HAVE_SINCOSF 1
44433 _ACEOF
44434
44435 fi
44436 done
44437
44438 else
44439
44440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44441 $as_echo_n "checking for _sincosf declaration... " >&6; }
44442 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44443 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44444 $as_echo_n "(cached) " >&6
44445 else
44446
44447
44448 ac_ext=cpp
44449 ac_cpp='$CXXCPP $CPPFLAGS'
44450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44453
44454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44455 /* end confdefs.h. */
44456 #include <math.h>
44457 int
44458 main ()
44459 {
44460 _sincosf(0, 0, 0);
44461 ;
44462 return 0;
44463 }
44464 _ACEOF
44465 if ac_fn_cxx_try_compile "$LINENO"; then :
44466 glibcxx_cv_func__sincosf_use=yes
44467 else
44468 glibcxx_cv_func__sincosf_use=no
44469 fi
44470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44471 ac_ext=c
44472 ac_cpp='$CPP $CPPFLAGS'
44473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44476
44477
44478 fi
44479
44480 fi
44481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44482 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44483
44484 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44485 for ac_func in _sincosf
44486 do :
44487 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44488 if test "x$ac_cv_func__sincosf" = x""yes; then :
44489 cat >>confdefs.h <<_ACEOF
44490 #define HAVE__SINCOSF 1
44491 _ACEOF
44492
44493 fi
44494 done
44495
44496 fi
44497 fi
44498
44499
44500
44501
44502
44503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44504 $as_echo_n "checking for finitef declaration... " >&6; }
44505 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44506 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44507 $as_echo_n "(cached) " >&6
44508 else
44509
44510
44511 ac_ext=cpp
44512 ac_cpp='$CXXCPP $CPPFLAGS'
44513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44516
44517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44518 /* end confdefs.h. */
44519 #include <math.h>
44520 #ifdef HAVE_IEEEFP_H
44521 #include <ieeefp.h>
44522 #endif
44523
44524 int
44525 main ()
44526 {
44527 finitef(0);
44528 ;
44529 return 0;
44530 }
44531 _ACEOF
44532 if ac_fn_cxx_try_compile "$LINENO"; then :
44533 glibcxx_cv_func_finitef_use=yes
44534 else
44535 glibcxx_cv_func_finitef_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_finitef_use" >&5
44549 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44550
44551 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44552 for ac_func in finitef
44553 do :
44554 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44555 if test "x$ac_cv_func_finitef" = x""yes; then :
44556 cat >>confdefs.h <<_ACEOF
44557 #define HAVE_FINITEF 1
44558 _ACEOF
44559
44560 fi
44561 done
44562
44563 else
44564
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44566 $as_echo_n "checking for _finitef declaration... " >&6; }
44567 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44568 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
44583 #include <ieeefp.h>
44584 #endif
44585
44586 int
44587 main ()
44588 {
44589 _finitef(0);
44590 ;
44591 return 0;
44592 }
44593 _ACEOF
44594 if ac_fn_cxx_try_compile "$LINENO"; then :
44595 glibcxx_cv_func__finitef_use=yes
44596 else
44597 glibcxx_cv_func__finitef_use=no
44598 fi
44599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44600 ac_ext=c
44601 ac_cpp='$CPP $CPPFLAGS'
44602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44605
44606
44607 fi
44608
44609 fi
44610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44611 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44612
44613 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44614 for ac_func in _finitef
44615 do :
44616 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44617 if test "x$ac_cv_func__finitef" = x""yes; then :
44618 cat >>confdefs.h <<_ACEOF
44619 #define HAVE__FINITEF 1
44620 _ACEOF
44621
44622 fi
44623 done
44624
44625 fi
44626 fi
44627
44628
44629
44630
44631
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44633 $as_echo_n "checking for long double trig functions... " >&6; }
44634 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44635 $as_echo_n "(cached) " >&6
44636 else
44637
44638
44639 ac_ext=cpp
44640 ac_cpp='$CXXCPP $CPPFLAGS'
44641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44644
44645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44646 /* end confdefs.h. */
44647 #include <math.h>
44648 int
44649 main ()
44650 {
44651 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44652 ;
44653 return 0;
44654 }
44655 _ACEOF
44656 if ac_fn_cxx_try_compile "$LINENO"; then :
44657 glibcxx_cv_func_long_double_trig_use=yes
44658 else
44659 glibcxx_cv_func_long_double_trig_use=no
44660 fi
44661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44662 ac_ext=c
44663 ac_cpp='$CPP $CPPFLAGS'
44664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44667
44668 fi
44669
44670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44671 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44672 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44673 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44674 do :
44675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44677 eval as_val=\$$as_ac_var
44678 if test "x$as_val" = x""yes; then :
44679 cat >>confdefs.h <<_ACEOF
44680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44681 _ACEOF
44682
44683 fi
44684 done
44685
44686 else
44687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44688 $as_echo_n "checking for _long double trig functions... " >&6; }
44689 if test "${glibcxx_cv_func__long_double_trig_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 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44707 ;
44708 return 0;
44709 }
44710 _ACEOF
44711 if ac_fn_cxx_try_compile "$LINENO"; then :
44712 glibcxx_cv_func__long_double_trig_use=yes
44713 else
44714 glibcxx_cv_func__long_double_trig_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 fi
44724
44725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44726 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44727 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44728 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44729 do :
44730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44732 eval as_val=\$$as_ac_var
44733 if test "x$as_val" = x""yes; then :
44734 cat >>confdefs.h <<_ACEOF
44735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44736 _ACEOF
44737
44738 fi
44739 done
44740
44741 fi
44742 fi
44743
44744
44745
44746
44747
44748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44749 $as_echo_n "checking for long double round functions... " >&6; }
44750 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44751 $as_echo_n "(cached) " >&6
44752 else
44753
44754
44755 ac_ext=cpp
44756 ac_cpp='$CXXCPP $CPPFLAGS'
44757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44760
44761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44762 /* end confdefs.h. */
44763 #include <math.h>
44764 int
44765 main ()
44766 {
44767 ceill (0); floorl (0);
44768 ;
44769 return 0;
44770 }
44771 _ACEOF
44772 if ac_fn_cxx_try_compile "$LINENO"; then :
44773 glibcxx_cv_func_long_double_round_use=yes
44774 else
44775 glibcxx_cv_func_long_double_round_use=no
44776 fi
44777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44778 ac_ext=c
44779 ac_cpp='$CPP $CPPFLAGS'
44780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44783
44784 fi
44785
44786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44787 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44788 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44789 for ac_func in ceill floorl
44790 do :
44791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44793 eval as_val=\$$as_ac_var
44794 if test "x$as_val" = x""yes; then :
44795 cat >>confdefs.h <<_ACEOF
44796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44797 _ACEOF
44798
44799 fi
44800 done
44801
44802 else
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44804 $as_echo_n "checking for _long double round functions... " >&6; }
44805 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44806 $as_echo_n "(cached) " >&6
44807 else
44808
44809
44810 ac_ext=cpp
44811 ac_cpp='$CXXCPP $CPPFLAGS'
44812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44815
44816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44817 /* end confdefs.h. */
44818 #include <math.h>
44819 int
44820 main ()
44821 {
44822 _ceill (0); _floorl (0);
44823 ;
44824 return 0;
44825 }
44826 _ACEOF
44827 if ac_fn_cxx_try_compile "$LINENO"; then :
44828 glibcxx_cv_func__long_double_round_use=yes
44829 else
44830 glibcxx_cv_func__long_double_round_use=no
44831 fi
44832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44833 ac_ext=c
44834 ac_cpp='$CPP $CPPFLAGS'
44835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44838
44839 fi
44840
44841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44842 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44843 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44844 for ac_func in _ceill _floorl
44845 do :
44846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44848 eval as_val=\$$as_ac_var
44849 if test "x$as_val" = x""yes; then :
44850 cat >>confdefs.h <<_ACEOF
44851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44852 _ACEOF
44853
44854 fi
44855 done
44856
44857 fi
44858 fi
44859
44860
44861
44862
44863
44864
44865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44866 $as_echo_n "checking for isnanl declaration... " >&6; }
44867 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44868 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44869 $as_echo_n "(cached) " >&6
44870 else
44871
44872
44873 ac_ext=cpp
44874 ac_cpp='$CXXCPP $CPPFLAGS'
44875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44878
44879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44880 /* end confdefs.h. */
44881 #include <math.h>
44882 #ifdef HAVE_IEEEFP_H
44883 #include <ieeefp.h>
44884 #endif
44885
44886 int
44887 main ()
44888 {
44889 isnanl(0);
44890 ;
44891 return 0;
44892 }
44893 _ACEOF
44894 if ac_fn_cxx_try_compile "$LINENO"; then :
44895 glibcxx_cv_func_isnanl_use=yes
44896 else
44897 glibcxx_cv_func_isnanl_use=no
44898 fi
44899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44900 ac_ext=c
44901 ac_cpp='$CPP $CPPFLAGS'
44902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44905
44906
44907 fi
44908
44909 fi
44910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44911 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44912
44913 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44914 for ac_func in isnanl
44915 do :
44916 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44917 if test "x$ac_cv_func_isnanl" = x""yes; then :
44918 cat >>confdefs.h <<_ACEOF
44919 #define HAVE_ISNANL 1
44920 _ACEOF
44921
44922 fi
44923 done
44924
44925 else
44926
44927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44928 $as_echo_n "checking for _isnanl declaration... " >&6; }
44929 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44930 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44931 $as_echo_n "(cached) " >&6
44932 else
44933
44934
44935 ac_ext=cpp
44936 ac_cpp='$CXXCPP $CPPFLAGS'
44937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44940
44941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44942 /* end confdefs.h. */
44943 #include <math.h>
44944 #ifdef HAVE_IEEEFP_H
44945 #include <ieeefp.h>
44946 #endif
44947
44948 int
44949 main ()
44950 {
44951 _isnanl(0);
44952 ;
44953 return 0;
44954 }
44955 _ACEOF
44956 if ac_fn_cxx_try_compile "$LINENO"; then :
44957 glibcxx_cv_func__isnanl_use=yes
44958 else
44959 glibcxx_cv_func__isnanl_use=no
44960 fi
44961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44962 ac_ext=c
44963 ac_cpp='$CPP $CPPFLAGS'
44964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44967
44968
44969 fi
44970
44971 fi
44972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44973 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44974
44975 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44976 for ac_func in _isnanl
44977 do :
44978 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44979 if test "x$ac_cv_func__isnanl" = x""yes; then :
44980 cat >>confdefs.h <<_ACEOF
44981 #define HAVE__ISNANL 1
44982 _ACEOF
44983
44984 fi
44985 done
44986
44987 fi
44988 fi
44989
44990
44991
44992
44993
44994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44995 $as_echo_n "checking for isinfl declaration... " >&6; }
44996 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44997 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44998 $as_echo_n "(cached) " >&6
44999 else
45000
45001
45002 ac_ext=cpp
45003 ac_cpp='$CXXCPP $CPPFLAGS'
45004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45007
45008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45009 /* end confdefs.h. */
45010 #include <math.h>
45011 #ifdef HAVE_IEEEFP_H
45012 #include <ieeefp.h>
45013 #endif
45014
45015 int
45016 main ()
45017 {
45018 isinfl(0);
45019 ;
45020 return 0;
45021 }
45022 _ACEOF
45023 if ac_fn_cxx_try_compile "$LINENO"; then :
45024 glibcxx_cv_func_isinfl_use=yes
45025 else
45026 glibcxx_cv_func_isinfl_use=no
45027 fi
45028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45029 ac_ext=c
45030 ac_cpp='$CPP $CPPFLAGS'
45031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45034
45035
45036 fi
45037
45038 fi
45039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45040 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45041
45042 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45043 for ac_func in isinfl
45044 do :
45045 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45046 if test "x$ac_cv_func_isinfl" = x""yes; then :
45047 cat >>confdefs.h <<_ACEOF
45048 #define HAVE_ISINFL 1
45049 _ACEOF
45050
45051 fi
45052 done
45053
45054 else
45055
45056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45057 $as_echo_n "checking for _isinfl declaration... " >&6; }
45058 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45059 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45060 $as_echo_n "(cached) " >&6
45061 else
45062
45063
45064 ac_ext=cpp
45065 ac_cpp='$CXXCPP $CPPFLAGS'
45066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45069
45070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45071 /* end confdefs.h. */
45072 #include <math.h>
45073 #ifdef HAVE_IEEEFP_H
45074 #include <ieeefp.h>
45075 #endif
45076
45077 int
45078 main ()
45079 {
45080 _isinfl(0);
45081 ;
45082 return 0;
45083 }
45084 _ACEOF
45085 if ac_fn_cxx_try_compile "$LINENO"; then :
45086 glibcxx_cv_func__isinfl_use=yes
45087 else
45088 glibcxx_cv_func__isinfl_use=no
45089 fi
45090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45091 ac_ext=c
45092 ac_cpp='$CPP $CPPFLAGS'
45093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45096
45097
45098 fi
45099
45100 fi
45101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45102 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45103
45104 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45105 for ac_func in _isinfl
45106 do :
45107 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45108 if test "x$ac_cv_func__isinfl" = x""yes; then :
45109 cat >>confdefs.h <<_ACEOF
45110 #define HAVE__ISINFL 1
45111 _ACEOF
45112
45113 fi
45114 done
45115
45116 fi
45117 fi
45118
45119
45120
45121
45122
45123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45124 $as_echo_n "checking for atan2l declaration... " >&6; }
45125 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45126 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45127 $as_echo_n "(cached) " >&6
45128 else
45129
45130
45131 ac_ext=cpp
45132 ac_cpp='$CXXCPP $CPPFLAGS'
45133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45136
45137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45138 /* end confdefs.h. */
45139 #include <math.h>
45140 int
45141 main ()
45142 {
45143 atan2l(0, 0);
45144 ;
45145 return 0;
45146 }
45147 _ACEOF
45148 if ac_fn_cxx_try_compile "$LINENO"; then :
45149 glibcxx_cv_func_atan2l_use=yes
45150 else
45151 glibcxx_cv_func_atan2l_use=no
45152 fi
45153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45154 ac_ext=c
45155 ac_cpp='$CPP $CPPFLAGS'
45156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45159
45160
45161 fi
45162
45163 fi
45164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45165 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45166
45167 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45168 for ac_func in atan2l
45169 do :
45170 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45171 if test "x$ac_cv_func_atan2l" = x""yes; then :
45172 cat >>confdefs.h <<_ACEOF
45173 #define HAVE_ATAN2L 1
45174 _ACEOF
45175
45176 fi
45177 done
45178
45179 else
45180
45181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45182 $as_echo_n "checking for _atan2l declaration... " >&6; }
45183 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45184 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45185 $as_echo_n "(cached) " >&6
45186 else
45187
45188
45189 ac_ext=cpp
45190 ac_cpp='$CXXCPP $CPPFLAGS'
45191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45194
45195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45196 /* end confdefs.h. */
45197 #include <math.h>
45198 int
45199 main ()
45200 {
45201 _atan2l(0, 0);
45202 ;
45203 return 0;
45204 }
45205 _ACEOF
45206 if ac_fn_cxx_try_compile "$LINENO"; then :
45207 glibcxx_cv_func__atan2l_use=yes
45208 else
45209 glibcxx_cv_func__atan2l_use=no
45210 fi
45211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45212 ac_ext=c
45213 ac_cpp='$CPP $CPPFLAGS'
45214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45217
45218
45219 fi
45220
45221 fi
45222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45223 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45224
45225 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45226 for ac_func in _atan2l
45227 do :
45228 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45229 if test "x$ac_cv_func__atan2l" = x""yes; then :
45230 cat >>confdefs.h <<_ACEOF
45231 #define HAVE__ATAN2L 1
45232 _ACEOF
45233
45234 fi
45235 done
45236
45237 fi
45238 fi
45239
45240
45241
45242
45243
45244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45245 $as_echo_n "checking for expl declaration... " >&6; }
45246 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45247 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45248 $as_echo_n "(cached) " >&6
45249 else
45250
45251
45252 ac_ext=cpp
45253 ac_cpp='$CXXCPP $CPPFLAGS'
45254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45257
45258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45259 /* end confdefs.h. */
45260 #include <math.h>
45261 #ifdef HAVE_IEEEFP_H
45262 #include <ieeefp.h>
45263 #endif
45264
45265 int
45266 main ()
45267 {
45268 expl(0);
45269 ;
45270 return 0;
45271 }
45272 _ACEOF
45273 if ac_fn_cxx_try_compile "$LINENO"; then :
45274 glibcxx_cv_func_expl_use=yes
45275 else
45276 glibcxx_cv_func_expl_use=no
45277 fi
45278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45279 ac_ext=c
45280 ac_cpp='$CPP $CPPFLAGS'
45281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45284
45285
45286 fi
45287
45288 fi
45289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45290 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45291
45292 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45293 for ac_func in expl
45294 do :
45295 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45296 if test "x$ac_cv_func_expl" = x""yes; then :
45297 cat >>confdefs.h <<_ACEOF
45298 #define HAVE_EXPL 1
45299 _ACEOF
45300
45301 fi
45302 done
45303
45304 else
45305
45306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45307 $as_echo_n "checking for _expl declaration... " >&6; }
45308 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45309 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45310 $as_echo_n "(cached) " >&6
45311 else
45312
45313
45314 ac_ext=cpp
45315 ac_cpp='$CXXCPP $CPPFLAGS'
45316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45319
45320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45321 /* end confdefs.h. */
45322 #include <math.h>
45323 #ifdef HAVE_IEEEFP_H
45324 #include <ieeefp.h>
45325 #endif
45326
45327 int
45328 main ()
45329 {
45330 _expl(0);
45331 ;
45332 return 0;
45333 }
45334 _ACEOF
45335 if ac_fn_cxx_try_compile "$LINENO"; then :
45336 glibcxx_cv_func__expl_use=yes
45337 else
45338 glibcxx_cv_func__expl_use=no
45339 fi
45340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45341 ac_ext=c
45342 ac_cpp='$CPP $CPPFLAGS'
45343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45346
45347
45348 fi
45349
45350 fi
45351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45352 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45353
45354 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45355 for ac_func in _expl
45356 do :
45357 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45358 if test "x$ac_cv_func__expl" = x""yes; then :
45359 cat >>confdefs.h <<_ACEOF
45360 #define HAVE__EXPL 1
45361 _ACEOF
45362
45363 fi
45364 done
45365
45366 fi
45367 fi
45368
45369
45370
45371
45372
45373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45374 $as_echo_n "checking for fabsl declaration... " >&6; }
45375 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45376 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45377 $as_echo_n "(cached) " >&6
45378 else
45379
45380
45381 ac_ext=cpp
45382 ac_cpp='$CXXCPP $CPPFLAGS'
45383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45386
45387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45388 /* end confdefs.h. */
45389 #include <math.h>
45390 #ifdef HAVE_IEEEFP_H
45391 #include <ieeefp.h>
45392 #endif
45393
45394 int
45395 main ()
45396 {
45397 fabsl(0);
45398 ;
45399 return 0;
45400 }
45401 _ACEOF
45402 if ac_fn_cxx_try_compile "$LINENO"; then :
45403 glibcxx_cv_func_fabsl_use=yes
45404 else
45405 glibcxx_cv_func_fabsl_use=no
45406 fi
45407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45408 ac_ext=c
45409 ac_cpp='$CPP $CPPFLAGS'
45410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45413
45414
45415 fi
45416
45417 fi
45418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45419 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45420
45421 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45422 for ac_func in fabsl
45423 do :
45424 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45425 if test "x$ac_cv_func_fabsl" = x""yes; then :
45426 cat >>confdefs.h <<_ACEOF
45427 #define HAVE_FABSL 1
45428 _ACEOF
45429
45430 fi
45431 done
45432
45433 else
45434
45435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45436 $as_echo_n "checking for _fabsl declaration... " >&6; }
45437 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45438 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45439 $as_echo_n "(cached) " >&6
45440 else
45441
45442
45443 ac_ext=cpp
45444 ac_cpp='$CXXCPP $CPPFLAGS'
45445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45448
45449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45450 /* end confdefs.h. */
45451 #include <math.h>
45452 #ifdef HAVE_IEEEFP_H
45453 #include <ieeefp.h>
45454 #endif
45455
45456 int
45457 main ()
45458 {
45459 _fabsl(0);
45460 ;
45461 return 0;
45462 }
45463 _ACEOF
45464 if ac_fn_cxx_try_compile "$LINENO"; then :
45465 glibcxx_cv_func__fabsl_use=yes
45466 else
45467 glibcxx_cv_func__fabsl_use=no
45468 fi
45469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45470 ac_ext=c
45471 ac_cpp='$CPP $CPPFLAGS'
45472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45475
45476
45477 fi
45478
45479 fi
45480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45481 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45482
45483 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45484 for ac_func in _fabsl
45485 do :
45486 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45487 if test "x$ac_cv_func__fabsl" = x""yes; then :
45488 cat >>confdefs.h <<_ACEOF
45489 #define HAVE__FABSL 1
45490 _ACEOF
45491
45492 fi
45493 done
45494
45495 fi
45496 fi
45497
45498
45499
45500
45501
45502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45503 $as_echo_n "checking for fmodl declaration... " >&6; }
45504 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45505 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45506 $as_echo_n "(cached) " >&6
45507 else
45508
45509
45510 ac_ext=cpp
45511 ac_cpp='$CXXCPP $CPPFLAGS'
45512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45515
45516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45517 /* end confdefs.h. */
45518 #include <math.h>
45519 int
45520 main ()
45521 {
45522 fmodl(0, 0);
45523 ;
45524 return 0;
45525 }
45526 _ACEOF
45527 if ac_fn_cxx_try_compile "$LINENO"; then :
45528 glibcxx_cv_func_fmodl_use=yes
45529 else
45530 glibcxx_cv_func_fmodl_use=no
45531 fi
45532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45533 ac_ext=c
45534 ac_cpp='$CPP $CPPFLAGS'
45535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45538
45539
45540 fi
45541
45542 fi
45543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45544 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45545
45546 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45547 for ac_func in fmodl
45548 do :
45549 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45550 if test "x$ac_cv_func_fmodl" = x""yes; then :
45551 cat >>confdefs.h <<_ACEOF
45552 #define HAVE_FMODL 1
45553 _ACEOF
45554
45555 fi
45556 done
45557
45558 else
45559
45560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45561 $as_echo_n "checking for _fmodl declaration... " >&6; }
45562 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45563 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45564 $as_echo_n "(cached) " >&6
45565 else
45566
45567
45568 ac_ext=cpp
45569 ac_cpp='$CXXCPP $CPPFLAGS'
45570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45573
45574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45575 /* end confdefs.h. */
45576 #include <math.h>
45577 int
45578 main ()
45579 {
45580 _fmodl(0, 0);
45581 ;
45582 return 0;
45583 }
45584 _ACEOF
45585 if ac_fn_cxx_try_compile "$LINENO"; then :
45586 glibcxx_cv_func__fmodl_use=yes
45587 else
45588 glibcxx_cv_func__fmodl_use=no
45589 fi
45590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45591 ac_ext=c
45592 ac_cpp='$CPP $CPPFLAGS'
45593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45596
45597
45598 fi
45599
45600 fi
45601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45602 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45603
45604 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45605 for ac_func in _fmodl
45606 do :
45607 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45608 if test "x$ac_cv_func__fmodl" = x""yes; then :
45609 cat >>confdefs.h <<_ACEOF
45610 #define HAVE__FMODL 1
45611 _ACEOF
45612
45613 fi
45614 done
45615
45616 fi
45617 fi
45618
45619
45620
45621
45622
45623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45624 $as_echo_n "checking for frexpl declaration... " >&6; }
45625 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45626 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45627 $as_echo_n "(cached) " >&6
45628 else
45629
45630
45631 ac_ext=cpp
45632 ac_cpp='$CXXCPP $CPPFLAGS'
45633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45636
45637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45638 /* end confdefs.h. */
45639 #include <math.h>
45640 int
45641 main ()
45642 {
45643 frexpl(0, 0);
45644 ;
45645 return 0;
45646 }
45647 _ACEOF
45648 if ac_fn_cxx_try_compile "$LINENO"; then :
45649 glibcxx_cv_func_frexpl_use=yes
45650 else
45651 glibcxx_cv_func_frexpl_use=no
45652 fi
45653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45654 ac_ext=c
45655 ac_cpp='$CPP $CPPFLAGS'
45656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45659
45660
45661 fi
45662
45663 fi
45664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45665 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45666
45667 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45668 for ac_func in frexpl
45669 do :
45670 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45671 if test "x$ac_cv_func_frexpl" = x""yes; then :
45672 cat >>confdefs.h <<_ACEOF
45673 #define HAVE_FREXPL 1
45674 _ACEOF
45675
45676 fi
45677 done
45678
45679 else
45680
45681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45682 $as_echo_n "checking for _frexpl declaration... " >&6; }
45683 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45684 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45685 $as_echo_n "(cached) " >&6
45686 else
45687
45688
45689 ac_ext=cpp
45690 ac_cpp='$CXXCPP $CPPFLAGS'
45691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45694
45695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45696 /* end confdefs.h. */
45697 #include <math.h>
45698 int
45699 main ()
45700 {
45701 _frexpl(0, 0);
45702 ;
45703 return 0;
45704 }
45705 _ACEOF
45706 if ac_fn_cxx_try_compile "$LINENO"; then :
45707 glibcxx_cv_func__frexpl_use=yes
45708 else
45709 glibcxx_cv_func__frexpl_use=no
45710 fi
45711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45712 ac_ext=c
45713 ac_cpp='$CPP $CPPFLAGS'
45714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45717
45718
45719 fi
45720
45721 fi
45722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45723 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45724
45725 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45726 for ac_func in _frexpl
45727 do :
45728 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45729 if test "x$ac_cv_func__frexpl" = x""yes; then :
45730 cat >>confdefs.h <<_ACEOF
45731 #define HAVE__FREXPL 1
45732 _ACEOF
45733
45734 fi
45735 done
45736
45737 fi
45738 fi
45739
45740
45741
45742
45743
45744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45745 $as_echo_n "checking for hypotl declaration... " >&6; }
45746 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45747 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45748 $as_echo_n "(cached) " >&6
45749 else
45750
45751
45752 ac_ext=cpp
45753 ac_cpp='$CXXCPP $CPPFLAGS'
45754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45757
45758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45759 /* end confdefs.h. */
45760 #include <math.h>
45761 int
45762 main ()
45763 {
45764 hypotl(0, 0);
45765 ;
45766 return 0;
45767 }
45768 _ACEOF
45769 if ac_fn_cxx_try_compile "$LINENO"; then :
45770 glibcxx_cv_func_hypotl_use=yes
45771 else
45772 glibcxx_cv_func_hypotl_use=no
45773 fi
45774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45775 ac_ext=c
45776 ac_cpp='$CPP $CPPFLAGS'
45777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45780
45781
45782 fi
45783
45784 fi
45785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45786 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45787
45788 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45789 for ac_func in hypotl
45790 do :
45791 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45792 if test "x$ac_cv_func_hypotl" = x""yes; then :
45793 cat >>confdefs.h <<_ACEOF
45794 #define HAVE_HYPOTL 1
45795 _ACEOF
45796
45797 fi
45798 done
45799
45800 else
45801
45802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45803 $as_echo_n "checking for _hypotl declaration... " >&6; }
45804 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45805 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45806 $as_echo_n "(cached) " >&6
45807 else
45808
45809
45810 ac_ext=cpp
45811 ac_cpp='$CXXCPP $CPPFLAGS'
45812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45815
45816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45817 /* end confdefs.h. */
45818 #include <math.h>
45819 int
45820 main ()
45821 {
45822 _hypotl(0, 0);
45823 ;
45824 return 0;
45825 }
45826 _ACEOF
45827 if ac_fn_cxx_try_compile "$LINENO"; then :
45828 glibcxx_cv_func__hypotl_use=yes
45829 else
45830 glibcxx_cv_func__hypotl_use=no
45831 fi
45832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45838
45839
45840 fi
45841
45842 fi
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45844 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45845
45846 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45847 for ac_func in _hypotl
45848 do :
45849 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45850 if test "x$ac_cv_func__hypotl" = x""yes; then :
45851 cat >>confdefs.h <<_ACEOF
45852 #define HAVE__HYPOTL 1
45853 _ACEOF
45854
45855 fi
45856 done
45857
45858 fi
45859 fi
45860
45861
45862
45863
45864
45865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45866 $as_echo_n "checking for ldexpl declaration... " >&6; }
45867 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45868 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45869 $as_echo_n "(cached) " >&6
45870 else
45871
45872
45873 ac_ext=cpp
45874 ac_cpp='$CXXCPP $CPPFLAGS'
45875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45878
45879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45880 /* end confdefs.h. */
45881 #include <math.h>
45882 int
45883 main ()
45884 {
45885 ldexpl(0, 0);
45886 ;
45887 return 0;
45888 }
45889 _ACEOF
45890 if ac_fn_cxx_try_compile "$LINENO"; then :
45891 glibcxx_cv_func_ldexpl_use=yes
45892 else
45893 glibcxx_cv_func_ldexpl_use=no
45894 fi
45895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45896 ac_ext=c
45897 ac_cpp='$CPP $CPPFLAGS'
45898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45901
45902
45903 fi
45904
45905 fi
45906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45907 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45908
45909 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45910 for ac_func in ldexpl
45911 do :
45912 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45913 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45914 cat >>confdefs.h <<_ACEOF
45915 #define HAVE_LDEXPL 1
45916 _ACEOF
45917
45918 fi
45919 done
45920
45921 else
45922
45923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45924 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45925 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45926 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45927 $as_echo_n "(cached) " >&6
45928 else
45929
45930
45931 ac_ext=cpp
45932 ac_cpp='$CXXCPP $CPPFLAGS'
45933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45936
45937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45938 /* end confdefs.h. */
45939 #include <math.h>
45940 int
45941 main ()
45942 {
45943 _ldexpl(0, 0);
45944 ;
45945 return 0;
45946 }
45947 _ACEOF
45948 if ac_fn_cxx_try_compile "$LINENO"; then :
45949 glibcxx_cv_func__ldexpl_use=yes
45950 else
45951 glibcxx_cv_func__ldexpl_use=no
45952 fi
45953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45954 ac_ext=c
45955 ac_cpp='$CPP $CPPFLAGS'
45956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45959
45960
45961 fi
45962
45963 fi
45964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45965 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45966
45967 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45968 for ac_func in _ldexpl
45969 do :
45970 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45971 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45972 cat >>confdefs.h <<_ACEOF
45973 #define HAVE__LDEXPL 1
45974 _ACEOF
45975
45976 fi
45977 done
45978
45979 fi
45980 fi
45981
45982
45983
45984
45985
45986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45987 $as_echo_n "checking for logl declaration... " >&6; }
45988 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45989 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45990 $as_echo_n "(cached) " >&6
45991 else
45992
45993
45994 ac_ext=cpp
45995 ac_cpp='$CXXCPP $CPPFLAGS'
45996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45999
46000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46001 /* end confdefs.h. */
46002 #include <math.h>
46003 #ifdef HAVE_IEEEFP_H
46004 #include <ieeefp.h>
46005 #endif
46006
46007 int
46008 main ()
46009 {
46010 logl(0);
46011 ;
46012 return 0;
46013 }
46014 _ACEOF
46015 if ac_fn_cxx_try_compile "$LINENO"; then :
46016 glibcxx_cv_func_logl_use=yes
46017 else
46018 glibcxx_cv_func_logl_use=no
46019 fi
46020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46021 ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46026
46027
46028 fi
46029
46030 fi
46031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46032 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46033
46034 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46035 for ac_func in logl
46036 do :
46037 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46038 if test "x$ac_cv_func_logl" = x""yes; then :
46039 cat >>confdefs.h <<_ACEOF
46040 #define HAVE_LOGL 1
46041 _ACEOF
46042
46043 fi
46044 done
46045
46046 else
46047
46048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46049 $as_echo_n "checking for _logl declaration... " >&6; }
46050 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46051 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46052 $as_echo_n "(cached) " >&6
46053 else
46054
46055
46056 ac_ext=cpp
46057 ac_cpp='$CXXCPP $CPPFLAGS'
46058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46061
46062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46063 /* end confdefs.h. */
46064 #include <math.h>
46065 #ifdef HAVE_IEEEFP_H
46066 #include <ieeefp.h>
46067 #endif
46068
46069 int
46070 main ()
46071 {
46072 _logl(0);
46073 ;
46074 return 0;
46075 }
46076 _ACEOF
46077 if ac_fn_cxx_try_compile "$LINENO"; then :
46078 glibcxx_cv_func__logl_use=yes
46079 else
46080 glibcxx_cv_func__logl_use=no
46081 fi
46082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46083 ac_ext=c
46084 ac_cpp='$CPP $CPPFLAGS'
46085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46088
46089
46090 fi
46091
46092 fi
46093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46094 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46095
46096 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46097 for ac_func in _logl
46098 do :
46099 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46100 if test "x$ac_cv_func__logl" = x""yes; then :
46101 cat >>confdefs.h <<_ACEOF
46102 #define HAVE__LOGL 1
46103 _ACEOF
46104
46105 fi
46106 done
46107
46108 fi
46109 fi
46110
46111
46112
46113
46114
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46116 $as_echo_n "checking for log10l declaration... " >&6; }
46117 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46118 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46119 $as_echo_n "(cached) " >&6
46120 else
46121
46122
46123 ac_ext=cpp
46124 ac_cpp='$CXXCPP $CPPFLAGS'
46125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46128
46129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46130 /* end confdefs.h. */
46131 #include <math.h>
46132 #ifdef HAVE_IEEEFP_H
46133 #include <ieeefp.h>
46134 #endif
46135
46136 int
46137 main ()
46138 {
46139 log10l(0);
46140 ;
46141 return 0;
46142 }
46143 _ACEOF
46144 if ac_fn_cxx_try_compile "$LINENO"; then :
46145 glibcxx_cv_func_log10l_use=yes
46146 else
46147 glibcxx_cv_func_log10l_use=no
46148 fi
46149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46150 ac_ext=c
46151 ac_cpp='$CPP $CPPFLAGS'
46152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46155
46156
46157 fi
46158
46159 fi
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46161 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46162
46163 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46164 for ac_func in log10l
46165 do :
46166 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46167 if test "x$ac_cv_func_log10l" = x""yes; then :
46168 cat >>confdefs.h <<_ACEOF
46169 #define HAVE_LOG10L 1
46170 _ACEOF
46171
46172 fi
46173 done
46174
46175 else
46176
46177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46178 $as_echo_n "checking for _log10l declaration... " >&6; }
46179 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46180 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46181 $as_echo_n "(cached) " >&6
46182 else
46183
46184
46185 ac_ext=cpp
46186 ac_cpp='$CXXCPP $CPPFLAGS'
46187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46190
46191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46192 /* end confdefs.h. */
46193 #include <math.h>
46194 #ifdef HAVE_IEEEFP_H
46195 #include <ieeefp.h>
46196 #endif
46197
46198 int
46199 main ()
46200 {
46201 _log10l(0);
46202 ;
46203 return 0;
46204 }
46205 _ACEOF
46206 if ac_fn_cxx_try_compile "$LINENO"; then :
46207 glibcxx_cv_func__log10l_use=yes
46208 else
46209 glibcxx_cv_func__log10l_use=no
46210 fi
46211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46217
46218
46219 fi
46220
46221 fi
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46223 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46224
46225 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46226 for ac_func in _log10l
46227 do :
46228 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46229 if test "x$ac_cv_func__log10l" = x""yes; then :
46230 cat >>confdefs.h <<_ACEOF
46231 #define HAVE__LOG10L 1
46232 _ACEOF
46233
46234 fi
46235 done
46236
46237 fi
46238 fi
46239
46240
46241
46242
46243
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46245 $as_echo_n "checking for modfl declaration... " >&6; }
46246 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46247 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46248 $as_echo_n "(cached) " >&6
46249 else
46250
46251
46252 ac_ext=cpp
46253 ac_cpp='$CXXCPP $CPPFLAGS'
46254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46257
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <math.h>
46261 int
46262 main ()
46263 {
46264 modfl(0, 0);
46265 ;
46266 return 0;
46267 }
46268 _ACEOF
46269 if ac_fn_cxx_try_compile "$LINENO"; then :
46270 glibcxx_cv_func_modfl_use=yes
46271 else
46272 glibcxx_cv_func_modfl_use=no
46273 fi
46274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46275 ac_ext=c
46276 ac_cpp='$CPP $CPPFLAGS'
46277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46280
46281
46282 fi
46283
46284 fi
46285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46286 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46287
46288 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46289 for ac_func in modfl
46290 do :
46291 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46292 if test "x$ac_cv_func_modfl" = x""yes; then :
46293 cat >>confdefs.h <<_ACEOF
46294 #define HAVE_MODFL 1
46295 _ACEOF
46296
46297 fi
46298 done
46299
46300 else
46301
46302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46303 $as_echo_n "checking for _modfl declaration... " >&6; }
46304 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46305 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46306 $as_echo_n "(cached) " >&6
46307 else
46308
46309
46310 ac_ext=cpp
46311 ac_cpp='$CXXCPP $CPPFLAGS'
46312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46315
46316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46317 /* end confdefs.h. */
46318 #include <math.h>
46319 int
46320 main ()
46321 {
46322 _modfl(0, 0);
46323 ;
46324 return 0;
46325 }
46326 _ACEOF
46327 if ac_fn_cxx_try_compile "$LINENO"; then :
46328 glibcxx_cv_func__modfl_use=yes
46329 else
46330 glibcxx_cv_func__modfl_use=no
46331 fi
46332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46333 ac_ext=c
46334 ac_cpp='$CPP $CPPFLAGS'
46335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46338
46339
46340 fi
46341
46342 fi
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46344 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46345
46346 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46347 for ac_func in _modfl
46348 do :
46349 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46350 if test "x$ac_cv_func__modfl" = x""yes; then :
46351 cat >>confdefs.h <<_ACEOF
46352 #define HAVE__MODFL 1
46353 _ACEOF
46354
46355 fi
46356 done
46357
46358 fi
46359 fi
46360
46361
46362
46363
46364
46365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46366 $as_echo_n "checking for powl declaration... " >&6; }
46367 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46368 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46369 $as_echo_n "(cached) " >&6
46370 else
46371
46372
46373 ac_ext=cpp
46374 ac_cpp='$CXXCPP $CPPFLAGS'
46375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46378
46379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46380 /* end confdefs.h. */
46381 #include <math.h>
46382 int
46383 main ()
46384 {
46385 powl(0, 0);
46386 ;
46387 return 0;
46388 }
46389 _ACEOF
46390 if ac_fn_cxx_try_compile "$LINENO"; then :
46391 glibcxx_cv_func_powl_use=yes
46392 else
46393 glibcxx_cv_func_powl_use=no
46394 fi
46395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46396 ac_ext=c
46397 ac_cpp='$CPP $CPPFLAGS'
46398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46401
46402
46403 fi
46404
46405 fi
46406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46407 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46408
46409 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46410 for ac_func in powl
46411 do :
46412 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46413 if test "x$ac_cv_func_powl" = x""yes; then :
46414 cat >>confdefs.h <<_ACEOF
46415 #define HAVE_POWL 1
46416 _ACEOF
46417
46418 fi
46419 done
46420
46421 else
46422
46423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46424 $as_echo_n "checking for _powl declaration... " >&6; }
46425 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46426 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46427 $as_echo_n "(cached) " >&6
46428 else
46429
46430
46431 ac_ext=cpp
46432 ac_cpp='$CXXCPP $CPPFLAGS'
46433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46436
46437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46438 /* end confdefs.h. */
46439 #include <math.h>
46440 int
46441 main ()
46442 {
46443 _powl(0, 0);
46444 ;
46445 return 0;
46446 }
46447 _ACEOF
46448 if ac_fn_cxx_try_compile "$LINENO"; then :
46449 glibcxx_cv_func__powl_use=yes
46450 else
46451 glibcxx_cv_func__powl_use=no
46452 fi
46453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46454 ac_ext=c
46455 ac_cpp='$CPP $CPPFLAGS'
46456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46459
46460
46461 fi
46462
46463 fi
46464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46465 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46466
46467 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46468 for ac_func in _powl
46469 do :
46470 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46471 if test "x$ac_cv_func__powl" = x""yes; then :
46472 cat >>confdefs.h <<_ACEOF
46473 #define HAVE__POWL 1
46474 _ACEOF
46475
46476 fi
46477 done
46478
46479 fi
46480 fi
46481
46482
46483
46484
46485
46486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46487 $as_echo_n "checking for sqrtl declaration... " >&6; }
46488 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46489 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46490 $as_echo_n "(cached) " >&6
46491 else
46492
46493
46494 ac_ext=cpp
46495 ac_cpp='$CXXCPP $CPPFLAGS'
46496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46499
46500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46501 /* end confdefs.h. */
46502 #include <math.h>
46503 #ifdef HAVE_IEEEFP_H
46504 #include <ieeefp.h>
46505 #endif
46506
46507 int
46508 main ()
46509 {
46510 sqrtl(0);
46511 ;
46512 return 0;
46513 }
46514 _ACEOF
46515 if ac_fn_cxx_try_compile "$LINENO"; then :
46516 glibcxx_cv_func_sqrtl_use=yes
46517 else
46518 glibcxx_cv_func_sqrtl_use=no
46519 fi
46520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46521 ac_ext=c
46522 ac_cpp='$CPP $CPPFLAGS'
46523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46526
46527
46528 fi
46529
46530 fi
46531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46532 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46533
46534 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46535 for ac_func in sqrtl
46536 do :
46537 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46538 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46539 cat >>confdefs.h <<_ACEOF
46540 #define HAVE_SQRTL 1
46541 _ACEOF
46542
46543 fi
46544 done
46545
46546 else
46547
46548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46549 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46550 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46551 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46552 $as_echo_n "(cached) " >&6
46553 else
46554
46555
46556 ac_ext=cpp
46557 ac_cpp='$CXXCPP $CPPFLAGS'
46558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46561
46562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46563 /* end confdefs.h. */
46564 #include <math.h>
46565 #ifdef HAVE_IEEEFP_H
46566 #include <ieeefp.h>
46567 #endif
46568
46569 int
46570 main ()
46571 {
46572 _sqrtl(0);
46573 ;
46574 return 0;
46575 }
46576 _ACEOF
46577 if ac_fn_cxx_try_compile "$LINENO"; then :
46578 glibcxx_cv_func__sqrtl_use=yes
46579 else
46580 glibcxx_cv_func__sqrtl_use=no
46581 fi
46582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46583 ac_ext=c
46584 ac_cpp='$CPP $CPPFLAGS'
46585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46588
46589
46590 fi
46591
46592 fi
46593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46594 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46595
46596 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46597 for ac_func in _sqrtl
46598 do :
46599 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46600 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46601 cat >>confdefs.h <<_ACEOF
46602 #define HAVE__SQRTL 1
46603 _ACEOF
46604
46605 fi
46606 done
46607
46608 fi
46609 fi
46610
46611
46612
46613
46614
46615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46616 $as_echo_n "checking for sincosl declaration... " >&6; }
46617 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46618 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46619 $as_echo_n "(cached) " >&6
46620 else
46621
46622
46623 ac_ext=cpp
46624 ac_cpp='$CXXCPP $CPPFLAGS'
46625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46628
46629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46630 /* end confdefs.h. */
46631 #include <math.h>
46632 int
46633 main ()
46634 {
46635 sincosl(0, 0, 0);
46636 ;
46637 return 0;
46638 }
46639 _ACEOF
46640 if ac_fn_cxx_try_compile "$LINENO"; then :
46641 glibcxx_cv_func_sincosl_use=yes
46642 else
46643 glibcxx_cv_func_sincosl_use=no
46644 fi
46645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46646 ac_ext=c
46647 ac_cpp='$CPP $CPPFLAGS'
46648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46651
46652
46653 fi
46654
46655 fi
46656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46657 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46658
46659 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46660 for ac_func in sincosl
46661 do :
46662 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46663 if test "x$ac_cv_func_sincosl" = x""yes; then :
46664 cat >>confdefs.h <<_ACEOF
46665 #define HAVE_SINCOSL 1
46666 _ACEOF
46667
46668 fi
46669 done
46670
46671 else
46672
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46674 $as_echo_n "checking for _sincosl declaration... " >&6; }
46675 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46676 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46677 $as_echo_n "(cached) " >&6
46678 else
46679
46680
46681 ac_ext=cpp
46682 ac_cpp='$CXXCPP $CPPFLAGS'
46683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46686
46687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46688 /* end confdefs.h. */
46689 #include <math.h>
46690 int
46691 main ()
46692 {
46693 _sincosl(0, 0, 0);
46694 ;
46695 return 0;
46696 }
46697 _ACEOF
46698 if ac_fn_cxx_try_compile "$LINENO"; then :
46699 glibcxx_cv_func__sincosl_use=yes
46700 else
46701 glibcxx_cv_func__sincosl_use=no
46702 fi
46703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46704 ac_ext=c
46705 ac_cpp='$CPP $CPPFLAGS'
46706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46709
46710
46711 fi
46712
46713 fi
46714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46715 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46716
46717 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46718 for ac_func in _sincosl
46719 do :
46720 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46721 if test "x$ac_cv_func__sincosl" = x""yes; then :
46722 cat >>confdefs.h <<_ACEOF
46723 #define HAVE__SINCOSL 1
46724 _ACEOF
46725
46726 fi
46727 done
46728
46729 fi
46730 fi
46731
46732
46733
46734
46735
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46737 $as_echo_n "checking for finitel declaration... " >&6; }
46738 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46739 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46740 $as_echo_n "(cached) " >&6
46741 else
46742
46743
46744 ac_ext=cpp
46745 ac_cpp='$CXXCPP $CPPFLAGS'
46746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46749
46750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46751 /* end confdefs.h. */
46752 #include <math.h>
46753 #ifdef HAVE_IEEEFP_H
46754 #include <ieeefp.h>
46755 #endif
46756
46757 int
46758 main ()
46759 {
46760 finitel(0);
46761 ;
46762 return 0;
46763 }
46764 _ACEOF
46765 if ac_fn_cxx_try_compile "$LINENO"; then :
46766 glibcxx_cv_func_finitel_use=yes
46767 else
46768 glibcxx_cv_func_finitel_use=no
46769 fi
46770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46771 ac_ext=c
46772 ac_cpp='$CPP $CPPFLAGS'
46773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46776
46777
46778 fi
46779
46780 fi
46781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46782 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46783
46784 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46785 for ac_func in finitel
46786 do :
46787 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46788 if test "x$ac_cv_func_finitel" = x""yes; then :
46789 cat >>confdefs.h <<_ACEOF
46790 #define HAVE_FINITEL 1
46791 _ACEOF
46792
46793 fi
46794 done
46795
46796 else
46797
46798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46799 $as_echo_n "checking for _finitel declaration... " >&6; }
46800 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46801 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46802 $as_echo_n "(cached) " >&6
46803 else
46804
46805
46806 ac_ext=cpp
46807 ac_cpp='$CXXCPP $CPPFLAGS'
46808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46811
46812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46813 /* end confdefs.h. */
46814 #include <math.h>
46815 #ifdef HAVE_IEEEFP_H
46816 #include <ieeefp.h>
46817 #endif
46818
46819 int
46820 main ()
46821 {
46822 _finitel(0);
46823 ;
46824 return 0;
46825 }
46826 _ACEOF
46827 if ac_fn_cxx_try_compile "$LINENO"; then :
46828 glibcxx_cv_func__finitel_use=yes
46829 else
46830 glibcxx_cv_func__finitel_use=no
46831 fi
46832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46833 ac_ext=c
46834 ac_cpp='$CPP $CPPFLAGS'
46835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46838
46839
46840 fi
46841
46842 fi
46843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46844 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46845
46846 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46847 for ac_func in _finitel
46848 do :
46849 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46850 if test "x$ac_cv_func__finitel" = x""yes; then :
46851 cat >>confdefs.h <<_ACEOF
46852 #define HAVE__FINITEL 1
46853 _ACEOF
46854
46855 fi
46856 done
46857
46858 fi
46859 fi
46860
46861
46862
46863
46864 LIBS="$ac_save_LIBS"
46865 CXXFLAGS="$ac_save_CXXFLAGS"
46866
46867
46868 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46869 ac_save_CXXFLAGS="$CXXFLAGS"
46870 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46871
46872
46873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46874 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46875 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46876 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46877 $as_echo_n "(cached) " >&6
46878 else
46879
46880
46881 ac_ext=cpp
46882 ac_cpp='$CXXCPP $CPPFLAGS'
46883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46886
46887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46888 /* end confdefs.h. */
46889 #include <stdlib.h>
46890 int
46891 main ()
46892 {
46893 at_quick_exit(0);
46894 ;
46895 return 0;
46896 }
46897 _ACEOF
46898 if ac_fn_cxx_try_compile "$LINENO"; then :
46899 glibcxx_cv_func_at_quick_exit_use=yes
46900 else
46901 glibcxx_cv_func_at_quick_exit_use=no
46902 fi
46903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46904 ac_ext=c
46905 ac_cpp='$CPP $CPPFLAGS'
46906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46909
46910
46911 fi
46912
46913 fi
46914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46915 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46916 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46917 for ac_func in at_quick_exit
46918 do :
46919 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46920 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46921 cat >>confdefs.h <<_ACEOF
46922 #define HAVE_AT_QUICK_EXIT 1
46923 _ACEOF
46924
46925 fi
46926 done
46927
46928 fi
46929
46930
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46932 $as_echo_n "checking for quick_exit declaration... " >&6; }
46933 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46934 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46935 $as_echo_n "(cached) " >&6
46936 else
46937
46938
46939 ac_ext=cpp
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46944
46945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46946 /* end confdefs.h. */
46947 #include <stdlib.h>
46948 int
46949 main ()
46950 {
46951 quick_exit(0);
46952 ;
46953 return 0;
46954 }
46955 _ACEOF
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957 glibcxx_cv_func_quick_exit_use=yes
46958 else
46959 glibcxx_cv_func_quick_exit_use=no
46960 fi
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46962 ac_ext=c
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46967
46968
46969 fi
46970
46971 fi
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46973 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46974 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46975 for ac_func in quick_exit
46976 do :
46977 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46978 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46979 cat >>confdefs.h <<_ACEOF
46980 #define HAVE_QUICK_EXIT 1
46981 _ACEOF
46982
46983 fi
46984 done
46985
46986 fi
46987
46988
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46990 $as_echo_n "checking for strtold declaration... " >&6; }
46991 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46992 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46993 $as_echo_n "(cached) " >&6
46994 else
46995
46996
46997 ac_ext=cpp
46998 ac_cpp='$CXXCPP $CPPFLAGS'
46999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47002
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47005 #include <stdlib.h>
47006 int
47007 main ()
47008 {
47009 strtold(0, 0);
47010 ;
47011 return 0;
47012 }
47013 _ACEOF
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func_strtold_use=yes
47016 else
47017 glibcxx_cv_func_strtold_use=no
47018 fi
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020 ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47025
47026
47027 fi
47028
47029 fi
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47031 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47032 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47033 for ac_func in strtold
47034 do :
47035 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47036 if test "x$ac_cv_func_strtold" = x""yes; then :
47037 cat >>confdefs.h <<_ACEOF
47038 #define HAVE_STRTOLD 1
47039 _ACEOF
47040
47041 fi
47042 done
47043
47044 fi
47045
47046
47047
47048
47049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47050 $as_echo_n "checking for strtof declaration... " >&6; }
47051 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47052 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47053 $as_echo_n "(cached) " >&6
47054 else
47055
47056
47057 ac_ext=cpp
47058 ac_cpp='$CXXCPP $CPPFLAGS'
47059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47062
47063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47064 /* end confdefs.h. */
47065 #include <stdlib.h>
47066 int
47067 main ()
47068 {
47069 strtof(0, 0);
47070 ;
47071 return 0;
47072 }
47073 _ACEOF
47074 if ac_fn_cxx_try_compile "$LINENO"; then :
47075 glibcxx_cv_func_strtof_use=yes
47076 else
47077 glibcxx_cv_func_strtof_use=no
47078 fi
47079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47080 ac_ext=c
47081 ac_cpp='$CPP $CPPFLAGS'
47082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47085
47086
47087 fi
47088
47089 fi
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47091 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47092 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47093 for ac_func in strtof
47094 do :
47095 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47096 if test "x$ac_cv_func_strtof" = x""yes; then :
47097 cat >>confdefs.h <<_ACEOF
47098 #define HAVE_STRTOF 1
47099 _ACEOF
47100
47101 fi
47102 done
47103
47104 fi
47105
47106
47107
47108
47109 CXXFLAGS="$ac_save_CXXFLAGS"
47110
47111 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47112
47113 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47114
47115 # We don't yet support AIX's TLS ABI.
47116 #GCC_CHECK_TLS
47117
47118
47119
47120
47121
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47123 $as_echo_n "checking for iconv... " >&6; }
47124 if test "${am_cv_func_iconv+set}" = set; then :
47125 $as_echo_n "(cached) " >&6
47126 else
47127
47128 am_cv_func_iconv="no, consider installing GNU libiconv"
47129 am_cv_lib_iconv=no
47130 am_save_CPPFLAGS="$CPPFLAGS"
47131 CPPFLAGS="$CPPFLAGS $INCICONV"
47132 if test x$gcc_no_link = xyes; then
47133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47134 fi
47135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47136 /* end confdefs.h. */
47137 #include <stdlib.h>
47138 #include <iconv.h>
47139 int
47140 main ()
47141 {
47142 iconv_t cd = iconv_open("","");
47143 iconv(cd,NULL,NULL,NULL,NULL);
47144 iconv_close(cd);
47145 ;
47146 return 0;
47147 }
47148 _ACEOF
47149 if ac_fn_c_try_link "$LINENO"; then :
47150 am_cv_func_iconv=yes
47151 fi
47152 rm -f core conftest.err conftest.$ac_objext \
47153 conftest$ac_exeext conftest.$ac_ext
47154 CPPFLAGS="$am_save_CPPFLAGS"
47155
47156 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47157 for _libs in .libs _libs; do
47158 am_save_CPPFLAGS="$CPPFLAGS"
47159 am_save_LIBS="$LIBS"
47160 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47161 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47162 if test x$gcc_no_link = xyes; then
47163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47164 fi
47165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47166 /* end confdefs.h. */
47167 #include <stdlib.h>
47168 #include <iconv.h>
47169 int
47170 main ()
47171 {
47172 iconv_t cd = iconv_open("","");
47173 iconv(cd,NULL,NULL,NULL,NULL);
47174 iconv_close(cd);
47175 ;
47176 return 0;
47177 }
47178 _ACEOF
47179 if ac_fn_c_try_link "$LINENO"; then :
47180 INCICONV="-I../libiconv/include"
47181 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47182 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47183 am_cv_lib_iconv=yes
47184 am_cv_func_iconv=yes
47185 fi
47186 rm -f core conftest.err conftest.$ac_objext \
47187 conftest$ac_exeext conftest.$ac_ext
47188 CPPFLAGS="$am_save_CPPFLAGS"
47189 LIBS="$am_save_LIBS"
47190 if test "$am_cv_func_iconv" = "yes"; then
47191 break
47192 fi
47193 done
47194 fi
47195
47196 if test "$am_cv_func_iconv" != yes; then
47197 am_save_CPPFLAGS="$CPPFLAGS"
47198 am_save_LIBS="$LIBS"
47199 CPPFLAGS="$LIBS $INCICONV"
47200 LIBS="$LIBS $LIBICONV"
47201 if test x$gcc_no_link = xyes; then
47202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47203 fi
47204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47205 /* end confdefs.h. */
47206 #include <stdlib.h>
47207 #include <iconv.h>
47208 int
47209 main ()
47210 {
47211 iconv_t cd = iconv_open("","");
47212 iconv(cd,NULL,NULL,NULL,NULL);
47213 iconv_close(cd);
47214 ;
47215 return 0;
47216 }
47217 _ACEOF
47218 if ac_fn_c_try_link "$LINENO"; then :
47219 am_cv_lib_iconv=yes
47220 am_cv_func_iconv=yes
47221 fi
47222 rm -f core conftest.err conftest.$ac_objext \
47223 conftest$ac_exeext conftest.$ac_ext
47224 CPPFLAGS="$am_save_CPPFLAGS"
47225 LIBS="$am_save_LIBS"
47226 fi
47227
47228 fi
47229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47230 $as_echo "$am_cv_func_iconv" >&6; }
47231 if test "$am_cv_func_iconv" = yes; then
47232
47233 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47234
47235 fi
47236 if test "$am_cv_lib_iconv" = yes; then
47237
47238 for element in $INCICONV; do
47239 haveit=
47240 for x in $CPPFLAGS; do
47241
47242 acl_save_prefix="$prefix"
47243 prefix="$acl_final_prefix"
47244 acl_save_exec_prefix="$exec_prefix"
47245 exec_prefix="$acl_final_exec_prefix"
47246 eval x=\"$x\"
47247 exec_prefix="$acl_save_exec_prefix"
47248 prefix="$acl_save_prefix"
47249
47250 if test "X$x" = "X$element"; then
47251 haveit=yes
47252 break
47253 fi
47254 done
47255 if test -z "$haveit"; then
47256 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47257 fi
47258 done
47259
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47261 $as_echo_n "checking how to link with libiconv... " >&6; }
47262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47263 $as_echo "$LIBICONV" >&6; }
47264 else
47265 LIBICONV=
47266 LTLIBICONV=
47267 fi
47268
47269
47270
47271 if test "$am_cv_func_iconv" = yes; then
47272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47273 $as_echo_n "checking for iconv declaration... " >&6; }
47274 if test "${am_cv_proto_iconv+set}" = set; then :
47275 $as_echo_n "(cached) " >&6
47276 else
47277
47278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47279 /* end confdefs.h. */
47280
47281 #include <stdlib.h>
47282 #include <iconv.h>
47283 extern
47284 #ifdef __cplusplus
47285 "C"
47286 #endif
47287 #if defined(__STDC__) || defined(__cplusplus)
47288 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47289 #else
47290 size_t iconv();
47291 #endif
47292
47293 int
47294 main ()
47295 {
47296
47297 ;
47298 return 0;
47299 }
47300 _ACEOF
47301 if ac_fn_c_try_compile "$LINENO"; then :
47302 am_cv_proto_iconv_arg1=""
47303 else
47304 am_cv_proto_iconv_arg1="const"
47305 fi
47306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307 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);"
47308 fi
47309
47310 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47312 }$am_cv_proto_iconv" >&5
47313 $as_echo "${ac_t:-
47314 }$am_cv_proto_iconv" >&6; }
47315
47316 cat >>confdefs.h <<_ACEOF
47317 #define ICONV_CONST $am_cv_proto_iconv_arg1
47318 _ACEOF
47319
47320 fi
47321
47322 ;;
47323
47324 *-darwin*)
47325 # Darwin versions vary, but the linker should work in a cross environment,
47326 # so we just check for all the features here.
47327 # Check for available headers.
47328
47329 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47330
47331 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47332 ac_save_CXXFLAGS="$CXXFLAGS"
47333 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47334
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47336 $as_echo_n "checking for sin in -lm... " >&6; }
47337 if test "${ac_cv_lib_m_sin+set}" = set; then :
47338 $as_echo_n "(cached) " >&6
47339 else
47340 ac_check_lib_save_LIBS=$LIBS
47341 LIBS="-lm $LIBS"
47342 if test x$gcc_no_link = xyes; then
47343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47344 fi
47345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47346 /* end confdefs.h. */
47347
47348 /* Override any GCC internal prototype to avoid an error.
47349 Use char because int might match the return type of a GCC
47350 builtin and then its argument prototype would still apply. */
47351 #ifdef __cplusplus
47352 extern "C"
47353 #endif
47354 char sin ();
47355 int
47356 main ()
47357 {
47358 return sin ();
47359 ;
47360 return 0;
47361 }
47362 _ACEOF
47363 if ac_fn_c_try_link "$LINENO"; then :
47364 ac_cv_lib_m_sin=yes
47365 else
47366 ac_cv_lib_m_sin=no
47367 fi
47368 rm -f core conftest.err conftest.$ac_objext \
47369 conftest$ac_exeext conftest.$ac_ext
47370 LIBS=$ac_check_lib_save_LIBS
47371 fi
47372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47373 $as_echo "$ac_cv_lib_m_sin" >&6; }
47374 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47375 libm="-lm"
47376 fi
47377
47378 ac_save_LIBS="$LIBS"
47379 LIBS="$LIBS $libm"
47380
47381
47382
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47384 $as_echo_n "checking for isinf declaration... " >&6; }
47385 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47386 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47387 $as_echo_n "(cached) " >&6
47388 else
47389
47390
47391 ac_ext=cpp
47392 ac_cpp='$CXXCPP $CPPFLAGS'
47393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47396
47397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47398 /* end confdefs.h. */
47399 #include <math.h>
47400 #ifdef HAVE_IEEEFP_H
47401 #include <ieeefp.h>
47402 #endif
47403
47404 int
47405 main ()
47406 {
47407 isinf(0);
47408 ;
47409 return 0;
47410 }
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func_isinf_use=yes
47414 else
47415 glibcxx_cv_func_isinf_use=no
47416 fi
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47423
47424
47425 fi
47426
47427 fi
47428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47429 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47430
47431 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47432 for ac_func in isinf
47433 do :
47434 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47435 if test "x$ac_cv_func_isinf" = x""yes; then :
47436 cat >>confdefs.h <<_ACEOF
47437 #define HAVE_ISINF 1
47438 _ACEOF
47439
47440 fi
47441 done
47442
47443 else
47444
47445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47446 $as_echo_n "checking for _isinf declaration... " >&6; }
47447 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47448 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47449 $as_echo_n "(cached) " >&6
47450 else
47451
47452
47453 ac_ext=cpp
47454 ac_cpp='$CXXCPP $CPPFLAGS'
47455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47458
47459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47460 /* end confdefs.h. */
47461 #include <math.h>
47462 #ifdef HAVE_IEEEFP_H
47463 #include <ieeefp.h>
47464 #endif
47465
47466 int
47467 main ()
47468 {
47469 _isinf(0);
47470 ;
47471 return 0;
47472 }
47473 _ACEOF
47474 if ac_fn_cxx_try_compile "$LINENO"; then :
47475 glibcxx_cv_func__isinf_use=yes
47476 else
47477 glibcxx_cv_func__isinf_use=no
47478 fi
47479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47480 ac_ext=c
47481 ac_cpp='$CPP $CPPFLAGS'
47482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47485
47486
47487 fi
47488
47489 fi
47490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47491 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47492
47493 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47494 for ac_func in _isinf
47495 do :
47496 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47497 if test "x$ac_cv_func__isinf" = x""yes; then :
47498 cat >>confdefs.h <<_ACEOF
47499 #define HAVE__ISINF 1
47500 _ACEOF
47501
47502 fi
47503 done
47504
47505 fi
47506 fi
47507
47508
47509
47510
47511
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47513 $as_echo_n "checking for isnan declaration... " >&6; }
47514 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47515 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47516 $as_echo_n "(cached) " >&6
47517 else
47518
47519
47520 ac_ext=cpp
47521 ac_cpp='$CXXCPP $CPPFLAGS'
47522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47525
47526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47527 /* end confdefs.h. */
47528 #include <math.h>
47529 #ifdef HAVE_IEEEFP_H
47530 #include <ieeefp.h>
47531 #endif
47532
47533 int
47534 main ()
47535 {
47536 isnan(0);
47537 ;
47538 return 0;
47539 }
47540 _ACEOF
47541 if ac_fn_cxx_try_compile "$LINENO"; then :
47542 glibcxx_cv_func_isnan_use=yes
47543 else
47544 glibcxx_cv_func_isnan_use=no
47545 fi
47546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47547 ac_ext=c
47548 ac_cpp='$CPP $CPPFLAGS'
47549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47552
47553
47554 fi
47555
47556 fi
47557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47558 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47559
47560 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47561 for ac_func in isnan
47562 do :
47563 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47564 if test "x$ac_cv_func_isnan" = x""yes; then :
47565 cat >>confdefs.h <<_ACEOF
47566 #define HAVE_ISNAN 1
47567 _ACEOF
47568
47569 fi
47570 done
47571
47572 else
47573
47574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47575 $as_echo_n "checking for _isnan declaration... " >&6; }
47576 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47577 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47578 $as_echo_n "(cached) " >&6
47579 else
47580
47581
47582 ac_ext=cpp
47583 ac_cpp='$CXXCPP $CPPFLAGS'
47584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47587
47588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47589 /* end confdefs.h. */
47590 #include <math.h>
47591 #ifdef HAVE_IEEEFP_H
47592 #include <ieeefp.h>
47593 #endif
47594
47595 int
47596 main ()
47597 {
47598 _isnan(0);
47599 ;
47600 return 0;
47601 }
47602 _ACEOF
47603 if ac_fn_cxx_try_compile "$LINENO"; then :
47604 glibcxx_cv_func__isnan_use=yes
47605 else
47606 glibcxx_cv_func__isnan_use=no
47607 fi
47608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47609 ac_ext=c
47610 ac_cpp='$CPP $CPPFLAGS'
47611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47614
47615
47616 fi
47617
47618 fi
47619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47620 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47621
47622 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47623 for ac_func in _isnan
47624 do :
47625 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47626 if test "x$ac_cv_func__isnan" = x""yes; then :
47627 cat >>confdefs.h <<_ACEOF
47628 #define HAVE__ISNAN 1
47629 _ACEOF
47630
47631 fi
47632 done
47633
47634 fi
47635 fi
47636
47637
47638
47639
47640
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47642 $as_echo_n "checking for finite declaration... " >&6; }
47643 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47644 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47645 $as_echo_n "(cached) " >&6
47646 else
47647
47648
47649 ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47654
47655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h. */
47657 #include <math.h>
47658 #ifdef HAVE_IEEEFP_H
47659 #include <ieeefp.h>
47660 #endif
47661
47662 int
47663 main ()
47664 {
47665 finite(0);
47666 ;
47667 return 0;
47668 }
47669 _ACEOF
47670 if ac_fn_cxx_try_compile "$LINENO"; then :
47671 glibcxx_cv_func_finite_use=yes
47672 else
47673 glibcxx_cv_func_finite_use=no
47674 fi
47675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47676 ac_ext=c
47677 ac_cpp='$CPP $CPPFLAGS'
47678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47681
47682
47683 fi
47684
47685 fi
47686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47687 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47688
47689 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47690 for ac_func in finite
47691 do :
47692 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47693 if test "x$ac_cv_func_finite" = x""yes; then :
47694 cat >>confdefs.h <<_ACEOF
47695 #define HAVE_FINITE 1
47696 _ACEOF
47697
47698 fi
47699 done
47700
47701 else
47702
47703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47704 $as_echo_n "checking for _finite declaration... " >&6; }
47705 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47706 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47707 $as_echo_n "(cached) " >&6
47708 else
47709
47710
47711 ac_ext=cpp
47712 ac_cpp='$CXXCPP $CPPFLAGS'
47713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47716
47717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47718 /* end confdefs.h. */
47719 #include <math.h>
47720 #ifdef HAVE_IEEEFP_H
47721 #include <ieeefp.h>
47722 #endif
47723
47724 int
47725 main ()
47726 {
47727 _finite(0);
47728 ;
47729 return 0;
47730 }
47731 _ACEOF
47732 if ac_fn_cxx_try_compile "$LINENO"; then :
47733 glibcxx_cv_func__finite_use=yes
47734 else
47735 glibcxx_cv_func__finite_use=no
47736 fi
47737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47738 ac_ext=c
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743
47744
47745 fi
47746
47747 fi
47748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47749 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47750
47751 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47752 for ac_func in _finite
47753 do :
47754 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47755 if test "x$ac_cv_func__finite" = x""yes; then :
47756 cat >>confdefs.h <<_ACEOF
47757 #define HAVE__FINITE 1
47758 _ACEOF
47759
47760 fi
47761 done
47762
47763 fi
47764 fi
47765
47766
47767
47768
47769
47770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47771 $as_echo_n "checking for sincos declaration... " >&6; }
47772 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47773 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47774 $as_echo_n "(cached) " >&6
47775 else
47776
47777
47778 ac_ext=cpp
47779 ac_cpp='$CXXCPP $CPPFLAGS'
47780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47783
47784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47785 /* end confdefs.h. */
47786 #include <math.h>
47787 int
47788 main ()
47789 {
47790 sincos(0, 0, 0);
47791 ;
47792 return 0;
47793 }
47794 _ACEOF
47795 if ac_fn_cxx_try_compile "$LINENO"; then :
47796 glibcxx_cv_func_sincos_use=yes
47797 else
47798 glibcxx_cv_func_sincos_use=no
47799 fi
47800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47801 ac_ext=c
47802 ac_cpp='$CPP $CPPFLAGS'
47803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47806
47807
47808 fi
47809
47810 fi
47811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47812 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47813
47814 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47815 for ac_func in sincos
47816 do :
47817 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47818 if test "x$ac_cv_func_sincos" = x""yes; then :
47819 cat >>confdefs.h <<_ACEOF
47820 #define HAVE_SINCOS 1
47821 _ACEOF
47822
47823 fi
47824 done
47825
47826 else
47827
47828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47829 $as_echo_n "checking for _sincos declaration... " >&6; }
47830 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47831 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47832 $as_echo_n "(cached) " >&6
47833 else
47834
47835
47836 ac_ext=cpp
47837 ac_cpp='$CXXCPP $CPPFLAGS'
47838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47841
47842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47843 /* end confdefs.h. */
47844 #include <math.h>
47845 int
47846 main ()
47847 {
47848 _sincos(0, 0, 0);
47849 ;
47850 return 0;
47851 }
47852 _ACEOF
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854 glibcxx_cv_func__sincos_use=yes
47855 else
47856 glibcxx_cv_func__sincos_use=no
47857 fi
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_ext=c
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47864
47865
47866 fi
47867
47868 fi
47869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47870 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47871
47872 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47873 for ac_func in _sincos
47874 do :
47875 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47876 if test "x$ac_cv_func__sincos" = x""yes; then :
47877 cat >>confdefs.h <<_ACEOF
47878 #define HAVE__SINCOS 1
47879 _ACEOF
47880
47881 fi
47882 done
47883
47884 fi
47885 fi
47886
47887
47888
47889
47890
47891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47892 $as_echo_n "checking for fpclass declaration... " >&6; }
47893 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47894 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47895 $as_echo_n "(cached) " >&6
47896 else
47897
47898
47899 ac_ext=cpp
47900 ac_cpp='$CXXCPP $CPPFLAGS'
47901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47904
47905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906 /* end confdefs.h. */
47907 #include <math.h>
47908 #ifdef HAVE_IEEEFP_H
47909 #include <ieeefp.h>
47910 #endif
47911
47912 int
47913 main ()
47914 {
47915 fpclass(0);
47916 ;
47917 return 0;
47918 }
47919 _ACEOF
47920 if ac_fn_cxx_try_compile "$LINENO"; then :
47921 glibcxx_cv_func_fpclass_use=yes
47922 else
47923 glibcxx_cv_func_fpclass_use=no
47924 fi
47925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47926 ac_ext=c
47927 ac_cpp='$CPP $CPPFLAGS'
47928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47931
47932
47933 fi
47934
47935 fi
47936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47937 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47938
47939 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47940 for ac_func in fpclass
47941 do :
47942 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47943 if test "x$ac_cv_func_fpclass" = x""yes; then :
47944 cat >>confdefs.h <<_ACEOF
47945 #define HAVE_FPCLASS 1
47946 _ACEOF
47947
47948 fi
47949 done
47950
47951 else
47952
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47954 $as_echo_n "checking for _fpclass declaration... " >&6; }
47955 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47956 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47957 $as_echo_n "(cached) " >&6
47958 else
47959
47960
47961 ac_ext=cpp
47962 ac_cpp='$CXXCPP $CPPFLAGS'
47963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47966
47967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47968 /* end confdefs.h. */
47969 #include <math.h>
47970 #ifdef HAVE_IEEEFP_H
47971 #include <ieeefp.h>
47972 #endif
47973
47974 int
47975 main ()
47976 {
47977 _fpclass(0);
47978 ;
47979 return 0;
47980 }
47981 _ACEOF
47982 if ac_fn_cxx_try_compile "$LINENO"; then :
47983 glibcxx_cv_func__fpclass_use=yes
47984 else
47985 glibcxx_cv_func__fpclass_use=no
47986 fi
47987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47988 ac_ext=c
47989 ac_cpp='$CPP $CPPFLAGS'
47990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993
47994
47995 fi
47996
47997 fi
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47999 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48000
48001 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48002 for ac_func in _fpclass
48003 do :
48004 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48005 if test "x$ac_cv_func__fpclass" = x""yes; then :
48006 cat >>confdefs.h <<_ACEOF
48007 #define HAVE__FPCLASS 1
48008 _ACEOF
48009
48010 fi
48011 done
48012
48013 fi
48014 fi
48015
48016
48017
48018
48019
48020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48021 $as_echo_n "checking for qfpclass declaration... " >&6; }
48022 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48023 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48024 $as_echo_n "(cached) " >&6
48025 else
48026
48027
48028 ac_ext=cpp
48029 ac_cpp='$CXXCPP $CPPFLAGS'
48030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48033
48034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48035 /* end confdefs.h. */
48036 #include <math.h>
48037 #ifdef HAVE_IEEEFP_H
48038 #include <ieeefp.h>
48039 #endif
48040
48041 int
48042 main ()
48043 {
48044 qfpclass(0);
48045 ;
48046 return 0;
48047 }
48048 _ACEOF
48049 if ac_fn_cxx_try_compile "$LINENO"; then :
48050 glibcxx_cv_func_qfpclass_use=yes
48051 else
48052 glibcxx_cv_func_qfpclass_use=no
48053 fi
48054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48055 ac_ext=c
48056 ac_cpp='$CPP $CPPFLAGS'
48057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48060
48061
48062 fi
48063
48064 fi
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48066 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48067
48068 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48069 for ac_func in qfpclass
48070 do :
48071 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48072 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48073 cat >>confdefs.h <<_ACEOF
48074 #define HAVE_QFPCLASS 1
48075 _ACEOF
48076
48077 fi
48078 done
48079
48080 else
48081
48082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48083 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48084 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48085 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48086 $as_echo_n "(cached) " >&6
48087 else
48088
48089
48090 ac_ext=cpp
48091 ac_cpp='$CXXCPP $CPPFLAGS'
48092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48095
48096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48097 /* end confdefs.h. */
48098 #include <math.h>
48099 #ifdef HAVE_IEEEFP_H
48100 #include <ieeefp.h>
48101 #endif
48102
48103 int
48104 main ()
48105 {
48106 _qfpclass(0);
48107 ;
48108 return 0;
48109 }
48110 _ACEOF
48111 if ac_fn_cxx_try_compile "$LINENO"; then :
48112 glibcxx_cv_func__qfpclass_use=yes
48113 else
48114 glibcxx_cv_func__qfpclass_use=no
48115 fi
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48117 ac_ext=c
48118 ac_cpp='$CPP $CPPFLAGS'
48119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48122
48123
48124 fi
48125
48126 fi
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48128 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48129
48130 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48131 for ac_func in _qfpclass
48132 do :
48133 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48134 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48135 cat >>confdefs.h <<_ACEOF
48136 #define HAVE__QFPCLASS 1
48137 _ACEOF
48138
48139 fi
48140 done
48141
48142 fi
48143 fi
48144
48145
48146
48147
48148
48149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48150 $as_echo_n "checking for hypot declaration... " >&6; }
48151 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48152 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48153 $as_echo_n "(cached) " >&6
48154 else
48155
48156
48157 ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48162
48163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h. */
48165 #include <math.h>
48166 int
48167 main ()
48168 {
48169 hypot(0, 0);
48170 ;
48171 return 0;
48172 }
48173 _ACEOF
48174 if ac_fn_cxx_try_compile "$LINENO"; then :
48175 glibcxx_cv_func_hypot_use=yes
48176 else
48177 glibcxx_cv_func_hypot_use=no
48178 fi
48179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48180 ac_ext=c
48181 ac_cpp='$CPP $CPPFLAGS'
48182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48185
48186
48187 fi
48188
48189 fi
48190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48191 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48192
48193 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48194 for ac_func in hypot
48195 do :
48196 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48197 if test "x$ac_cv_func_hypot" = x""yes; then :
48198 cat >>confdefs.h <<_ACEOF
48199 #define HAVE_HYPOT 1
48200 _ACEOF
48201
48202 fi
48203 done
48204
48205 else
48206
48207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48208 $as_echo_n "checking for _hypot declaration... " >&6; }
48209 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48210 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48211 $as_echo_n "(cached) " >&6
48212 else
48213
48214
48215 ac_ext=cpp
48216 ac_cpp='$CXXCPP $CPPFLAGS'
48217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48220
48221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48222 /* end confdefs.h. */
48223 #include <math.h>
48224 int
48225 main ()
48226 {
48227 _hypot(0, 0);
48228 ;
48229 return 0;
48230 }
48231 _ACEOF
48232 if ac_fn_cxx_try_compile "$LINENO"; then :
48233 glibcxx_cv_func__hypot_use=yes
48234 else
48235 glibcxx_cv_func__hypot_use=no
48236 fi
48237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48238 ac_ext=c
48239 ac_cpp='$CPP $CPPFLAGS'
48240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48243
48244
48245 fi
48246
48247 fi
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48249 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48250
48251 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48252 for ac_func in _hypot
48253 do :
48254 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48255 if test "x$ac_cv_func__hypot" = x""yes; then :
48256 cat >>confdefs.h <<_ACEOF
48257 #define HAVE__HYPOT 1
48258 _ACEOF
48259
48260 fi
48261 done
48262
48263 fi
48264 fi
48265
48266
48267
48268
48269
48270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48271 $as_echo_n "checking for float trig functions... " >&6; }
48272 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48273 $as_echo_n "(cached) " >&6
48274 else
48275
48276
48277 ac_ext=cpp
48278 ac_cpp='$CXXCPP $CPPFLAGS'
48279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48282
48283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48284 /* end confdefs.h. */
48285 #include <math.h>
48286 int
48287 main ()
48288 {
48289 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48290 ;
48291 return 0;
48292 }
48293 _ACEOF
48294 if ac_fn_cxx_try_compile "$LINENO"; then :
48295 glibcxx_cv_func_float_trig_use=yes
48296 else
48297 glibcxx_cv_func_float_trig_use=no
48298 fi
48299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48300 ac_ext=c
48301 ac_cpp='$CPP $CPPFLAGS'
48302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48305
48306 fi
48307
48308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48309 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48310 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48311 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48312 do :
48313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48315 eval as_val=\$$as_ac_var
48316 if test "x$as_val" = x""yes; then :
48317 cat >>confdefs.h <<_ACEOF
48318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48319 _ACEOF
48320
48321 fi
48322 done
48323
48324 else
48325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48326 $as_echo_n "checking for _float trig functions... " >&6; }
48327 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48328 $as_echo_n "(cached) " >&6
48329 else
48330
48331
48332 ac_ext=cpp
48333 ac_cpp='$CXXCPP $CPPFLAGS'
48334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48337
48338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48339 /* end confdefs.h. */
48340 #include <math.h>
48341 int
48342 main ()
48343 {
48344 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48345 ;
48346 return 0;
48347 }
48348 _ACEOF
48349 if ac_fn_cxx_try_compile "$LINENO"; then :
48350 glibcxx_cv_func__float_trig_use=yes
48351 else
48352 glibcxx_cv_func__float_trig_use=no
48353 fi
48354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48355 ac_ext=c
48356 ac_cpp='$CPP $CPPFLAGS'
48357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48360
48361 fi
48362
48363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48364 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48365 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48366 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48367 do :
48368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48370 eval as_val=\$$as_ac_var
48371 if test "x$as_val" = x""yes; then :
48372 cat >>confdefs.h <<_ACEOF
48373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48374 _ACEOF
48375
48376 fi
48377 done
48378
48379 fi
48380 fi
48381
48382
48383
48384
48385
48386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48387 $as_echo_n "checking for float round functions... " >&6; }
48388 if test "${glibcxx_cv_func_float_round_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 ceilf (0); floorf (0);
48406 ;
48407 return 0;
48408 }
48409 _ACEOF
48410 if ac_fn_cxx_try_compile "$LINENO"; then :
48411 glibcxx_cv_func_float_round_use=yes
48412 else
48413 glibcxx_cv_func_float_round_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 fi
48423
48424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48425 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48426 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48427 for ac_func in ceilf floorf
48428 do :
48429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48431 eval as_val=\$$as_ac_var
48432 if test "x$as_val" = x""yes; then :
48433 cat >>confdefs.h <<_ACEOF
48434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48435 _ACEOF
48436
48437 fi
48438 done
48439
48440 else
48441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48442 $as_echo_n "checking for _float round functions... " >&6; }
48443 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48444 $as_echo_n "(cached) " >&6
48445 else
48446
48447
48448 ac_ext=cpp
48449 ac_cpp='$CXXCPP $CPPFLAGS'
48450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48453
48454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48455 /* end confdefs.h. */
48456 #include <math.h>
48457 int
48458 main ()
48459 {
48460 _ceilf (0); _floorf (0);
48461 ;
48462 return 0;
48463 }
48464 _ACEOF
48465 if ac_fn_cxx_try_compile "$LINENO"; then :
48466 glibcxx_cv_func__float_round_use=yes
48467 else
48468 glibcxx_cv_func__float_round_use=no
48469 fi
48470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48471 ac_ext=c
48472 ac_cpp='$CPP $CPPFLAGS'
48473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48476
48477 fi
48478
48479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48480 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48481 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48482 for ac_func in _ceilf _floorf
48483 do :
48484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48486 eval as_val=\$$as_ac_var
48487 if test "x$as_val" = x""yes; then :
48488 cat >>confdefs.h <<_ACEOF
48489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48490 _ACEOF
48491
48492 fi
48493 done
48494
48495 fi
48496 fi
48497
48498
48499
48500
48501
48502
48503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48504 $as_echo_n "checking for expf declaration... " >&6; }
48505 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48506 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48507 $as_echo_n "(cached) " >&6
48508 else
48509
48510
48511 ac_ext=cpp
48512 ac_cpp='$CXXCPP $CPPFLAGS'
48513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48516
48517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48518 /* end confdefs.h. */
48519 #include <math.h>
48520 #ifdef HAVE_IEEEFP_H
48521 #include <ieeefp.h>
48522 #endif
48523
48524 int
48525 main ()
48526 {
48527 expf(0);
48528 ;
48529 return 0;
48530 }
48531 _ACEOF
48532 if ac_fn_cxx_try_compile "$LINENO"; then :
48533 glibcxx_cv_func_expf_use=yes
48534 else
48535 glibcxx_cv_func_expf_use=no
48536 fi
48537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48538 ac_ext=c
48539 ac_cpp='$CPP $CPPFLAGS'
48540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48543
48544
48545 fi
48546
48547 fi
48548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48549 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48550
48551 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48552 for ac_func in expf
48553 do :
48554 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48555 if test "x$ac_cv_func_expf" = x""yes; then :
48556 cat >>confdefs.h <<_ACEOF
48557 #define HAVE_EXPF 1
48558 _ACEOF
48559
48560 fi
48561 done
48562
48563 else
48564
48565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48566 $as_echo_n "checking for _expf declaration... " >&6; }
48567 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48568 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48569 $as_echo_n "(cached) " >&6
48570 else
48571
48572
48573 ac_ext=cpp
48574 ac_cpp='$CXXCPP $CPPFLAGS'
48575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48578
48579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48580 /* end confdefs.h. */
48581 #include <math.h>
48582 #ifdef HAVE_IEEEFP_H
48583 #include <ieeefp.h>
48584 #endif
48585
48586 int
48587 main ()
48588 {
48589 _expf(0);
48590 ;
48591 return 0;
48592 }
48593 _ACEOF
48594 if ac_fn_cxx_try_compile "$LINENO"; then :
48595 glibcxx_cv_func__expf_use=yes
48596 else
48597 glibcxx_cv_func__expf_use=no
48598 fi
48599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48600 ac_ext=c
48601 ac_cpp='$CPP $CPPFLAGS'
48602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48605
48606
48607 fi
48608
48609 fi
48610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48611 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48612
48613 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48614 for ac_func in _expf
48615 do :
48616 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48617 if test "x$ac_cv_func__expf" = x""yes; then :
48618 cat >>confdefs.h <<_ACEOF
48619 #define HAVE__EXPF 1
48620 _ACEOF
48621
48622 fi
48623 done
48624
48625 fi
48626 fi
48627
48628
48629
48630
48631
48632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48633 $as_echo_n "checking for isnanf declaration... " >&6; }
48634 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48635 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48636 $as_echo_n "(cached) " >&6
48637 else
48638
48639
48640 ac_ext=cpp
48641 ac_cpp='$CXXCPP $CPPFLAGS'
48642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48645
48646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48647 /* end confdefs.h. */
48648 #include <math.h>
48649 #ifdef HAVE_IEEEFP_H
48650 #include <ieeefp.h>
48651 #endif
48652
48653 int
48654 main ()
48655 {
48656 isnanf(0);
48657 ;
48658 return 0;
48659 }
48660 _ACEOF
48661 if ac_fn_cxx_try_compile "$LINENO"; then :
48662 glibcxx_cv_func_isnanf_use=yes
48663 else
48664 glibcxx_cv_func_isnanf_use=no
48665 fi
48666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48667 ac_ext=c
48668 ac_cpp='$CPP $CPPFLAGS'
48669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48672
48673
48674 fi
48675
48676 fi
48677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48678 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48679
48680 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48681 for ac_func in isnanf
48682 do :
48683 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48684 if test "x$ac_cv_func_isnanf" = x""yes; then :
48685 cat >>confdefs.h <<_ACEOF
48686 #define HAVE_ISNANF 1
48687 _ACEOF
48688
48689 fi
48690 done
48691
48692 else
48693
48694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48695 $as_echo_n "checking for _isnanf declaration... " >&6; }
48696 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48697 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48698 $as_echo_n "(cached) " >&6
48699 else
48700
48701
48702 ac_ext=cpp
48703 ac_cpp='$CXXCPP $CPPFLAGS'
48704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48707
48708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48709 /* end confdefs.h. */
48710 #include <math.h>
48711 #ifdef HAVE_IEEEFP_H
48712 #include <ieeefp.h>
48713 #endif
48714
48715 int
48716 main ()
48717 {
48718 _isnanf(0);
48719 ;
48720 return 0;
48721 }
48722 _ACEOF
48723 if ac_fn_cxx_try_compile "$LINENO"; then :
48724 glibcxx_cv_func__isnanf_use=yes
48725 else
48726 glibcxx_cv_func__isnanf_use=no
48727 fi
48728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48729 ac_ext=c
48730 ac_cpp='$CPP $CPPFLAGS'
48731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734
48735
48736 fi
48737
48738 fi
48739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48740 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48741
48742 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48743 for ac_func in _isnanf
48744 do :
48745 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48746 if test "x$ac_cv_func__isnanf" = x""yes; then :
48747 cat >>confdefs.h <<_ACEOF
48748 #define HAVE__ISNANF 1
48749 _ACEOF
48750
48751 fi
48752 done
48753
48754 fi
48755 fi
48756
48757
48758
48759
48760
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48762 $as_echo_n "checking for isinff declaration... " >&6; }
48763 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48764 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48765 $as_echo_n "(cached) " >&6
48766 else
48767
48768
48769 ac_ext=cpp
48770 ac_cpp='$CXXCPP $CPPFLAGS'
48771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48774
48775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48776 /* end confdefs.h. */
48777 #include <math.h>
48778 #ifdef HAVE_IEEEFP_H
48779 #include <ieeefp.h>
48780 #endif
48781
48782 int
48783 main ()
48784 {
48785 isinff(0);
48786 ;
48787 return 0;
48788 }
48789 _ACEOF
48790 if ac_fn_cxx_try_compile "$LINENO"; then :
48791 glibcxx_cv_func_isinff_use=yes
48792 else
48793 glibcxx_cv_func_isinff_use=no
48794 fi
48795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48796 ac_ext=c
48797 ac_cpp='$CPP $CPPFLAGS'
48798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48801
48802
48803 fi
48804
48805 fi
48806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48807 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48808
48809 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48810 for ac_func in isinff
48811 do :
48812 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48813 if test "x$ac_cv_func_isinff" = x""yes; then :
48814 cat >>confdefs.h <<_ACEOF
48815 #define HAVE_ISINFF 1
48816 _ACEOF
48817
48818 fi
48819 done
48820
48821 else
48822
48823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48824 $as_echo_n "checking for _isinff declaration... " >&6; }
48825 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48826 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48827 $as_echo_n "(cached) " >&6
48828 else
48829
48830
48831 ac_ext=cpp
48832 ac_cpp='$CXXCPP $CPPFLAGS'
48833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48836
48837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48838 /* end confdefs.h. */
48839 #include <math.h>
48840 #ifdef HAVE_IEEEFP_H
48841 #include <ieeefp.h>
48842 #endif
48843
48844 int
48845 main ()
48846 {
48847 _isinff(0);
48848 ;
48849 return 0;
48850 }
48851 _ACEOF
48852 if ac_fn_cxx_try_compile "$LINENO"; then :
48853 glibcxx_cv_func__isinff_use=yes
48854 else
48855 glibcxx_cv_func__isinff_use=no
48856 fi
48857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48858 ac_ext=c
48859 ac_cpp='$CPP $CPPFLAGS'
48860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863
48864
48865 fi
48866
48867 fi
48868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48869 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48870
48871 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48872 for ac_func in _isinff
48873 do :
48874 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48875 if test "x$ac_cv_func__isinff" = x""yes; then :
48876 cat >>confdefs.h <<_ACEOF
48877 #define HAVE__ISINFF 1
48878 _ACEOF
48879
48880 fi
48881 done
48882
48883 fi
48884 fi
48885
48886
48887
48888
48889
48890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48891 $as_echo_n "checking for atan2f declaration... " >&6; }
48892 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48893 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48894 $as_echo_n "(cached) " >&6
48895 else
48896
48897
48898 ac_ext=cpp
48899 ac_cpp='$CXXCPP $CPPFLAGS'
48900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48903
48904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48905 /* end confdefs.h. */
48906 #include <math.h>
48907 int
48908 main ()
48909 {
48910 atan2f(0, 0);
48911 ;
48912 return 0;
48913 }
48914 _ACEOF
48915 if ac_fn_cxx_try_compile "$LINENO"; then :
48916 glibcxx_cv_func_atan2f_use=yes
48917 else
48918 glibcxx_cv_func_atan2f_use=no
48919 fi
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921 ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48926
48927
48928 fi
48929
48930 fi
48931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48932 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48933
48934 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48935 for ac_func in atan2f
48936 do :
48937 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48938 if test "x$ac_cv_func_atan2f" = x""yes; then :
48939 cat >>confdefs.h <<_ACEOF
48940 #define HAVE_ATAN2F 1
48941 _ACEOF
48942
48943 fi
48944 done
48945
48946 else
48947
48948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48949 $as_echo_n "checking for _atan2f declaration... " >&6; }
48950 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48951 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48952 $as_echo_n "(cached) " >&6
48953 else
48954
48955
48956 ac_ext=cpp
48957 ac_cpp='$CXXCPP $CPPFLAGS'
48958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48961
48962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48963 /* end confdefs.h. */
48964 #include <math.h>
48965 int
48966 main ()
48967 {
48968 _atan2f(0, 0);
48969 ;
48970 return 0;
48971 }
48972 _ACEOF
48973 if ac_fn_cxx_try_compile "$LINENO"; then :
48974 glibcxx_cv_func__atan2f_use=yes
48975 else
48976 glibcxx_cv_func__atan2f_use=no
48977 fi
48978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48979 ac_ext=c
48980 ac_cpp='$CPP $CPPFLAGS'
48981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48984
48985
48986 fi
48987
48988 fi
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48990 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48991
48992 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48993 for ac_func in _atan2f
48994 do :
48995 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48996 if test "x$ac_cv_func__atan2f" = x""yes; then :
48997 cat >>confdefs.h <<_ACEOF
48998 #define HAVE__ATAN2F 1
48999 _ACEOF
49000
49001 fi
49002 done
49003
49004 fi
49005 fi
49006
49007
49008
49009
49010
49011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49012 $as_echo_n "checking for fabsf declaration... " >&6; }
49013 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49014 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49015 $as_echo_n "(cached) " >&6
49016 else
49017
49018
49019 ac_ext=cpp
49020 ac_cpp='$CXXCPP $CPPFLAGS'
49021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49024
49025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49026 /* end confdefs.h. */
49027 #include <math.h>
49028 #ifdef HAVE_IEEEFP_H
49029 #include <ieeefp.h>
49030 #endif
49031
49032 int
49033 main ()
49034 {
49035 fabsf(0);
49036 ;
49037 return 0;
49038 }
49039 _ACEOF
49040 if ac_fn_cxx_try_compile "$LINENO"; then :
49041 glibcxx_cv_func_fabsf_use=yes
49042 else
49043 glibcxx_cv_func_fabsf_use=no
49044 fi
49045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49046 ac_ext=c
49047 ac_cpp='$CPP $CPPFLAGS'
49048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49051
49052
49053 fi
49054
49055 fi
49056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49057 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49058
49059 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49060 for ac_func in fabsf
49061 do :
49062 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49063 if test "x$ac_cv_func_fabsf" = x""yes; then :
49064 cat >>confdefs.h <<_ACEOF
49065 #define HAVE_FABSF 1
49066 _ACEOF
49067
49068 fi
49069 done
49070
49071 else
49072
49073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49074 $as_echo_n "checking for _fabsf declaration... " >&6; }
49075 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49076 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49077 $as_echo_n "(cached) " >&6
49078 else
49079
49080
49081 ac_ext=cpp
49082 ac_cpp='$CXXCPP $CPPFLAGS'
49083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49086
49087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49088 /* end confdefs.h. */
49089 #include <math.h>
49090 #ifdef HAVE_IEEEFP_H
49091 #include <ieeefp.h>
49092 #endif
49093
49094 int
49095 main ()
49096 {
49097 _fabsf(0);
49098 ;
49099 return 0;
49100 }
49101 _ACEOF
49102 if ac_fn_cxx_try_compile "$LINENO"; then :
49103 glibcxx_cv_func__fabsf_use=yes
49104 else
49105 glibcxx_cv_func__fabsf_use=no
49106 fi
49107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49108 ac_ext=c
49109 ac_cpp='$CPP $CPPFLAGS'
49110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49113
49114
49115 fi
49116
49117 fi
49118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49119 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49120
49121 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49122 for ac_func in _fabsf
49123 do :
49124 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49125 if test "x$ac_cv_func__fabsf" = x""yes; then :
49126 cat >>confdefs.h <<_ACEOF
49127 #define HAVE__FABSF 1
49128 _ACEOF
49129
49130 fi
49131 done
49132
49133 fi
49134 fi
49135
49136
49137
49138
49139
49140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49141 $as_echo_n "checking for fmodf declaration... " >&6; }
49142 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49143 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49144 $as_echo_n "(cached) " >&6
49145 else
49146
49147
49148 ac_ext=cpp
49149 ac_cpp='$CXXCPP $CPPFLAGS'
49150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49153
49154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49155 /* end confdefs.h. */
49156 #include <math.h>
49157 int
49158 main ()
49159 {
49160 fmodf(0, 0);
49161 ;
49162 return 0;
49163 }
49164 _ACEOF
49165 if ac_fn_cxx_try_compile "$LINENO"; then :
49166 glibcxx_cv_func_fmodf_use=yes
49167 else
49168 glibcxx_cv_func_fmodf_use=no
49169 fi
49170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49171 ac_ext=c
49172 ac_cpp='$CPP $CPPFLAGS'
49173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49176
49177
49178 fi
49179
49180 fi
49181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49182 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49183
49184 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49185 for ac_func in fmodf
49186 do :
49187 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49188 if test "x$ac_cv_func_fmodf" = x""yes; then :
49189 cat >>confdefs.h <<_ACEOF
49190 #define HAVE_FMODF 1
49191 _ACEOF
49192
49193 fi
49194 done
49195
49196 else
49197
49198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49199 $as_echo_n "checking for _fmodf declaration... " >&6; }
49200 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49201 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49202 $as_echo_n "(cached) " >&6
49203 else
49204
49205
49206 ac_ext=cpp
49207 ac_cpp='$CXXCPP $CPPFLAGS'
49208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49211
49212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49213 /* end confdefs.h. */
49214 #include <math.h>
49215 int
49216 main ()
49217 {
49218 _fmodf(0, 0);
49219 ;
49220 return 0;
49221 }
49222 _ACEOF
49223 if ac_fn_cxx_try_compile "$LINENO"; then :
49224 glibcxx_cv_func__fmodf_use=yes
49225 else
49226 glibcxx_cv_func__fmodf_use=no
49227 fi
49228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49229 ac_ext=c
49230 ac_cpp='$CPP $CPPFLAGS'
49231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49234
49235
49236 fi
49237
49238 fi
49239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49240 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49241
49242 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49243 for ac_func in _fmodf
49244 do :
49245 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49246 if test "x$ac_cv_func__fmodf" = x""yes; then :
49247 cat >>confdefs.h <<_ACEOF
49248 #define HAVE__FMODF 1
49249 _ACEOF
49250
49251 fi
49252 done
49253
49254 fi
49255 fi
49256
49257
49258
49259
49260
49261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49262 $as_echo_n "checking for frexpf declaration... " >&6; }
49263 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49264 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49265 $as_echo_n "(cached) " >&6
49266 else
49267
49268
49269 ac_ext=cpp
49270 ac_cpp='$CXXCPP $CPPFLAGS'
49271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49274
49275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49276 /* end confdefs.h. */
49277 #include <math.h>
49278 int
49279 main ()
49280 {
49281 frexpf(0, 0);
49282 ;
49283 return 0;
49284 }
49285 _ACEOF
49286 if ac_fn_cxx_try_compile "$LINENO"; then :
49287 glibcxx_cv_func_frexpf_use=yes
49288 else
49289 glibcxx_cv_func_frexpf_use=no
49290 fi
49291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49292 ac_ext=c
49293 ac_cpp='$CPP $CPPFLAGS'
49294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49297
49298
49299 fi
49300
49301 fi
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49303 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49304
49305 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49306 for ac_func in frexpf
49307 do :
49308 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49309 if test "x$ac_cv_func_frexpf" = x""yes; then :
49310 cat >>confdefs.h <<_ACEOF
49311 #define HAVE_FREXPF 1
49312 _ACEOF
49313
49314 fi
49315 done
49316
49317 else
49318
49319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49320 $as_echo_n "checking for _frexpf declaration... " >&6; }
49321 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49322 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49323 $as_echo_n "(cached) " >&6
49324 else
49325
49326
49327 ac_ext=cpp
49328 ac_cpp='$CXXCPP $CPPFLAGS'
49329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49332
49333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49334 /* end confdefs.h. */
49335 #include <math.h>
49336 int
49337 main ()
49338 {
49339 _frexpf(0, 0);
49340 ;
49341 return 0;
49342 }
49343 _ACEOF
49344 if ac_fn_cxx_try_compile "$LINENO"; then :
49345 glibcxx_cv_func__frexpf_use=yes
49346 else
49347 glibcxx_cv_func__frexpf_use=no
49348 fi
49349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49350 ac_ext=c
49351 ac_cpp='$CPP $CPPFLAGS'
49352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355
49356
49357 fi
49358
49359 fi
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49361 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49362
49363 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49364 for ac_func in _frexpf
49365 do :
49366 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49367 if test "x$ac_cv_func__frexpf" = x""yes; then :
49368 cat >>confdefs.h <<_ACEOF
49369 #define HAVE__FREXPF 1
49370 _ACEOF
49371
49372 fi
49373 done
49374
49375 fi
49376 fi
49377
49378
49379
49380
49381
49382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49383 $as_echo_n "checking for hypotf declaration... " >&6; }
49384 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49385 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49386 $as_echo_n "(cached) " >&6
49387 else
49388
49389
49390 ac_ext=cpp
49391 ac_cpp='$CXXCPP $CPPFLAGS'
49392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49395
49396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49397 /* end confdefs.h. */
49398 #include <math.h>
49399 int
49400 main ()
49401 {
49402 hypotf(0, 0);
49403 ;
49404 return 0;
49405 }
49406 _ACEOF
49407 if ac_fn_cxx_try_compile "$LINENO"; then :
49408 glibcxx_cv_func_hypotf_use=yes
49409 else
49410 glibcxx_cv_func_hypotf_use=no
49411 fi
49412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49413 ac_ext=c
49414 ac_cpp='$CPP $CPPFLAGS'
49415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49418
49419
49420 fi
49421
49422 fi
49423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49424 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49425
49426 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49427 for ac_func in hypotf
49428 do :
49429 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49430 if test "x$ac_cv_func_hypotf" = x""yes; then :
49431 cat >>confdefs.h <<_ACEOF
49432 #define HAVE_HYPOTF 1
49433 _ACEOF
49434
49435 fi
49436 done
49437
49438 else
49439
49440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49441 $as_echo_n "checking for _hypotf declaration... " >&6; }
49442 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49443 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49444 $as_echo_n "(cached) " >&6
49445 else
49446
49447
49448 ac_ext=cpp
49449 ac_cpp='$CXXCPP $CPPFLAGS'
49450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49453
49454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49455 /* end confdefs.h. */
49456 #include <math.h>
49457 int
49458 main ()
49459 {
49460 _hypotf(0, 0);
49461 ;
49462 return 0;
49463 }
49464 _ACEOF
49465 if ac_fn_cxx_try_compile "$LINENO"; then :
49466 glibcxx_cv_func__hypotf_use=yes
49467 else
49468 glibcxx_cv_func__hypotf_use=no
49469 fi
49470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49471 ac_ext=c
49472 ac_cpp='$CPP $CPPFLAGS'
49473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476
49477
49478 fi
49479
49480 fi
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49482 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49483
49484 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49485 for ac_func in _hypotf
49486 do :
49487 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49488 if test "x$ac_cv_func__hypotf" = x""yes; then :
49489 cat >>confdefs.h <<_ACEOF
49490 #define HAVE__HYPOTF 1
49491 _ACEOF
49492
49493 fi
49494 done
49495
49496 fi
49497 fi
49498
49499
49500
49501
49502
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49504 $as_echo_n "checking for ldexpf declaration... " >&6; }
49505 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49506 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49507 $as_echo_n "(cached) " >&6
49508 else
49509
49510
49511 ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49516
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49519 #include <math.h>
49520 int
49521 main ()
49522 {
49523 ldexpf(0, 0);
49524 ;
49525 return 0;
49526 }
49527 _ACEOF
49528 if ac_fn_cxx_try_compile "$LINENO"; then :
49529 glibcxx_cv_func_ldexpf_use=yes
49530 else
49531 glibcxx_cv_func_ldexpf_use=no
49532 fi
49533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49534 ac_ext=c
49535 ac_cpp='$CPP $CPPFLAGS'
49536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49539
49540
49541 fi
49542
49543 fi
49544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49545 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49546
49547 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49548 for ac_func in ldexpf
49549 do :
49550 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49551 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49552 cat >>confdefs.h <<_ACEOF
49553 #define HAVE_LDEXPF 1
49554 _ACEOF
49555
49556 fi
49557 done
49558
49559 else
49560
49561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49562 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49563 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49564 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49565 $as_echo_n "(cached) " >&6
49566 else
49567
49568
49569 ac_ext=cpp
49570 ac_cpp='$CXXCPP $CPPFLAGS'
49571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574
49575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49576 /* end confdefs.h. */
49577 #include <math.h>
49578 int
49579 main ()
49580 {
49581 _ldexpf(0, 0);
49582 ;
49583 return 0;
49584 }
49585 _ACEOF
49586 if ac_fn_cxx_try_compile "$LINENO"; then :
49587 glibcxx_cv_func__ldexpf_use=yes
49588 else
49589 glibcxx_cv_func__ldexpf_use=no
49590 fi
49591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49592 ac_ext=c
49593 ac_cpp='$CPP $CPPFLAGS'
49594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49597
49598
49599 fi
49600
49601 fi
49602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49603 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49604
49605 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49606 for ac_func in _ldexpf
49607 do :
49608 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49609 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49610 cat >>confdefs.h <<_ACEOF
49611 #define HAVE__LDEXPF 1
49612 _ACEOF
49613
49614 fi
49615 done
49616
49617 fi
49618 fi
49619
49620
49621
49622
49623
49624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49625 $as_echo_n "checking for logf declaration... " >&6; }
49626 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49627 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49628 $as_echo_n "(cached) " >&6
49629 else
49630
49631
49632 ac_ext=cpp
49633 ac_cpp='$CXXCPP $CPPFLAGS'
49634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49637
49638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49639 /* end confdefs.h. */
49640 #include <math.h>
49641 #ifdef HAVE_IEEEFP_H
49642 #include <ieeefp.h>
49643 #endif
49644
49645 int
49646 main ()
49647 {
49648 logf(0);
49649 ;
49650 return 0;
49651 }
49652 _ACEOF
49653 if ac_fn_cxx_try_compile "$LINENO"; then :
49654 glibcxx_cv_func_logf_use=yes
49655 else
49656 glibcxx_cv_func_logf_use=no
49657 fi
49658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49659 ac_ext=c
49660 ac_cpp='$CPP $CPPFLAGS'
49661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49664
49665
49666 fi
49667
49668 fi
49669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49670 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49671
49672 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49673 for ac_func in logf
49674 do :
49675 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49676 if test "x$ac_cv_func_logf" = x""yes; then :
49677 cat >>confdefs.h <<_ACEOF
49678 #define HAVE_LOGF 1
49679 _ACEOF
49680
49681 fi
49682 done
49683
49684 else
49685
49686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49687 $as_echo_n "checking for _logf declaration... " >&6; }
49688 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49689 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49690 $as_echo_n "(cached) " >&6
49691 else
49692
49693
49694 ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49699
49700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h. */
49702 #include <math.h>
49703 #ifdef HAVE_IEEEFP_H
49704 #include <ieeefp.h>
49705 #endif
49706
49707 int
49708 main ()
49709 {
49710 _logf(0);
49711 ;
49712 return 0;
49713 }
49714 _ACEOF
49715 if ac_fn_cxx_try_compile "$LINENO"; then :
49716 glibcxx_cv_func__logf_use=yes
49717 else
49718 glibcxx_cv_func__logf_use=no
49719 fi
49720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49721 ac_ext=c
49722 ac_cpp='$CPP $CPPFLAGS'
49723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49726
49727
49728 fi
49729
49730 fi
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49732 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49733
49734 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49735 for ac_func in _logf
49736 do :
49737 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49738 if test "x$ac_cv_func__logf" = x""yes; then :
49739 cat >>confdefs.h <<_ACEOF
49740 #define HAVE__LOGF 1
49741 _ACEOF
49742
49743 fi
49744 done
49745
49746 fi
49747 fi
49748
49749
49750
49751
49752
49753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49754 $as_echo_n "checking for log10f declaration... " >&6; }
49755 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49756 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49757 $as_echo_n "(cached) " >&6
49758 else
49759
49760
49761 ac_ext=cpp
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49766
49767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49768 /* end confdefs.h. */
49769 #include <math.h>
49770 #ifdef HAVE_IEEEFP_H
49771 #include <ieeefp.h>
49772 #endif
49773
49774 int
49775 main ()
49776 {
49777 log10f(0);
49778 ;
49779 return 0;
49780 }
49781 _ACEOF
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783 glibcxx_cv_func_log10f_use=yes
49784 else
49785 glibcxx_cv_func_log10f_use=no
49786 fi
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788 ac_ext=c
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49793
49794
49795 fi
49796
49797 fi
49798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49799 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49800
49801 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49802 for ac_func in log10f
49803 do :
49804 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49805 if test "x$ac_cv_func_log10f" = x""yes; then :
49806 cat >>confdefs.h <<_ACEOF
49807 #define HAVE_LOG10F 1
49808 _ACEOF
49809
49810 fi
49811 done
49812
49813 else
49814
49815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49816 $as_echo_n "checking for _log10f declaration... " >&6; }
49817 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49818 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49819 $as_echo_n "(cached) " >&6
49820 else
49821
49822
49823 ac_ext=cpp
49824 ac_cpp='$CXXCPP $CPPFLAGS'
49825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49828
49829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49830 /* end confdefs.h. */
49831 #include <math.h>
49832 #ifdef HAVE_IEEEFP_H
49833 #include <ieeefp.h>
49834 #endif
49835
49836 int
49837 main ()
49838 {
49839 _log10f(0);
49840 ;
49841 return 0;
49842 }
49843 _ACEOF
49844 if ac_fn_cxx_try_compile "$LINENO"; then :
49845 glibcxx_cv_func__log10f_use=yes
49846 else
49847 glibcxx_cv_func__log10f_use=no
49848 fi
49849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49850 ac_ext=c
49851 ac_cpp='$CPP $CPPFLAGS'
49852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49855
49856
49857 fi
49858
49859 fi
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49861 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49862
49863 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49864 for ac_func in _log10f
49865 do :
49866 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49867 if test "x$ac_cv_func__log10f" = x""yes; then :
49868 cat >>confdefs.h <<_ACEOF
49869 #define HAVE__LOG10F 1
49870 _ACEOF
49871
49872 fi
49873 done
49874
49875 fi
49876 fi
49877
49878
49879
49880
49881
49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49883 $as_echo_n "checking for modff declaration... " >&6; }
49884 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49885 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49886 $as_echo_n "(cached) " >&6
49887 else
49888
49889
49890 ac_ext=cpp
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49895
49896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h. */
49898 #include <math.h>
49899 int
49900 main ()
49901 {
49902 modff(0, 0);
49903 ;
49904 return 0;
49905 }
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908 glibcxx_cv_func_modff_use=yes
49909 else
49910 glibcxx_cv_func_modff_use=no
49911 fi
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913 ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918
49919
49920 fi
49921
49922 fi
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49924 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49925
49926 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49927 for ac_func in modff
49928 do :
49929 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49930 if test "x$ac_cv_func_modff" = x""yes; then :
49931 cat >>confdefs.h <<_ACEOF
49932 #define HAVE_MODFF 1
49933 _ACEOF
49934
49935 fi
49936 done
49937
49938 else
49939
49940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49941 $as_echo_n "checking for _modff declaration... " >&6; }
49942 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49943 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49944 $as_echo_n "(cached) " >&6
49945 else
49946
49947
49948 ac_ext=cpp
49949 ac_cpp='$CXXCPP $CPPFLAGS'
49950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49953
49954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955 /* end confdefs.h. */
49956 #include <math.h>
49957 int
49958 main ()
49959 {
49960 _modff(0, 0);
49961 ;
49962 return 0;
49963 }
49964 _ACEOF
49965 if ac_fn_cxx_try_compile "$LINENO"; then :
49966 glibcxx_cv_func__modff_use=yes
49967 else
49968 glibcxx_cv_func__modff_use=no
49969 fi
49970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49971 ac_ext=c
49972 ac_cpp='$CPP $CPPFLAGS'
49973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976
49977
49978 fi
49979
49980 fi
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49982 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49983
49984 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49985 for ac_func in _modff
49986 do :
49987 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49988 if test "x$ac_cv_func__modff" = x""yes; then :
49989 cat >>confdefs.h <<_ACEOF
49990 #define HAVE__MODFF 1
49991 _ACEOF
49992
49993 fi
49994 done
49995
49996 fi
49997 fi
49998
49999
50000
50001
50002
50003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50004 $as_echo_n "checking for modf declaration... " >&6; }
50005 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50006 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50007 $as_echo_n "(cached) " >&6
50008 else
50009
50010
50011 ac_ext=cpp
50012 ac_cpp='$CXXCPP $CPPFLAGS'
50013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50016
50017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50018 /* end confdefs.h. */
50019 #include <math.h>
50020 int
50021 main ()
50022 {
50023 modf(0, 0);
50024 ;
50025 return 0;
50026 }
50027 _ACEOF
50028 if ac_fn_cxx_try_compile "$LINENO"; then :
50029 glibcxx_cv_func_modf_use=yes
50030 else
50031 glibcxx_cv_func_modf_use=no
50032 fi
50033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50034 ac_ext=c
50035 ac_cpp='$CPP $CPPFLAGS'
50036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50039
50040
50041 fi
50042
50043 fi
50044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50045 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50046
50047 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50048 for ac_func in modf
50049 do :
50050 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50051 if test "x$ac_cv_func_modf" = x""yes; then :
50052 cat >>confdefs.h <<_ACEOF
50053 #define HAVE_MODF 1
50054 _ACEOF
50055
50056 fi
50057 done
50058
50059 else
50060
50061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50062 $as_echo_n "checking for _modf declaration... " >&6; }
50063 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50064 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50065 $as_echo_n "(cached) " >&6
50066 else
50067
50068
50069 ac_ext=cpp
50070 ac_cpp='$CXXCPP $CPPFLAGS'
50071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074
50075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50076 /* end confdefs.h. */
50077 #include <math.h>
50078 int
50079 main ()
50080 {
50081 _modf(0, 0);
50082 ;
50083 return 0;
50084 }
50085 _ACEOF
50086 if ac_fn_cxx_try_compile "$LINENO"; then :
50087 glibcxx_cv_func__modf_use=yes
50088 else
50089 glibcxx_cv_func__modf_use=no
50090 fi
50091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50092 ac_ext=c
50093 ac_cpp='$CPP $CPPFLAGS'
50094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50097
50098
50099 fi
50100
50101 fi
50102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50103 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50104
50105 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50106 for ac_func in _modf
50107 do :
50108 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50109 if test "x$ac_cv_func__modf" = x""yes; then :
50110 cat >>confdefs.h <<_ACEOF
50111 #define HAVE__MODF 1
50112 _ACEOF
50113
50114 fi
50115 done
50116
50117 fi
50118 fi
50119
50120
50121
50122
50123
50124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50125 $as_echo_n "checking for powf declaration... " >&6; }
50126 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50127 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50128 $as_echo_n "(cached) " >&6
50129 else
50130
50131
50132 ac_ext=cpp
50133 ac_cpp='$CXXCPP $CPPFLAGS'
50134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50137
50138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50139 /* end confdefs.h. */
50140 #include <math.h>
50141 int
50142 main ()
50143 {
50144 powf(0, 0);
50145 ;
50146 return 0;
50147 }
50148 _ACEOF
50149 if ac_fn_cxx_try_compile "$LINENO"; then :
50150 glibcxx_cv_func_powf_use=yes
50151 else
50152 glibcxx_cv_func_powf_use=no
50153 fi
50154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50155 ac_ext=c
50156 ac_cpp='$CPP $CPPFLAGS'
50157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50160
50161
50162 fi
50163
50164 fi
50165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50166 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50167
50168 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50169 for ac_func in powf
50170 do :
50171 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50172 if test "x$ac_cv_func_powf" = x""yes; then :
50173 cat >>confdefs.h <<_ACEOF
50174 #define HAVE_POWF 1
50175 _ACEOF
50176
50177 fi
50178 done
50179
50180 else
50181
50182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50183 $as_echo_n "checking for _powf declaration... " >&6; }
50184 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50185 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50186 $as_echo_n "(cached) " >&6
50187 else
50188
50189
50190 ac_ext=cpp
50191 ac_cpp='$CXXCPP $CPPFLAGS'
50192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50195
50196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50197 /* end confdefs.h. */
50198 #include <math.h>
50199 int
50200 main ()
50201 {
50202 _powf(0, 0);
50203 ;
50204 return 0;
50205 }
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208 glibcxx_cv_func__powf_use=yes
50209 else
50210 glibcxx_cv_func__powf_use=no
50211 fi
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213 ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218
50219
50220 fi
50221
50222 fi
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50224 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50225
50226 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50227 for ac_func in _powf
50228 do :
50229 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50230 if test "x$ac_cv_func__powf" = x""yes; then :
50231 cat >>confdefs.h <<_ACEOF
50232 #define HAVE__POWF 1
50233 _ACEOF
50234
50235 fi
50236 done
50237
50238 fi
50239 fi
50240
50241
50242
50243
50244
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50246 $as_echo_n "checking for sqrtf declaration... " >&6; }
50247 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50248 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50249 $as_echo_n "(cached) " >&6
50250 else
50251
50252
50253 ac_ext=cpp
50254 ac_cpp='$CXXCPP $CPPFLAGS'
50255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50258
50259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50260 /* end confdefs.h. */
50261 #include <math.h>
50262 #ifdef HAVE_IEEEFP_H
50263 #include <ieeefp.h>
50264 #endif
50265
50266 int
50267 main ()
50268 {
50269 sqrtf(0);
50270 ;
50271 return 0;
50272 }
50273 _ACEOF
50274 if ac_fn_cxx_try_compile "$LINENO"; then :
50275 glibcxx_cv_func_sqrtf_use=yes
50276 else
50277 glibcxx_cv_func_sqrtf_use=no
50278 fi
50279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50280 ac_ext=c
50281 ac_cpp='$CPP $CPPFLAGS'
50282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50285
50286
50287 fi
50288
50289 fi
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50291 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50292
50293 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50294 for ac_func in sqrtf
50295 do :
50296 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50297 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50298 cat >>confdefs.h <<_ACEOF
50299 #define HAVE_SQRTF 1
50300 _ACEOF
50301
50302 fi
50303 done
50304
50305 else
50306
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50308 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50309 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50310 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50311 $as_echo_n "(cached) " >&6
50312 else
50313
50314
50315 ac_ext=cpp
50316 ac_cpp='$CXXCPP $CPPFLAGS'
50317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50320
50321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50322 /* end confdefs.h. */
50323 #include <math.h>
50324 #ifdef HAVE_IEEEFP_H
50325 #include <ieeefp.h>
50326 #endif
50327
50328 int
50329 main ()
50330 {
50331 _sqrtf(0);
50332 ;
50333 return 0;
50334 }
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337 glibcxx_cv_func__sqrtf_use=yes
50338 else
50339 glibcxx_cv_func__sqrtf_use=no
50340 fi
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50347
50348
50349 fi
50350
50351 fi
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50353 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50354
50355 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50356 for ac_func in _sqrtf
50357 do :
50358 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50359 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50360 cat >>confdefs.h <<_ACEOF
50361 #define HAVE__SQRTF 1
50362 _ACEOF
50363
50364 fi
50365 done
50366
50367 fi
50368 fi
50369
50370
50371
50372
50373
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50375 $as_echo_n "checking for sincosf declaration... " >&6; }
50376 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50377 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50378 $as_echo_n "(cached) " >&6
50379 else
50380
50381
50382 ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50387
50388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h. */
50390 #include <math.h>
50391 int
50392 main ()
50393 {
50394 sincosf(0, 0, 0);
50395 ;
50396 return 0;
50397 }
50398 _ACEOF
50399 if ac_fn_cxx_try_compile "$LINENO"; then :
50400 glibcxx_cv_func_sincosf_use=yes
50401 else
50402 glibcxx_cv_func_sincosf_use=no
50403 fi
50404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50405 ac_ext=c
50406 ac_cpp='$CPP $CPPFLAGS'
50407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50410
50411
50412 fi
50413
50414 fi
50415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50416 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50417
50418 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50419 for ac_func in sincosf
50420 do :
50421 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50422 if test "x$ac_cv_func_sincosf" = x""yes; then :
50423 cat >>confdefs.h <<_ACEOF
50424 #define HAVE_SINCOSF 1
50425 _ACEOF
50426
50427 fi
50428 done
50429
50430 else
50431
50432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50433 $as_echo_n "checking for _sincosf declaration... " >&6; }
50434 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50435 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50436 $as_echo_n "(cached) " >&6
50437 else
50438
50439
50440 ac_ext=cpp
50441 ac_cpp='$CXXCPP $CPPFLAGS'
50442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50445
50446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50447 /* end confdefs.h. */
50448 #include <math.h>
50449 int
50450 main ()
50451 {
50452 _sincosf(0, 0, 0);
50453 ;
50454 return 0;
50455 }
50456 _ACEOF
50457 if ac_fn_cxx_try_compile "$LINENO"; then :
50458 glibcxx_cv_func__sincosf_use=yes
50459 else
50460 glibcxx_cv_func__sincosf_use=no
50461 fi
50462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50463 ac_ext=c
50464 ac_cpp='$CPP $CPPFLAGS'
50465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50468
50469
50470 fi
50471
50472 fi
50473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50474 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50475
50476 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50477 for ac_func in _sincosf
50478 do :
50479 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50480 if test "x$ac_cv_func__sincosf" = x""yes; then :
50481 cat >>confdefs.h <<_ACEOF
50482 #define HAVE__SINCOSF 1
50483 _ACEOF
50484
50485 fi
50486 done
50487
50488 fi
50489 fi
50490
50491
50492
50493
50494
50495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50496 $as_echo_n "checking for finitef declaration... " >&6; }
50497 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50498 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50499 $as_echo_n "(cached) " >&6
50500 else
50501
50502
50503 ac_ext=cpp
50504 ac_cpp='$CXXCPP $CPPFLAGS'
50505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50508
50509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50510 /* end confdefs.h. */
50511 #include <math.h>
50512 #ifdef HAVE_IEEEFP_H
50513 #include <ieeefp.h>
50514 #endif
50515
50516 int
50517 main ()
50518 {
50519 finitef(0);
50520 ;
50521 return 0;
50522 }
50523 _ACEOF
50524 if ac_fn_cxx_try_compile "$LINENO"; then :
50525 glibcxx_cv_func_finitef_use=yes
50526 else
50527 glibcxx_cv_func_finitef_use=no
50528 fi
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50530 ac_ext=c
50531 ac_cpp='$CPP $CPPFLAGS'
50532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50535
50536
50537 fi
50538
50539 fi
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50541 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50542
50543 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50544 for ac_func in finitef
50545 do :
50546 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50547 if test "x$ac_cv_func_finitef" = x""yes; then :
50548 cat >>confdefs.h <<_ACEOF
50549 #define HAVE_FINITEF 1
50550 _ACEOF
50551
50552 fi
50553 done
50554
50555 else
50556
50557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50558 $as_echo_n "checking for _finitef declaration... " >&6; }
50559 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50560 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50561 $as_echo_n "(cached) " >&6
50562 else
50563
50564
50565 ac_ext=cpp
50566 ac_cpp='$CXXCPP $CPPFLAGS'
50567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50570
50571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50572 /* end confdefs.h. */
50573 #include <math.h>
50574 #ifdef HAVE_IEEEFP_H
50575 #include <ieeefp.h>
50576 #endif
50577
50578 int
50579 main ()
50580 {
50581 _finitef(0);
50582 ;
50583 return 0;
50584 }
50585 _ACEOF
50586 if ac_fn_cxx_try_compile "$LINENO"; then :
50587 glibcxx_cv_func__finitef_use=yes
50588 else
50589 glibcxx_cv_func__finitef_use=no
50590 fi
50591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50592 ac_ext=c
50593 ac_cpp='$CPP $CPPFLAGS'
50594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50597
50598
50599 fi
50600
50601 fi
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50603 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50604
50605 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50606 for ac_func in _finitef
50607 do :
50608 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50609 if test "x$ac_cv_func__finitef" = x""yes; then :
50610 cat >>confdefs.h <<_ACEOF
50611 #define HAVE__FINITEF 1
50612 _ACEOF
50613
50614 fi
50615 done
50616
50617 fi
50618 fi
50619
50620
50621
50622
50623
50624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50625 $as_echo_n "checking for long double trig functions... " >&6; }
50626 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50627 $as_echo_n "(cached) " >&6
50628 else
50629
50630
50631 ac_ext=cpp
50632 ac_cpp='$CXXCPP $CPPFLAGS'
50633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50636
50637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50638 /* end confdefs.h. */
50639 #include <math.h>
50640 int
50641 main ()
50642 {
50643 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50644 ;
50645 return 0;
50646 }
50647 _ACEOF
50648 if ac_fn_cxx_try_compile "$LINENO"; then :
50649 glibcxx_cv_func_long_double_trig_use=yes
50650 else
50651 glibcxx_cv_func_long_double_trig_use=no
50652 fi
50653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654 ac_ext=c
50655 ac_cpp='$CPP $CPPFLAGS'
50656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50659
50660 fi
50661
50662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50663 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50664 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50665 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50666 do :
50667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50669 eval as_val=\$$as_ac_var
50670 if test "x$as_val" = x""yes; then :
50671 cat >>confdefs.h <<_ACEOF
50672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50673 _ACEOF
50674
50675 fi
50676 done
50677
50678 else
50679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50680 $as_echo_n "checking for _long double trig functions... " >&6; }
50681 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50682 $as_echo_n "(cached) " >&6
50683 else
50684
50685
50686 ac_ext=cpp
50687 ac_cpp='$CXXCPP $CPPFLAGS'
50688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50691
50692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50693 /* end confdefs.h. */
50694 #include <math.h>
50695 int
50696 main ()
50697 {
50698 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50699 ;
50700 return 0;
50701 }
50702 _ACEOF
50703 if ac_fn_cxx_try_compile "$LINENO"; then :
50704 glibcxx_cv_func__long_double_trig_use=yes
50705 else
50706 glibcxx_cv_func__long_double_trig_use=no
50707 fi
50708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50709 ac_ext=c
50710 ac_cpp='$CPP $CPPFLAGS'
50711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50714
50715 fi
50716
50717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50718 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50719 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50720 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50721 do :
50722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50724 eval as_val=\$$as_ac_var
50725 if test "x$as_val" = x""yes; then :
50726 cat >>confdefs.h <<_ACEOF
50727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50728 _ACEOF
50729
50730 fi
50731 done
50732
50733 fi
50734 fi
50735
50736
50737
50738
50739
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50741 $as_echo_n "checking for long double round functions... " >&6; }
50742 if test "${glibcxx_cv_func_long_double_round_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 ceill (0); floorl (0);
50760 ;
50761 return 0;
50762 }
50763 _ACEOF
50764 if ac_fn_cxx_try_compile "$LINENO"; then :
50765 glibcxx_cv_func_long_double_round_use=yes
50766 else
50767 glibcxx_cv_func_long_double_round_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 fi
50777
50778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50779 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50780 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50781 for ac_func in ceill floorl
50782 do :
50783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50785 eval as_val=\$$as_ac_var
50786 if test "x$as_val" = x""yes; then :
50787 cat >>confdefs.h <<_ACEOF
50788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50789 _ACEOF
50790
50791 fi
50792 done
50793
50794 else
50795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50796 $as_echo_n "checking for _long double round functions... " >&6; }
50797 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50798 $as_echo_n "(cached) " >&6
50799 else
50800
50801
50802 ac_ext=cpp
50803 ac_cpp='$CXXCPP $CPPFLAGS'
50804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50807
50808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50809 /* end confdefs.h. */
50810 #include <math.h>
50811 int
50812 main ()
50813 {
50814 _ceill (0); _floorl (0);
50815 ;
50816 return 0;
50817 }
50818 _ACEOF
50819 if ac_fn_cxx_try_compile "$LINENO"; then :
50820 glibcxx_cv_func__long_double_round_use=yes
50821 else
50822 glibcxx_cv_func__long_double_round_use=no
50823 fi
50824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50825 ac_ext=c
50826 ac_cpp='$CPP $CPPFLAGS'
50827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50830
50831 fi
50832
50833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50834 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50835 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50836 for ac_func in _ceill _floorl
50837 do :
50838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50840 eval as_val=\$$as_ac_var
50841 if test "x$as_val" = x""yes; then :
50842 cat >>confdefs.h <<_ACEOF
50843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50844 _ACEOF
50845
50846 fi
50847 done
50848
50849 fi
50850 fi
50851
50852
50853
50854
50855
50856
50857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50858 $as_echo_n "checking for isnanl declaration... " >&6; }
50859 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50860 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50861 $as_echo_n "(cached) " >&6
50862 else
50863
50864
50865 ac_ext=cpp
50866 ac_cpp='$CXXCPP $CPPFLAGS'
50867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50870
50871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50872 /* end confdefs.h. */
50873 #include <math.h>
50874 #ifdef HAVE_IEEEFP_H
50875 #include <ieeefp.h>
50876 #endif
50877
50878 int
50879 main ()
50880 {
50881 isnanl(0);
50882 ;
50883 return 0;
50884 }
50885 _ACEOF
50886 if ac_fn_cxx_try_compile "$LINENO"; then :
50887 glibcxx_cv_func_isnanl_use=yes
50888 else
50889 glibcxx_cv_func_isnanl_use=no
50890 fi
50891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50892 ac_ext=c
50893 ac_cpp='$CPP $CPPFLAGS'
50894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50897
50898
50899 fi
50900
50901 fi
50902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50903 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50904
50905 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50906 for ac_func in isnanl
50907 do :
50908 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50909 if test "x$ac_cv_func_isnanl" = x""yes; then :
50910 cat >>confdefs.h <<_ACEOF
50911 #define HAVE_ISNANL 1
50912 _ACEOF
50913
50914 fi
50915 done
50916
50917 else
50918
50919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50920 $as_echo_n "checking for _isnanl declaration... " >&6; }
50921 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50922 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50923 $as_echo_n "(cached) " >&6
50924 else
50925
50926
50927 ac_ext=cpp
50928 ac_cpp='$CXXCPP $CPPFLAGS'
50929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50932
50933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50934 /* end confdefs.h. */
50935 #include <math.h>
50936 #ifdef HAVE_IEEEFP_H
50937 #include <ieeefp.h>
50938 #endif
50939
50940 int
50941 main ()
50942 {
50943 _isnanl(0);
50944 ;
50945 return 0;
50946 }
50947 _ACEOF
50948 if ac_fn_cxx_try_compile "$LINENO"; then :
50949 glibcxx_cv_func__isnanl_use=yes
50950 else
50951 glibcxx_cv_func__isnanl_use=no
50952 fi
50953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50954 ac_ext=c
50955 ac_cpp='$CPP $CPPFLAGS'
50956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50959
50960
50961 fi
50962
50963 fi
50964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50965 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50966
50967 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50968 for ac_func in _isnanl
50969 do :
50970 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50971 if test "x$ac_cv_func__isnanl" = x""yes; then :
50972 cat >>confdefs.h <<_ACEOF
50973 #define HAVE__ISNANL 1
50974 _ACEOF
50975
50976 fi
50977 done
50978
50979 fi
50980 fi
50981
50982
50983
50984
50985
50986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50987 $as_echo_n "checking for isinfl declaration... " >&6; }
50988 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50989 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50990 $as_echo_n "(cached) " >&6
50991 else
50992
50993
50994 ac_ext=cpp
50995 ac_cpp='$CXXCPP $CPPFLAGS'
50996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50999
51000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51001 /* end confdefs.h. */
51002 #include <math.h>
51003 #ifdef HAVE_IEEEFP_H
51004 #include <ieeefp.h>
51005 #endif
51006
51007 int
51008 main ()
51009 {
51010 isinfl(0);
51011 ;
51012 return 0;
51013 }
51014 _ACEOF
51015 if ac_fn_cxx_try_compile "$LINENO"; then :
51016 glibcxx_cv_func_isinfl_use=yes
51017 else
51018 glibcxx_cv_func_isinfl_use=no
51019 fi
51020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51021 ac_ext=c
51022 ac_cpp='$CPP $CPPFLAGS'
51023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51026
51027
51028 fi
51029
51030 fi
51031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51032 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51033
51034 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51035 for ac_func in isinfl
51036 do :
51037 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51038 if test "x$ac_cv_func_isinfl" = x""yes; then :
51039 cat >>confdefs.h <<_ACEOF
51040 #define HAVE_ISINFL 1
51041 _ACEOF
51042
51043 fi
51044 done
51045
51046 else
51047
51048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51049 $as_echo_n "checking for _isinfl declaration... " >&6; }
51050 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51051 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51052 $as_echo_n "(cached) " >&6
51053 else
51054
51055
51056 ac_ext=cpp
51057 ac_cpp='$CXXCPP $CPPFLAGS'
51058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51061
51062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51063 /* end confdefs.h. */
51064 #include <math.h>
51065 #ifdef HAVE_IEEEFP_H
51066 #include <ieeefp.h>
51067 #endif
51068
51069 int
51070 main ()
51071 {
51072 _isinfl(0);
51073 ;
51074 return 0;
51075 }
51076 _ACEOF
51077 if ac_fn_cxx_try_compile "$LINENO"; then :
51078 glibcxx_cv_func__isinfl_use=yes
51079 else
51080 glibcxx_cv_func__isinfl_use=no
51081 fi
51082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51083 ac_ext=c
51084 ac_cpp='$CPP $CPPFLAGS'
51085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51088
51089
51090 fi
51091
51092 fi
51093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51094 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51095
51096 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51097 for ac_func in _isinfl
51098 do :
51099 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51100 if test "x$ac_cv_func__isinfl" = x""yes; then :
51101 cat >>confdefs.h <<_ACEOF
51102 #define HAVE__ISINFL 1
51103 _ACEOF
51104
51105 fi
51106 done
51107
51108 fi
51109 fi
51110
51111
51112
51113
51114
51115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51116 $as_echo_n "checking for atan2l declaration... " >&6; }
51117 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51118 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51119 $as_echo_n "(cached) " >&6
51120 else
51121
51122
51123 ac_ext=cpp
51124 ac_cpp='$CXXCPP $CPPFLAGS'
51125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51128
51129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51130 /* end confdefs.h. */
51131 #include <math.h>
51132 int
51133 main ()
51134 {
51135 atan2l(0, 0);
51136 ;
51137 return 0;
51138 }
51139 _ACEOF
51140 if ac_fn_cxx_try_compile "$LINENO"; then :
51141 glibcxx_cv_func_atan2l_use=yes
51142 else
51143 glibcxx_cv_func_atan2l_use=no
51144 fi
51145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51146 ac_ext=c
51147 ac_cpp='$CPP $CPPFLAGS'
51148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51151
51152
51153 fi
51154
51155 fi
51156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51157 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51158
51159 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51160 for ac_func in atan2l
51161 do :
51162 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51163 if test "x$ac_cv_func_atan2l" = x""yes; then :
51164 cat >>confdefs.h <<_ACEOF
51165 #define HAVE_ATAN2L 1
51166 _ACEOF
51167
51168 fi
51169 done
51170
51171 else
51172
51173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51174 $as_echo_n "checking for _atan2l declaration... " >&6; }
51175 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51176 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51177 $as_echo_n "(cached) " >&6
51178 else
51179
51180
51181 ac_ext=cpp
51182 ac_cpp='$CXXCPP $CPPFLAGS'
51183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51186
51187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51188 /* end confdefs.h. */
51189 #include <math.h>
51190 int
51191 main ()
51192 {
51193 _atan2l(0, 0);
51194 ;
51195 return 0;
51196 }
51197 _ACEOF
51198 if ac_fn_cxx_try_compile "$LINENO"; then :
51199 glibcxx_cv_func__atan2l_use=yes
51200 else
51201 glibcxx_cv_func__atan2l_use=no
51202 fi
51203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51204 ac_ext=c
51205 ac_cpp='$CPP $CPPFLAGS'
51206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51209
51210
51211 fi
51212
51213 fi
51214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51215 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51216
51217 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51218 for ac_func in _atan2l
51219 do :
51220 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51221 if test "x$ac_cv_func__atan2l" = x""yes; then :
51222 cat >>confdefs.h <<_ACEOF
51223 #define HAVE__ATAN2L 1
51224 _ACEOF
51225
51226 fi
51227 done
51228
51229 fi
51230 fi
51231
51232
51233
51234
51235
51236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51237 $as_echo_n "checking for expl declaration... " >&6; }
51238 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51239 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51240 $as_echo_n "(cached) " >&6
51241 else
51242
51243
51244 ac_ext=cpp
51245 ac_cpp='$CXXCPP $CPPFLAGS'
51246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51249
51250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51251 /* end confdefs.h. */
51252 #include <math.h>
51253 #ifdef HAVE_IEEEFP_H
51254 #include <ieeefp.h>
51255 #endif
51256
51257 int
51258 main ()
51259 {
51260 expl(0);
51261 ;
51262 return 0;
51263 }
51264 _ACEOF
51265 if ac_fn_cxx_try_compile "$LINENO"; then :
51266 glibcxx_cv_func_expl_use=yes
51267 else
51268 glibcxx_cv_func_expl_use=no
51269 fi
51270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51271 ac_ext=c
51272 ac_cpp='$CPP $CPPFLAGS'
51273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51276
51277
51278 fi
51279
51280 fi
51281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51282 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51283
51284 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51285 for ac_func in expl
51286 do :
51287 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51288 if test "x$ac_cv_func_expl" = x""yes; then :
51289 cat >>confdefs.h <<_ACEOF
51290 #define HAVE_EXPL 1
51291 _ACEOF
51292
51293 fi
51294 done
51295
51296 else
51297
51298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51299 $as_echo_n "checking for _expl declaration... " >&6; }
51300 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51301 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51302 $as_echo_n "(cached) " >&6
51303 else
51304
51305
51306 ac_ext=cpp
51307 ac_cpp='$CXXCPP $CPPFLAGS'
51308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51311
51312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51313 /* end confdefs.h. */
51314 #include <math.h>
51315 #ifdef HAVE_IEEEFP_H
51316 #include <ieeefp.h>
51317 #endif
51318
51319 int
51320 main ()
51321 {
51322 _expl(0);
51323 ;
51324 return 0;
51325 }
51326 _ACEOF
51327 if ac_fn_cxx_try_compile "$LINENO"; then :
51328 glibcxx_cv_func__expl_use=yes
51329 else
51330 glibcxx_cv_func__expl_use=no
51331 fi
51332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51333 ac_ext=c
51334 ac_cpp='$CPP $CPPFLAGS'
51335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51338
51339
51340 fi
51341
51342 fi
51343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51344 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51345
51346 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51347 for ac_func in _expl
51348 do :
51349 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51350 if test "x$ac_cv_func__expl" = x""yes; then :
51351 cat >>confdefs.h <<_ACEOF
51352 #define HAVE__EXPL 1
51353 _ACEOF
51354
51355 fi
51356 done
51357
51358 fi
51359 fi
51360
51361
51362
51363
51364
51365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51366 $as_echo_n "checking for fabsl declaration... " >&6; }
51367 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51368 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51369 $as_echo_n "(cached) " >&6
51370 else
51371
51372
51373 ac_ext=cpp
51374 ac_cpp='$CXXCPP $CPPFLAGS'
51375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51378
51379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51380 /* end confdefs.h. */
51381 #include <math.h>
51382 #ifdef HAVE_IEEEFP_H
51383 #include <ieeefp.h>
51384 #endif
51385
51386 int
51387 main ()
51388 {
51389 fabsl(0);
51390 ;
51391 return 0;
51392 }
51393 _ACEOF
51394 if ac_fn_cxx_try_compile "$LINENO"; then :
51395 glibcxx_cv_func_fabsl_use=yes
51396 else
51397 glibcxx_cv_func_fabsl_use=no
51398 fi
51399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51400 ac_ext=c
51401 ac_cpp='$CPP $CPPFLAGS'
51402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51405
51406
51407 fi
51408
51409 fi
51410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51411 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51412
51413 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51414 for ac_func in fabsl
51415 do :
51416 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51417 if test "x$ac_cv_func_fabsl" = x""yes; then :
51418 cat >>confdefs.h <<_ACEOF
51419 #define HAVE_FABSL 1
51420 _ACEOF
51421
51422 fi
51423 done
51424
51425 else
51426
51427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51428 $as_echo_n "checking for _fabsl declaration... " >&6; }
51429 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51430 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51431 $as_echo_n "(cached) " >&6
51432 else
51433
51434
51435 ac_ext=cpp
51436 ac_cpp='$CXXCPP $CPPFLAGS'
51437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51440
51441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51442 /* end confdefs.h. */
51443 #include <math.h>
51444 #ifdef HAVE_IEEEFP_H
51445 #include <ieeefp.h>
51446 #endif
51447
51448 int
51449 main ()
51450 {
51451 _fabsl(0);
51452 ;
51453 return 0;
51454 }
51455 _ACEOF
51456 if ac_fn_cxx_try_compile "$LINENO"; then :
51457 glibcxx_cv_func__fabsl_use=yes
51458 else
51459 glibcxx_cv_func__fabsl_use=no
51460 fi
51461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51462 ac_ext=c
51463 ac_cpp='$CPP $CPPFLAGS'
51464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51467
51468
51469 fi
51470
51471 fi
51472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51473 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51474
51475 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51476 for ac_func in _fabsl
51477 do :
51478 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51479 if test "x$ac_cv_func__fabsl" = x""yes; then :
51480 cat >>confdefs.h <<_ACEOF
51481 #define HAVE__FABSL 1
51482 _ACEOF
51483
51484 fi
51485 done
51486
51487 fi
51488 fi
51489
51490
51491
51492
51493
51494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51495 $as_echo_n "checking for fmodl declaration... " >&6; }
51496 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51497 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51498 $as_echo_n "(cached) " >&6
51499 else
51500
51501
51502 ac_ext=cpp
51503 ac_cpp='$CXXCPP $CPPFLAGS'
51504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51507
51508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51509 /* end confdefs.h. */
51510 #include <math.h>
51511 int
51512 main ()
51513 {
51514 fmodl(0, 0);
51515 ;
51516 return 0;
51517 }
51518 _ACEOF
51519 if ac_fn_cxx_try_compile "$LINENO"; then :
51520 glibcxx_cv_func_fmodl_use=yes
51521 else
51522 glibcxx_cv_func_fmodl_use=no
51523 fi
51524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51525 ac_ext=c
51526 ac_cpp='$CPP $CPPFLAGS'
51527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51530
51531
51532 fi
51533
51534 fi
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51536 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51537
51538 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51539 for ac_func in fmodl
51540 do :
51541 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51542 if test "x$ac_cv_func_fmodl" = x""yes; then :
51543 cat >>confdefs.h <<_ACEOF
51544 #define HAVE_FMODL 1
51545 _ACEOF
51546
51547 fi
51548 done
51549
51550 else
51551
51552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51553 $as_echo_n "checking for _fmodl declaration... " >&6; }
51554 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51555 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51556 $as_echo_n "(cached) " >&6
51557 else
51558
51559
51560 ac_ext=cpp
51561 ac_cpp='$CXXCPP $CPPFLAGS'
51562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51565
51566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51567 /* end confdefs.h. */
51568 #include <math.h>
51569 int
51570 main ()
51571 {
51572 _fmodl(0, 0);
51573 ;
51574 return 0;
51575 }
51576 _ACEOF
51577 if ac_fn_cxx_try_compile "$LINENO"; then :
51578 glibcxx_cv_func__fmodl_use=yes
51579 else
51580 glibcxx_cv_func__fmodl_use=no
51581 fi
51582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51583 ac_ext=c
51584 ac_cpp='$CPP $CPPFLAGS'
51585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51588
51589
51590 fi
51591
51592 fi
51593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51594 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51595
51596 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51597 for ac_func in _fmodl
51598 do :
51599 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51600 if test "x$ac_cv_func__fmodl" = x""yes; then :
51601 cat >>confdefs.h <<_ACEOF
51602 #define HAVE__FMODL 1
51603 _ACEOF
51604
51605 fi
51606 done
51607
51608 fi
51609 fi
51610
51611
51612
51613
51614
51615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51616 $as_echo_n "checking for frexpl declaration... " >&6; }
51617 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51618 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51619 $as_echo_n "(cached) " >&6
51620 else
51621
51622
51623 ac_ext=cpp
51624 ac_cpp='$CXXCPP $CPPFLAGS'
51625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51628
51629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51630 /* end confdefs.h. */
51631 #include <math.h>
51632 int
51633 main ()
51634 {
51635 frexpl(0, 0);
51636 ;
51637 return 0;
51638 }
51639 _ACEOF
51640 if ac_fn_cxx_try_compile "$LINENO"; then :
51641 glibcxx_cv_func_frexpl_use=yes
51642 else
51643 glibcxx_cv_func_frexpl_use=no
51644 fi
51645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51646 ac_ext=c
51647 ac_cpp='$CPP $CPPFLAGS'
51648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51651
51652
51653 fi
51654
51655 fi
51656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51657 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51658
51659 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51660 for ac_func in frexpl
51661 do :
51662 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51663 if test "x$ac_cv_func_frexpl" = x""yes; then :
51664 cat >>confdefs.h <<_ACEOF
51665 #define HAVE_FREXPL 1
51666 _ACEOF
51667
51668 fi
51669 done
51670
51671 else
51672
51673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51674 $as_echo_n "checking for _frexpl declaration... " >&6; }
51675 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51676 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51677 $as_echo_n "(cached) " >&6
51678 else
51679
51680
51681 ac_ext=cpp
51682 ac_cpp='$CXXCPP $CPPFLAGS'
51683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51686
51687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51688 /* end confdefs.h. */
51689 #include <math.h>
51690 int
51691 main ()
51692 {
51693 _frexpl(0, 0);
51694 ;
51695 return 0;
51696 }
51697 _ACEOF
51698 if ac_fn_cxx_try_compile "$LINENO"; then :
51699 glibcxx_cv_func__frexpl_use=yes
51700 else
51701 glibcxx_cv_func__frexpl_use=no
51702 fi
51703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51704 ac_ext=c
51705 ac_cpp='$CPP $CPPFLAGS'
51706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51709
51710
51711 fi
51712
51713 fi
51714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51715 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51716
51717 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51718 for ac_func in _frexpl
51719 do :
51720 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51721 if test "x$ac_cv_func__frexpl" = x""yes; then :
51722 cat >>confdefs.h <<_ACEOF
51723 #define HAVE__FREXPL 1
51724 _ACEOF
51725
51726 fi
51727 done
51728
51729 fi
51730 fi
51731
51732
51733
51734
51735
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51737 $as_echo_n "checking for hypotl declaration... " >&6; }
51738 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51739 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51740 $as_echo_n "(cached) " >&6
51741 else
51742
51743
51744 ac_ext=cpp
51745 ac_cpp='$CXXCPP $CPPFLAGS'
51746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51749
51750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51751 /* end confdefs.h. */
51752 #include <math.h>
51753 int
51754 main ()
51755 {
51756 hypotl(0, 0);
51757 ;
51758 return 0;
51759 }
51760 _ACEOF
51761 if ac_fn_cxx_try_compile "$LINENO"; then :
51762 glibcxx_cv_func_hypotl_use=yes
51763 else
51764 glibcxx_cv_func_hypotl_use=no
51765 fi
51766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51767 ac_ext=c
51768 ac_cpp='$CPP $CPPFLAGS'
51769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51772
51773
51774 fi
51775
51776 fi
51777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51778 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51779
51780 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51781 for ac_func in hypotl
51782 do :
51783 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51784 if test "x$ac_cv_func_hypotl" = x""yes; then :
51785 cat >>confdefs.h <<_ACEOF
51786 #define HAVE_HYPOTL 1
51787 _ACEOF
51788
51789 fi
51790 done
51791
51792 else
51793
51794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51795 $as_echo_n "checking for _hypotl declaration... " >&6; }
51796 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51797 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51798 $as_echo_n "(cached) " >&6
51799 else
51800
51801
51802 ac_ext=cpp
51803 ac_cpp='$CXXCPP $CPPFLAGS'
51804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51807
51808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51809 /* end confdefs.h. */
51810 #include <math.h>
51811 int
51812 main ()
51813 {
51814 _hypotl(0, 0);
51815 ;
51816 return 0;
51817 }
51818 _ACEOF
51819 if ac_fn_cxx_try_compile "$LINENO"; then :
51820 glibcxx_cv_func__hypotl_use=yes
51821 else
51822 glibcxx_cv_func__hypotl_use=no
51823 fi
51824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51825 ac_ext=c
51826 ac_cpp='$CPP $CPPFLAGS'
51827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51830
51831
51832 fi
51833
51834 fi
51835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51836 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51837
51838 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51839 for ac_func in _hypotl
51840 do :
51841 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51842 if test "x$ac_cv_func__hypotl" = x""yes; then :
51843 cat >>confdefs.h <<_ACEOF
51844 #define HAVE__HYPOTL 1
51845 _ACEOF
51846
51847 fi
51848 done
51849
51850 fi
51851 fi
51852
51853
51854
51855
51856
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51858 $as_echo_n "checking for ldexpl declaration... " >&6; }
51859 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51860 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51861 $as_echo_n "(cached) " >&6
51862 else
51863
51864
51865 ac_ext=cpp
51866 ac_cpp='$CXXCPP $CPPFLAGS'
51867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51870
51871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51872 /* end confdefs.h. */
51873 #include <math.h>
51874 int
51875 main ()
51876 {
51877 ldexpl(0, 0);
51878 ;
51879 return 0;
51880 }
51881 _ACEOF
51882 if ac_fn_cxx_try_compile "$LINENO"; then :
51883 glibcxx_cv_func_ldexpl_use=yes
51884 else
51885 glibcxx_cv_func_ldexpl_use=no
51886 fi
51887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51888 ac_ext=c
51889 ac_cpp='$CPP $CPPFLAGS'
51890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51893
51894
51895 fi
51896
51897 fi
51898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51899 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51900
51901 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51902 for ac_func in ldexpl
51903 do :
51904 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51905 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51906 cat >>confdefs.h <<_ACEOF
51907 #define HAVE_LDEXPL 1
51908 _ACEOF
51909
51910 fi
51911 done
51912
51913 else
51914
51915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51916 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51917 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51918 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51919 $as_echo_n "(cached) " >&6
51920 else
51921
51922
51923 ac_ext=cpp
51924 ac_cpp='$CXXCPP $CPPFLAGS'
51925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51928
51929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51930 /* end confdefs.h. */
51931 #include <math.h>
51932 int
51933 main ()
51934 {
51935 _ldexpl(0, 0);
51936 ;
51937 return 0;
51938 }
51939 _ACEOF
51940 if ac_fn_cxx_try_compile "$LINENO"; then :
51941 glibcxx_cv_func__ldexpl_use=yes
51942 else
51943 glibcxx_cv_func__ldexpl_use=no
51944 fi
51945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51946 ac_ext=c
51947 ac_cpp='$CPP $CPPFLAGS'
51948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51951
51952
51953 fi
51954
51955 fi
51956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51957 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51958
51959 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51960 for ac_func in _ldexpl
51961 do :
51962 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51963 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51964 cat >>confdefs.h <<_ACEOF
51965 #define HAVE__LDEXPL 1
51966 _ACEOF
51967
51968 fi
51969 done
51970
51971 fi
51972 fi
51973
51974
51975
51976
51977
51978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51979 $as_echo_n "checking for logl declaration... " >&6; }
51980 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51981 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51982 $as_echo_n "(cached) " >&6
51983 else
51984
51985
51986 ac_ext=cpp
51987 ac_cpp='$CXXCPP $CPPFLAGS'
51988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51991
51992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51993 /* end confdefs.h. */
51994 #include <math.h>
51995 #ifdef HAVE_IEEEFP_H
51996 #include <ieeefp.h>
51997 #endif
51998
51999 int
52000 main ()
52001 {
52002 logl(0);
52003 ;
52004 return 0;
52005 }
52006 _ACEOF
52007 if ac_fn_cxx_try_compile "$LINENO"; then :
52008 glibcxx_cv_func_logl_use=yes
52009 else
52010 glibcxx_cv_func_logl_use=no
52011 fi
52012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52013 ac_ext=c
52014 ac_cpp='$CPP $CPPFLAGS'
52015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52018
52019
52020 fi
52021
52022 fi
52023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52024 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52025
52026 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52027 for ac_func in logl
52028 do :
52029 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52030 if test "x$ac_cv_func_logl" = x""yes; then :
52031 cat >>confdefs.h <<_ACEOF
52032 #define HAVE_LOGL 1
52033 _ACEOF
52034
52035 fi
52036 done
52037
52038 else
52039
52040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52041 $as_echo_n "checking for _logl declaration... " >&6; }
52042 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52043 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52044 $as_echo_n "(cached) " >&6
52045 else
52046
52047
52048 ac_ext=cpp
52049 ac_cpp='$CXXCPP $CPPFLAGS'
52050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52053
52054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52055 /* end confdefs.h. */
52056 #include <math.h>
52057 #ifdef HAVE_IEEEFP_H
52058 #include <ieeefp.h>
52059 #endif
52060
52061 int
52062 main ()
52063 {
52064 _logl(0);
52065 ;
52066 return 0;
52067 }
52068 _ACEOF
52069 if ac_fn_cxx_try_compile "$LINENO"; then :
52070 glibcxx_cv_func__logl_use=yes
52071 else
52072 glibcxx_cv_func__logl_use=no
52073 fi
52074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52075 ac_ext=c
52076 ac_cpp='$CPP $CPPFLAGS'
52077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52080
52081
52082 fi
52083
52084 fi
52085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52086 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52087
52088 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52089 for ac_func in _logl
52090 do :
52091 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52092 if test "x$ac_cv_func__logl" = x""yes; then :
52093 cat >>confdefs.h <<_ACEOF
52094 #define HAVE__LOGL 1
52095 _ACEOF
52096
52097 fi
52098 done
52099
52100 fi
52101 fi
52102
52103
52104
52105
52106
52107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52108 $as_echo_n "checking for log10l declaration... " >&6; }
52109 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52110 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52111 $as_echo_n "(cached) " >&6
52112 else
52113
52114
52115 ac_ext=cpp
52116 ac_cpp='$CXXCPP $CPPFLAGS'
52117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52120
52121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52122 /* end confdefs.h. */
52123 #include <math.h>
52124 #ifdef HAVE_IEEEFP_H
52125 #include <ieeefp.h>
52126 #endif
52127
52128 int
52129 main ()
52130 {
52131 log10l(0);
52132 ;
52133 return 0;
52134 }
52135 _ACEOF
52136 if ac_fn_cxx_try_compile "$LINENO"; then :
52137 glibcxx_cv_func_log10l_use=yes
52138 else
52139 glibcxx_cv_func_log10l_use=no
52140 fi
52141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52142 ac_ext=c
52143 ac_cpp='$CPP $CPPFLAGS'
52144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52147
52148
52149 fi
52150
52151 fi
52152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52153 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52154
52155 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52156 for ac_func in log10l
52157 do :
52158 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52159 if test "x$ac_cv_func_log10l" = x""yes; then :
52160 cat >>confdefs.h <<_ACEOF
52161 #define HAVE_LOG10L 1
52162 _ACEOF
52163
52164 fi
52165 done
52166
52167 else
52168
52169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52170 $as_echo_n "checking for _log10l declaration... " >&6; }
52171 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52172 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52173 $as_echo_n "(cached) " >&6
52174 else
52175
52176
52177 ac_ext=cpp
52178 ac_cpp='$CXXCPP $CPPFLAGS'
52179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52182
52183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52184 /* end confdefs.h. */
52185 #include <math.h>
52186 #ifdef HAVE_IEEEFP_H
52187 #include <ieeefp.h>
52188 #endif
52189
52190 int
52191 main ()
52192 {
52193 _log10l(0);
52194 ;
52195 return 0;
52196 }
52197 _ACEOF
52198 if ac_fn_cxx_try_compile "$LINENO"; then :
52199 glibcxx_cv_func__log10l_use=yes
52200 else
52201 glibcxx_cv_func__log10l_use=no
52202 fi
52203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52204 ac_ext=c
52205 ac_cpp='$CPP $CPPFLAGS'
52206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52209
52210
52211 fi
52212
52213 fi
52214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52215 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52216
52217 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52218 for ac_func in _log10l
52219 do :
52220 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52221 if test "x$ac_cv_func__log10l" = x""yes; then :
52222 cat >>confdefs.h <<_ACEOF
52223 #define HAVE__LOG10L 1
52224 _ACEOF
52225
52226 fi
52227 done
52228
52229 fi
52230 fi
52231
52232
52233
52234
52235
52236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52237 $as_echo_n "checking for modfl declaration... " >&6; }
52238 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52239 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52240 $as_echo_n "(cached) " >&6
52241 else
52242
52243
52244 ac_ext=cpp
52245 ac_cpp='$CXXCPP $CPPFLAGS'
52246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52249
52250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52251 /* end confdefs.h. */
52252 #include <math.h>
52253 int
52254 main ()
52255 {
52256 modfl(0, 0);
52257 ;
52258 return 0;
52259 }
52260 _ACEOF
52261 if ac_fn_cxx_try_compile "$LINENO"; then :
52262 glibcxx_cv_func_modfl_use=yes
52263 else
52264 glibcxx_cv_func_modfl_use=no
52265 fi
52266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52267 ac_ext=c
52268 ac_cpp='$CPP $CPPFLAGS'
52269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52272
52273
52274 fi
52275
52276 fi
52277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52278 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52279
52280 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52281 for ac_func in modfl
52282 do :
52283 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52284 if test "x$ac_cv_func_modfl" = x""yes; then :
52285 cat >>confdefs.h <<_ACEOF
52286 #define HAVE_MODFL 1
52287 _ACEOF
52288
52289 fi
52290 done
52291
52292 else
52293
52294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52295 $as_echo_n "checking for _modfl declaration... " >&6; }
52296 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52297 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52298 $as_echo_n "(cached) " >&6
52299 else
52300
52301
52302 ac_ext=cpp
52303 ac_cpp='$CXXCPP $CPPFLAGS'
52304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52307
52308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52309 /* end confdefs.h. */
52310 #include <math.h>
52311 int
52312 main ()
52313 {
52314 _modfl(0, 0);
52315 ;
52316 return 0;
52317 }
52318 _ACEOF
52319 if ac_fn_cxx_try_compile "$LINENO"; then :
52320 glibcxx_cv_func__modfl_use=yes
52321 else
52322 glibcxx_cv_func__modfl_use=no
52323 fi
52324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52325 ac_ext=c
52326 ac_cpp='$CPP $CPPFLAGS'
52327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52330
52331
52332 fi
52333
52334 fi
52335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52336 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52337
52338 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52339 for ac_func in _modfl
52340 do :
52341 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52342 if test "x$ac_cv_func__modfl" = x""yes; then :
52343 cat >>confdefs.h <<_ACEOF
52344 #define HAVE__MODFL 1
52345 _ACEOF
52346
52347 fi
52348 done
52349
52350 fi
52351 fi
52352
52353
52354
52355
52356
52357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52358 $as_echo_n "checking for powl declaration... " >&6; }
52359 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52360 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52361 $as_echo_n "(cached) " >&6
52362 else
52363
52364
52365 ac_ext=cpp
52366 ac_cpp='$CXXCPP $CPPFLAGS'
52367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52370
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 #include <math.h>
52374 int
52375 main ()
52376 {
52377 powl(0, 0);
52378 ;
52379 return 0;
52380 }
52381 _ACEOF
52382 if ac_fn_cxx_try_compile "$LINENO"; then :
52383 glibcxx_cv_func_powl_use=yes
52384 else
52385 glibcxx_cv_func_powl_use=no
52386 fi
52387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52388 ac_ext=c
52389 ac_cpp='$CPP $CPPFLAGS'
52390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52393
52394
52395 fi
52396
52397 fi
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52399 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52400
52401 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52402 for ac_func in powl
52403 do :
52404 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52405 if test "x$ac_cv_func_powl" = x""yes; then :
52406 cat >>confdefs.h <<_ACEOF
52407 #define HAVE_POWL 1
52408 _ACEOF
52409
52410 fi
52411 done
52412
52413 else
52414
52415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52416 $as_echo_n "checking for _powl declaration... " >&6; }
52417 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52418 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52419 $as_echo_n "(cached) " >&6
52420 else
52421
52422
52423 ac_ext=cpp
52424 ac_cpp='$CXXCPP $CPPFLAGS'
52425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52428
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h. */
52431 #include <math.h>
52432 int
52433 main ()
52434 {
52435 _powl(0, 0);
52436 ;
52437 return 0;
52438 }
52439 _ACEOF
52440 if ac_fn_cxx_try_compile "$LINENO"; then :
52441 glibcxx_cv_func__powl_use=yes
52442 else
52443 glibcxx_cv_func__powl_use=no
52444 fi
52445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52446 ac_ext=c
52447 ac_cpp='$CPP $CPPFLAGS'
52448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52451
52452
52453 fi
52454
52455 fi
52456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52457 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52458
52459 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52460 for ac_func in _powl
52461 do :
52462 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52463 if test "x$ac_cv_func__powl" = x""yes; then :
52464 cat >>confdefs.h <<_ACEOF
52465 #define HAVE__POWL 1
52466 _ACEOF
52467
52468 fi
52469 done
52470
52471 fi
52472 fi
52473
52474
52475
52476
52477
52478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52479 $as_echo_n "checking for sqrtl declaration... " >&6; }
52480 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52481 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52482 $as_echo_n "(cached) " >&6
52483 else
52484
52485
52486 ac_ext=cpp
52487 ac_cpp='$CXXCPP $CPPFLAGS'
52488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52491
52492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52493 /* end confdefs.h. */
52494 #include <math.h>
52495 #ifdef HAVE_IEEEFP_H
52496 #include <ieeefp.h>
52497 #endif
52498
52499 int
52500 main ()
52501 {
52502 sqrtl(0);
52503 ;
52504 return 0;
52505 }
52506 _ACEOF
52507 if ac_fn_cxx_try_compile "$LINENO"; then :
52508 glibcxx_cv_func_sqrtl_use=yes
52509 else
52510 glibcxx_cv_func_sqrtl_use=no
52511 fi
52512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52513 ac_ext=c
52514 ac_cpp='$CPP $CPPFLAGS'
52515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52518
52519
52520 fi
52521
52522 fi
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52524 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52525
52526 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52527 for ac_func in sqrtl
52528 do :
52529 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52530 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52531 cat >>confdefs.h <<_ACEOF
52532 #define HAVE_SQRTL 1
52533 _ACEOF
52534
52535 fi
52536 done
52537
52538 else
52539
52540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52541 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52542 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52543 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52544 $as_echo_n "(cached) " >&6
52545 else
52546
52547
52548 ac_ext=cpp
52549 ac_cpp='$CXXCPP $CPPFLAGS'
52550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52553
52554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52555 /* end confdefs.h. */
52556 #include <math.h>
52557 #ifdef HAVE_IEEEFP_H
52558 #include <ieeefp.h>
52559 #endif
52560
52561 int
52562 main ()
52563 {
52564 _sqrtl(0);
52565 ;
52566 return 0;
52567 }
52568 _ACEOF
52569 if ac_fn_cxx_try_compile "$LINENO"; then :
52570 glibcxx_cv_func__sqrtl_use=yes
52571 else
52572 glibcxx_cv_func__sqrtl_use=no
52573 fi
52574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52575 ac_ext=c
52576 ac_cpp='$CPP $CPPFLAGS'
52577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52580
52581
52582 fi
52583
52584 fi
52585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52586 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52587
52588 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52589 for ac_func in _sqrtl
52590 do :
52591 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52592 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52593 cat >>confdefs.h <<_ACEOF
52594 #define HAVE__SQRTL 1
52595 _ACEOF
52596
52597 fi
52598 done
52599
52600 fi
52601 fi
52602
52603
52604
52605
52606
52607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52608 $as_echo_n "checking for sincosl declaration... " >&6; }
52609 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52610 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52611 $as_echo_n "(cached) " >&6
52612 else
52613
52614
52615 ac_ext=cpp
52616 ac_cpp='$CXXCPP $CPPFLAGS'
52617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52620
52621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52622 /* end confdefs.h. */
52623 #include <math.h>
52624 int
52625 main ()
52626 {
52627 sincosl(0, 0, 0);
52628 ;
52629 return 0;
52630 }
52631 _ACEOF
52632 if ac_fn_cxx_try_compile "$LINENO"; then :
52633 glibcxx_cv_func_sincosl_use=yes
52634 else
52635 glibcxx_cv_func_sincosl_use=no
52636 fi
52637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52638 ac_ext=c
52639 ac_cpp='$CPP $CPPFLAGS'
52640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52643
52644
52645 fi
52646
52647 fi
52648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52649 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52650
52651 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52652 for ac_func in sincosl
52653 do :
52654 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52655 if test "x$ac_cv_func_sincosl" = x""yes; then :
52656 cat >>confdefs.h <<_ACEOF
52657 #define HAVE_SINCOSL 1
52658 _ACEOF
52659
52660 fi
52661 done
52662
52663 else
52664
52665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52666 $as_echo_n "checking for _sincosl declaration... " >&6; }
52667 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52668 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52669 $as_echo_n "(cached) " >&6
52670 else
52671
52672
52673 ac_ext=cpp
52674 ac_cpp='$CXXCPP $CPPFLAGS'
52675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52678
52679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52680 /* end confdefs.h. */
52681 #include <math.h>
52682 int
52683 main ()
52684 {
52685 _sincosl(0, 0, 0);
52686 ;
52687 return 0;
52688 }
52689 _ACEOF
52690 if ac_fn_cxx_try_compile "$LINENO"; then :
52691 glibcxx_cv_func__sincosl_use=yes
52692 else
52693 glibcxx_cv_func__sincosl_use=no
52694 fi
52695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52696 ac_ext=c
52697 ac_cpp='$CPP $CPPFLAGS'
52698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52701
52702
52703 fi
52704
52705 fi
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52707 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52708
52709 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52710 for ac_func in _sincosl
52711 do :
52712 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52713 if test "x$ac_cv_func__sincosl" = x""yes; then :
52714 cat >>confdefs.h <<_ACEOF
52715 #define HAVE__SINCOSL 1
52716 _ACEOF
52717
52718 fi
52719 done
52720
52721 fi
52722 fi
52723
52724
52725
52726
52727
52728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52729 $as_echo_n "checking for finitel declaration... " >&6; }
52730 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52731 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52732 $as_echo_n "(cached) " >&6
52733 else
52734
52735
52736 ac_ext=cpp
52737 ac_cpp='$CXXCPP $CPPFLAGS'
52738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52741
52742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52743 /* end confdefs.h. */
52744 #include <math.h>
52745 #ifdef HAVE_IEEEFP_H
52746 #include <ieeefp.h>
52747 #endif
52748
52749 int
52750 main ()
52751 {
52752 finitel(0);
52753 ;
52754 return 0;
52755 }
52756 _ACEOF
52757 if ac_fn_cxx_try_compile "$LINENO"; then :
52758 glibcxx_cv_func_finitel_use=yes
52759 else
52760 glibcxx_cv_func_finitel_use=no
52761 fi
52762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52763 ac_ext=c
52764 ac_cpp='$CPP $CPPFLAGS'
52765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52768
52769
52770 fi
52771
52772 fi
52773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52774 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52775
52776 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52777 for ac_func in finitel
52778 do :
52779 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52780 if test "x$ac_cv_func_finitel" = x""yes; then :
52781 cat >>confdefs.h <<_ACEOF
52782 #define HAVE_FINITEL 1
52783 _ACEOF
52784
52785 fi
52786 done
52787
52788 else
52789
52790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52791 $as_echo_n "checking for _finitel declaration... " >&6; }
52792 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52793 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52794 $as_echo_n "(cached) " >&6
52795 else
52796
52797
52798 ac_ext=cpp
52799 ac_cpp='$CXXCPP $CPPFLAGS'
52800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52803
52804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52805 /* end confdefs.h. */
52806 #include <math.h>
52807 #ifdef HAVE_IEEEFP_H
52808 #include <ieeefp.h>
52809 #endif
52810
52811 int
52812 main ()
52813 {
52814 _finitel(0);
52815 ;
52816 return 0;
52817 }
52818 _ACEOF
52819 if ac_fn_cxx_try_compile "$LINENO"; then :
52820 glibcxx_cv_func__finitel_use=yes
52821 else
52822 glibcxx_cv_func__finitel_use=no
52823 fi
52824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52825 ac_ext=c
52826 ac_cpp='$CPP $CPPFLAGS'
52827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52830
52831
52832 fi
52833
52834 fi
52835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52836 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52837
52838 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52839 for ac_func in _finitel
52840 do :
52841 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52842 if test "x$ac_cv_func__finitel" = x""yes; then :
52843 cat >>confdefs.h <<_ACEOF
52844 #define HAVE__FINITEL 1
52845 _ACEOF
52846
52847 fi
52848 done
52849
52850 fi
52851 fi
52852
52853
52854
52855
52856 LIBS="$ac_save_LIBS"
52857 CXXFLAGS="$ac_save_CXXFLAGS"
52858
52859
52860 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52861 ac_save_CXXFLAGS="$CXXFLAGS"
52862 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52863
52864
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52866 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52867 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52868 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52869 $as_echo_n "(cached) " >&6
52870 else
52871
52872
52873 ac_ext=cpp
52874 ac_cpp='$CXXCPP $CPPFLAGS'
52875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52878
52879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52880 /* end confdefs.h. */
52881 #include <stdlib.h>
52882 int
52883 main ()
52884 {
52885 at_quick_exit(0);
52886 ;
52887 return 0;
52888 }
52889 _ACEOF
52890 if ac_fn_cxx_try_compile "$LINENO"; then :
52891 glibcxx_cv_func_at_quick_exit_use=yes
52892 else
52893 glibcxx_cv_func_at_quick_exit_use=no
52894 fi
52895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52896 ac_ext=c
52897 ac_cpp='$CPP $CPPFLAGS'
52898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52901
52902
52903 fi
52904
52905 fi
52906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52907 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52908 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52909 for ac_func in at_quick_exit
52910 do :
52911 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52912 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52913 cat >>confdefs.h <<_ACEOF
52914 #define HAVE_AT_QUICK_EXIT 1
52915 _ACEOF
52916
52917 fi
52918 done
52919
52920 fi
52921
52922
52923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52924 $as_echo_n "checking for quick_exit declaration... " >&6; }
52925 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52926 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52927 $as_echo_n "(cached) " >&6
52928 else
52929
52930
52931 ac_ext=cpp
52932 ac_cpp='$CXXCPP $CPPFLAGS'
52933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52936
52937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52938 /* end confdefs.h. */
52939 #include <stdlib.h>
52940 int
52941 main ()
52942 {
52943 quick_exit(0);
52944 ;
52945 return 0;
52946 }
52947 _ACEOF
52948 if ac_fn_cxx_try_compile "$LINENO"; then :
52949 glibcxx_cv_func_quick_exit_use=yes
52950 else
52951 glibcxx_cv_func_quick_exit_use=no
52952 fi
52953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52954 ac_ext=c
52955 ac_cpp='$CPP $CPPFLAGS'
52956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52959
52960
52961 fi
52962
52963 fi
52964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52965 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52966 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52967 for ac_func in quick_exit
52968 do :
52969 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52970 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52971 cat >>confdefs.h <<_ACEOF
52972 #define HAVE_QUICK_EXIT 1
52973 _ACEOF
52974
52975 fi
52976 done
52977
52978 fi
52979
52980
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52982 $as_echo_n "checking for strtold declaration... " >&6; }
52983 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52984 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52985 $as_echo_n "(cached) " >&6
52986 else
52987
52988
52989 ac_ext=cpp
52990 ac_cpp='$CXXCPP $CPPFLAGS'
52991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52994
52995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52996 /* end confdefs.h. */
52997 #include <stdlib.h>
52998 int
52999 main ()
53000 {
53001 strtold(0, 0);
53002 ;
53003 return 0;
53004 }
53005 _ACEOF
53006 if ac_fn_cxx_try_compile "$LINENO"; then :
53007 glibcxx_cv_func_strtold_use=yes
53008 else
53009 glibcxx_cv_func_strtold_use=no
53010 fi
53011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53012 ac_ext=c
53013 ac_cpp='$CPP $CPPFLAGS'
53014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53017
53018
53019 fi
53020
53021 fi
53022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53023 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53024 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53025 for ac_func in strtold
53026 do :
53027 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53028 if test "x$ac_cv_func_strtold" = x""yes; then :
53029 cat >>confdefs.h <<_ACEOF
53030 #define HAVE_STRTOLD 1
53031 _ACEOF
53032
53033 fi
53034 done
53035
53036 fi
53037
53038
53039
53040
53041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53042 $as_echo_n "checking for strtof declaration... " >&6; }
53043 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53044 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53045 $as_echo_n "(cached) " >&6
53046 else
53047
53048
53049 ac_ext=cpp
53050 ac_cpp='$CXXCPP $CPPFLAGS'
53051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53054
53055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53056 /* end confdefs.h. */
53057 #include <stdlib.h>
53058 int
53059 main ()
53060 {
53061 strtof(0, 0);
53062 ;
53063 return 0;
53064 }
53065 _ACEOF
53066 if ac_fn_cxx_try_compile "$LINENO"; then :
53067 glibcxx_cv_func_strtof_use=yes
53068 else
53069 glibcxx_cv_func_strtof_use=no
53070 fi
53071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53072 ac_ext=c
53073 ac_cpp='$CPP $CPPFLAGS'
53074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53077
53078
53079 fi
53080
53081 fi
53082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53083 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53084 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53085 for ac_func in strtof
53086 do :
53087 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53088 if test "x$ac_cv_func_strtof" = x""yes; then :
53089 cat >>confdefs.h <<_ACEOF
53090 #define HAVE_STRTOF 1
53091 _ACEOF
53092
53093 fi
53094 done
53095
53096 fi
53097
53098
53099
53100
53101 CXXFLAGS="$ac_save_CXXFLAGS"
53102
53103 ;;
53104
53105 *djgpp)
53106 # GLIBCXX_CHECK_MATH_SUPPORT
53107 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53108
53109 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53110
53111 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53112
53113 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53114
53115 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53116
53117 ;;
53118
53119 *-freebsd*)
53120 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53121
53122
53123 # If we're not using GNU ld, then there's no point in even trying these
53124 # tests. Check for that first. We should have already tested for gld
53125 # by now (in libtool), but require it now just to be safe...
53126 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53127 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53128
53129
53130
53131 # The name set by libtool depends on the version of libtool. Shame on us
53132 # for depending on an impl detail, but c'est la vie. Older versions used
53133 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53134 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53135 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53136 # set (hence we're using an older libtool), then set it.
53137 if test x${with_gnu_ld+set} != xset; then
53138 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53139 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53140 with_gnu_ld=no
53141 else
53142 with_gnu_ld=$ac_cv_prog_gnu_ld
53143 fi
53144 fi
53145
53146 # Start by getting the version number. I think the libtool test already
53147 # does some of this, but throws away the result.
53148 glibcxx_ld_is_gold=no
53149 if test x"$with_gnu_ld" = x"yes"; then
53150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53151 $as_echo_n "checking for ld version... " >&6; }
53152
53153 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53154 glibcxx_ld_is_gold=yes
53155 fi
53156 ldver=`$LD --version 2>/dev/null |
53157 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'`
53158
53159 glibcxx_gnu_ld_version=`echo $ldver | \
53160 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53162 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53163 fi
53164
53165 # Set --gc-sections.
53166 glibcxx_have_gc_sections=no
53167 if test "$glibcxx_ld_is_gold" = "yes"; then
53168 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53169 glibcxx_have_gc_sections=yes
53170 fi
53171 else
53172 glibcxx_gcsections_min_ld=21602
53173 if test x"$with_gnu_ld" = x"yes" &&
53174 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53175 glibcxx_have_gc_sections=yes
53176 fi
53177 fi
53178 if test "$glibcxx_have_gc_sections" = "yes"; then
53179 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53180 # NB: This flag only works reliably after 2.16.1. Configure tests
53181 # for this are difficult, so hard wire a value that should work.
53182
53183 ac_test_CFLAGS="${CFLAGS+set}"
53184 ac_save_CFLAGS="$CFLAGS"
53185 CFLAGS='-Wl,--gc-sections'
53186
53187 # Check for -Wl,--gc-sections
53188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53189 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53190 if test x$gcc_no_link = xyes; then
53191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53192 fi
53193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53194 /* end confdefs.h. */
53195 int one(void) { return 1; }
53196 int two(void) { return 2; }
53197
53198 int
53199 main ()
53200 {
53201 two();
53202 ;
53203 return 0;
53204 }
53205 _ACEOF
53206 if ac_fn_c_try_link "$LINENO"; then :
53207 ac_gcsections=yes
53208 else
53209 ac_gcsections=no
53210 fi
53211 rm -f core conftest.err conftest.$ac_objext \
53212 conftest$ac_exeext conftest.$ac_ext
53213 if test "$ac_gcsections" = "yes"; then
53214 rm -f conftest.c
53215 touch conftest.c
53216 if $CC -c conftest.c; then
53217 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53218 grep "Warning: gc-sections option ignored" > /dev/null; then
53219 ac_gcsections=no
53220 fi
53221 fi
53222 rm -f conftest.c conftest.o conftest
53223 fi
53224 if test "$ac_gcsections" = "yes"; then
53225 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53226 fi
53227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53228 $as_echo "$ac_gcsections" >&6; }
53229
53230 if test "$ac_test_CFLAGS" = set; then
53231 CFLAGS="$ac_save_CFLAGS"
53232 else
53233 # this is the suspicious part
53234 CFLAGS=''
53235 fi
53236 fi
53237
53238 # Set -z,relro.
53239 # Note this is only for shared objects.
53240 ac_ld_relro=no
53241 if test x"$with_gnu_ld" = x"yes"; then
53242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53243 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53244 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53245 if test -n "$cxx_z_relo"; then
53246 OPT_LDFLAGS="-Wl,-z,relro"
53247 ac_ld_relro=yes
53248 fi
53249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53250 $as_echo "$ac_ld_relro" >&6; }
53251 fi
53252
53253 # Set linker optimization flags.
53254 if test x"$with_gnu_ld" = x"yes"; then
53255 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53256 fi
53257
53258
53259
53260
53261 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53262
53263 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53264
53265 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53266
53267 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53268
53269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53270
53271 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53272
53273 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53274
53275 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53276
53277 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53278
53279
53280 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53281
53282 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53283
53284 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53285
53286 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53287
53288 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53289
53290 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53291
53292 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53293
53294 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53295
53296 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53297
53298 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53299
53300 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53301
53302 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53303
53304 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53305
53306 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53307
53308 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53309
53310 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53311
53312 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53313
53314 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53315
53316 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53317
53318 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53319
53320 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53321
53322 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53323
53324 if test x"long_double_math_on_this_cpu" = x"yes"; then
53325 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53326
53327 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53328
53329 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53330
53331 fi
53332 for ac_func in __cxa_thread_atexit
53333 do :
53334 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53335 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE___CXA_THREAD_ATEXIT 1
53338 _ACEOF
53339
53340 fi
53341 done
53342
53343 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53344 do :
53345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53347 eval as_val=\$$as_ac_var
53348 if test "x$as_val" = x""yes; then :
53349 cat >>confdefs.h <<_ACEOF
53350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53351 _ACEOF
53352
53353 fi
53354 done
53355
53356 ;;
53357
53358 *-fuchsia*)
53359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53360
53361 ;;
53362
53363 *-hpux*)
53364 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53365
53366
53367 # If we're not using GNU ld, then there's no point in even trying these
53368 # tests. Check for that first. We should have already tested for gld
53369 # by now (in libtool), but require it now just to be safe...
53370 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53371 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53372
53373
53374
53375 # The name set by libtool depends on the version of libtool. Shame on us
53376 # for depending on an impl detail, but c'est la vie. Older versions used
53377 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53378 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53379 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53380 # set (hence we're using an older libtool), then set it.
53381 if test x${with_gnu_ld+set} != xset; then
53382 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53383 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53384 with_gnu_ld=no
53385 else
53386 with_gnu_ld=$ac_cv_prog_gnu_ld
53387 fi
53388 fi
53389
53390 # Start by getting the version number. I think the libtool test already
53391 # does some of this, but throws away the result.
53392 glibcxx_ld_is_gold=no
53393 if test x"$with_gnu_ld" = x"yes"; then
53394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53395 $as_echo_n "checking for ld version... " >&6; }
53396
53397 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53398 glibcxx_ld_is_gold=yes
53399 fi
53400 ldver=`$LD --version 2>/dev/null |
53401 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'`
53402
53403 glibcxx_gnu_ld_version=`echo $ldver | \
53404 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53406 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53407 fi
53408
53409 # Set --gc-sections.
53410 glibcxx_have_gc_sections=no
53411 if test "$glibcxx_ld_is_gold" = "yes"; then
53412 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53413 glibcxx_have_gc_sections=yes
53414 fi
53415 else
53416 glibcxx_gcsections_min_ld=21602
53417 if test x"$with_gnu_ld" = x"yes" &&
53418 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53419 glibcxx_have_gc_sections=yes
53420 fi
53421 fi
53422 if test "$glibcxx_have_gc_sections" = "yes"; then
53423 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53424 # NB: This flag only works reliably after 2.16.1. Configure tests
53425 # for this are difficult, so hard wire a value that should work.
53426
53427 ac_test_CFLAGS="${CFLAGS+set}"
53428 ac_save_CFLAGS="$CFLAGS"
53429 CFLAGS='-Wl,--gc-sections'
53430
53431 # Check for -Wl,--gc-sections
53432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53433 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53434 if test x$gcc_no_link = xyes; then
53435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53436 fi
53437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53438 /* end confdefs.h. */
53439 int one(void) { return 1; }
53440 int two(void) { return 2; }
53441
53442 int
53443 main ()
53444 {
53445 two();
53446 ;
53447 return 0;
53448 }
53449 _ACEOF
53450 if ac_fn_c_try_link "$LINENO"; then :
53451 ac_gcsections=yes
53452 else
53453 ac_gcsections=no
53454 fi
53455 rm -f core conftest.err conftest.$ac_objext \
53456 conftest$ac_exeext conftest.$ac_ext
53457 if test "$ac_gcsections" = "yes"; then
53458 rm -f conftest.c
53459 touch conftest.c
53460 if $CC -c conftest.c; then
53461 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53462 grep "Warning: gc-sections option ignored" > /dev/null; then
53463 ac_gcsections=no
53464 fi
53465 fi
53466 rm -f conftest.c conftest.o conftest
53467 fi
53468 if test "$ac_gcsections" = "yes"; then
53469 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53470 fi
53471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53472 $as_echo "$ac_gcsections" >&6; }
53473
53474 if test "$ac_test_CFLAGS" = set; then
53475 CFLAGS="$ac_save_CFLAGS"
53476 else
53477 # this is the suspicious part
53478 CFLAGS=''
53479 fi
53480 fi
53481
53482 # Set -z,relro.
53483 # Note this is only for shared objects.
53484 ac_ld_relro=no
53485 if test x"$with_gnu_ld" = x"yes"; then
53486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53487 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53488 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53489 if test -n "$cxx_z_relo"; then
53490 OPT_LDFLAGS="-Wl,-z,relro"
53491 ac_ld_relro=yes
53492 fi
53493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53494 $as_echo "$ac_ld_relro" >&6; }
53495 fi
53496
53497 # Set linker optimization flags.
53498 if test x"$with_gnu_ld" = x"yes"; then
53499 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53500 fi
53501
53502
53503
53504
53505
53506 # GLIBCXX_CHECK_MATH_SUPPORT
53507 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53508
53509 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53510
53511 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53512
53513 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53514
53515 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53516
53517 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53518
53519 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53520
53521 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53522
53523 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53524
53525 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53526
53527 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53528
53529 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53530
53531 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53532
53533 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53534
53535 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53536
53537 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53538
53539 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53540
53541 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53542
53543 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53544
53545 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53546
53547 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53548
53549
53550 # GLIBCXX_CHECK_STDLIB_SUPPORT
53551 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53552
53553
53554
53555
53556 # Check whether --enable-tls was given.
53557 if test "${enable_tls+set}" = set; then :
53558 enableval=$enable_tls;
53559 case "$enableval" in
53560 yes|no) ;;
53561 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53562 esac
53563
53564 else
53565 enable_tls=yes
53566 fi
53567
53568
53569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53570 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53571 if test "${gcc_cv_have_tls+set}" = set; then :
53572 $as_echo_n "(cached) " >&6
53573 else
53574
53575 if test "$cross_compiling" = yes; then :
53576 if test x$gcc_no_link = xyes; then
53577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53578 fi
53579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53580 /* end confdefs.h. */
53581 __thread int a; int b; int main() { return a = b; }
53582 _ACEOF
53583 if ac_fn_c_try_link "$LINENO"; then :
53584 chktls_save_LDFLAGS="$LDFLAGS"
53585 case $host in
53586 *-*-linux*)
53587 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53588 ;;
53589 esac
53590 chktls_save_CFLAGS="$CFLAGS"
53591 CFLAGS="-fPIC $CFLAGS"
53592 if test x$gcc_no_link = xyes; then
53593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53594 fi
53595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53596 /* end confdefs.h. */
53597 int f() { return 0; }
53598 _ACEOF
53599 if ac_fn_c_try_link "$LINENO"; then :
53600 if test x$gcc_no_link = xyes; then
53601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53602 fi
53603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53604 /* end confdefs.h. */
53605 __thread int a; int b; int f() { return a = b; }
53606 _ACEOF
53607 if ac_fn_c_try_link "$LINENO"; then :
53608 gcc_cv_have_tls=yes
53609 else
53610 gcc_cv_have_tls=no
53611 fi
53612 rm -f core conftest.err conftest.$ac_objext \
53613 conftest$ac_exeext conftest.$ac_ext
53614 else
53615 gcc_cv_have_tls=yes
53616 fi
53617 rm -f core conftest.err conftest.$ac_objext \
53618 conftest$ac_exeext conftest.$ac_ext
53619 CFLAGS="$chktls_save_CFLAGS"
53620 LDFLAGS="$chktls_save_LDFLAGS"
53621 else
53622 gcc_cv_have_tls=no
53623 fi
53624 rm -f core conftest.err conftest.$ac_objext \
53625 conftest$ac_exeext conftest.$ac_ext
53626
53627
53628 else
53629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53630 /* end confdefs.h. */
53631 __thread int a; int b; int main() { return a = b; }
53632 _ACEOF
53633 if ac_fn_c_try_run "$LINENO"; then :
53634 chktls_save_LDFLAGS="$LDFLAGS"
53635 LDFLAGS="-static $LDFLAGS"
53636 if test x$gcc_no_link = xyes; then
53637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53638 fi
53639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53640 /* end confdefs.h. */
53641 int main() { return 0; }
53642 _ACEOF
53643 if ac_fn_c_try_link "$LINENO"; then :
53644 if test "$cross_compiling" = yes; then :
53645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53647 as_fn_error "cannot run test program while cross compiling
53648 See \`config.log' for more details." "$LINENO" 5; }
53649 else
53650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53651 /* end confdefs.h. */
53652 __thread int a; int b; int main() { return a = b; }
53653 _ACEOF
53654 if ac_fn_c_try_run "$LINENO"; then :
53655 gcc_cv_have_tls=yes
53656 else
53657 gcc_cv_have_tls=no
53658 fi
53659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53660 conftest.$ac_objext conftest.beam conftest.$ac_ext
53661 fi
53662
53663 else
53664 gcc_cv_have_tls=yes
53665 fi
53666 rm -f core conftest.err conftest.$ac_objext \
53667 conftest$ac_exeext conftest.$ac_ext
53668 LDFLAGS="$chktls_save_LDFLAGS"
53669 if test $gcc_cv_have_tls = yes; then
53670 chktls_save_CFLAGS="$CFLAGS"
53671 thread_CFLAGS=failed
53672 for flag in '' '-pthread' '-lpthread'; do
53673 CFLAGS="$flag $chktls_save_CFLAGS"
53674 if test x$gcc_no_link = xyes; then
53675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53676 fi
53677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53678 /* end confdefs.h. */
53679 #include <pthread.h>
53680 void *g(void *d) { return NULL; }
53681 int
53682 main ()
53683 {
53684 pthread_t t; pthread_create(&t,NULL,g,NULL);
53685 ;
53686 return 0;
53687 }
53688 _ACEOF
53689 if ac_fn_c_try_link "$LINENO"; then :
53690 thread_CFLAGS="$flag"
53691 fi
53692 rm -f core conftest.err conftest.$ac_objext \
53693 conftest$ac_exeext conftest.$ac_ext
53694 if test "X$thread_CFLAGS" != Xfailed; then
53695 break
53696 fi
53697 done
53698 CFLAGS="$chktls_save_CFLAGS"
53699 if test "X$thread_CFLAGS" != Xfailed; then
53700 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53701 if test "$cross_compiling" = yes; then :
53702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53704 as_fn_error "cannot run test program while cross compiling
53705 See \`config.log' for more details." "$LINENO" 5; }
53706 else
53707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53708 /* end confdefs.h. */
53709 #include <pthread.h>
53710 __thread int a;
53711 static int *volatile a_in_other_thread;
53712 static void *
53713 thread_func (void *arg)
53714 {
53715 a_in_other_thread = &a;
53716 return (void *)0;
53717 }
53718 int
53719 main ()
53720 {
53721 pthread_t thread;
53722 void *thread_retval;
53723 int *volatile a_in_main_thread;
53724 a_in_main_thread = &a;
53725 if (pthread_create (&thread, (pthread_attr_t *)0,
53726 thread_func, (void *)0))
53727 return 0;
53728 if (pthread_join (thread, &thread_retval))
53729 return 0;
53730 return (a_in_other_thread == a_in_main_thread);
53731 ;
53732 return 0;
53733 }
53734 _ACEOF
53735 if ac_fn_c_try_run "$LINENO"; then :
53736 gcc_cv_have_tls=yes
53737 else
53738 gcc_cv_have_tls=no
53739 fi
53740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53741 conftest.$ac_objext conftest.beam conftest.$ac_ext
53742 fi
53743
53744 CFLAGS="$chktls_save_CFLAGS"
53745 fi
53746 fi
53747 else
53748 gcc_cv_have_tls=no
53749 fi
53750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53751 conftest.$ac_objext conftest.beam conftest.$ac_ext
53752 fi
53753
53754 fi
53755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53756 $as_echo "$gcc_cv_have_tls" >&6; }
53757 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53758
53759 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53760
53761 fi
53762 case "$target" in
53763 *-hpux10*)
53764 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53765
53766 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53767
53768 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53769
53770 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53771
53772 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53773
53774 ;;
53775 esac
53776 ;;
53777 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53778
53779 # All these tests are for C++; save the language and the compiler flags.
53780 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53781 # found in GLIBCXX_CONFIGURE.
53782
53783 ac_ext=cpp
53784 ac_cpp='$CXXCPP $CPPFLAGS'
53785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53788
53789 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53790 ac_save_CXXFLAGS="$CXXFLAGS"
53791
53792 # Check for -ffunction-sections -fdata-sections
53793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53794 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53795 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53797 /* end confdefs.h. */
53798 int foo; void bar() { };
53799 int
53800 main ()
53801 {
53802
53803 ;
53804 return 0;
53805 }
53806 _ACEOF
53807 if ac_fn_cxx_try_compile "$LINENO"; then :
53808 ac_fdsections=yes
53809 else
53810 ac_fdsections=no
53811 fi
53812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53813 if test "$ac_test_CXXFLAGS" = set; then
53814 CXXFLAGS="$ac_save_CXXFLAGS"
53815 else
53816 # this is the suspicious part
53817 CXXFLAGS=''
53818 fi
53819 if test x"$ac_fdsections" = x"yes"; then
53820 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53821 fi
53822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53823 $as_echo "$ac_fdsections" >&6; }
53824
53825 ac_ext=c
53826 ac_cpp='$CPP $CPPFLAGS'
53827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53830
53831
53832
53833
53834 # If we're not using GNU ld, then there's no point in even trying these
53835 # tests. Check for that first. We should have already tested for gld
53836 # by now (in libtool), but require it now just to be safe...
53837 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53838 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53839
53840
53841
53842 # The name set by libtool depends on the version of libtool. Shame on us
53843 # for depending on an impl detail, but c'est la vie. Older versions used
53844 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53845 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53846 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53847 # set (hence we're using an older libtool), then set it.
53848 if test x${with_gnu_ld+set} != xset; then
53849 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53850 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53851 with_gnu_ld=no
53852 else
53853 with_gnu_ld=$ac_cv_prog_gnu_ld
53854 fi
53855 fi
53856
53857 # Start by getting the version number. I think the libtool test already
53858 # does some of this, but throws away the result.
53859 glibcxx_ld_is_gold=no
53860 if test x"$with_gnu_ld" = x"yes"; then
53861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53862 $as_echo_n "checking for ld version... " >&6; }
53863
53864 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53865 glibcxx_ld_is_gold=yes
53866 fi
53867 ldver=`$LD --version 2>/dev/null |
53868 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'`
53869
53870 glibcxx_gnu_ld_version=`echo $ldver | \
53871 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53873 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53874 fi
53875
53876 # Set --gc-sections.
53877 glibcxx_have_gc_sections=no
53878 if test "$glibcxx_ld_is_gold" = "yes"; then
53879 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53880 glibcxx_have_gc_sections=yes
53881 fi
53882 else
53883 glibcxx_gcsections_min_ld=21602
53884 if test x"$with_gnu_ld" = x"yes" &&
53885 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53886 glibcxx_have_gc_sections=yes
53887 fi
53888 fi
53889 if test "$glibcxx_have_gc_sections" = "yes"; then
53890 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53891 # NB: This flag only works reliably after 2.16.1. Configure tests
53892 # for this are difficult, so hard wire a value that should work.
53893
53894 ac_test_CFLAGS="${CFLAGS+set}"
53895 ac_save_CFLAGS="$CFLAGS"
53896 CFLAGS='-Wl,--gc-sections'
53897
53898 # Check for -Wl,--gc-sections
53899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53900 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53901 if test x$gcc_no_link = xyes; then
53902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53903 fi
53904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53905 /* end confdefs.h. */
53906 int one(void) { return 1; }
53907 int two(void) { return 2; }
53908
53909 int
53910 main ()
53911 {
53912 two();
53913 ;
53914 return 0;
53915 }
53916 _ACEOF
53917 if ac_fn_c_try_link "$LINENO"; then :
53918 ac_gcsections=yes
53919 else
53920 ac_gcsections=no
53921 fi
53922 rm -f core conftest.err conftest.$ac_objext \
53923 conftest$ac_exeext conftest.$ac_ext
53924 if test "$ac_gcsections" = "yes"; then
53925 rm -f conftest.c
53926 touch conftest.c
53927 if $CC -c conftest.c; then
53928 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53929 grep "Warning: gc-sections option ignored" > /dev/null; then
53930 ac_gcsections=no
53931 fi
53932 fi
53933 rm -f conftest.c conftest.o conftest
53934 fi
53935 if test "$ac_gcsections" = "yes"; then
53936 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53937 fi
53938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53939 $as_echo "$ac_gcsections" >&6; }
53940
53941 if test "$ac_test_CFLAGS" = set; then
53942 CFLAGS="$ac_save_CFLAGS"
53943 else
53944 # this is the suspicious part
53945 CFLAGS=''
53946 fi
53947 fi
53948
53949 # Set -z,relro.
53950 # Note this is only for shared objects.
53951 ac_ld_relro=no
53952 if test x"$with_gnu_ld" = x"yes"; then
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53954 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53955 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53956 if test -n "$cxx_z_relo"; then
53957 OPT_LDFLAGS="-Wl,-z,relro"
53958 ac_ld_relro=yes
53959 fi
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53961 $as_echo "$ac_ld_relro" >&6; }
53962 fi
53963
53964 # Set linker optimization flags.
53965 if test x"$with_gnu_ld" = x"yes"; then
53966 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53967 fi
53968
53969
53970
53971
53972
53973 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53974 ac_save_CXXFLAGS="$CXXFLAGS"
53975 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53976
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53978 $as_echo_n "checking for sin in -lm... " >&6; }
53979 if test "${ac_cv_lib_m_sin+set}" = set; then :
53980 $as_echo_n "(cached) " >&6
53981 else
53982 ac_check_lib_save_LIBS=$LIBS
53983 LIBS="-lm $LIBS"
53984 if test x$gcc_no_link = xyes; then
53985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53986 fi
53987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53988 /* end confdefs.h. */
53989
53990 /* Override any GCC internal prototype to avoid an error.
53991 Use char because int might match the return type of a GCC
53992 builtin and then its argument prototype would still apply. */
53993 #ifdef __cplusplus
53994 extern "C"
53995 #endif
53996 char sin ();
53997 int
53998 main ()
53999 {
54000 return sin ();
54001 ;
54002 return 0;
54003 }
54004 _ACEOF
54005 if ac_fn_c_try_link "$LINENO"; then :
54006 ac_cv_lib_m_sin=yes
54007 else
54008 ac_cv_lib_m_sin=no
54009 fi
54010 rm -f core conftest.err conftest.$ac_objext \
54011 conftest$ac_exeext conftest.$ac_ext
54012 LIBS=$ac_check_lib_save_LIBS
54013 fi
54014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54015 $as_echo "$ac_cv_lib_m_sin" >&6; }
54016 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54017 libm="-lm"
54018 fi
54019
54020 ac_save_LIBS="$LIBS"
54021 LIBS="$LIBS $libm"
54022
54023
54024
54025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54026 $as_echo_n "checking for isinf declaration... " >&6; }
54027 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54028 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54029 $as_echo_n "(cached) " >&6
54030 else
54031
54032
54033 ac_ext=cpp
54034 ac_cpp='$CXXCPP $CPPFLAGS'
54035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54038
54039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54040 /* end confdefs.h. */
54041 #include <math.h>
54042 #ifdef HAVE_IEEEFP_H
54043 #include <ieeefp.h>
54044 #endif
54045
54046 int
54047 main ()
54048 {
54049 isinf(0);
54050 ;
54051 return 0;
54052 }
54053 _ACEOF
54054 if ac_fn_cxx_try_compile "$LINENO"; then :
54055 glibcxx_cv_func_isinf_use=yes
54056 else
54057 glibcxx_cv_func_isinf_use=no
54058 fi
54059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54060 ac_ext=c
54061 ac_cpp='$CPP $CPPFLAGS'
54062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54065
54066
54067 fi
54068
54069 fi
54070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54071 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54072
54073 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54074 for ac_func in isinf
54075 do :
54076 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54077 if test "x$ac_cv_func_isinf" = x""yes; then :
54078 cat >>confdefs.h <<_ACEOF
54079 #define HAVE_ISINF 1
54080 _ACEOF
54081
54082 fi
54083 done
54084
54085 else
54086
54087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54088 $as_echo_n "checking for _isinf declaration... " >&6; }
54089 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54090 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54091 $as_echo_n "(cached) " >&6
54092 else
54093
54094
54095 ac_ext=cpp
54096 ac_cpp='$CXXCPP $CPPFLAGS'
54097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54100
54101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54102 /* end confdefs.h. */
54103 #include <math.h>
54104 #ifdef HAVE_IEEEFP_H
54105 #include <ieeefp.h>
54106 #endif
54107
54108 int
54109 main ()
54110 {
54111 _isinf(0);
54112 ;
54113 return 0;
54114 }
54115 _ACEOF
54116 if ac_fn_cxx_try_compile "$LINENO"; then :
54117 glibcxx_cv_func__isinf_use=yes
54118 else
54119 glibcxx_cv_func__isinf_use=no
54120 fi
54121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54122 ac_ext=c
54123 ac_cpp='$CPP $CPPFLAGS'
54124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54127
54128
54129 fi
54130
54131 fi
54132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54133 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54134
54135 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54136 for ac_func in _isinf
54137 do :
54138 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54139 if test "x$ac_cv_func__isinf" = x""yes; then :
54140 cat >>confdefs.h <<_ACEOF
54141 #define HAVE__ISINF 1
54142 _ACEOF
54143
54144 fi
54145 done
54146
54147 fi
54148 fi
54149
54150
54151
54152
54153
54154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54155 $as_echo_n "checking for isnan declaration... " >&6; }
54156 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54157 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54158 $as_echo_n "(cached) " >&6
54159 else
54160
54161
54162 ac_ext=cpp
54163 ac_cpp='$CXXCPP $CPPFLAGS'
54164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54167
54168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54169 /* end confdefs.h. */
54170 #include <math.h>
54171 #ifdef HAVE_IEEEFP_H
54172 #include <ieeefp.h>
54173 #endif
54174
54175 int
54176 main ()
54177 {
54178 isnan(0);
54179 ;
54180 return 0;
54181 }
54182 _ACEOF
54183 if ac_fn_cxx_try_compile "$LINENO"; then :
54184 glibcxx_cv_func_isnan_use=yes
54185 else
54186 glibcxx_cv_func_isnan_use=no
54187 fi
54188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54189 ac_ext=c
54190 ac_cpp='$CPP $CPPFLAGS'
54191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54194
54195
54196 fi
54197
54198 fi
54199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54200 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54201
54202 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54203 for ac_func in isnan
54204 do :
54205 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54206 if test "x$ac_cv_func_isnan" = x""yes; then :
54207 cat >>confdefs.h <<_ACEOF
54208 #define HAVE_ISNAN 1
54209 _ACEOF
54210
54211 fi
54212 done
54213
54214 else
54215
54216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54217 $as_echo_n "checking for _isnan declaration... " >&6; }
54218 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54219 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54220 $as_echo_n "(cached) " >&6
54221 else
54222
54223
54224 ac_ext=cpp
54225 ac_cpp='$CXXCPP $CPPFLAGS'
54226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54229
54230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54231 /* end confdefs.h. */
54232 #include <math.h>
54233 #ifdef HAVE_IEEEFP_H
54234 #include <ieeefp.h>
54235 #endif
54236
54237 int
54238 main ()
54239 {
54240 _isnan(0);
54241 ;
54242 return 0;
54243 }
54244 _ACEOF
54245 if ac_fn_cxx_try_compile "$LINENO"; then :
54246 glibcxx_cv_func__isnan_use=yes
54247 else
54248 glibcxx_cv_func__isnan_use=no
54249 fi
54250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54251 ac_ext=c
54252 ac_cpp='$CPP $CPPFLAGS'
54253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54256
54257
54258 fi
54259
54260 fi
54261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54262 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54263
54264 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54265 for ac_func in _isnan
54266 do :
54267 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54268 if test "x$ac_cv_func__isnan" = x""yes; then :
54269 cat >>confdefs.h <<_ACEOF
54270 #define HAVE__ISNAN 1
54271 _ACEOF
54272
54273 fi
54274 done
54275
54276 fi
54277 fi
54278
54279
54280
54281
54282
54283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54284 $as_echo_n "checking for finite declaration... " >&6; }
54285 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54286 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54287 $as_echo_n "(cached) " >&6
54288 else
54289
54290
54291 ac_ext=cpp
54292 ac_cpp='$CXXCPP $CPPFLAGS'
54293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54296
54297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54298 /* end confdefs.h. */
54299 #include <math.h>
54300 #ifdef HAVE_IEEEFP_H
54301 #include <ieeefp.h>
54302 #endif
54303
54304 int
54305 main ()
54306 {
54307 finite(0);
54308 ;
54309 return 0;
54310 }
54311 _ACEOF
54312 if ac_fn_cxx_try_compile "$LINENO"; then :
54313 glibcxx_cv_func_finite_use=yes
54314 else
54315 glibcxx_cv_func_finite_use=no
54316 fi
54317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54318 ac_ext=c
54319 ac_cpp='$CPP $CPPFLAGS'
54320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54323
54324
54325 fi
54326
54327 fi
54328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54329 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54330
54331 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54332 for ac_func in finite
54333 do :
54334 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54335 if test "x$ac_cv_func_finite" = x""yes; then :
54336 cat >>confdefs.h <<_ACEOF
54337 #define HAVE_FINITE 1
54338 _ACEOF
54339
54340 fi
54341 done
54342
54343 else
54344
54345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54346 $as_echo_n "checking for _finite declaration... " >&6; }
54347 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54348 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54349 $as_echo_n "(cached) " >&6
54350 else
54351
54352
54353 ac_ext=cpp
54354 ac_cpp='$CXXCPP $CPPFLAGS'
54355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54358
54359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54360 /* end confdefs.h. */
54361 #include <math.h>
54362 #ifdef HAVE_IEEEFP_H
54363 #include <ieeefp.h>
54364 #endif
54365
54366 int
54367 main ()
54368 {
54369 _finite(0);
54370 ;
54371 return 0;
54372 }
54373 _ACEOF
54374 if ac_fn_cxx_try_compile "$LINENO"; then :
54375 glibcxx_cv_func__finite_use=yes
54376 else
54377 glibcxx_cv_func__finite_use=no
54378 fi
54379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54380 ac_ext=c
54381 ac_cpp='$CPP $CPPFLAGS'
54382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54385
54386
54387 fi
54388
54389 fi
54390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54391 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54392
54393 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54394 for ac_func in _finite
54395 do :
54396 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54397 if test "x$ac_cv_func__finite" = x""yes; then :
54398 cat >>confdefs.h <<_ACEOF
54399 #define HAVE__FINITE 1
54400 _ACEOF
54401
54402 fi
54403 done
54404
54405 fi
54406 fi
54407
54408
54409
54410
54411
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54413 $as_echo_n "checking for sincos declaration... " >&6; }
54414 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54415 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54416 $as_echo_n "(cached) " >&6
54417 else
54418
54419
54420 ac_ext=cpp
54421 ac_cpp='$CXXCPP $CPPFLAGS'
54422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54425
54426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54427 /* end confdefs.h. */
54428 #include <math.h>
54429 int
54430 main ()
54431 {
54432 sincos(0, 0, 0);
54433 ;
54434 return 0;
54435 }
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func_sincos_use=yes
54439 else
54440 glibcxx_cv_func_sincos_use=no
54441 fi
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448
54449
54450 fi
54451
54452 fi
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54454 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54455
54456 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54457 for ac_func in sincos
54458 do :
54459 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54460 if test "x$ac_cv_func_sincos" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE_SINCOS 1
54463 _ACEOF
54464
54465 fi
54466 done
54467
54468 else
54469
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54471 $as_echo_n "checking for _sincos declaration... " >&6; }
54472 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54473 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54476
54477
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54483
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54487 int
54488 main ()
54489 {
54490 _sincos(0, 0, 0);
54491 ;
54492 return 0;
54493 }
54494 _ACEOF
54495 if ac_fn_cxx_try_compile "$LINENO"; then :
54496 glibcxx_cv_func__sincos_use=yes
54497 else
54498 glibcxx_cv_func__sincos_use=no
54499 fi
54500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54501 ac_ext=c
54502 ac_cpp='$CPP $CPPFLAGS'
54503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506
54507
54508 fi
54509
54510 fi
54511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54512 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54513
54514 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54515 for ac_func in _sincos
54516 do :
54517 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54518 if test "x$ac_cv_func__sincos" = x""yes; then :
54519 cat >>confdefs.h <<_ACEOF
54520 #define HAVE__SINCOS 1
54521 _ACEOF
54522
54523 fi
54524 done
54525
54526 fi
54527 fi
54528
54529
54530
54531
54532
54533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54534 $as_echo_n "checking for fpclass declaration... " >&6; }
54535 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54536 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54537 $as_echo_n "(cached) " >&6
54538 else
54539
54540
54541 ac_ext=cpp
54542 ac_cpp='$CXXCPP $CPPFLAGS'
54543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54546
54547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54548 /* end confdefs.h. */
54549 #include <math.h>
54550 #ifdef HAVE_IEEEFP_H
54551 #include <ieeefp.h>
54552 #endif
54553
54554 int
54555 main ()
54556 {
54557 fpclass(0);
54558 ;
54559 return 0;
54560 }
54561 _ACEOF
54562 if ac_fn_cxx_try_compile "$LINENO"; then :
54563 glibcxx_cv_func_fpclass_use=yes
54564 else
54565 glibcxx_cv_func_fpclass_use=no
54566 fi
54567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54568 ac_ext=c
54569 ac_cpp='$CPP $CPPFLAGS'
54570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54573
54574
54575 fi
54576
54577 fi
54578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54579 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54580
54581 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54582 for ac_func in fpclass
54583 do :
54584 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54585 if test "x$ac_cv_func_fpclass" = x""yes; then :
54586 cat >>confdefs.h <<_ACEOF
54587 #define HAVE_FPCLASS 1
54588 _ACEOF
54589
54590 fi
54591 done
54592
54593 else
54594
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54596 $as_echo_n "checking for _fpclass declaration... " >&6; }
54597 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54598 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54599 $as_echo_n "(cached) " >&6
54600 else
54601
54602
54603 ac_ext=cpp
54604 ac_cpp='$CXXCPP $CPPFLAGS'
54605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54608
54609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54610 /* end confdefs.h. */
54611 #include <math.h>
54612 #ifdef HAVE_IEEEFP_H
54613 #include <ieeefp.h>
54614 #endif
54615
54616 int
54617 main ()
54618 {
54619 _fpclass(0);
54620 ;
54621 return 0;
54622 }
54623 _ACEOF
54624 if ac_fn_cxx_try_compile "$LINENO"; then :
54625 glibcxx_cv_func__fpclass_use=yes
54626 else
54627 glibcxx_cv_func__fpclass_use=no
54628 fi
54629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630 ac_ext=c
54631 ac_cpp='$CPP $CPPFLAGS'
54632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635
54636
54637 fi
54638
54639 fi
54640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54641 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54642
54643 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54644 for ac_func in _fpclass
54645 do :
54646 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54647 if test "x$ac_cv_func__fpclass" = x""yes; then :
54648 cat >>confdefs.h <<_ACEOF
54649 #define HAVE__FPCLASS 1
54650 _ACEOF
54651
54652 fi
54653 done
54654
54655 fi
54656 fi
54657
54658
54659
54660
54661
54662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54663 $as_echo_n "checking for qfpclass declaration... " >&6; }
54664 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54665 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54666 $as_echo_n "(cached) " >&6
54667 else
54668
54669
54670 ac_ext=cpp
54671 ac_cpp='$CXXCPP $CPPFLAGS'
54672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54675
54676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54677 /* end confdefs.h. */
54678 #include <math.h>
54679 #ifdef HAVE_IEEEFP_H
54680 #include <ieeefp.h>
54681 #endif
54682
54683 int
54684 main ()
54685 {
54686 qfpclass(0);
54687 ;
54688 return 0;
54689 }
54690 _ACEOF
54691 if ac_fn_cxx_try_compile "$LINENO"; then :
54692 glibcxx_cv_func_qfpclass_use=yes
54693 else
54694 glibcxx_cv_func_qfpclass_use=no
54695 fi
54696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54697 ac_ext=c
54698 ac_cpp='$CPP $CPPFLAGS'
54699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54702
54703
54704 fi
54705
54706 fi
54707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54708 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54709
54710 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54711 for ac_func in qfpclass
54712 do :
54713 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54714 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54715 cat >>confdefs.h <<_ACEOF
54716 #define HAVE_QFPCLASS 1
54717 _ACEOF
54718
54719 fi
54720 done
54721
54722 else
54723
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54725 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54726 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54727 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54728 $as_echo_n "(cached) " >&6
54729 else
54730
54731
54732 ac_ext=cpp
54733 ac_cpp='$CXXCPP $CPPFLAGS'
54734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54737
54738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54739 /* end confdefs.h. */
54740 #include <math.h>
54741 #ifdef HAVE_IEEEFP_H
54742 #include <ieeefp.h>
54743 #endif
54744
54745 int
54746 main ()
54747 {
54748 _qfpclass(0);
54749 ;
54750 return 0;
54751 }
54752 _ACEOF
54753 if ac_fn_cxx_try_compile "$LINENO"; then :
54754 glibcxx_cv_func__qfpclass_use=yes
54755 else
54756 glibcxx_cv_func__qfpclass_use=no
54757 fi
54758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54759 ac_ext=c
54760 ac_cpp='$CPP $CPPFLAGS'
54761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54764
54765
54766 fi
54767
54768 fi
54769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54770 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54771
54772 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54773 for ac_func in _qfpclass
54774 do :
54775 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54776 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54777 cat >>confdefs.h <<_ACEOF
54778 #define HAVE__QFPCLASS 1
54779 _ACEOF
54780
54781 fi
54782 done
54783
54784 fi
54785 fi
54786
54787
54788
54789
54790
54791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54792 $as_echo_n "checking for hypot declaration... " >&6; }
54793 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54794 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54795 $as_echo_n "(cached) " >&6
54796 else
54797
54798
54799 ac_ext=cpp
54800 ac_cpp='$CXXCPP $CPPFLAGS'
54801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54804
54805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54806 /* end confdefs.h. */
54807 #include <math.h>
54808 int
54809 main ()
54810 {
54811 hypot(0, 0);
54812 ;
54813 return 0;
54814 }
54815 _ACEOF
54816 if ac_fn_cxx_try_compile "$LINENO"; then :
54817 glibcxx_cv_func_hypot_use=yes
54818 else
54819 glibcxx_cv_func_hypot_use=no
54820 fi
54821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54822 ac_ext=c
54823 ac_cpp='$CPP $CPPFLAGS'
54824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54827
54828
54829 fi
54830
54831 fi
54832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54833 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54834
54835 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54836 for ac_func in hypot
54837 do :
54838 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54839 if test "x$ac_cv_func_hypot" = x""yes; then :
54840 cat >>confdefs.h <<_ACEOF
54841 #define HAVE_HYPOT 1
54842 _ACEOF
54843
54844 fi
54845 done
54846
54847 else
54848
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54850 $as_echo_n "checking for _hypot declaration... " >&6; }
54851 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54852 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54853 $as_echo_n "(cached) " >&6
54854 else
54855
54856
54857 ac_ext=cpp
54858 ac_cpp='$CXXCPP $CPPFLAGS'
54859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54862
54863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54864 /* end confdefs.h. */
54865 #include <math.h>
54866 int
54867 main ()
54868 {
54869 _hypot(0, 0);
54870 ;
54871 return 0;
54872 }
54873 _ACEOF
54874 if ac_fn_cxx_try_compile "$LINENO"; then :
54875 glibcxx_cv_func__hypot_use=yes
54876 else
54877 glibcxx_cv_func__hypot_use=no
54878 fi
54879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54880 ac_ext=c
54881 ac_cpp='$CPP $CPPFLAGS'
54882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54885
54886
54887 fi
54888
54889 fi
54890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54891 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54892
54893 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54894 for ac_func in _hypot
54895 do :
54896 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54897 if test "x$ac_cv_func__hypot" = x""yes; then :
54898 cat >>confdefs.h <<_ACEOF
54899 #define HAVE__HYPOT 1
54900 _ACEOF
54901
54902 fi
54903 done
54904
54905 fi
54906 fi
54907
54908
54909
54910
54911
54912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54913 $as_echo_n "checking for float trig functions... " >&6; }
54914 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54917
54918
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54924
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54928 int
54929 main ()
54930 {
54931 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54932 ;
54933 return 0;
54934 }
54935 _ACEOF
54936 if ac_fn_cxx_try_compile "$LINENO"; then :
54937 glibcxx_cv_func_float_trig_use=yes
54938 else
54939 glibcxx_cv_func_float_trig_use=no
54940 fi
54941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54942 ac_ext=c
54943 ac_cpp='$CPP $CPPFLAGS'
54944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54947
54948 fi
54949
54950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54951 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54952 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54953 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54954 do :
54955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54957 eval as_val=\$$as_ac_var
54958 if test "x$as_val" = x""yes; then :
54959 cat >>confdefs.h <<_ACEOF
54960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54961 _ACEOF
54962
54963 fi
54964 done
54965
54966 else
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54968 $as_echo_n "checking for _float trig functions... " >&6; }
54969 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54970 $as_echo_n "(cached) " >&6
54971 else
54972
54973
54974 ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54979
54980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h. */
54982 #include <math.h>
54983 int
54984 main ()
54985 {
54986 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54987 ;
54988 return 0;
54989 }
54990 _ACEOF
54991 if ac_fn_cxx_try_compile "$LINENO"; then :
54992 glibcxx_cv_func__float_trig_use=yes
54993 else
54994 glibcxx_cv_func__float_trig_use=no
54995 fi
54996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54997 ac_ext=c
54998 ac_cpp='$CPP $CPPFLAGS'
54999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55002
55003 fi
55004
55005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55006 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55007 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55008 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55009 do :
55010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55012 eval as_val=\$$as_ac_var
55013 if test "x$as_val" = x""yes; then :
55014 cat >>confdefs.h <<_ACEOF
55015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55016 _ACEOF
55017
55018 fi
55019 done
55020
55021 fi
55022 fi
55023
55024
55025
55026
55027
55028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55029 $as_echo_n "checking for float round functions... " >&6; }
55030 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55031 $as_echo_n "(cached) " >&6
55032 else
55033
55034
55035 ac_ext=cpp
55036 ac_cpp='$CXXCPP $CPPFLAGS'
55037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55040
55041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55042 /* end confdefs.h. */
55043 #include <math.h>
55044 int
55045 main ()
55046 {
55047 ceilf (0); floorf (0);
55048 ;
55049 return 0;
55050 }
55051 _ACEOF
55052 if ac_fn_cxx_try_compile "$LINENO"; then :
55053 glibcxx_cv_func_float_round_use=yes
55054 else
55055 glibcxx_cv_func_float_round_use=no
55056 fi
55057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55058 ac_ext=c
55059 ac_cpp='$CPP $CPPFLAGS'
55060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55063
55064 fi
55065
55066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55067 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55068 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55069 for ac_func in ceilf floorf
55070 do :
55071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55073 eval as_val=\$$as_ac_var
55074 if test "x$as_val" = x""yes; then :
55075 cat >>confdefs.h <<_ACEOF
55076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55077 _ACEOF
55078
55079 fi
55080 done
55081
55082 else
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55084 $as_echo_n "checking for _float round functions... " >&6; }
55085 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55086 $as_echo_n "(cached) " >&6
55087 else
55088
55089
55090 ac_ext=cpp
55091 ac_cpp='$CXXCPP $CPPFLAGS'
55092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55095
55096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55097 /* end confdefs.h. */
55098 #include <math.h>
55099 int
55100 main ()
55101 {
55102 _ceilf (0); _floorf (0);
55103 ;
55104 return 0;
55105 }
55106 _ACEOF
55107 if ac_fn_cxx_try_compile "$LINENO"; then :
55108 glibcxx_cv_func__float_round_use=yes
55109 else
55110 glibcxx_cv_func__float_round_use=no
55111 fi
55112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55113 ac_ext=c
55114 ac_cpp='$CPP $CPPFLAGS'
55115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55118
55119 fi
55120
55121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55122 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55123 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55124 for ac_func in _ceilf _floorf
55125 do :
55126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55128 eval as_val=\$$as_ac_var
55129 if test "x$as_val" = x""yes; then :
55130 cat >>confdefs.h <<_ACEOF
55131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55132 _ACEOF
55133
55134 fi
55135 done
55136
55137 fi
55138 fi
55139
55140
55141
55142
55143
55144
55145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55146 $as_echo_n "checking for expf declaration... " >&6; }
55147 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55148 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55149 $as_echo_n "(cached) " >&6
55150 else
55151
55152
55153 ac_ext=cpp
55154 ac_cpp='$CXXCPP $CPPFLAGS'
55155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55158
55159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55160 /* end confdefs.h. */
55161 #include <math.h>
55162 #ifdef HAVE_IEEEFP_H
55163 #include <ieeefp.h>
55164 #endif
55165
55166 int
55167 main ()
55168 {
55169 expf(0);
55170 ;
55171 return 0;
55172 }
55173 _ACEOF
55174 if ac_fn_cxx_try_compile "$LINENO"; then :
55175 glibcxx_cv_func_expf_use=yes
55176 else
55177 glibcxx_cv_func_expf_use=no
55178 fi
55179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55180 ac_ext=c
55181 ac_cpp='$CPP $CPPFLAGS'
55182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55185
55186
55187 fi
55188
55189 fi
55190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55191 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55192
55193 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55194 for ac_func in expf
55195 do :
55196 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55197 if test "x$ac_cv_func_expf" = x""yes; then :
55198 cat >>confdefs.h <<_ACEOF
55199 #define HAVE_EXPF 1
55200 _ACEOF
55201
55202 fi
55203 done
55204
55205 else
55206
55207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55208 $as_echo_n "checking for _expf declaration... " >&6; }
55209 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55210 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55211 $as_echo_n "(cached) " >&6
55212 else
55213
55214
55215 ac_ext=cpp
55216 ac_cpp='$CXXCPP $CPPFLAGS'
55217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55220
55221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55222 /* end confdefs.h. */
55223 #include <math.h>
55224 #ifdef HAVE_IEEEFP_H
55225 #include <ieeefp.h>
55226 #endif
55227
55228 int
55229 main ()
55230 {
55231 _expf(0);
55232 ;
55233 return 0;
55234 }
55235 _ACEOF
55236 if ac_fn_cxx_try_compile "$LINENO"; then :
55237 glibcxx_cv_func__expf_use=yes
55238 else
55239 glibcxx_cv_func__expf_use=no
55240 fi
55241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55242 ac_ext=c
55243 ac_cpp='$CPP $CPPFLAGS'
55244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55247
55248
55249 fi
55250
55251 fi
55252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55253 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55254
55255 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55256 for ac_func in _expf
55257 do :
55258 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55259 if test "x$ac_cv_func__expf" = x""yes; then :
55260 cat >>confdefs.h <<_ACEOF
55261 #define HAVE__EXPF 1
55262 _ACEOF
55263
55264 fi
55265 done
55266
55267 fi
55268 fi
55269
55270
55271
55272
55273
55274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55275 $as_echo_n "checking for isnanf declaration... " >&6; }
55276 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55277 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55278 $as_echo_n "(cached) " >&6
55279 else
55280
55281
55282 ac_ext=cpp
55283 ac_cpp='$CXXCPP $CPPFLAGS'
55284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55287
55288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55289 /* end confdefs.h. */
55290 #include <math.h>
55291 #ifdef HAVE_IEEEFP_H
55292 #include <ieeefp.h>
55293 #endif
55294
55295 int
55296 main ()
55297 {
55298 isnanf(0);
55299 ;
55300 return 0;
55301 }
55302 _ACEOF
55303 if ac_fn_cxx_try_compile "$LINENO"; then :
55304 glibcxx_cv_func_isnanf_use=yes
55305 else
55306 glibcxx_cv_func_isnanf_use=no
55307 fi
55308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309 ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314
55315
55316 fi
55317
55318 fi
55319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55320 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55321
55322 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55323 for ac_func in isnanf
55324 do :
55325 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55326 if test "x$ac_cv_func_isnanf" = x""yes; then :
55327 cat >>confdefs.h <<_ACEOF
55328 #define HAVE_ISNANF 1
55329 _ACEOF
55330
55331 fi
55332 done
55333
55334 else
55335
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55337 $as_echo_n "checking for _isnanf declaration... " >&6; }
55338 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55339 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55340 $as_echo_n "(cached) " >&6
55341 else
55342
55343
55344 ac_ext=cpp
55345 ac_cpp='$CXXCPP $CPPFLAGS'
55346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55349
55350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351 /* end confdefs.h. */
55352 #include <math.h>
55353 #ifdef HAVE_IEEEFP_H
55354 #include <ieeefp.h>
55355 #endif
55356
55357 int
55358 main ()
55359 {
55360 _isnanf(0);
55361 ;
55362 return 0;
55363 }
55364 _ACEOF
55365 if ac_fn_cxx_try_compile "$LINENO"; then :
55366 glibcxx_cv_func__isnanf_use=yes
55367 else
55368 glibcxx_cv_func__isnanf_use=no
55369 fi
55370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55371 ac_ext=c
55372 ac_cpp='$CPP $CPPFLAGS'
55373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55376
55377
55378 fi
55379
55380 fi
55381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55382 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55383
55384 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55385 for ac_func in _isnanf
55386 do :
55387 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55388 if test "x$ac_cv_func__isnanf" = x""yes; then :
55389 cat >>confdefs.h <<_ACEOF
55390 #define HAVE__ISNANF 1
55391 _ACEOF
55392
55393 fi
55394 done
55395
55396 fi
55397 fi
55398
55399
55400
55401
55402
55403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55404 $as_echo_n "checking for isinff declaration... " >&6; }
55405 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55406 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55407 $as_echo_n "(cached) " >&6
55408 else
55409
55410
55411 ac_ext=cpp
55412 ac_cpp='$CXXCPP $CPPFLAGS'
55413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55416
55417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55418 /* end confdefs.h. */
55419 #include <math.h>
55420 #ifdef HAVE_IEEEFP_H
55421 #include <ieeefp.h>
55422 #endif
55423
55424 int
55425 main ()
55426 {
55427 isinff(0);
55428 ;
55429 return 0;
55430 }
55431 _ACEOF
55432 if ac_fn_cxx_try_compile "$LINENO"; then :
55433 glibcxx_cv_func_isinff_use=yes
55434 else
55435 glibcxx_cv_func_isinff_use=no
55436 fi
55437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55438 ac_ext=c
55439 ac_cpp='$CPP $CPPFLAGS'
55440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55443
55444
55445 fi
55446
55447 fi
55448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55449 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55450
55451 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55452 for ac_func in isinff
55453 do :
55454 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55455 if test "x$ac_cv_func_isinff" = x""yes; then :
55456 cat >>confdefs.h <<_ACEOF
55457 #define HAVE_ISINFF 1
55458 _ACEOF
55459
55460 fi
55461 done
55462
55463 else
55464
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55466 $as_echo_n "checking for _isinff declaration... " >&6; }
55467 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55468 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55469 $as_echo_n "(cached) " >&6
55470 else
55471
55472
55473 ac_ext=cpp
55474 ac_cpp='$CXXCPP $CPPFLAGS'
55475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55478
55479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55480 /* end confdefs.h. */
55481 #include <math.h>
55482 #ifdef HAVE_IEEEFP_H
55483 #include <ieeefp.h>
55484 #endif
55485
55486 int
55487 main ()
55488 {
55489 _isinff(0);
55490 ;
55491 return 0;
55492 }
55493 _ACEOF
55494 if ac_fn_cxx_try_compile "$LINENO"; then :
55495 glibcxx_cv_func__isinff_use=yes
55496 else
55497 glibcxx_cv_func__isinff_use=no
55498 fi
55499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55500 ac_ext=c
55501 ac_cpp='$CPP $CPPFLAGS'
55502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55505
55506
55507 fi
55508
55509 fi
55510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55511 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55512
55513 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55514 for ac_func in _isinff
55515 do :
55516 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55517 if test "x$ac_cv_func__isinff" = x""yes; then :
55518 cat >>confdefs.h <<_ACEOF
55519 #define HAVE__ISINFF 1
55520 _ACEOF
55521
55522 fi
55523 done
55524
55525 fi
55526 fi
55527
55528
55529
55530
55531
55532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55533 $as_echo_n "checking for atan2f declaration... " >&6; }
55534 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55535 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55536 $as_echo_n "(cached) " >&6
55537 else
55538
55539
55540 ac_ext=cpp
55541 ac_cpp='$CXXCPP $CPPFLAGS'
55542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55545
55546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55547 /* end confdefs.h. */
55548 #include <math.h>
55549 int
55550 main ()
55551 {
55552 atan2f(0, 0);
55553 ;
55554 return 0;
55555 }
55556 _ACEOF
55557 if ac_fn_cxx_try_compile "$LINENO"; then :
55558 glibcxx_cv_func_atan2f_use=yes
55559 else
55560 glibcxx_cv_func_atan2f_use=no
55561 fi
55562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55563 ac_ext=c
55564 ac_cpp='$CPP $CPPFLAGS'
55565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55568
55569
55570 fi
55571
55572 fi
55573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55574 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55575
55576 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55577 for ac_func in atan2f
55578 do :
55579 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55580 if test "x$ac_cv_func_atan2f" = x""yes; then :
55581 cat >>confdefs.h <<_ACEOF
55582 #define HAVE_ATAN2F 1
55583 _ACEOF
55584
55585 fi
55586 done
55587
55588 else
55589
55590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55591 $as_echo_n "checking for _atan2f declaration... " >&6; }
55592 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55593 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55594 $as_echo_n "(cached) " >&6
55595 else
55596
55597
55598 ac_ext=cpp
55599 ac_cpp='$CXXCPP $CPPFLAGS'
55600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55603
55604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55605 /* end confdefs.h. */
55606 #include <math.h>
55607 int
55608 main ()
55609 {
55610 _atan2f(0, 0);
55611 ;
55612 return 0;
55613 }
55614 _ACEOF
55615 if ac_fn_cxx_try_compile "$LINENO"; then :
55616 glibcxx_cv_func__atan2f_use=yes
55617 else
55618 glibcxx_cv_func__atan2f_use=no
55619 fi
55620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55621 ac_ext=c
55622 ac_cpp='$CPP $CPPFLAGS'
55623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55626
55627
55628 fi
55629
55630 fi
55631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55632 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55633
55634 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55635 for ac_func in _atan2f
55636 do :
55637 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55638 if test "x$ac_cv_func__atan2f" = x""yes; then :
55639 cat >>confdefs.h <<_ACEOF
55640 #define HAVE__ATAN2F 1
55641 _ACEOF
55642
55643 fi
55644 done
55645
55646 fi
55647 fi
55648
55649
55650
55651
55652
55653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55654 $as_echo_n "checking for fabsf declaration... " >&6; }
55655 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55656 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55657 $as_echo_n "(cached) " >&6
55658 else
55659
55660
55661 ac_ext=cpp
55662 ac_cpp='$CXXCPP $CPPFLAGS'
55663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55666
55667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55668 /* end confdefs.h. */
55669 #include <math.h>
55670 #ifdef HAVE_IEEEFP_H
55671 #include <ieeefp.h>
55672 #endif
55673
55674 int
55675 main ()
55676 {
55677 fabsf(0);
55678 ;
55679 return 0;
55680 }
55681 _ACEOF
55682 if ac_fn_cxx_try_compile "$LINENO"; then :
55683 glibcxx_cv_func_fabsf_use=yes
55684 else
55685 glibcxx_cv_func_fabsf_use=no
55686 fi
55687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55688 ac_ext=c
55689 ac_cpp='$CPP $CPPFLAGS'
55690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55693
55694
55695 fi
55696
55697 fi
55698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55699 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55700
55701 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55702 for ac_func in fabsf
55703 do :
55704 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55705 if test "x$ac_cv_func_fabsf" = x""yes; then :
55706 cat >>confdefs.h <<_ACEOF
55707 #define HAVE_FABSF 1
55708 _ACEOF
55709
55710 fi
55711 done
55712
55713 else
55714
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55716 $as_echo_n "checking for _fabsf declaration... " >&6; }
55717 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55718 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55719 $as_echo_n "(cached) " >&6
55720 else
55721
55722
55723 ac_ext=cpp
55724 ac_cpp='$CXXCPP $CPPFLAGS'
55725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55728
55729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55730 /* end confdefs.h. */
55731 #include <math.h>
55732 #ifdef HAVE_IEEEFP_H
55733 #include <ieeefp.h>
55734 #endif
55735
55736 int
55737 main ()
55738 {
55739 _fabsf(0);
55740 ;
55741 return 0;
55742 }
55743 _ACEOF
55744 if ac_fn_cxx_try_compile "$LINENO"; then :
55745 glibcxx_cv_func__fabsf_use=yes
55746 else
55747 glibcxx_cv_func__fabsf_use=no
55748 fi
55749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55750 ac_ext=c
55751 ac_cpp='$CPP $CPPFLAGS'
55752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55755
55756
55757 fi
55758
55759 fi
55760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55761 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55762
55763 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55764 for ac_func in _fabsf
55765 do :
55766 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55767 if test "x$ac_cv_func__fabsf" = x""yes; then :
55768 cat >>confdefs.h <<_ACEOF
55769 #define HAVE__FABSF 1
55770 _ACEOF
55771
55772 fi
55773 done
55774
55775 fi
55776 fi
55777
55778
55779
55780
55781
55782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55783 $as_echo_n "checking for fmodf declaration... " >&6; }
55784 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55785 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55786 $as_echo_n "(cached) " >&6
55787 else
55788
55789
55790 ac_ext=cpp
55791 ac_cpp='$CXXCPP $CPPFLAGS'
55792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55795
55796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55797 /* end confdefs.h. */
55798 #include <math.h>
55799 int
55800 main ()
55801 {
55802 fmodf(0, 0);
55803 ;
55804 return 0;
55805 }
55806 _ACEOF
55807 if ac_fn_cxx_try_compile "$LINENO"; then :
55808 glibcxx_cv_func_fmodf_use=yes
55809 else
55810 glibcxx_cv_func_fmodf_use=no
55811 fi
55812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55813 ac_ext=c
55814 ac_cpp='$CPP $CPPFLAGS'
55815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55818
55819
55820 fi
55821
55822 fi
55823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55824 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55825
55826 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55827 for ac_func in fmodf
55828 do :
55829 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55830 if test "x$ac_cv_func_fmodf" = x""yes; then :
55831 cat >>confdefs.h <<_ACEOF
55832 #define HAVE_FMODF 1
55833 _ACEOF
55834
55835 fi
55836 done
55837
55838 else
55839
55840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55841 $as_echo_n "checking for _fmodf declaration... " >&6; }
55842 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55843 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55844 $as_echo_n "(cached) " >&6
55845 else
55846
55847
55848 ac_ext=cpp
55849 ac_cpp='$CXXCPP $CPPFLAGS'
55850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55853
55854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55855 /* end confdefs.h. */
55856 #include <math.h>
55857 int
55858 main ()
55859 {
55860 _fmodf(0, 0);
55861 ;
55862 return 0;
55863 }
55864 _ACEOF
55865 if ac_fn_cxx_try_compile "$LINENO"; then :
55866 glibcxx_cv_func__fmodf_use=yes
55867 else
55868 glibcxx_cv_func__fmodf_use=no
55869 fi
55870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55871 ac_ext=c
55872 ac_cpp='$CPP $CPPFLAGS'
55873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55876
55877
55878 fi
55879
55880 fi
55881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55882 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55883
55884 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55885 for ac_func in _fmodf
55886 do :
55887 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55888 if test "x$ac_cv_func__fmodf" = x""yes; then :
55889 cat >>confdefs.h <<_ACEOF
55890 #define HAVE__FMODF 1
55891 _ACEOF
55892
55893 fi
55894 done
55895
55896 fi
55897 fi
55898
55899
55900
55901
55902
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55904 $as_echo_n "checking for frexpf declaration... " >&6; }
55905 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55906 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55907 $as_echo_n "(cached) " >&6
55908 else
55909
55910
55911 ac_ext=cpp
55912 ac_cpp='$CXXCPP $CPPFLAGS'
55913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55916
55917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55918 /* end confdefs.h. */
55919 #include <math.h>
55920 int
55921 main ()
55922 {
55923 frexpf(0, 0);
55924 ;
55925 return 0;
55926 }
55927 _ACEOF
55928 if ac_fn_cxx_try_compile "$LINENO"; then :
55929 glibcxx_cv_func_frexpf_use=yes
55930 else
55931 glibcxx_cv_func_frexpf_use=no
55932 fi
55933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55934 ac_ext=c
55935 ac_cpp='$CPP $CPPFLAGS'
55936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55939
55940
55941 fi
55942
55943 fi
55944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55945 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55946
55947 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55948 for ac_func in frexpf
55949 do :
55950 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55951 if test "x$ac_cv_func_frexpf" = x""yes; then :
55952 cat >>confdefs.h <<_ACEOF
55953 #define HAVE_FREXPF 1
55954 _ACEOF
55955
55956 fi
55957 done
55958
55959 else
55960
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55962 $as_echo_n "checking for _frexpf declaration... " >&6; }
55963 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55964 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55965 $as_echo_n "(cached) " >&6
55966 else
55967
55968
55969 ac_ext=cpp
55970 ac_cpp='$CXXCPP $CPPFLAGS'
55971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55974
55975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55976 /* end confdefs.h. */
55977 #include <math.h>
55978 int
55979 main ()
55980 {
55981 _frexpf(0, 0);
55982 ;
55983 return 0;
55984 }
55985 _ACEOF
55986 if ac_fn_cxx_try_compile "$LINENO"; then :
55987 glibcxx_cv_func__frexpf_use=yes
55988 else
55989 glibcxx_cv_func__frexpf_use=no
55990 fi
55991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55992 ac_ext=c
55993 ac_cpp='$CPP $CPPFLAGS'
55994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55997
55998
55999 fi
56000
56001 fi
56002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56003 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56004
56005 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56006 for ac_func in _frexpf
56007 do :
56008 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56009 if test "x$ac_cv_func__frexpf" = x""yes; then :
56010 cat >>confdefs.h <<_ACEOF
56011 #define HAVE__FREXPF 1
56012 _ACEOF
56013
56014 fi
56015 done
56016
56017 fi
56018 fi
56019
56020
56021
56022
56023
56024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56025 $as_echo_n "checking for hypotf declaration... " >&6; }
56026 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56027 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56028 $as_echo_n "(cached) " >&6
56029 else
56030
56031
56032 ac_ext=cpp
56033 ac_cpp='$CXXCPP $CPPFLAGS'
56034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56037
56038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56039 /* end confdefs.h. */
56040 #include <math.h>
56041 int
56042 main ()
56043 {
56044 hypotf(0, 0);
56045 ;
56046 return 0;
56047 }
56048 _ACEOF
56049 if ac_fn_cxx_try_compile "$LINENO"; then :
56050 glibcxx_cv_func_hypotf_use=yes
56051 else
56052 glibcxx_cv_func_hypotf_use=no
56053 fi
56054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56060
56061
56062 fi
56063
56064 fi
56065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56066 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56067
56068 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56069 for ac_func in hypotf
56070 do :
56071 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56072 if test "x$ac_cv_func_hypotf" = x""yes; then :
56073 cat >>confdefs.h <<_ACEOF
56074 #define HAVE_HYPOTF 1
56075 _ACEOF
56076
56077 fi
56078 done
56079
56080 else
56081
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56083 $as_echo_n "checking for _hypotf declaration... " >&6; }
56084 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56085 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56086 $as_echo_n "(cached) " >&6
56087 else
56088
56089
56090 ac_ext=cpp
56091 ac_cpp='$CXXCPP $CPPFLAGS'
56092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56095
56096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56097 /* end confdefs.h. */
56098 #include <math.h>
56099 int
56100 main ()
56101 {
56102 _hypotf(0, 0);
56103 ;
56104 return 0;
56105 }
56106 _ACEOF
56107 if ac_fn_cxx_try_compile "$LINENO"; then :
56108 glibcxx_cv_func__hypotf_use=yes
56109 else
56110 glibcxx_cv_func__hypotf_use=no
56111 fi
56112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113 ac_ext=c
56114 ac_cpp='$CPP $CPPFLAGS'
56115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118
56119
56120 fi
56121
56122 fi
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56124 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56125
56126 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56127 for ac_func in _hypotf
56128 do :
56129 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56130 if test "x$ac_cv_func__hypotf" = x""yes; then :
56131 cat >>confdefs.h <<_ACEOF
56132 #define HAVE__HYPOTF 1
56133 _ACEOF
56134
56135 fi
56136 done
56137
56138 fi
56139 fi
56140
56141
56142
56143
56144
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56146 $as_echo_n "checking for ldexpf declaration... " >&6; }
56147 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56148 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56149 $as_echo_n "(cached) " >&6
56150 else
56151
56152
56153 ac_ext=cpp
56154 ac_cpp='$CXXCPP $CPPFLAGS'
56155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56158
56159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56160 /* end confdefs.h. */
56161 #include <math.h>
56162 int
56163 main ()
56164 {
56165 ldexpf(0, 0);
56166 ;
56167 return 0;
56168 }
56169 _ACEOF
56170 if ac_fn_cxx_try_compile "$LINENO"; then :
56171 glibcxx_cv_func_ldexpf_use=yes
56172 else
56173 glibcxx_cv_func_ldexpf_use=no
56174 fi
56175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56176 ac_ext=c
56177 ac_cpp='$CPP $CPPFLAGS'
56178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56181
56182
56183 fi
56184
56185 fi
56186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56187 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56188
56189 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56190 for ac_func in ldexpf
56191 do :
56192 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56193 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56194 cat >>confdefs.h <<_ACEOF
56195 #define HAVE_LDEXPF 1
56196 _ACEOF
56197
56198 fi
56199 done
56200
56201 else
56202
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56204 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56205 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56206 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56207 $as_echo_n "(cached) " >&6
56208 else
56209
56210
56211 ac_ext=cpp
56212 ac_cpp='$CXXCPP $CPPFLAGS'
56213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56216
56217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56218 /* end confdefs.h. */
56219 #include <math.h>
56220 int
56221 main ()
56222 {
56223 _ldexpf(0, 0);
56224 ;
56225 return 0;
56226 }
56227 _ACEOF
56228 if ac_fn_cxx_try_compile "$LINENO"; then :
56229 glibcxx_cv_func__ldexpf_use=yes
56230 else
56231 glibcxx_cv_func__ldexpf_use=no
56232 fi
56233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234 ac_ext=c
56235 ac_cpp='$CPP $CPPFLAGS'
56236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56239
56240
56241 fi
56242
56243 fi
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56245 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56246
56247 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56248 for ac_func in _ldexpf
56249 do :
56250 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56251 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56252 cat >>confdefs.h <<_ACEOF
56253 #define HAVE__LDEXPF 1
56254 _ACEOF
56255
56256 fi
56257 done
56258
56259 fi
56260 fi
56261
56262
56263
56264
56265
56266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56267 $as_echo_n "checking for logf declaration... " >&6; }
56268 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56269 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56270 $as_echo_n "(cached) " >&6
56271 else
56272
56273
56274 ac_ext=cpp
56275 ac_cpp='$CXXCPP $CPPFLAGS'
56276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56279
56280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56281 /* end confdefs.h. */
56282 #include <math.h>
56283 #ifdef HAVE_IEEEFP_H
56284 #include <ieeefp.h>
56285 #endif
56286
56287 int
56288 main ()
56289 {
56290 logf(0);
56291 ;
56292 return 0;
56293 }
56294 _ACEOF
56295 if ac_fn_cxx_try_compile "$LINENO"; then :
56296 glibcxx_cv_func_logf_use=yes
56297 else
56298 glibcxx_cv_func_logf_use=no
56299 fi
56300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56301 ac_ext=c
56302 ac_cpp='$CPP $CPPFLAGS'
56303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56306
56307
56308 fi
56309
56310 fi
56311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56312 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56313
56314 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56315 for ac_func in logf
56316 do :
56317 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56318 if test "x$ac_cv_func_logf" = x""yes; then :
56319 cat >>confdefs.h <<_ACEOF
56320 #define HAVE_LOGF 1
56321 _ACEOF
56322
56323 fi
56324 done
56325
56326 else
56327
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56329 $as_echo_n "checking for _logf declaration... " >&6; }
56330 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56331 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56332 $as_echo_n "(cached) " >&6
56333 else
56334
56335
56336 ac_ext=cpp
56337 ac_cpp='$CXXCPP $CPPFLAGS'
56338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56341
56342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343 /* end confdefs.h. */
56344 #include <math.h>
56345 #ifdef HAVE_IEEEFP_H
56346 #include <ieeefp.h>
56347 #endif
56348
56349 int
56350 main ()
56351 {
56352 _logf(0);
56353 ;
56354 return 0;
56355 }
56356 _ACEOF
56357 if ac_fn_cxx_try_compile "$LINENO"; then :
56358 glibcxx_cv_func__logf_use=yes
56359 else
56360 glibcxx_cv_func__logf_use=no
56361 fi
56362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363 ac_ext=c
56364 ac_cpp='$CPP $CPPFLAGS'
56365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56368
56369
56370 fi
56371
56372 fi
56373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56374 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56375
56376 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56377 for ac_func in _logf
56378 do :
56379 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56380 if test "x$ac_cv_func__logf" = x""yes; then :
56381 cat >>confdefs.h <<_ACEOF
56382 #define HAVE__LOGF 1
56383 _ACEOF
56384
56385 fi
56386 done
56387
56388 fi
56389 fi
56390
56391
56392
56393
56394
56395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56396 $as_echo_n "checking for log10f declaration... " >&6; }
56397 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56398 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56399 $as_echo_n "(cached) " >&6
56400 else
56401
56402
56403 ac_ext=cpp
56404 ac_cpp='$CXXCPP $CPPFLAGS'
56405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56408
56409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56410 /* end confdefs.h. */
56411 #include <math.h>
56412 #ifdef HAVE_IEEEFP_H
56413 #include <ieeefp.h>
56414 #endif
56415
56416 int
56417 main ()
56418 {
56419 log10f(0);
56420 ;
56421 return 0;
56422 }
56423 _ACEOF
56424 if ac_fn_cxx_try_compile "$LINENO"; then :
56425 glibcxx_cv_func_log10f_use=yes
56426 else
56427 glibcxx_cv_func_log10f_use=no
56428 fi
56429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56430 ac_ext=c
56431 ac_cpp='$CPP $CPPFLAGS'
56432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56435
56436
56437 fi
56438
56439 fi
56440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56441 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56442
56443 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56444 for ac_func in log10f
56445 do :
56446 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56447 if test "x$ac_cv_func_log10f" = x""yes; then :
56448 cat >>confdefs.h <<_ACEOF
56449 #define HAVE_LOG10F 1
56450 _ACEOF
56451
56452 fi
56453 done
56454
56455 else
56456
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56458 $as_echo_n "checking for _log10f declaration... " >&6; }
56459 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56460 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56461 $as_echo_n "(cached) " >&6
56462 else
56463
56464
56465 ac_ext=cpp
56466 ac_cpp='$CXXCPP $CPPFLAGS'
56467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56470
56471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56472 /* end confdefs.h. */
56473 #include <math.h>
56474 #ifdef HAVE_IEEEFP_H
56475 #include <ieeefp.h>
56476 #endif
56477
56478 int
56479 main ()
56480 {
56481 _log10f(0);
56482 ;
56483 return 0;
56484 }
56485 _ACEOF
56486 if ac_fn_cxx_try_compile "$LINENO"; then :
56487 glibcxx_cv_func__log10f_use=yes
56488 else
56489 glibcxx_cv_func__log10f_use=no
56490 fi
56491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492 ac_ext=c
56493 ac_cpp='$CPP $CPPFLAGS'
56494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56497
56498
56499 fi
56500
56501 fi
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56503 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56504
56505 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56506 for ac_func in _log10f
56507 do :
56508 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56509 if test "x$ac_cv_func__log10f" = x""yes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE__LOG10F 1
56512 _ACEOF
56513
56514 fi
56515 done
56516
56517 fi
56518 fi
56519
56520
56521
56522
56523
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56525 $as_echo_n "checking for modff declaration... " >&6; }
56526 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56527 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56528 $as_echo_n "(cached) " >&6
56529 else
56530
56531
56532 ac_ext=cpp
56533 ac_cpp='$CXXCPP $CPPFLAGS'
56534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56537
56538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56539 /* end confdefs.h. */
56540 #include <math.h>
56541 int
56542 main ()
56543 {
56544 modff(0, 0);
56545 ;
56546 return 0;
56547 }
56548 _ACEOF
56549 if ac_fn_cxx_try_compile "$LINENO"; then :
56550 glibcxx_cv_func_modff_use=yes
56551 else
56552 glibcxx_cv_func_modff_use=no
56553 fi
56554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56555 ac_ext=c
56556 ac_cpp='$CPP $CPPFLAGS'
56557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56560
56561
56562 fi
56563
56564 fi
56565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56566 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56567
56568 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56569 for ac_func in modff
56570 do :
56571 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56572 if test "x$ac_cv_func_modff" = x""yes; then :
56573 cat >>confdefs.h <<_ACEOF
56574 #define HAVE_MODFF 1
56575 _ACEOF
56576
56577 fi
56578 done
56579
56580 else
56581
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56583 $as_echo_n "checking for _modff declaration... " >&6; }
56584 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56585 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56586 $as_echo_n "(cached) " >&6
56587 else
56588
56589
56590 ac_ext=cpp
56591 ac_cpp='$CXXCPP $CPPFLAGS'
56592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56595
56596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56597 /* end confdefs.h. */
56598 #include <math.h>
56599 int
56600 main ()
56601 {
56602 _modff(0, 0);
56603 ;
56604 return 0;
56605 }
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func__modff_use=yes
56609 else
56610 glibcxx_cv_func__modff_use=no
56611 fi
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618
56619
56620 fi
56621
56622 fi
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56624 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56625
56626 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56627 for ac_func in _modff
56628 do :
56629 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56630 if test "x$ac_cv_func__modff" = x""yes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE__MODFF 1
56633 _ACEOF
56634
56635 fi
56636 done
56637
56638 fi
56639 fi
56640
56641
56642
56643
56644
56645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56646 $as_echo_n "checking for modf declaration... " >&6; }
56647 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56648 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56649 $as_echo_n "(cached) " >&6
56650 else
56651
56652
56653 ac_ext=cpp
56654 ac_cpp='$CXXCPP $CPPFLAGS'
56655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56658
56659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h. */
56661 #include <math.h>
56662 int
56663 main ()
56664 {
56665 modf(0, 0);
56666 ;
56667 return 0;
56668 }
56669 _ACEOF
56670 if ac_fn_cxx_try_compile "$LINENO"; then :
56671 glibcxx_cv_func_modf_use=yes
56672 else
56673 glibcxx_cv_func_modf_use=no
56674 fi
56675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56676 ac_ext=c
56677 ac_cpp='$CPP $CPPFLAGS'
56678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56681
56682
56683 fi
56684
56685 fi
56686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56687 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56688
56689 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56690 for ac_func in modf
56691 do :
56692 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56693 if test "x$ac_cv_func_modf" = x""yes; then :
56694 cat >>confdefs.h <<_ACEOF
56695 #define HAVE_MODF 1
56696 _ACEOF
56697
56698 fi
56699 done
56700
56701 else
56702
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56704 $as_echo_n "checking for _modf declaration... " >&6; }
56705 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56706 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56707 $as_echo_n "(cached) " >&6
56708 else
56709
56710
56711 ac_ext=cpp
56712 ac_cpp='$CXXCPP $CPPFLAGS'
56713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56716
56717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56718 /* end confdefs.h. */
56719 #include <math.h>
56720 int
56721 main ()
56722 {
56723 _modf(0, 0);
56724 ;
56725 return 0;
56726 }
56727 _ACEOF
56728 if ac_fn_cxx_try_compile "$LINENO"; then :
56729 glibcxx_cv_func__modf_use=yes
56730 else
56731 glibcxx_cv_func__modf_use=no
56732 fi
56733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56734 ac_ext=c
56735 ac_cpp='$CPP $CPPFLAGS'
56736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56739
56740
56741 fi
56742
56743 fi
56744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56745 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56746
56747 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56748 for ac_func in _modf
56749 do :
56750 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56751 if test "x$ac_cv_func__modf" = x""yes; then :
56752 cat >>confdefs.h <<_ACEOF
56753 #define HAVE__MODF 1
56754 _ACEOF
56755
56756 fi
56757 done
56758
56759 fi
56760 fi
56761
56762
56763
56764
56765
56766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56767 $as_echo_n "checking for powf declaration... " >&6; }
56768 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56769 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56770 $as_echo_n "(cached) " >&6
56771 else
56772
56773
56774 ac_ext=cpp
56775 ac_cpp='$CXXCPP $CPPFLAGS'
56776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56779
56780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56781 /* end confdefs.h. */
56782 #include <math.h>
56783 int
56784 main ()
56785 {
56786 powf(0, 0);
56787 ;
56788 return 0;
56789 }
56790 _ACEOF
56791 if ac_fn_cxx_try_compile "$LINENO"; then :
56792 glibcxx_cv_func_powf_use=yes
56793 else
56794 glibcxx_cv_func_powf_use=no
56795 fi
56796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56797 ac_ext=c
56798 ac_cpp='$CPP $CPPFLAGS'
56799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56802
56803
56804 fi
56805
56806 fi
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56808 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56809
56810 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56811 for ac_func in powf
56812 do :
56813 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56814 if test "x$ac_cv_func_powf" = x""yes; then :
56815 cat >>confdefs.h <<_ACEOF
56816 #define HAVE_POWF 1
56817 _ACEOF
56818
56819 fi
56820 done
56821
56822 else
56823
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56825 $as_echo_n "checking for _powf declaration... " >&6; }
56826 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56827 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56828 $as_echo_n "(cached) " >&6
56829 else
56830
56831
56832 ac_ext=cpp
56833 ac_cpp='$CXXCPP $CPPFLAGS'
56834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56837
56838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56839 /* end confdefs.h. */
56840 #include <math.h>
56841 int
56842 main ()
56843 {
56844 _powf(0, 0);
56845 ;
56846 return 0;
56847 }
56848 _ACEOF
56849 if ac_fn_cxx_try_compile "$LINENO"; then :
56850 glibcxx_cv_func__powf_use=yes
56851 else
56852 glibcxx_cv_func__powf_use=no
56853 fi
56854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56855 ac_ext=c
56856 ac_cpp='$CPP $CPPFLAGS'
56857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56860
56861
56862 fi
56863
56864 fi
56865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56866 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56867
56868 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56869 for ac_func in _powf
56870 do :
56871 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56872 if test "x$ac_cv_func__powf" = x""yes; then :
56873 cat >>confdefs.h <<_ACEOF
56874 #define HAVE__POWF 1
56875 _ACEOF
56876
56877 fi
56878 done
56879
56880 fi
56881 fi
56882
56883
56884
56885
56886
56887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56888 $as_echo_n "checking for sqrtf declaration... " >&6; }
56889 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56890 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56891 $as_echo_n "(cached) " >&6
56892 else
56893
56894
56895 ac_ext=cpp
56896 ac_cpp='$CXXCPP $CPPFLAGS'
56897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56900
56901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902 /* end confdefs.h. */
56903 #include <math.h>
56904 #ifdef HAVE_IEEEFP_H
56905 #include <ieeefp.h>
56906 #endif
56907
56908 int
56909 main ()
56910 {
56911 sqrtf(0);
56912 ;
56913 return 0;
56914 }
56915 _ACEOF
56916 if ac_fn_cxx_try_compile "$LINENO"; then :
56917 glibcxx_cv_func_sqrtf_use=yes
56918 else
56919 glibcxx_cv_func_sqrtf_use=no
56920 fi
56921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56922 ac_ext=c
56923 ac_cpp='$CPP $CPPFLAGS'
56924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56927
56928
56929 fi
56930
56931 fi
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56933 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56934
56935 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56936 for ac_func in sqrtf
56937 do :
56938 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56939 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56940 cat >>confdefs.h <<_ACEOF
56941 #define HAVE_SQRTF 1
56942 _ACEOF
56943
56944 fi
56945 done
56946
56947 else
56948
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56950 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56951 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56952 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56953 $as_echo_n "(cached) " >&6
56954 else
56955
56956
56957 ac_ext=cpp
56958 ac_cpp='$CXXCPP $CPPFLAGS'
56959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56962
56963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964 /* end confdefs.h. */
56965 #include <math.h>
56966 #ifdef HAVE_IEEEFP_H
56967 #include <ieeefp.h>
56968 #endif
56969
56970 int
56971 main ()
56972 {
56973 _sqrtf(0);
56974 ;
56975 return 0;
56976 }
56977 _ACEOF
56978 if ac_fn_cxx_try_compile "$LINENO"; then :
56979 glibcxx_cv_func__sqrtf_use=yes
56980 else
56981 glibcxx_cv_func__sqrtf_use=no
56982 fi
56983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56989
56990
56991 fi
56992
56993 fi
56994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56995 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56996
56997 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56998 for ac_func in _sqrtf
56999 do :
57000 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57001 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57002 cat >>confdefs.h <<_ACEOF
57003 #define HAVE__SQRTF 1
57004 _ACEOF
57005
57006 fi
57007 done
57008
57009 fi
57010 fi
57011
57012
57013
57014
57015
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57017 $as_echo_n "checking for sincosf declaration... " >&6; }
57018 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57019 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57020 $as_echo_n "(cached) " >&6
57021 else
57022
57023
57024 ac_ext=cpp
57025 ac_cpp='$CXXCPP $CPPFLAGS'
57026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57029
57030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h. */
57032 #include <math.h>
57033 int
57034 main ()
57035 {
57036 sincosf(0, 0, 0);
57037 ;
57038 return 0;
57039 }
57040 _ACEOF
57041 if ac_fn_cxx_try_compile "$LINENO"; then :
57042 glibcxx_cv_func_sincosf_use=yes
57043 else
57044 glibcxx_cv_func_sincosf_use=no
57045 fi
57046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047 ac_ext=c
57048 ac_cpp='$CPP $CPPFLAGS'
57049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57052
57053
57054 fi
57055
57056 fi
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57058 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57059
57060 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57061 for ac_func in sincosf
57062 do :
57063 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57064 if test "x$ac_cv_func_sincosf" = x""yes; then :
57065 cat >>confdefs.h <<_ACEOF
57066 #define HAVE_SINCOSF 1
57067 _ACEOF
57068
57069 fi
57070 done
57071
57072 else
57073
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57075 $as_echo_n "checking for _sincosf declaration... " >&6; }
57076 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57077 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57078 $as_echo_n "(cached) " >&6
57079 else
57080
57081
57082 ac_ext=cpp
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57087
57088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089 /* end confdefs.h. */
57090 #include <math.h>
57091 int
57092 main ()
57093 {
57094 _sincosf(0, 0, 0);
57095 ;
57096 return 0;
57097 }
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100 glibcxx_cv_func__sincosf_use=yes
57101 else
57102 glibcxx_cv_func__sincosf_use=no
57103 fi
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105 ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110
57111
57112 fi
57113
57114 fi
57115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57116 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57117
57118 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57119 for ac_func in _sincosf
57120 do :
57121 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57122 if test "x$ac_cv_func__sincosf" = x""yes; then :
57123 cat >>confdefs.h <<_ACEOF
57124 #define HAVE__SINCOSF 1
57125 _ACEOF
57126
57127 fi
57128 done
57129
57130 fi
57131 fi
57132
57133
57134
57135
57136
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57138 $as_echo_n "checking for finitef declaration... " >&6; }
57139 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57140 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57141 $as_echo_n "(cached) " >&6
57142 else
57143
57144
57145 ac_ext=cpp
57146 ac_cpp='$CXXCPP $CPPFLAGS'
57147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57150
57151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152 /* end confdefs.h. */
57153 #include <math.h>
57154 #ifdef HAVE_IEEEFP_H
57155 #include <ieeefp.h>
57156 #endif
57157
57158 int
57159 main ()
57160 {
57161 finitef(0);
57162 ;
57163 return 0;
57164 }
57165 _ACEOF
57166 if ac_fn_cxx_try_compile "$LINENO"; then :
57167 glibcxx_cv_func_finitef_use=yes
57168 else
57169 glibcxx_cv_func_finitef_use=no
57170 fi
57171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57172 ac_ext=c
57173 ac_cpp='$CPP $CPPFLAGS'
57174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57177
57178
57179 fi
57180
57181 fi
57182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57183 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57184
57185 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57186 for ac_func in finitef
57187 do :
57188 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57189 if test "x$ac_cv_func_finitef" = x""yes; then :
57190 cat >>confdefs.h <<_ACEOF
57191 #define HAVE_FINITEF 1
57192 _ACEOF
57193
57194 fi
57195 done
57196
57197 else
57198
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57200 $as_echo_n "checking for _finitef declaration... " >&6; }
57201 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57202 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57205
57206
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57212
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57216 #ifdef HAVE_IEEEFP_H
57217 #include <ieeefp.h>
57218 #endif
57219
57220 int
57221 main ()
57222 {
57223 _finitef(0);
57224 ;
57225 return 0;
57226 }
57227 _ACEOF
57228 if ac_fn_cxx_try_compile "$LINENO"; then :
57229 glibcxx_cv_func__finitef_use=yes
57230 else
57231 glibcxx_cv_func__finitef_use=no
57232 fi
57233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57234 ac_ext=c
57235 ac_cpp='$CPP $CPPFLAGS'
57236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57239
57240
57241 fi
57242
57243 fi
57244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57245 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57246
57247 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57248 for ac_func in _finitef
57249 do :
57250 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57251 if test "x$ac_cv_func__finitef" = x""yes; then :
57252 cat >>confdefs.h <<_ACEOF
57253 #define HAVE__FINITEF 1
57254 _ACEOF
57255
57256 fi
57257 done
57258
57259 fi
57260 fi
57261
57262
57263
57264
57265
57266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57267 $as_echo_n "checking for long double trig functions... " >&6; }
57268 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57269 $as_echo_n "(cached) " >&6
57270 else
57271
57272
57273 ac_ext=cpp
57274 ac_cpp='$CXXCPP $CPPFLAGS'
57275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57278
57279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57280 /* end confdefs.h. */
57281 #include <math.h>
57282 int
57283 main ()
57284 {
57285 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57286 ;
57287 return 0;
57288 }
57289 _ACEOF
57290 if ac_fn_cxx_try_compile "$LINENO"; then :
57291 glibcxx_cv_func_long_double_trig_use=yes
57292 else
57293 glibcxx_cv_func_long_double_trig_use=no
57294 fi
57295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57296 ac_ext=c
57297 ac_cpp='$CPP $CPPFLAGS'
57298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57301
57302 fi
57303
57304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57305 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57306 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57307 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57308 do :
57309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57311 eval as_val=\$$as_ac_var
57312 if test "x$as_val" = x""yes; then :
57313 cat >>confdefs.h <<_ACEOF
57314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57315 _ACEOF
57316
57317 fi
57318 done
57319
57320 else
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57322 $as_echo_n "checking for _long double trig functions... " >&6; }
57323 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57324 $as_echo_n "(cached) " >&6
57325 else
57326
57327
57328 ac_ext=cpp
57329 ac_cpp='$CXXCPP $CPPFLAGS'
57330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57333
57334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335 /* end confdefs.h. */
57336 #include <math.h>
57337 int
57338 main ()
57339 {
57340 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57341 ;
57342 return 0;
57343 }
57344 _ACEOF
57345 if ac_fn_cxx_try_compile "$LINENO"; then :
57346 glibcxx_cv_func__long_double_trig_use=yes
57347 else
57348 glibcxx_cv_func__long_double_trig_use=no
57349 fi
57350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57351 ac_ext=c
57352 ac_cpp='$CPP $CPPFLAGS'
57353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57356
57357 fi
57358
57359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57360 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57361 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57362 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57363 do :
57364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57366 eval as_val=\$$as_ac_var
57367 if test "x$as_val" = x""yes; then :
57368 cat >>confdefs.h <<_ACEOF
57369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57370 _ACEOF
57371
57372 fi
57373 done
57374
57375 fi
57376 fi
57377
57378
57379
57380
57381
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57383 $as_echo_n "checking for long double round functions... " >&6; }
57384 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57385 $as_echo_n "(cached) " >&6
57386 else
57387
57388
57389 ac_ext=cpp
57390 ac_cpp='$CXXCPP $CPPFLAGS'
57391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57394
57395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57396 /* end confdefs.h. */
57397 #include <math.h>
57398 int
57399 main ()
57400 {
57401 ceill (0); floorl (0);
57402 ;
57403 return 0;
57404 }
57405 _ACEOF
57406 if ac_fn_cxx_try_compile "$LINENO"; then :
57407 glibcxx_cv_func_long_double_round_use=yes
57408 else
57409 glibcxx_cv_func_long_double_round_use=no
57410 fi
57411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57412 ac_ext=c
57413 ac_cpp='$CPP $CPPFLAGS'
57414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57417
57418 fi
57419
57420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57421 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57422 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57423 for ac_func in ceill floorl
57424 do :
57425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57427 eval as_val=\$$as_ac_var
57428 if test "x$as_val" = x""yes; then :
57429 cat >>confdefs.h <<_ACEOF
57430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57431 _ACEOF
57432
57433 fi
57434 done
57435
57436 else
57437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57438 $as_echo_n "checking for _long double round functions... " >&6; }
57439 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57440 $as_echo_n "(cached) " >&6
57441 else
57442
57443
57444 ac_ext=cpp
57445 ac_cpp='$CXXCPP $CPPFLAGS'
57446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57449
57450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57451 /* end confdefs.h. */
57452 #include <math.h>
57453 int
57454 main ()
57455 {
57456 _ceill (0); _floorl (0);
57457 ;
57458 return 0;
57459 }
57460 _ACEOF
57461 if ac_fn_cxx_try_compile "$LINENO"; then :
57462 glibcxx_cv_func__long_double_round_use=yes
57463 else
57464 glibcxx_cv_func__long_double_round_use=no
57465 fi
57466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57467 ac_ext=c
57468 ac_cpp='$CPP $CPPFLAGS'
57469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57472
57473 fi
57474
57475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57476 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57477 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57478 for ac_func in _ceill _floorl
57479 do :
57480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57482 eval as_val=\$$as_ac_var
57483 if test "x$as_val" = x""yes; then :
57484 cat >>confdefs.h <<_ACEOF
57485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57486 _ACEOF
57487
57488 fi
57489 done
57490
57491 fi
57492 fi
57493
57494
57495
57496
57497
57498
57499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57500 $as_echo_n "checking for isnanl declaration... " >&6; }
57501 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57502 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57503 $as_echo_n "(cached) " >&6
57504 else
57505
57506
57507 ac_ext=cpp
57508 ac_cpp='$CXXCPP $CPPFLAGS'
57509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57512
57513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57514 /* end confdefs.h. */
57515 #include <math.h>
57516 #ifdef HAVE_IEEEFP_H
57517 #include <ieeefp.h>
57518 #endif
57519
57520 int
57521 main ()
57522 {
57523 isnanl(0);
57524 ;
57525 return 0;
57526 }
57527 _ACEOF
57528 if ac_fn_cxx_try_compile "$LINENO"; then :
57529 glibcxx_cv_func_isnanl_use=yes
57530 else
57531 glibcxx_cv_func_isnanl_use=no
57532 fi
57533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57534 ac_ext=c
57535 ac_cpp='$CPP $CPPFLAGS'
57536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57539
57540
57541 fi
57542
57543 fi
57544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57545 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57546
57547 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57548 for ac_func in isnanl
57549 do :
57550 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57551 if test "x$ac_cv_func_isnanl" = x""yes; then :
57552 cat >>confdefs.h <<_ACEOF
57553 #define HAVE_ISNANL 1
57554 _ACEOF
57555
57556 fi
57557 done
57558
57559 else
57560
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57562 $as_echo_n "checking for _isnanl declaration... " >&6; }
57563 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57564 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57565 $as_echo_n "(cached) " >&6
57566 else
57567
57568
57569 ac_ext=cpp
57570 ac_cpp='$CXXCPP $CPPFLAGS'
57571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57574
57575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57576 /* end confdefs.h. */
57577 #include <math.h>
57578 #ifdef HAVE_IEEEFP_H
57579 #include <ieeefp.h>
57580 #endif
57581
57582 int
57583 main ()
57584 {
57585 _isnanl(0);
57586 ;
57587 return 0;
57588 }
57589 _ACEOF
57590 if ac_fn_cxx_try_compile "$LINENO"; then :
57591 glibcxx_cv_func__isnanl_use=yes
57592 else
57593 glibcxx_cv_func__isnanl_use=no
57594 fi
57595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57596 ac_ext=c
57597 ac_cpp='$CPP $CPPFLAGS'
57598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57601
57602
57603 fi
57604
57605 fi
57606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57607 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57608
57609 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57610 for ac_func in _isnanl
57611 do :
57612 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57613 if test "x$ac_cv_func__isnanl" = x""yes; then :
57614 cat >>confdefs.h <<_ACEOF
57615 #define HAVE__ISNANL 1
57616 _ACEOF
57617
57618 fi
57619 done
57620
57621 fi
57622 fi
57623
57624
57625
57626
57627
57628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57629 $as_echo_n "checking for isinfl declaration... " >&6; }
57630 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57631 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57632 $as_echo_n "(cached) " >&6
57633 else
57634
57635
57636 ac_ext=cpp
57637 ac_cpp='$CXXCPP $CPPFLAGS'
57638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57641
57642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57643 /* end confdefs.h. */
57644 #include <math.h>
57645 #ifdef HAVE_IEEEFP_H
57646 #include <ieeefp.h>
57647 #endif
57648
57649 int
57650 main ()
57651 {
57652 isinfl(0);
57653 ;
57654 return 0;
57655 }
57656 _ACEOF
57657 if ac_fn_cxx_try_compile "$LINENO"; then :
57658 glibcxx_cv_func_isinfl_use=yes
57659 else
57660 glibcxx_cv_func_isinfl_use=no
57661 fi
57662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57663 ac_ext=c
57664 ac_cpp='$CPP $CPPFLAGS'
57665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57668
57669
57670 fi
57671
57672 fi
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57674 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57675
57676 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57677 for ac_func in isinfl
57678 do :
57679 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57680 if test "x$ac_cv_func_isinfl" = x""yes; then :
57681 cat >>confdefs.h <<_ACEOF
57682 #define HAVE_ISINFL 1
57683 _ACEOF
57684
57685 fi
57686 done
57687
57688 else
57689
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57691 $as_echo_n "checking for _isinfl declaration... " >&6; }
57692 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57693 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57694 $as_echo_n "(cached) " >&6
57695 else
57696
57697
57698 ac_ext=cpp
57699 ac_cpp='$CXXCPP $CPPFLAGS'
57700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57703
57704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57705 /* end confdefs.h. */
57706 #include <math.h>
57707 #ifdef HAVE_IEEEFP_H
57708 #include <ieeefp.h>
57709 #endif
57710
57711 int
57712 main ()
57713 {
57714 _isinfl(0);
57715 ;
57716 return 0;
57717 }
57718 _ACEOF
57719 if ac_fn_cxx_try_compile "$LINENO"; then :
57720 glibcxx_cv_func__isinfl_use=yes
57721 else
57722 glibcxx_cv_func__isinfl_use=no
57723 fi
57724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57725 ac_ext=c
57726 ac_cpp='$CPP $CPPFLAGS'
57727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57730
57731
57732 fi
57733
57734 fi
57735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57736 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57737
57738 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57739 for ac_func in _isinfl
57740 do :
57741 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57742 if test "x$ac_cv_func__isinfl" = x""yes; then :
57743 cat >>confdefs.h <<_ACEOF
57744 #define HAVE__ISINFL 1
57745 _ACEOF
57746
57747 fi
57748 done
57749
57750 fi
57751 fi
57752
57753
57754
57755
57756
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57758 $as_echo_n "checking for atan2l declaration... " >&6; }
57759 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57760 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57761 $as_echo_n "(cached) " >&6
57762 else
57763
57764
57765 ac_ext=cpp
57766 ac_cpp='$CXXCPP $CPPFLAGS'
57767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57770
57771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772 /* end confdefs.h. */
57773 #include <math.h>
57774 int
57775 main ()
57776 {
57777 atan2l(0, 0);
57778 ;
57779 return 0;
57780 }
57781 _ACEOF
57782 if ac_fn_cxx_try_compile "$LINENO"; then :
57783 glibcxx_cv_func_atan2l_use=yes
57784 else
57785 glibcxx_cv_func_atan2l_use=no
57786 fi
57787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57788 ac_ext=c
57789 ac_cpp='$CPP $CPPFLAGS'
57790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57793
57794
57795 fi
57796
57797 fi
57798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57799 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57800
57801 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57802 for ac_func in atan2l
57803 do :
57804 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57805 if test "x$ac_cv_func_atan2l" = x""yes; then :
57806 cat >>confdefs.h <<_ACEOF
57807 #define HAVE_ATAN2L 1
57808 _ACEOF
57809
57810 fi
57811 done
57812
57813 else
57814
57815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57816 $as_echo_n "checking for _atan2l declaration... " >&6; }
57817 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57818 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57819 $as_echo_n "(cached) " >&6
57820 else
57821
57822
57823 ac_ext=cpp
57824 ac_cpp='$CXXCPP $CPPFLAGS'
57825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57828
57829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57830 /* end confdefs.h. */
57831 #include <math.h>
57832 int
57833 main ()
57834 {
57835 _atan2l(0, 0);
57836 ;
57837 return 0;
57838 }
57839 _ACEOF
57840 if ac_fn_cxx_try_compile "$LINENO"; then :
57841 glibcxx_cv_func__atan2l_use=yes
57842 else
57843 glibcxx_cv_func__atan2l_use=no
57844 fi
57845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57846 ac_ext=c
57847 ac_cpp='$CPP $CPPFLAGS'
57848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57851
57852
57853 fi
57854
57855 fi
57856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57857 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57858
57859 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57860 for ac_func in _atan2l
57861 do :
57862 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57863 if test "x$ac_cv_func__atan2l" = x""yes; then :
57864 cat >>confdefs.h <<_ACEOF
57865 #define HAVE__ATAN2L 1
57866 _ACEOF
57867
57868 fi
57869 done
57870
57871 fi
57872 fi
57873
57874
57875
57876
57877
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57879 $as_echo_n "checking for expl declaration... " >&6; }
57880 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57881 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57882 $as_echo_n "(cached) " >&6
57883 else
57884
57885
57886 ac_ext=cpp
57887 ac_cpp='$CXXCPP $CPPFLAGS'
57888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57891
57892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57893 /* end confdefs.h. */
57894 #include <math.h>
57895 #ifdef HAVE_IEEEFP_H
57896 #include <ieeefp.h>
57897 #endif
57898
57899 int
57900 main ()
57901 {
57902 expl(0);
57903 ;
57904 return 0;
57905 }
57906 _ACEOF
57907 if ac_fn_cxx_try_compile "$LINENO"; then :
57908 glibcxx_cv_func_expl_use=yes
57909 else
57910 glibcxx_cv_func_expl_use=no
57911 fi
57912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57913 ac_ext=c
57914 ac_cpp='$CPP $CPPFLAGS'
57915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57918
57919
57920 fi
57921
57922 fi
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57924 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57925
57926 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57927 for ac_func in expl
57928 do :
57929 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57930 if test "x$ac_cv_func_expl" = x""yes; then :
57931 cat >>confdefs.h <<_ACEOF
57932 #define HAVE_EXPL 1
57933 _ACEOF
57934
57935 fi
57936 done
57937
57938 else
57939
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57941 $as_echo_n "checking for _expl declaration... " >&6; }
57942 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57943 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57944 $as_echo_n "(cached) " >&6
57945 else
57946
57947
57948 ac_ext=cpp
57949 ac_cpp='$CXXCPP $CPPFLAGS'
57950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57953
57954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57955 /* end confdefs.h. */
57956 #include <math.h>
57957 #ifdef HAVE_IEEEFP_H
57958 #include <ieeefp.h>
57959 #endif
57960
57961 int
57962 main ()
57963 {
57964 _expl(0);
57965 ;
57966 return 0;
57967 }
57968 _ACEOF
57969 if ac_fn_cxx_try_compile "$LINENO"; then :
57970 glibcxx_cv_func__expl_use=yes
57971 else
57972 glibcxx_cv_func__expl_use=no
57973 fi
57974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57975 ac_ext=c
57976 ac_cpp='$CPP $CPPFLAGS'
57977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57980
57981
57982 fi
57983
57984 fi
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57986 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57987
57988 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57989 for ac_func in _expl
57990 do :
57991 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57992 if test "x$ac_cv_func__expl" = x""yes; then :
57993 cat >>confdefs.h <<_ACEOF
57994 #define HAVE__EXPL 1
57995 _ACEOF
57996
57997 fi
57998 done
57999
58000 fi
58001 fi
58002
58003
58004
58005
58006
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58008 $as_echo_n "checking for fabsl declaration... " >&6; }
58009 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58010 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58011 $as_echo_n "(cached) " >&6
58012 else
58013
58014
58015 ac_ext=cpp
58016 ac_cpp='$CXXCPP $CPPFLAGS'
58017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58020
58021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58022 /* end confdefs.h. */
58023 #include <math.h>
58024 #ifdef HAVE_IEEEFP_H
58025 #include <ieeefp.h>
58026 #endif
58027
58028 int
58029 main ()
58030 {
58031 fabsl(0);
58032 ;
58033 return 0;
58034 }
58035 _ACEOF
58036 if ac_fn_cxx_try_compile "$LINENO"; then :
58037 glibcxx_cv_func_fabsl_use=yes
58038 else
58039 glibcxx_cv_func_fabsl_use=no
58040 fi
58041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58042 ac_ext=c
58043 ac_cpp='$CPP $CPPFLAGS'
58044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58047
58048
58049 fi
58050
58051 fi
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58053 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58054
58055 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58056 for ac_func in fabsl
58057 do :
58058 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58059 if test "x$ac_cv_func_fabsl" = x""yes; then :
58060 cat >>confdefs.h <<_ACEOF
58061 #define HAVE_FABSL 1
58062 _ACEOF
58063
58064 fi
58065 done
58066
58067 else
58068
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58070 $as_echo_n "checking for _fabsl declaration... " >&6; }
58071 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58072 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58073 $as_echo_n "(cached) " >&6
58074 else
58075
58076
58077 ac_ext=cpp
58078 ac_cpp='$CXXCPP $CPPFLAGS'
58079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58082
58083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58084 /* end confdefs.h. */
58085 #include <math.h>
58086 #ifdef HAVE_IEEEFP_H
58087 #include <ieeefp.h>
58088 #endif
58089
58090 int
58091 main ()
58092 {
58093 _fabsl(0);
58094 ;
58095 return 0;
58096 }
58097 _ACEOF
58098 if ac_fn_cxx_try_compile "$LINENO"; then :
58099 glibcxx_cv_func__fabsl_use=yes
58100 else
58101 glibcxx_cv_func__fabsl_use=no
58102 fi
58103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58104 ac_ext=c
58105 ac_cpp='$CPP $CPPFLAGS'
58106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58109
58110
58111 fi
58112
58113 fi
58114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58115 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58116
58117 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58118 for ac_func in _fabsl
58119 do :
58120 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58121 if test "x$ac_cv_func__fabsl" = x""yes; then :
58122 cat >>confdefs.h <<_ACEOF
58123 #define HAVE__FABSL 1
58124 _ACEOF
58125
58126 fi
58127 done
58128
58129 fi
58130 fi
58131
58132
58133
58134
58135
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58137 $as_echo_n "checking for fmodl declaration... " >&6; }
58138 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58139 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58140 $as_echo_n "(cached) " >&6
58141 else
58142
58143
58144 ac_ext=cpp
58145 ac_cpp='$CXXCPP $CPPFLAGS'
58146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58149
58150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58151 /* end confdefs.h. */
58152 #include <math.h>
58153 int
58154 main ()
58155 {
58156 fmodl(0, 0);
58157 ;
58158 return 0;
58159 }
58160 _ACEOF
58161 if ac_fn_cxx_try_compile "$LINENO"; then :
58162 glibcxx_cv_func_fmodl_use=yes
58163 else
58164 glibcxx_cv_func_fmodl_use=no
58165 fi
58166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58167 ac_ext=c
58168 ac_cpp='$CPP $CPPFLAGS'
58169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58172
58173
58174 fi
58175
58176 fi
58177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58178 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58179
58180 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58181 for ac_func in fmodl
58182 do :
58183 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58184 if test "x$ac_cv_func_fmodl" = x""yes; then :
58185 cat >>confdefs.h <<_ACEOF
58186 #define HAVE_FMODL 1
58187 _ACEOF
58188
58189 fi
58190 done
58191
58192 else
58193
58194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58195 $as_echo_n "checking for _fmodl declaration... " >&6; }
58196 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58197 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58198 $as_echo_n "(cached) " >&6
58199 else
58200
58201
58202 ac_ext=cpp
58203 ac_cpp='$CXXCPP $CPPFLAGS'
58204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58207
58208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58209 /* end confdefs.h. */
58210 #include <math.h>
58211 int
58212 main ()
58213 {
58214 _fmodl(0, 0);
58215 ;
58216 return 0;
58217 }
58218 _ACEOF
58219 if ac_fn_cxx_try_compile "$LINENO"; then :
58220 glibcxx_cv_func__fmodl_use=yes
58221 else
58222 glibcxx_cv_func__fmodl_use=no
58223 fi
58224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58225 ac_ext=c
58226 ac_cpp='$CPP $CPPFLAGS'
58227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58230
58231
58232 fi
58233
58234 fi
58235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58236 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58237
58238 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58239 for ac_func in _fmodl
58240 do :
58241 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58242 if test "x$ac_cv_func__fmodl" = x""yes; then :
58243 cat >>confdefs.h <<_ACEOF
58244 #define HAVE__FMODL 1
58245 _ACEOF
58246
58247 fi
58248 done
58249
58250 fi
58251 fi
58252
58253
58254
58255
58256
58257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58258 $as_echo_n "checking for frexpl declaration... " >&6; }
58259 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58260 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58261 $as_echo_n "(cached) " >&6
58262 else
58263
58264
58265 ac_ext=cpp
58266 ac_cpp='$CXXCPP $CPPFLAGS'
58267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58270
58271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58272 /* end confdefs.h. */
58273 #include <math.h>
58274 int
58275 main ()
58276 {
58277 frexpl(0, 0);
58278 ;
58279 return 0;
58280 }
58281 _ACEOF
58282 if ac_fn_cxx_try_compile "$LINENO"; then :
58283 glibcxx_cv_func_frexpl_use=yes
58284 else
58285 glibcxx_cv_func_frexpl_use=no
58286 fi
58287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58288 ac_ext=c
58289 ac_cpp='$CPP $CPPFLAGS'
58290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58293
58294
58295 fi
58296
58297 fi
58298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58299 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58300
58301 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58302 for ac_func in frexpl
58303 do :
58304 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58305 if test "x$ac_cv_func_frexpl" = x""yes; then :
58306 cat >>confdefs.h <<_ACEOF
58307 #define HAVE_FREXPL 1
58308 _ACEOF
58309
58310 fi
58311 done
58312
58313 else
58314
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58316 $as_echo_n "checking for _frexpl declaration... " >&6; }
58317 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58318 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58321
58322
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58328
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <math.h>
58332 int
58333 main ()
58334 {
58335 _frexpl(0, 0);
58336 ;
58337 return 0;
58338 }
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func__frexpl_use=yes
58342 else
58343 glibcxx_cv_func__frexpl_use=no
58344 fi
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58351
58352
58353 fi
58354
58355 fi
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58357 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58358
58359 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58360 for ac_func in _frexpl
58361 do :
58362 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58363 if test "x$ac_cv_func__frexpl" = x""yes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE__FREXPL 1
58366 _ACEOF
58367
58368 fi
58369 done
58370
58371 fi
58372 fi
58373
58374
58375
58376
58377
58378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58379 $as_echo_n "checking for hypotl declaration... " >&6; }
58380 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58381 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58382 $as_echo_n "(cached) " >&6
58383 else
58384
58385
58386 ac_ext=cpp
58387 ac_cpp='$CXXCPP $CPPFLAGS'
58388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58391
58392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58393 /* end confdefs.h. */
58394 #include <math.h>
58395 int
58396 main ()
58397 {
58398 hypotl(0, 0);
58399 ;
58400 return 0;
58401 }
58402 _ACEOF
58403 if ac_fn_cxx_try_compile "$LINENO"; then :
58404 glibcxx_cv_func_hypotl_use=yes
58405 else
58406 glibcxx_cv_func_hypotl_use=no
58407 fi
58408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58409 ac_ext=c
58410 ac_cpp='$CPP $CPPFLAGS'
58411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58414
58415
58416 fi
58417
58418 fi
58419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58420 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58421
58422 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58423 for ac_func in hypotl
58424 do :
58425 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58426 if test "x$ac_cv_func_hypotl" = x""yes; then :
58427 cat >>confdefs.h <<_ACEOF
58428 #define HAVE_HYPOTL 1
58429 _ACEOF
58430
58431 fi
58432 done
58433
58434 else
58435
58436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58437 $as_echo_n "checking for _hypotl declaration... " >&6; }
58438 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58439 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58440 $as_echo_n "(cached) " >&6
58441 else
58442
58443
58444 ac_ext=cpp
58445 ac_cpp='$CXXCPP $CPPFLAGS'
58446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58449
58450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58451 /* end confdefs.h. */
58452 #include <math.h>
58453 int
58454 main ()
58455 {
58456 _hypotl(0, 0);
58457 ;
58458 return 0;
58459 }
58460 _ACEOF
58461 if ac_fn_cxx_try_compile "$LINENO"; then :
58462 glibcxx_cv_func__hypotl_use=yes
58463 else
58464 glibcxx_cv_func__hypotl_use=no
58465 fi
58466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58467 ac_ext=c
58468 ac_cpp='$CPP $CPPFLAGS'
58469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472
58473
58474 fi
58475
58476 fi
58477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58478 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58479
58480 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58481 for ac_func in _hypotl
58482 do :
58483 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58484 if test "x$ac_cv_func__hypotl" = x""yes; then :
58485 cat >>confdefs.h <<_ACEOF
58486 #define HAVE__HYPOTL 1
58487 _ACEOF
58488
58489 fi
58490 done
58491
58492 fi
58493 fi
58494
58495
58496
58497
58498
58499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58500 $as_echo_n "checking for ldexpl declaration... " >&6; }
58501 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58502 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58503 $as_echo_n "(cached) " >&6
58504 else
58505
58506
58507 ac_ext=cpp
58508 ac_cpp='$CXXCPP $CPPFLAGS'
58509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58512
58513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58514 /* end confdefs.h. */
58515 #include <math.h>
58516 int
58517 main ()
58518 {
58519 ldexpl(0, 0);
58520 ;
58521 return 0;
58522 }
58523 _ACEOF
58524 if ac_fn_cxx_try_compile "$LINENO"; then :
58525 glibcxx_cv_func_ldexpl_use=yes
58526 else
58527 glibcxx_cv_func_ldexpl_use=no
58528 fi
58529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58530 ac_ext=c
58531 ac_cpp='$CPP $CPPFLAGS'
58532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58535
58536
58537 fi
58538
58539 fi
58540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58541 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58542
58543 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58544 for ac_func in ldexpl
58545 do :
58546 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58547 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58548 cat >>confdefs.h <<_ACEOF
58549 #define HAVE_LDEXPL 1
58550 _ACEOF
58551
58552 fi
58553 done
58554
58555 else
58556
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58558 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58559 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58560 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58561 $as_echo_n "(cached) " >&6
58562 else
58563
58564
58565 ac_ext=cpp
58566 ac_cpp='$CXXCPP $CPPFLAGS'
58567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58570
58571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58572 /* end confdefs.h. */
58573 #include <math.h>
58574 int
58575 main ()
58576 {
58577 _ldexpl(0, 0);
58578 ;
58579 return 0;
58580 }
58581 _ACEOF
58582 if ac_fn_cxx_try_compile "$LINENO"; then :
58583 glibcxx_cv_func__ldexpl_use=yes
58584 else
58585 glibcxx_cv_func__ldexpl_use=no
58586 fi
58587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588 ac_ext=c
58589 ac_cpp='$CPP $CPPFLAGS'
58590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58593
58594
58595 fi
58596
58597 fi
58598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58599 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58600
58601 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58602 for ac_func in _ldexpl
58603 do :
58604 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58605 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58606 cat >>confdefs.h <<_ACEOF
58607 #define HAVE__LDEXPL 1
58608 _ACEOF
58609
58610 fi
58611 done
58612
58613 fi
58614 fi
58615
58616
58617
58618
58619
58620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58621 $as_echo_n "checking for logl declaration... " >&6; }
58622 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58623 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58624 $as_echo_n "(cached) " >&6
58625 else
58626
58627
58628 ac_ext=cpp
58629 ac_cpp='$CXXCPP $CPPFLAGS'
58630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58633
58634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58635 /* end confdefs.h. */
58636 #include <math.h>
58637 #ifdef HAVE_IEEEFP_H
58638 #include <ieeefp.h>
58639 #endif
58640
58641 int
58642 main ()
58643 {
58644 logl(0);
58645 ;
58646 return 0;
58647 }
58648 _ACEOF
58649 if ac_fn_cxx_try_compile "$LINENO"; then :
58650 glibcxx_cv_func_logl_use=yes
58651 else
58652 glibcxx_cv_func_logl_use=no
58653 fi
58654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58655 ac_ext=c
58656 ac_cpp='$CPP $CPPFLAGS'
58657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58660
58661
58662 fi
58663
58664 fi
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58666 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58667
58668 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58669 for ac_func in logl
58670 do :
58671 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58672 if test "x$ac_cv_func_logl" = x""yes; then :
58673 cat >>confdefs.h <<_ACEOF
58674 #define HAVE_LOGL 1
58675 _ACEOF
58676
58677 fi
58678 done
58679
58680 else
58681
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58683 $as_echo_n "checking for _logl declaration... " >&6; }
58684 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58685 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58686 $as_echo_n "(cached) " >&6
58687 else
58688
58689
58690 ac_ext=cpp
58691 ac_cpp='$CXXCPP $CPPFLAGS'
58692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58695
58696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697 /* end confdefs.h. */
58698 #include <math.h>
58699 #ifdef HAVE_IEEEFP_H
58700 #include <ieeefp.h>
58701 #endif
58702
58703 int
58704 main ()
58705 {
58706 _logl(0);
58707 ;
58708 return 0;
58709 }
58710 _ACEOF
58711 if ac_fn_cxx_try_compile "$LINENO"; then :
58712 glibcxx_cv_func__logl_use=yes
58713 else
58714 glibcxx_cv_func__logl_use=no
58715 fi
58716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58717 ac_ext=c
58718 ac_cpp='$CPP $CPPFLAGS'
58719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58722
58723
58724 fi
58725
58726 fi
58727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58728 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58729
58730 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58731 for ac_func in _logl
58732 do :
58733 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58734 if test "x$ac_cv_func__logl" = x""yes; then :
58735 cat >>confdefs.h <<_ACEOF
58736 #define HAVE__LOGL 1
58737 _ACEOF
58738
58739 fi
58740 done
58741
58742 fi
58743 fi
58744
58745
58746
58747
58748
58749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58750 $as_echo_n "checking for log10l declaration... " >&6; }
58751 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58752 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58753 $as_echo_n "(cached) " >&6
58754 else
58755
58756
58757 ac_ext=cpp
58758 ac_cpp='$CXXCPP $CPPFLAGS'
58759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58762
58763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58764 /* end confdefs.h. */
58765 #include <math.h>
58766 #ifdef HAVE_IEEEFP_H
58767 #include <ieeefp.h>
58768 #endif
58769
58770 int
58771 main ()
58772 {
58773 log10l(0);
58774 ;
58775 return 0;
58776 }
58777 _ACEOF
58778 if ac_fn_cxx_try_compile "$LINENO"; then :
58779 glibcxx_cv_func_log10l_use=yes
58780 else
58781 glibcxx_cv_func_log10l_use=no
58782 fi
58783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58784 ac_ext=c
58785 ac_cpp='$CPP $CPPFLAGS'
58786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58789
58790
58791 fi
58792
58793 fi
58794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58795 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58796
58797 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58798 for ac_func in log10l
58799 do :
58800 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58801 if test "x$ac_cv_func_log10l" = x""yes; then :
58802 cat >>confdefs.h <<_ACEOF
58803 #define HAVE_LOG10L 1
58804 _ACEOF
58805
58806 fi
58807 done
58808
58809 else
58810
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58812 $as_echo_n "checking for _log10l declaration... " >&6; }
58813 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58814 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58815 $as_echo_n "(cached) " >&6
58816 else
58817
58818
58819 ac_ext=cpp
58820 ac_cpp='$CXXCPP $CPPFLAGS'
58821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58824
58825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58826 /* end confdefs.h. */
58827 #include <math.h>
58828 #ifdef HAVE_IEEEFP_H
58829 #include <ieeefp.h>
58830 #endif
58831
58832 int
58833 main ()
58834 {
58835 _log10l(0);
58836 ;
58837 return 0;
58838 }
58839 _ACEOF
58840 if ac_fn_cxx_try_compile "$LINENO"; then :
58841 glibcxx_cv_func__log10l_use=yes
58842 else
58843 glibcxx_cv_func__log10l_use=no
58844 fi
58845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58846 ac_ext=c
58847 ac_cpp='$CPP $CPPFLAGS'
58848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58851
58852
58853 fi
58854
58855 fi
58856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58857 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58858
58859 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58860 for ac_func in _log10l
58861 do :
58862 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58863 if test "x$ac_cv_func__log10l" = x""yes; then :
58864 cat >>confdefs.h <<_ACEOF
58865 #define HAVE__LOG10L 1
58866 _ACEOF
58867
58868 fi
58869 done
58870
58871 fi
58872 fi
58873
58874
58875
58876
58877
58878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58879 $as_echo_n "checking for modfl declaration... " >&6; }
58880 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58881 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58882 $as_echo_n "(cached) " >&6
58883 else
58884
58885
58886 ac_ext=cpp
58887 ac_cpp='$CXXCPP $CPPFLAGS'
58888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58891
58892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58893 /* end confdefs.h. */
58894 #include <math.h>
58895 int
58896 main ()
58897 {
58898 modfl(0, 0);
58899 ;
58900 return 0;
58901 }
58902 _ACEOF
58903 if ac_fn_cxx_try_compile "$LINENO"; then :
58904 glibcxx_cv_func_modfl_use=yes
58905 else
58906 glibcxx_cv_func_modfl_use=no
58907 fi
58908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58909 ac_ext=c
58910 ac_cpp='$CPP $CPPFLAGS'
58911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58914
58915
58916 fi
58917
58918 fi
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58920 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58921
58922 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58923 for ac_func in modfl
58924 do :
58925 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58926 if test "x$ac_cv_func_modfl" = x""yes; then :
58927 cat >>confdefs.h <<_ACEOF
58928 #define HAVE_MODFL 1
58929 _ACEOF
58930
58931 fi
58932 done
58933
58934 else
58935
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58937 $as_echo_n "checking for _modfl declaration... " >&6; }
58938 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58939 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58940 $as_echo_n "(cached) " >&6
58941 else
58942
58943
58944 ac_ext=cpp
58945 ac_cpp='$CXXCPP $CPPFLAGS'
58946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58949
58950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58951 /* end confdefs.h. */
58952 #include <math.h>
58953 int
58954 main ()
58955 {
58956 _modfl(0, 0);
58957 ;
58958 return 0;
58959 }
58960 _ACEOF
58961 if ac_fn_cxx_try_compile "$LINENO"; then :
58962 glibcxx_cv_func__modfl_use=yes
58963 else
58964 glibcxx_cv_func__modfl_use=no
58965 fi
58966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58967 ac_ext=c
58968 ac_cpp='$CPP $CPPFLAGS'
58969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58972
58973
58974 fi
58975
58976 fi
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58978 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58979
58980 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58981 for ac_func in _modfl
58982 do :
58983 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58984 if test "x$ac_cv_func__modfl" = x""yes; then :
58985 cat >>confdefs.h <<_ACEOF
58986 #define HAVE__MODFL 1
58987 _ACEOF
58988
58989 fi
58990 done
58991
58992 fi
58993 fi
58994
58995
58996
58997
58998
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59000 $as_echo_n "checking for powl declaration... " >&6; }
59001 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59002 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59003 $as_echo_n "(cached) " >&6
59004 else
59005
59006
59007 ac_ext=cpp
59008 ac_cpp='$CXXCPP $CPPFLAGS'
59009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59012
59013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59014 /* end confdefs.h. */
59015 #include <math.h>
59016 int
59017 main ()
59018 {
59019 powl(0, 0);
59020 ;
59021 return 0;
59022 }
59023 _ACEOF
59024 if ac_fn_cxx_try_compile "$LINENO"; then :
59025 glibcxx_cv_func_powl_use=yes
59026 else
59027 glibcxx_cv_func_powl_use=no
59028 fi
59029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59030 ac_ext=c
59031 ac_cpp='$CPP $CPPFLAGS'
59032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59035
59036
59037 fi
59038
59039 fi
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59041 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59042
59043 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59044 for ac_func in powl
59045 do :
59046 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59047 if test "x$ac_cv_func_powl" = x""yes; then :
59048 cat >>confdefs.h <<_ACEOF
59049 #define HAVE_POWL 1
59050 _ACEOF
59051
59052 fi
59053 done
59054
59055 else
59056
59057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59058 $as_echo_n "checking for _powl declaration... " >&6; }
59059 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59060 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59061 $as_echo_n "(cached) " >&6
59062 else
59063
59064
59065 ac_ext=cpp
59066 ac_cpp='$CXXCPP $CPPFLAGS'
59067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59070
59071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59072 /* end confdefs.h. */
59073 #include <math.h>
59074 int
59075 main ()
59076 {
59077 _powl(0, 0);
59078 ;
59079 return 0;
59080 }
59081 _ACEOF
59082 if ac_fn_cxx_try_compile "$LINENO"; then :
59083 glibcxx_cv_func__powl_use=yes
59084 else
59085 glibcxx_cv_func__powl_use=no
59086 fi
59087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59088 ac_ext=c
59089 ac_cpp='$CPP $CPPFLAGS'
59090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59093
59094
59095 fi
59096
59097 fi
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59099 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59100
59101 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59102 for ac_func in _powl
59103 do :
59104 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59105 if test "x$ac_cv_func__powl" = x""yes; then :
59106 cat >>confdefs.h <<_ACEOF
59107 #define HAVE__POWL 1
59108 _ACEOF
59109
59110 fi
59111 done
59112
59113 fi
59114 fi
59115
59116
59117
59118
59119
59120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59121 $as_echo_n "checking for sqrtl declaration... " >&6; }
59122 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59123 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59124 $as_echo_n "(cached) " >&6
59125 else
59126
59127
59128 ac_ext=cpp
59129 ac_cpp='$CXXCPP $CPPFLAGS'
59130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59133
59134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59135 /* end confdefs.h. */
59136 #include <math.h>
59137 #ifdef HAVE_IEEEFP_H
59138 #include <ieeefp.h>
59139 #endif
59140
59141 int
59142 main ()
59143 {
59144 sqrtl(0);
59145 ;
59146 return 0;
59147 }
59148 _ACEOF
59149 if ac_fn_cxx_try_compile "$LINENO"; then :
59150 glibcxx_cv_func_sqrtl_use=yes
59151 else
59152 glibcxx_cv_func_sqrtl_use=no
59153 fi
59154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59155 ac_ext=c
59156 ac_cpp='$CPP $CPPFLAGS'
59157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59160
59161
59162 fi
59163
59164 fi
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59166 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59167
59168 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59169 for ac_func in sqrtl
59170 do :
59171 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59172 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59173 cat >>confdefs.h <<_ACEOF
59174 #define HAVE_SQRTL 1
59175 _ACEOF
59176
59177 fi
59178 done
59179
59180 else
59181
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59183 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59184 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59185 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59186 $as_echo_n "(cached) " >&6
59187 else
59188
59189
59190 ac_ext=cpp
59191 ac_cpp='$CXXCPP $CPPFLAGS'
59192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59195
59196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59197 /* end confdefs.h. */
59198 #include <math.h>
59199 #ifdef HAVE_IEEEFP_H
59200 #include <ieeefp.h>
59201 #endif
59202
59203 int
59204 main ()
59205 {
59206 _sqrtl(0);
59207 ;
59208 return 0;
59209 }
59210 _ACEOF
59211 if ac_fn_cxx_try_compile "$LINENO"; then :
59212 glibcxx_cv_func__sqrtl_use=yes
59213 else
59214 glibcxx_cv_func__sqrtl_use=no
59215 fi
59216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59217 ac_ext=c
59218 ac_cpp='$CPP $CPPFLAGS'
59219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59222
59223
59224 fi
59225
59226 fi
59227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59228 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59229
59230 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59231 for ac_func in _sqrtl
59232 do :
59233 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59234 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59235 cat >>confdefs.h <<_ACEOF
59236 #define HAVE__SQRTL 1
59237 _ACEOF
59238
59239 fi
59240 done
59241
59242 fi
59243 fi
59244
59245
59246
59247
59248
59249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59250 $as_echo_n "checking for sincosl declaration... " >&6; }
59251 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59252 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59253 $as_echo_n "(cached) " >&6
59254 else
59255
59256
59257 ac_ext=cpp
59258 ac_cpp='$CXXCPP $CPPFLAGS'
59259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59262
59263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59264 /* end confdefs.h. */
59265 #include <math.h>
59266 int
59267 main ()
59268 {
59269 sincosl(0, 0, 0);
59270 ;
59271 return 0;
59272 }
59273 _ACEOF
59274 if ac_fn_cxx_try_compile "$LINENO"; then :
59275 glibcxx_cv_func_sincosl_use=yes
59276 else
59277 glibcxx_cv_func_sincosl_use=no
59278 fi
59279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59280 ac_ext=c
59281 ac_cpp='$CPP $CPPFLAGS'
59282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59285
59286
59287 fi
59288
59289 fi
59290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59291 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59292
59293 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59294 for ac_func in sincosl
59295 do :
59296 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59297 if test "x$ac_cv_func_sincosl" = x""yes; then :
59298 cat >>confdefs.h <<_ACEOF
59299 #define HAVE_SINCOSL 1
59300 _ACEOF
59301
59302 fi
59303 done
59304
59305 else
59306
59307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59308 $as_echo_n "checking for _sincosl declaration... " >&6; }
59309 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59310 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59311 $as_echo_n "(cached) " >&6
59312 else
59313
59314
59315 ac_ext=cpp
59316 ac_cpp='$CXXCPP $CPPFLAGS'
59317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59320
59321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59322 /* end confdefs.h. */
59323 #include <math.h>
59324 int
59325 main ()
59326 {
59327 _sincosl(0, 0, 0);
59328 ;
59329 return 0;
59330 }
59331 _ACEOF
59332 if ac_fn_cxx_try_compile "$LINENO"; then :
59333 glibcxx_cv_func__sincosl_use=yes
59334 else
59335 glibcxx_cv_func__sincosl_use=no
59336 fi
59337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338 ac_ext=c
59339 ac_cpp='$CPP $CPPFLAGS'
59340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59343
59344
59345 fi
59346
59347 fi
59348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59349 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59350
59351 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59352 for ac_func in _sincosl
59353 do :
59354 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59355 if test "x$ac_cv_func__sincosl" = x""yes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE__SINCOSL 1
59358 _ACEOF
59359
59360 fi
59361 done
59362
59363 fi
59364 fi
59365
59366
59367
59368
59369
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59371 $as_echo_n "checking for finitel declaration... " >&6; }
59372 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59373 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59374 $as_echo_n "(cached) " >&6
59375 else
59376
59377
59378 ac_ext=cpp
59379 ac_cpp='$CXXCPP $CPPFLAGS'
59380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59383
59384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59385 /* end confdefs.h. */
59386 #include <math.h>
59387 #ifdef HAVE_IEEEFP_H
59388 #include <ieeefp.h>
59389 #endif
59390
59391 int
59392 main ()
59393 {
59394 finitel(0);
59395 ;
59396 return 0;
59397 }
59398 _ACEOF
59399 if ac_fn_cxx_try_compile "$LINENO"; then :
59400 glibcxx_cv_func_finitel_use=yes
59401 else
59402 glibcxx_cv_func_finitel_use=no
59403 fi
59404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59405 ac_ext=c
59406 ac_cpp='$CPP $CPPFLAGS'
59407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59410
59411
59412 fi
59413
59414 fi
59415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59416 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59417
59418 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59419 for ac_func in finitel
59420 do :
59421 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59422 if test "x$ac_cv_func_finitel" = x""yes; then :
59423 cat >>confdefs.h <<_ACEOF
59424 #define HAVE_FINITEL 1
59425 _ACEOF
59426
59427 fi
59428 done
59429
59430 else
59431
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59433 $as_echo_n "checking for _finitel declaration... " >&6; }
59434 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59435 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59436 $as_echo_n "(cached) " >&6
59437 else
59438
59439
59440 ac_ext=cpp
59441 ac_cpp='$CXXCPP $CPPFLAGS'
59442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59445
59446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447 /* end confdefs.h. */
59448 #include <math.h>
59449 #ifdef HAVE_IEEEFP_H
59450 #include <ieeefp.h>
59451 #endif
59452
59453 int
59454 main ()
59455 {
59456 _finitel(0);
59457 ;
59458 return 0;
59459 }
59460 _ACEOF
59461 if ac_fn_cxx_try_compile "$LINENO"; then :
59462 glibcxx_cv_func__finitel_use=yes
59463 else
59464 glibcxx_cv_func__finitel_use=no
59465 fi
59466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59467 ac_ext=c
59468 ac_cpp='$CPP $CPPFLAGS'
59469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59472
59473
59474 fi
59475
59476 fi
59477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59478 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59479
59480 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59481 for ac_func in _finitel
59482 do :
59483 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59484 if test "x$ac_cv_func__finitel" = x""yes; then :
59485 cat >>confdefs.h <<_ACEOF
59486 #define HAVE__FINITEL 1
59487 _ACEOF
59488
59489 fi
59490 done
59491
59492 fi
59493 fi
59494
59495
59496
59497
59498 LIBS="$ac_save_LIBS"
59499 CXXFLAGS="$ac_save_CXXFLAGS"
59500
59501
59502 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59503 ac_save_CXXFLAGS="$CXXFLAGS"
59504 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59505
59506
59507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59508 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59509 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59510 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59511 $as_echo_n "(cached) " >&6
59512 else
59513
59514
59515 ac_ext=cpp
59516 ac_cpp='$CXXCPP $CPPFLAGS'
59517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59520
59521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59522 /* end confdefs.h. */
59523 #include <stdlib.h>
59524 int
59525 main ()
59526 {
59527 at_quick_exit(0);
59528 ;
59529 return 0;
59530 }
59531 _ACEOF
59532 if ac_fn_cxx_try_compile "$LINENO"; then :
59533 glibcxx_cv_func_at_quick_exit_use=yes
59534 else
59535 glibcxx_cv_func_at_quick_exit_use=no
59536 fi
59537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59538 ac_ext=c
59539 ac_cpp='$CPP $CPPFLAGS'
59540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59543
59544
59545 fi
59546
59547 fi
59548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59549 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59550 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59551 for ac_func in at_quick_exit
59552 do :
59553 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59554 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59555 cat >>confdefs.h <<_ACEOF
59556 #define HAVE_AT_QUICK_EXIT 1
59557 _ACEOF
59558
59559 fi
59560 done
59561
59562 fi
59563
59564
59565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59566 $as_echo_n "checking for quick_exit declaration... " >&6; }
59567 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59568 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59569 $as_echo_n "(cached) " >&6
59570 else
59571
59572
59573 ac_ext=cpp
59574 ac_cpp='$CXXCPP $CPPFLAGS'
59575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59578
59579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59580 /* end confdefs.h. */
59581 #include <stdlib.h>
59582 int
59583 main ()
59584 {
59585 quick_exit(0);
59586 ;
59587 return 0;
59588 }
59589 _ACEOF
59590 if ac_fn_cxx_try_compile "$LINENO"; then :
59591 glibcxx_cv_func_quick_exit_use=yes
59592 else
59593 glibcxx_cv_func_quick_exit_use=no
59594 fi
59595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59596 ac_ext=c
59597 ac_cpp='$CPP $CPPFLAGS'
59598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59601
59602
59603 fi
59604
59605 fi
59606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59607 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59608 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59609 for ac_func in quick_exit
59610 do :
59611 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59612 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59613 cat >>confdefs.h <<_ACEOF
59614 #define HAVE_QUICK_EXIT 1
59615 _ACEOF
59616
59617 fi
59618 done
59619
59620 fi
59621
59622
59623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59624 $as_echo_n "checking for strtold declaration... " >&6; }
59625 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59626 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59627 $as_echo_n "(cached) " >&6
59628 else
59629
59630
59631 ac_ext=cpp
59632 ac_cpp='$CXXCPP $CPPFLAGS'
59633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59636
59637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59638 /* end confdefs.h. */
59639 #include <stdlib.h>
59640 int
59641 main ()
59642 {
59643 strtold(0, 0);
59644 ;
59645 return 0;
59646 }
59647 _ACEOF
59648 if ac_fn_cxx_try_compile "$LINENO"; then :
59649 glibcxx_cv_func_strtold_use=yes
59650 else
59651 glibcxx_cv_func_strtold_use=no
59652 fi
59653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59654 ac_ext=c
59655 ac_cpp='$CPP $CPPFLAGS'
59656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59659
59660
59661 fi
59662
59663 fi
59664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59665 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59666 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59667 for ac_func in strtold
59668 do :
59669 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59670 if test "x$ac_cv_func_strtold" = x""yes; then :
59671 cat >>confdefs.h <<_ACEOF
59672 #define HAVE_STRTOLD 1
59673 _ACEOF
59674
59675 fi
59676 done
59677
59678 fi
59679
59680
59681
59682
59683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59684 $as_echo_n "checking for strtof declaration... " >&6; }
59685 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59686 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59687 $as_echo_n "(cached) " >&6
59688 else
59689
59690
59691 ac_ext=cpp
59692 ac_cpp='$CXXCPP $CPPFLAGS'
59693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59696
59697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59698 /* end confdefs.h. */
59699 #include <stdlib.h>
59700 int
59701 main ()
59702 {
59703 strtof(0, 0);
59704 ;
59705 return 0;
59706 }
59707 _ACEOF
59708 if ac_fn_cxx_try_compile "$LINENO"; then :
59709 glibcxx_cv_func_strtof_use=yes
59710 else
59711 glibcxx_cv_func_strtof_use=no
59712 fi
59713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59714 ac_ext=c
59715 ac_cpp='$CPP $CPPFLAGS'
59716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59719
59720
59721 fi
59722
59723 fi
59724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59725 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59726 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59727 for ac_func in strtof
59728 do :
59729 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59730 if test "x$ac_cv_func_strtof" = x""yes; then :
59731 cat >>confdefs.h <<_ACEOF
59732 #define HAVE_STRTOF 1
59733 _ACEOF
59734
59735 fi
59736 done
59737
59738 fi
59739
59740
59741
59742
59743 CXXFLAGS="$ac_save_CXXFLAGS"
59744
59745 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
59746
59747 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59748
59749
59750
59751 # Check whether --enable-tls was given.
59752 if test "${enable_tls+set}" = set; then :
59753 enableval=$enable_tls;
59754 case "$enableval" in
59755 yes|no) ;;
59756 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59757 esac
59758
59759 else
59760 enable_tls=yes
59761 fi
59762
59763
59764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59765 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59766 if test "${gcc_cv_have_tls+set}" = set; then :
59767 $as_echo_n "(cached) " >&6
59768 else
59769
59770 if test "$cross_compiling" = yes; then :
59771 if test x$gcc_no_link = xyes; then
59772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59773 fi
59774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59775 /* end confdefs.h. */
59776 __thread int a; int b; int main() { return a = b; }
59777 _ACEOF
59778 if ac_fn_c_try_link "$LINENO"; then :
59779 chktls_save_LDFLAGS="$LDFLAGS"
59780 case $host in
59781 *-*-linux*)
59782 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59783 ;;
59784 esac
59785 chktls_save_CFLAGS="$CFLAGS"
59786 CFLAGS="-fPIC $CFLAGS"
59787 if test x$gcc_no_link = xyes; then
59788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59789 fi
59790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59791 /* end confdefs.h. */
59792 int f() { return 0; }
59793 _ACEOF
59794 if ac_fn_c_try_link "$LINENO"; then :
59795 if test x$gcc_no_link = xyes; then
59796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59797 fi
59798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59799 /* end confdefs.h. */
59800 __thread int a; int b; int f() { return a = b; }
59801 _ACEOF
59802 if ac_fn_c_try_link "$LINENO"; then :
59803 gcc_cv_have_tls=yes
59804 else
59805 gcc_cv_have_tls=no
59806 fi
59807 rm -f core conftest.err conftest.$ac_objext \
59808 conftest$ac_exeext conftest.$ac_ext
59809 else
59810 gcc_cv_have_tls=yes
59811 fi
59812 rm -f core conftest.err conftest.$ac_objext \
59813 conftest$ac_exeext conftest.$ac_ext
59814 CFLAGS="$chktls_save_CFLAGS"
59815 LDFLAGS="$chktls_save_LDFLAGS"
59816 else
59817 gcc_cv_have_tls=no
59818 fi
59819 rm -f core conftest.err conftest.$ac_objext \
59820 conftest$ac_exeext conftest.$ac_ext
59821
59822
59823 else
59824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59825 /* end confdefs.h. */
59826 __thread int a; int b; int main() { return a = b; }
59827 _ACEOF
59828 if ac_fn_c_try_run "$LINENO"; then :
59829 chktls_save_LDFLAGS="$LDFLAGS"
59830 LDFLAGS="-static $LDFLAGS"
59831 if test x$gcc_no_link = xyes; then
59832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59833 fi
59834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59835 /* end confdefs.h. */
59836 int main() { return 0; }
59837 _ACEOF
59838 if ac_fn_c_try_link "$LINENO"; then :
59839 if test "$cross_compiling" = yes; then :
59840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59842 as_fn_error "cannot run test program while cross compiling
59843 See \`config.log' for more details." "$LINENO" 5; }
59844 else
59845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59846 /* end confdefs.h. */
59847 __thread int a; int b; int main() { return a = b; }
59848 _ACEOF
59849 if ac_fn_c_try_run "$LINENO"; then :
59850 gcc_cv_have_tls=yes
59851 else
59852 gcc_cv_have_tls=no
59853 fi
59854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59855 conftest.$ac_objext conftest.beam conftest.$ac_ext
59856 fi
59857
59858 else
59859 gcc_cv_have_tls=yes
59860 fi
59861 rm -f core conftest.err conftest.$ac_objext \
59862 conftest$ac_exeext conftest.$ac_ext
59863 LDFLAGS="$chktls_save_LDFLAGS"
59864 if test $gcc_cv_have_tls = yes; then
59865 chktls_save_CFLAGS="$CFLAGS"
59866 thread_CFLAGS=failed
59867 for flag in '' '-pthread' '-lpthread'; do
59868 CFLAGS="$flag $chktls_save_CFLAGS"
59869 if test x$gcc_no_link = xyes; then
59870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59871 fi
59872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59873 /* end confdefs.h. */
59874 #include <pthread.h>
59875 void *g(void *d) { return NULL; }
59876 int
59877 main ()
59878 {
59879 pthread_t t; pthread_create(&t,NULL,g,NULL);
59880 ;
59881 return 0;
59882 }
59883 _ACEOF
59884 if ac_fn_c_try_link "$LINENO"; then :
59885 thread_CFLAGS="$flag"
59886 fi
59887 rm -f core conftest.err conftest.$ac_objext \
59888 conftest$ac_exeext conftest.$ac_ext
59889 if test "X$thread_CFLAGS" != Xfailed; then
59890 break
59891 fi
59892 done
59893 CFLAGS="$chktls_save_CFLAGS"
59894 if test "X$thread_CFLAGS" != Xfailed; then
59895 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59896 if test "$cross_compiling" = yes; then :
59897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59899 as_fn_error "cannot run test program while cross compiling
59900 See \`config.log' for more details." "$LINENO" 5; }
59901 else
59902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59903 /* end confdefs.h. */
59904 #include <pthread.h>
59905 __thread int a;
59906 static int *volatile a_in_other_thread;
59907 static void *
59908 thread_func (void *arg)
59909 {
59910 a_in_other_thread = &a;
59911 return (void *)0;
59912 }
59913 int
59914 main ()
59915 {
59916 pthread_t thread;
59917 void *thread_retval;
59918 int *volatile a_in_main_thread;
59919 a_in_main_thread = &a;
59920 if (pthread_create (&thread, (pthread_attr_t *)0,
59921 thread_func, (void *)0))
59922 return 0;
59923 if (pthread_join (thread, &thread_retval))
59924 return 0;
59925 return (a_in_other_thread == a_in_main_thread);
59926 ;
59927 return 0;
59928 }
59929 _ACEOF
59930 if ac_fn_c_try_run "$LINENO"; then :
59931 gcc_cv_have_tls=yes
59932 else
59933 gcc_cv_have_tls=no
59934 fi
59935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59936 conftest.$ac_objext conftest.beam conftest.$ac_ext
59937 fi
59938
59939 CFLAGS="$chktls_save_CFLAGS"
59940 fi
59941 fi
59942 else
59943 gcc_cv_have_tls=no
59944 fi
59945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59946 conftest.$ac_objext conftest.beam conftest.$ac_ext
59947 fi
59948
59949 fi
59950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59951 $as_echo "$gcc_cv_have_tls" >&6; }
59952 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59953
59954 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59955
59956 fi
59957 for ac_func in __cxa_thread_atexit_impl
59958 do :
59959 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59960 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59961 cat >>confdefs.h <<_ACEOF
59962 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59963 _ACEOF
59964
59965 fi
59966 done
59967
59968 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59969 do :
59970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59972 eval as_val=\$$as_ac_var
59973 if test "x$as_val" = x""yes; then :
59974 cat >>confdefs.h <<_ACEOF
59975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59976 _ACEOF
59977
59978 fi
59979 done
59980
59981
59982
59983
59984
59985
59986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59987 $as_echo_n "checking for iconv... " >&6; }
59988 if test "${am_cv_func_iconv+set}" = set; then :
59989 $as_echo_n "(cached) " >&6
59990 else
59991
59992 am_cv_func_iconv="no, consider installing GNU libiconv"
59993 am_cv_lib_iconv=no
59994 am_save_CPPFLAGS="$CPPFLAGS"
59995 CPPFLAGS="$CPPFLAGS $INCICONV"
59996 if test x$gcc_no_link = xyes; then
59997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59998 fi
59999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60000 /* end confdefs.h. */
60001 #include <stdlib.h>
60002 #include <iconv.h>
60003 int
60004 main ()
60005 {
60006 iconv_t cd = iconv_open("","");
60007 iconv(cd,NULL,NULL,NULL,NULL);
60008 iconv_close(cd);
60009 ;
60010 return 0;
60011 }
60012 _ACEOF
60013 if ac_fn_c_try_link "$LINENO"; then :
60014 am_cv_func_iconv=yes
60015 fi
60016 rm -f core conftest.err conftest.$ac_objext \
60017 conftest$ac_exeext conftest.$ac_ext
60018 CPPFLAGS="$am_save_CPPFLAGS"
60019
60020 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60021 for _libs in .libs _libs; do
60022 am_save_CPPFLAGS="$CPPFLAGS"
60023 am_save_LIBS="$LIBS"
60024 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60025 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60026 if test x$gcc_no_link = xyes; then
60027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60028 fi
60029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60030 /* end confdefs.h. */
60031 #include <stdlib.h>
60032 #include <iconv.h>
60033 int
60034 main ()
60035 {
60036 iconv_t cd = iconv_open("","");
60037 iconv(cd,NULL,NULL,NULL,NULL);
60038 iconv_close(cd);
60039 ;
60040 return 0;
60041 }
60042 _ACEOF
60043 if ac_fn_c_try_link "$LINENO"; then :
60044 INCICONV="-I../libiconv/include"
60045 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60046 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60047 am_cv_lib_iconv=yes
60048 am_cv_func_iconv=yes
60049 fi
60050 rm -f core conftest.err conftest.$ac_objext \
60051 conftest$ac_exeext conftest.$ac_ext
60052 CPPFLAGS="$am_save_CPPFLAGS"
60053 LIBS="$am_save_LIBS"
60054 if test "$am_cv_func_iconv" = "yes"; then
60055 break
60056 fi
60057 done
60058 fi
60059
60060 if test "$am_cv_func_iconv" != yes; then
60061 am_save_CPPFLAGS="$CPPFLAGS"
60062 am_save_LIBS="$LIBS"
60063 CPPFLAGS="$LIBS $INCICONV"
60064 LIBS="$LIBS $LIBICONV"
60065 if test x$gcc_no_link = xyes; then
60066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60067 fi
60068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60069 /* end confdefs.h. */
60070 #include <stdlib.h>
60071 #include <iconv.h>
60072 int
60073 main ()
60074 {
60075 iconv_t cd = iconv_open("","");
60076 iconv(cd,NULL,NULL,NULL,NULL);
60077 iconv_close(cd);
60078 ;
60079 return 0;
60080 }
60081 _ACEOF
60082 if ac_fn_c_try_link "$LINENO"; then :
60083 am_cv_lib_iconv=yes
60084 am_cv_func_iconv=yes
60085 fi
60086 rm -f core conftest.err conftest.$ac_objext \
60087 conftest$ac_exeext conftest.$ac_ext
60088 CPPFLAGS="$am_save_CPPFLAGS"
60089 LIBS="$am_save_LIBS"
60090 fi
60091
60092 fi
60093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60094 $as_echo "$am_cv_func_iconv" >&6; }
60095 if test "$am_cv_func_iconv" = yes; then
60096
60097 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60098
60099 fi
60100 if test "$am_cv_lib_iconv" = yes; then
60101
60102 for element in $INCICONV; do
60103 haveit=
60104 for x in $CPPFLAGS; do
60105
60106 acl_save_prefix="$prefix"
60107 prefix="$acl_final_prefix"
60108 acl_save_exec_prefix="$exec_prefix"
60109 exec_prefix="$acl_final_exec_prefix"
60110 eval x=\"$x\"
60111 exec_prefix="$acl_save_exec_prefix"
60112 prefix="$acl_save_prefix"
60113
60114 if test "X$x" = "X$element"; then
60115 haveit=yes
60116 break
60117 fi
60118 done
60119 if test -z "$haveit"; then
60120 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60121 fi
60122 done
60123
60124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60125 $as_echo_n "checking how to link with libiconv... " >&6; }
60126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60127 $as_echo "$LIBICONV" >&6; }
60128 else
60129 LIBICONV=
60130 LTLIBICONV=
60131 fi
60132
60133
60134
60135 if test "$am_cv_func_iconv" = yes; then
60136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60137 $as_echo_n "checking for iconv declaration... " >&6; }
60138 if test "${am_cv_proto_iconv+set}" = set; then :
60139 $as_echo_n "(cached) " >&6
60140 else
60141
60142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60143 /* end confdefs.h. */
60144
60145 #include <stdlib.h>
60146 #include <iconv.h>
60147 extern
60148 #ifdef __cplusplus
60149 "C"
60150 #endif
60151 #if defined(__STDC__) || defined(__cplusplus)
60152 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60153 #else
60154 size_t iconv();
60155 #endif
60156
60157 int
60158 main ()
60159 {
60160
60161 ;
60162 return 0;
60163 }
60164 _ACEOF
60165 if ac_fn_c_try_compile "$LINENO"; then :
60166 am_cv_proto_iconv_arg1=""
60167 else
60168 am_cv_proto_iconv_arg1="const"
60169 fi
60170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60171 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);"
60172 fi
60173
60174 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60176 }$am_cv_proto_iconv" >&5
60177 $as_echo "${ac_t:-
60178 }$am_cv_proto_iconv" >&6; }
60179
60180 cat >>confdefs.h <<_ACEOF
60181 #define ICONV_CONST $am_cv_proto_iconv_arg1
60182 _ACEOF
60183
60184 fi
60185
60186 ;;
60187 *-mingw32*)
60188
60189 # If we're not using GNU ld, then there's no point in even trying these
60190 # tests. Check for that first. We should have already tested for gld
60191 # by now (in libtool), but require it now just to be safe...
60192 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60193 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60194
60195
60196
60197 # The name set by libtool depends on the version of libtool. Shame on us
60198 # for depending on an impl detail, but c'est la vie. Older versions used
60199 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60200 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60201 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60202 # set (hence we're using an older libtool), then set it.
60203 if test x${with_gnu_ld+set} != xset; then
60204 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60205 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60206 with_gnu_ld=no
60207 else
60208 with_gnu_ld=$ac_cv_prog_gnu_ld
60209 fi
60210 fi
60211
60212 # Start by getting the version number. I think the libtool test already
60213 # does some of this, but throws away the result.
60214 glibcxx_ld_is_gold=no
60215 if test x"$with_gnu_ld" = x"yes"; then
60216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60217 $as_echo_n "checking for ld version... " >&6; }
60218
60219 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60220 glibcxx_ld_is_gold=yes
60221 fi
60222 ldver=`$LD --version 2>/dev/null |
60223 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'`
60224
60225 glibcxx_gnu_ld_version=`echo $ldver | \
60226 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60228 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60229 fi
60230
60231 # Set --gc-sections.
60232 glibcxx_have_gc_sections=no
60233 if test "$glibcxx_ld_is_gold" = "yes"; then
60234 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60235 glibcxx_have_gc_sections=yes
60236 fi
60237 else
60238 glibcxx_gcsections_min_ld=21602
60239 if test x"$with_gnu_ld" = x"yes" &&
60240 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60241 glibcxx_have_gc_sections=yes
60242 fi
60243 fi
60244 if test "$glibcxx_have_gc_sections" = "yes"; then
60245 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60246 # NB: This flag only works reliably after 2.16.1. Configure tests
60247 # for this are difficult, so hard wire a value that should work.
60248
60249 ac_test_CFLAGS="${CFLAGS+set}"
60250 ac_save_CFLAGS="$CFLAGS"
60251 CFLAGS='-Wl,--gc-sections'
60252
60253 # Check for -Wl,--gc-sections
60254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60255 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60256 if test x$gcc_no_link = xyes; then
60257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60258 fi
60259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60260 /* end confdefs.h. */
60261 int one(void) { return 1; }
60262 int two(void) { return 2; }
60263
60264 int
60265 main ()
60266 {
60267 two();
60268 ;
60269 return 0;
60270 }
60271 _ACEOF
60272 if ac_fn_c_try_link "$LINENO"; then :
60273 ac_gcsections=yes
60274 else
60275 ac_gcsections=no
60276 fi
60277 rm -f core conftest.err conftest.$ac_objext \
60278 conftest$ac_exeext conftest.$ac_ext
60279 if test "$ac_gcsections" = "yes"; then
60280 rm -f conftest.c
60281 touch conftest.c
60282 if $CC -c conftest.c; then
60283 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60284 grep "Warning: gc-sections option ignored" > /dev/null; then
60285 ac_gcsections=no
60286 fi
60287 fi
60288 rm -f conftest.c conftest.o conftest
60289 fi
60290 if test "$ac_gcsections" = "yes"; then
60291 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60292 fi
60293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60294 $as_echo "$ac_gcsections" >&6; }
60295
60296 if test "$ac_test_CFLAGS" = set; then
60297 CFLAGS="$ac_save_CFLAGS"
60298 else
60299 # this is the suspicious part
60300 CFLAGS=''
60301 fi
60302 fi
60303
60304 # Set -z,relro.
60305 # Note this is only for shared objects.
60306 ac_ld_relro=no
60307 if test x"$with_gnu_ld" = x"yes"; then
60308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60309 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60310 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60311 if test -n "$cxx_z_relo"; then
60312 OPT_LDFLAGS="-Wl,-z,relro"
60313 ac_ld_relro=yes
60314 fi
60315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60316 $as_echo "$ac_ld_relro" >&6; }
60317 fi
60318
60319 # Set linker optimization flags.
60320 if test x"$with_gnu_ld" = x"yes"; then
60321 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60322 fi
60323
60324
60325
60326
60327
60328 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60329 ac_save_CXXFLAGS="$CXXFLAGS"
60330 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60331
60332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60333 $as_echo_n "checking for sin in -lm... " >&6; }
60334 if test "${ac_cv_lib_m_sin+set}" = set; then :
60335 $as_echo_n "(cached) " >&6
60336 else
60337 ac_check_lib_save_LIBS=$LIBS
60338 LIBS="-lm $LIBS"
60339 if test x$gcc_no_link = xyes; then
60340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60341 fi
60342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60343 /* end confdefs.h. */
60344
60345 /* Override any GCC internal prototype to avoid an error.
60346 Use char because int might match the return type of a GCC
60347 builtin and then its argument prototype would still apply. */
60348 #ifdef __cplusplus
60349 extern "C"
60350 #endif
60351 char sin ();
60352 int
60353 main ()
60354 {
60355 return sin ();
60356 ;
60357 return 0;
60358 }
60359 _ACEOF
60360 if ac_fn_c_try_link "$LINENO"; then :
60361 ac_cv_lib_m_sin=yes
60362 else
60363 ac_cv_lib_m_sin=no
60364 fi
60365 rm -f core conftest.err conftest.$ac_objext \
60366 conftest$ac_exeext conftest.$ac_ext
60367 LIBS=$ac_check_lib_save_LIBS
60368 fi
60369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60370 $as_echo "$ac_cv_lib_m_sin" >&6; }
60371 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60372 libm="-lm"
60373 fi
60374
60375 ac_save_LIBS="$LIBS"
60376 LIBS="$LIBS $libm"
60377
60378
60379
60380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60381 $as_echo_n "checking for isinf declaration... " >&6; }
60382 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60383 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60384 $as_echo_n "(cached) " >&6
60385 else
60386
60387
60388 ac_ext=cpp
60389 ac_cpp='$CXXCPP $CPPFLAGS'
60390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60393
60394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60395 /* end confdefs.h. */
60396 #include <math.h>
60397 #ifdef HAVE_IEEEFP_H
60398 #include <ieeefp.h>
60399 #endif
60400
60401 int
60402 main ()
60403 {
60404 isinf(0);
60405 ;
60406 return 0;
60407 }
60408 _ACEOF
60409 if ac_fn_cxx_try_compile "$LINENO"; then :
60410 glibcxx_cv_func_isinf_use=yes
60411 else
60412 glibcxx_cv_func_isinf_use=no
60413 fi
60414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60415 ac_ext=c
60416 ac_cpp='$CPP $CPPFLAGS'
60417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60420
60421
60422 fi
60423
60424 fi
60425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60426 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60427
60428 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60429 for ac_func in isinf
60430 do :
60431 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60432 if test "x$ac_cv_func_isinf" = x""yes; then :
60433 cat >>confdefs.h <<_ACEOF
60434 #define HAVE_ISINF 1
60435 _ACEOF
60436
60437 fi
60438 done
60439
60440 else
60441
60442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60443 $as_echo_n "checking for _isinf declaration... " >&6; }
60444 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60445 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60446 $as_echo_n "(cached) " >&6
60447 else
60448
60449
60450 ac_ext=cpp
60451 ac_cpp='$CXXCPP $CPPFLAGS'
60452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60455
60456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60457 /* end confdefs.h. */
60458 #include <math.h>
60459 #ifdef HAVE_IEEEFP_H
60460 #include <ieeefp.h>
60461 #endif
60462
60463 int
60464 main ()
60465 {
60466 _isinf(0);
60467 ;
60468 return 0;
60469 }
60470 _ACEOF
60471 if ac_fn_cxx_try_compile "$LINENO"; then :
60472 glibcxx_cv_func__isinf_use=yes
60473 else
60474 glibcxx_cv_func__isinf_use=no
60475 fi
60476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60477 ac_ext=c
60478 ac_cpp='$CPP $CPPFLAGS'
60479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60482
60483
60484 fi
60485
60486 fi
60487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60488 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60489
60490 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60491 for ac_func in _isinf
60492 do :
60493 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60494 if test "x$ac_cv_func__isinf" = x""yes; then :
60495 cat >>confdefs.h <<_ACEOF
60496 #define HAVE__ISINF 1
60497 _ACEOF
60498
60499 fi
60500 done
60501
60502 fi
60503 fi
60504
60505
60506
60507
60508
60509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60510 $as_echo_n "checking for isnan declaration... " >&6; }
60511 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60512 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60513 $as_echo_n "(cached) " >&6
60514 else
60515
60516
60517 ac_ext=cpp
60518 ac_cpp='$CXXCPP $CPPFLAGS'
60519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60522
60523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60524 /* end confdefs.h. */
60525 #include <math.h>
60526 #ifdef HAVE_IEEEFP_H
60527 #include <ieeefp.h>
60528 #endif
60529
60530 int
60531 main ()
60532 {
60533 isnan(0);
60534 ;
60535 return 0;
60536 }
60537 _ACEOF
60538 if ac_fn_cxx_try_compile "$LINENO"; then :
60539 glibcxx_cv_func_isnan_use=yes
60540 else
60541 glibcxx_cv_func_isnan_use=no
60542 fi
60543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60544 ac_ext=c
60545 ac_cpp='$CPP $CPPFLAGS'
60546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60549
60550
60551 fi
60552
60553 fi
60554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60555 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60556
60557 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60558 for ac_func in isnan
60559 do :
60560 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60561 if test "x$ac_cv_func_isnan" = x""yes; then :
60562 cat >>confdefs.h <<_ACEOF
60563 #define HAVE_ISNAN 1
60564 _ACEOF
60565
60566 fi
60567 done
60568
60569 else
60570
60571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60572 $as_echo_n "checking for _isnan declaration... " >&6; }
60573 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60574 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60575 $as_echo_n "(cached) " >&6
60576 else
60577
60578
60579 ac_ext=cpp
60580 ac_cpp='$CXXCPP $CPPFLAGS'
60581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60584
60585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60586 /* end confdefs.h. */
60587 #include <math.h>
60588 #ifdef HAVE_IEEEFP_H
60589 #include <ieeefp.h>
60590 #endif
60591
60592 int
60593 main ()
60594 {
60595 _isnan(0);
60596 ;
60597 return 0;
60598 }
60599 _ACEOF
60600 if ac_fn_cxx_try_compile "$LINENO"; then :
60601 glibcxx_cv_func__isnan_use=yes
60602 else
60603 glibcxx_cv_func__isnan_use=no
60604 fi
60605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60606 ac_ext=c
60607 ac_cpp='$CPP $CPPFLAGS'
60608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60611
60612
60613 fi
60614
60615 fi
60616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60617 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60618
60619 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60620 for ac_func in _isnan
60621 do :
60622 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60623 if test "x$ac_cv_func__isnan" = x""yes; then :
60624 cat >>confdefs.h <<_ACEOF
60625 #define HAVE__ISNAN 1
60626 _ACEOF
60627
60628 fi
60629 done
60630
60631 fi
60632 fi
60633
60634
60635
60636
60637
60638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60639 $as_echo_n "checking for finite declaration... " >&6; }
60640 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60641 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60642 $as_echo_n "(cached) " >&6
60643 else
60644
60645
60646 ac_ext=cpp
60647 ac_cpp='$CXXCPP $CPPFLAGS'
60648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60651
60652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60653 /* end confdefs.h. */
60654 #include <math.h>
60655 #ifdef HAVE_IEEEFP_H
60656 #include <ieeefp.h>
60657 #endif
60658
60659 int
60660 main ()
60661 {
60662 finite(0);
60663 ;
60664 return 0;
60665 }
60666 _ACEOF
60667 if ac_fn_cxx_try_compile "$LINENO"; then :
60668 glibcxx_cv_func_finite_use=yes
60669 else
60670 glibcxx_cv_func_finite_use=no
60671 fi
60672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60673 ac_ext=c
60674 ac_cpp='$CPP $CPPFLAGS'
60675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60678
60679
60680 fi
60681
60682 fi
60683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60684 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60685
60686 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60687 for ac_func in finite
60688 do :
60689 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60690 if test "x$ac_cv_func_finite" = x""yes; then :
60691 cat >>confdefs.h <<_ACEOF
60692 #define HAVE_FINITE 1
60693 _ACEOF
60694
60695 fi
60696 done
60697
60698 else
60699
60700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60701 $as_echo_n "checking for _finite declaration... " >&6; }
60702 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60703 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60704 $as_echo_n "(cached) " >&6
60705 else
60706
60707
60708 ac_ext=cpp
60709 ac_cpp='$CXXCPP $CPPFLAGS'
60710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60713
60714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60715 /* end confdefs.h. */
60716 #include <math.h>
60717 #ifdef HAVE_IEEEFP_H
60718 #include <ieeefp.h>
60719 #endif
60720
60721 int
60722 main ()
60723 {
60724 _finite(0);
60725 ;
60726 return 0;
60727 }
60728 _ACEOF
60729 if ac_fn_cxx_try_compile "$LINENO"; then :
60730 glibcxx_cv_func__finite_use=yes
60731 else
60732 glibcxx_cv_func__finite_use=no
60733 fi
60734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60735 ac_ext=c
60736 ac_cpp='$CPP $CPPFLAGS'
60737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60740
60741
60742 fi
60743
60744 fi
60745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60746 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60747
60748 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60749 for ac_func in _finite
60750 do :
60751 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60752 if test "x$ac_cv_func__finite" = x""yes; then :
60753 cat >>confdefs.h <<_ACEOF
60754 #define HAVE__FINITE 1
60755 _ACEOF
60756
60757 fi
60758 done
60759
60760 fi
60761 fi
60762
60763
60764
60765
60766
60767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60768 $as_echo_n "checking for sincos declaration... " >&6; }
60769 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60770 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60771 $as_echo_n "(cached) " >&6
60772 else
60773
60774
60775 ac_ext=cpp
60776 ac_cpp='$CXXCPP $CPPFLAGS'
60777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60780
60781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60782 /* end confdefs.h. */
60783 #include <math.h>
60784 int
60785 main ()
60786 {
60787 sincos(0, 0, 0);
60788 ;
60789 return 0;
60790 }
60791 _ACEOF
60792 if ac_fn_cxx_try_compile "$LINENO"; then :
60793 glibcxx_cv_func_sincos_use=yes
60794 else
60795 glibcxx_cv_func_sincos_use=no
60796 fi
60797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60798 ac_ext=c
60799 ac_cpp='$CPP $CPPFLAGS'
60800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60803
60804
60805 fi
60806
60807 fi
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60809 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60810
60811 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60812 for ac_func in sincos
60813 do :
60814 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60815 if test "x$ac_cv_func_sincos" = x""yes; then :
60816 cat >>confdefs.h <<_ACEOF
60817 #define HAVE_SINCOS 1
60818 _ACEOF
60819
60820 fi
60821 done
60822
60823 else
60824
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60826 $as_echo_n "checking for _sincos declaration... " >&6; }
60827 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60828 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60829 $as_echo_n "(cached) " >&6
60830 else
60831
60832
60833 ac_ext=cpp
60834 ac_cpp='$CXXCPP $CPPFLAGS'
60835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60838
60839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60840 /* end confdefs.h. */
60841 #include <math.h>
60842 int
60843 main ()
60844 {
60845 _sincos(0, 0, 0);
60846 ;
60847 return 0;
60848 }
60849 _ACEOF
60850 if ac_fn_cxx_try_compile "$LINENO"; then :
60851 glibcxx_cv_func__sincos_use=yes
60852 else
60853 glibcxx_cv_func__sincos_use=no
60854 fi
60855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60856 ac_ext=c
60857 ac_cpp='$CPP $CPPFLAGS'
60858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60861
60862
60863 fi
60864
60865 fi
60866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60867 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60868
60869 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60870 for ac_func in _sincos
60871 do :
60872 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60873 if test "x$ac_cv_func__sincos" = x""yes; then :
60874 cat >>confdefs.h <<_ACEOF
60875 #define HAVE__SINCOS 1
60876 _ACEOF
60877
60878 fi
60879 done
60880
60881 fi
60882 fi
60883
60884
60885
60886
60887
60888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60889 $as_echo_n "checking for fpclass declaration... " >&6; }
60890 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60891 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60892 $as_echo_n "(cached) " >&6
60893 else
60894
60895
60896 ac_ext=cpp
60897 ac_cpp='$CXXCPP $CPPFLAGS'
60898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60901
60902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60903 /* end confdefs.h. */
60904 #include <math.h>
60905 #ifdef HAVE_IEEEFP_H
60906 #include <ieeefp.h>
60907 #endif
60908
60909 int
60910 main ()
60911 {
60912 fpclass(0);
60913 ;
60914 return 0;
60915 }
60916 _ACEOF
60917 if ac_fn_cxx_try_compile "$LINENO"; then :
60918 glibcxx_cv_func_fpclass_use=yes
60919 else
60920 glibcxx_cv_func_fpclass_use=no
60921 fi
60922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60923 ac_ext=c
60924 ac_cpp='$CPP $CPPFLAGS'
60925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60928
60929
60930 fi
60931
60932 fi
60933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60934 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60935
60936 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60937 for ac_func in fpclass
60938 do :
60939 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60940 if test "x$ac_cv_func_fpclass" = x""yes; then :
60941 cat >>confdefs.h <<_ACEOF
60942 #define HAVE_FPCLASS 1
60943 _ACEOF
60944
60945 fi
60946 done
60947
60948 else
60949
60950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60951 $as_echo_n "checking for _fpclass declaration... " >&6; }
60952 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60953 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60954 $as_echo_n "(cached) " >&6
60955 else
60956
60957
60958 ac_ext=cpp
60959 ac_cpp='$CXXCPP $CPPFLAGS'
60960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60963
60964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60965 /* end confdefs.h. */
60966 #include <math.h>
60967 #ifdef HAVE_IEEEFP_H
60968 #include <ieeefp.h>
60969 #endif
60970
60971 int
60972 main ()
60973 {
60974 _fpclass(0);
60975 ;
60976 return 0;
60977 }
60978 _ACEOF
60979 if ac_fn_cxx_try_compile "$LINENO"; then :
60980 glibcxx_cv_func__fpclass_use=yes
60981 else
60982 glibcxx_cv_func__fpclass_use=no
60983 fi
60984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60985 ac_ext=c
60986 ac_cpp='$CPP $CPPFLAGS'
60987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60990
60991
60992 fi
60993
60994 fi
60995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60996 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60997
60998 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60999 for ac_func in _fpclass
61000 do :
61001 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61002 if test "x$ac_cv_func__fpclass" = x""yes; then :
61003 cat >>confdefs.h <<_ACEOF
61004 #define HAVE__FPCLASS 1
61005 _ACEOF
61006
61007 fi
61008 done
61009
61010 fi
61011 fi
61012
61013
61014
61015
61016
61017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61018 $as_echo_n "checking for qfpclass declaration... " >&6; }
61019 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61020 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61021 $as_echo_n "(cached) " >&6
61022 else
61023
61024
61025 ac_ext=cpp
61026 ac_cpp='$CXXCPP $CPPFLAGS'
61027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61030
61031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61032 /* end confdefs.h. */
61033 #include <math.h>
61034 #ifdef HAVE_IEEEFP_H
61035 #include <ieeefp.h>
61036 #endif
61037
61038 int
61039 main ()
61040 {
61041 qfpclass(0);
61042 ;
61043 return 0;
61044 }
61045 _ACEOF
61046 if ac_fn_cxx_try_compile "$LINENO"; then :
61047 glibcxx_cv_func_qfpclass_use=yes
61048 else
61049 glibcxx_cv_func_qfpclass_use=no
61050 fi
61051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61052 ac_ext=c
61053 ac_cpp='$CPP $CPPFLAGS'
61054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61057
61058
61059 fi
61060
61061 fi
61062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61063 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61064
61065 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61066 for ac_func in qfpclass
61067 do :
61068 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61069 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61070 cat >>confdefs.h <<_ACEOF
61071 #define HAVE_QFPCLASS 1
61072 _ACEOF
61073
61074 fi
61075 done
61076
61077 else
61078
61079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61080 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61081 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61082 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61083 $as_echo_n "(cached) " >&6
61084 else
61085
61086
61087 ac_ext=cpp
61088 ac_cpp='$CXXCPP $CPPFLAGS'
61089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61092
61093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61094 /* end confdefs.h. */
61095 #include <math.h>
61096 #ifdef HAVE_IEEEFP_H
61097 #include <ieeefp.h>
61098 #endif
61099
61100 int
61101 main ()
61102 {
61103 _qfpclass(0);
61104 ;
61105 return 0;
61106 }
61107 _ACEOF
61108 if ac_fn_cxx_try_compile "$LINENO"; then :
61109 glibcxx_cv_func__qfpclass_use=yes
61110 else
61111 glibcxx_cv_func__qfpclass_use=no
61112 fi
61113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61114 ac_ext=c
61115 ac_cpp='$CPP $CPPFLAGS'
61116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61119
61120
61121 fi
61122
61123 fi
61124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61125 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61126
61127 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61128 for ac_func in _qfpclass
61129 do :
61130 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61131 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61132 cat >>confdefs.h <<_ACEOF
61133 #define HAVE__QFPCLASS 1
61134 _ACEOF
61135
61136 fi
61137 done
61138
61139 fi
61140 fi
61141
61142
61143
61144
61145
61146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61147 $as_echo_n "checking for hypot declaration... " >&6; }
61148 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61149 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61150 $as_echo_n "(cached) " >&6
61151 else
61152
61153
61154 ac_ext=cpp
61155 ac_cpp='$CXXCPP $CPPFLAGS'
61156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61159
61160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61161 /* end confdefs.h. */
61162 #include <math.h>
61163 int
61164 main ()
61165 {
61166 hypot(0, 0);
61167 ;
61168 return 0;
61169 }
61170 _ACEOF
61171 if ac_fn_cxx_try_compile "$LINENO"; then :
61172 glibcxx_cv_func_hypot_use=yes
61173 else
61174 glibcxx_cv_func_hypot_use=no
61175 fi
61176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61177 ac_ext=c
61178 ac_cpp='$CPP $CPPFLAGS'
61179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61182
61183
61184 fi
61185
61186 fi
61187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61188 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61189
61190 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61191 for ac_func in hypot
61192 do :
61193 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61194 if test "x$ac_cv_func_hypot" = x""yes; then :
61195 cat >>confdefs.h <<_ACEOF
61196 #define HAVE_HYPOT 1
61197 _ACEOF
61198
61199 fi
61200 done
61201
61202 else
61203
61204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61205 $as_echo_n "checking for _hypot declaration... " >&6; }
61206 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61207 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61208 $as_echo_n "(cached) " >&6
61209 else
61210
61211
61212 ac_ext=cpp
61213 ac_cpp='$CXXCPP $CPPFLAGS'
61214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61217
61218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61219 /* end confdefs.h. */
61220 #include <math.h>
61221 int
61222 main ()
61223 {
61224 _hypot(0, 0);
61225 ;
61226 return 0;
61227 }
61228 _ACEOF
61229 if ac_fn_cxx_try_compile "$LINENO"; then :
61230 glibcxx_cv_func__hypot_use=yes
61231 else
61232 glibcxx_cv_func__hypot_use=no
61233 fi
61234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61235 ac_ext=c
61236 ac_cpp='$CPP $CPPFLAGS'
61237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61240
61241
61242 fi
61243
61244 fi
61245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61246 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61247
61248 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61249 for ac_func in _hypot
61250 do :
61251 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61252 if test "x$ac_cv_func__hypot" = x""yes; then :
61253 cat >>confdefs.h <<_ACEOF
61254 #define HAVE__HYPOT 1
61255 _ACEOF
61256
61257 fi
61258 done
61259
61260 fi
61261 fi
61262
61263
61264
61265
61266
61267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61268 $as_echo_n "checking for float trig functions... " >&6; }
61269 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61270 $as_echo_n "(cached) " >&6
61271 else
61272
61273
61274 ac_ext=cpp
61275 ac_cpp='$CXXCPP $CPPFLAGS'
61276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61279
61280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61281 /* end confdefs.h. */
61282 #include <math.h>
61283 int
61284 main ()
61285 {
61286 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61287 ;
61288 return 0;
61289 }
61290 _ACEOF
61291 if ac_fn_cxx_try_compile "$LINENO"; then :
61292 glibcxx_cv_func_float_trig_use=yes
61293 else
61294 glibcxx_cv_func_float_trig_use=no
61295 fi
61296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61297 ac_ext=c
61298 ac_cpp='$CPP $CPPFLAGS'
61299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61302
61303 fi
61304
61305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61306 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61307 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61308 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61309 do :
61310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61312 eval as_val=\$$as_ac_var
61313 if test "x$as_val" = x""yes; then :
61314 cat >>confdefs.h <<_ACEOF
61315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61316 _ACEOF
61317
61318 fi
61319 done
61320
61321 else
61322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61323 $as_echo_n "checking for _float trig functions... " >&6; }
61324 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61325 $as_echo_n "(cached) " >&6
61326 else
61327
61328
61329 ac_ext=cpp
61330 ac_cpp='$CXXCPP $CPPFLAGS'
61331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61334
61335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61336 /* end confdefs.h. */
61337 #include <math.h>
61338 int
61339 main ()
61340 {
61341 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61342 ;
61343 return 0;
61344 }
61345 _ACEOF
61346 if ac_fn_cxx_try_compile "$LINENO"; then :
61347 glibcxx_cv_func__float_trig_use=yes
61348 else
61349 glibcxx_cv_func__float_trig_use=no
61350 fi
61351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61352 ac_ext=c
61353 ac_cpp='$CPP $CPPFLAGS'
61354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61357
61358 fi
61359
61360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61361 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61362 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61363 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61364 do :
61365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61367 eval as_val=\$$as_ac_var
61368 if test "x$as_val" = x""yes; then :
61369 cat >>confdefs.h <<_ACEOF
61370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61371 _ACEOF
61372
61373 fi
61374 done
61375
61376 fi
61377 fi
61378
61379
61380
61381
61382
61383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61384 $as_echo_n "checking for float round functions... " >&6; }
61385 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61386 $as_echo_n "(cached) " >&6
61387 else
61388
61389
61390 ac_ext=cpp
61391 ac_cpp='$CXXCPP $CPPFLAGS'
61392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61395
61396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61397 /* end confdefs.h. */
61398 #include <math.h>
61399 int
61400 main ()
61401 {
61402 ceilf (0); floorf (0);
61403 ;
61404 return 0;
61405 }
61406 _ACEOF
61407 if ac_fn_cxx_try_compile "$LINENO"; then :
61408 glibcxx_cv_func_float_round_use=yes
61409 else
61410 glibcxx_cv_func_float_round_use=no
61411 fi
61412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61413 ac_ext=c
61414 ac_cpp='$CPP $CPPFLAGS'
61415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61418
61419 fi
61420
61421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61422 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61423 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61424 for ac_func in ceilf floorf
61425 do :
61426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61428 eval as_val=\$$as_ac_var
61429 if test "x$as_val" = x""yes; then :
61430 cat >>confdefs.h <<_ACEOF
61431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61432 _ACEOF
61433
61434 fi
61435 done
61436
61437 else
61438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61439 $as_echo_n "checking for _float round functions... " >&6; }
61440 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61441 $as_echo_n "(cached) " >&6
61442 else
61443
61444
61445 ac_ext=cpp
61446 ac_cpp='$CXXCPP $CPPFLAGS'
61447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61450
61451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61452 /* end confdefs.h. */
61453 #include <math.h>
61454 int
61455 main ()
61456 {
61457 _ceilf (0); _floorf (0);
61458 ;
61459 return 0;
61460 }
61461 _ACEOF
61462 if ac_fn_cxx_try_compile "$LINENO"; then :
61463 glibcxx_cv_func__float_round_use=yes
61464 else
61465 glibcxx_cv_func__float_round_use=no
61466 fi
61467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61468 ac_ext=c
61469 ac_cpp='$CPP $CPPFLAGS'
61470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61473
61474 fi
61475
61476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61477 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61478 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61479 for ac_func in _ceilf _floorf
61480 do :
61481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61483 eval as_val=\$$as_ac_var
61484 if test "x$as_val" = x""yes; then :
61485 cat >>confdefs.h <<_ACEOF
61486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61487 _ACEOF
61488
61489 fi
61490 done
61491
61492 fi
61493 fi
61494
61495
61496
61497
61498
61499
61500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61501 $as_echo_n "checking for expf declaration... " >&6; }
61502 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61503 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61504 $as_echo_n "(cached) " >&6
61505 else
61506
61507
61508 ac_ext=cpp
61509 ac_cpp='$CXXCPP $CPPFLAGS'
61510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61513
61514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61515 /* end confdefs.h. */
61516 #include <math.h>
61517 #ifdef HAVE_IEEEFP_H
61518 #include <ieeefp.h>
61519 #endif
61520
61521 int
61522 main ()
61523 {
61524 expf(0);
61525 ;
61526 return 0;
61527 }
61528 _ACEOF
61529 if ac_fn_cxx_try_compile "$LINENO"; then :
61530 glibcxx_cv_func_expf_use=yes
61531 else
61532 glibcxx_cv_func_expf_use=no
61533 fi
61534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61535 ac_ext=c
61536 ac_cpp='$CPP $CPPFLAGS'
61537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61540
61541
61542 fi
61543
61544 fi
61545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61546 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61547
61548 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61549 for ac_func in expf
61550 do :
61551 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61552 if test "x$ac_cv_func_expf" = x""yes; then :
61553 cat >>confdefs.h <<_ACEOF
61554 #define HAVE_EXPF 1
61555 _ACEOF
61556
61557 fi
61558 done
61559
61560 else
61561
61562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61563 $as_echo_n "checking for _expf declaration... " >&6; }
61564 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61565 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61566 $as_echo_n "(cached) " >&6
61567 else
61568
61569
61570 ac_ext=cpp
61571 ac_cpp='$CXXCPP $CPPFLAGS'
61572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61575
61576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61577 /* end confdefs.h. */
61578 #include <math.h>
61579 #ifdef HAVE_IEEEFP_H
61580 #include <ieeefp.h>
61581 #endif
61582
61583 int
61584 main ()
61585 {
61586 _expf(0);
61587 ;
61588 return 0;
61589 }
61590 _ACEOF
61591 if ac_fn_cxx_try_compile "$LINENO"; then :
61592 glibcxx_cv_func__expf_use=yes
61593 else
61594 glibcxx_cv_func__expf_use=no
61595 fi
61596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61597 ac_ext=c
61598 ac_cpp='$CPP $CPPFLAGS'
61599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61602
61603
61604 fi
61605
61606 fi
61607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61608 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61609
61610 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61611 for ac_func in _expf
61612 do :
61613 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61614 if test "x$ac_cv_func__expf" = x""yes; then :
61615 cat >>confdefs.h <<_ACEOF
61616 #define HAVE__EXPF 1
61617 _ACEOF
61618
61619 fi
61620 done
61621
61622 fi
61623 fi
61624
61625
61626
61627
61628
61629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61630 $as_echo_n "checking for isnanf declaration... " >&6; }
61631 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61632 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61633 $as_echo_n "(cached) " >&6
61634 else
61635
61636
61637 ac_ext=cpp
61638 ac_cpp='$CXXCPP $CPPFLAGS'
61639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61642
61643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61644 /* end confdefs.h. */
61645 #include <math.h>
61646 #ifdef HAVE_IEEEFP_H
61647 #include <ieeefp.h>
61648 #endif
61649
61650 int
61651 main ()
61652 {
61653 isnanf(0);
61654 ;
61655 return 0;
61656 }
61657 _ACEOF
61658 if ac_fn_cxx_try_compile "$LINENO"; then :
61659 glibcxx_cv_func_isnanf_use=yes
61660 else
61661 glibcxx_cv_func_isnanf_use=no
61662 fi
61663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61664 ac_ext=c
61665 ac_cpp='$CPP $CPPFLAGS'
61666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61669
61670
61671 fi
61672
61673 fi
61674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61675 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61676
61677 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61678 for ac_func in isnanf
61679 do :
61680 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61681 if test "x$ac_cv_func_isnanf" = x""yes; then :
61682 cat >>confdefs.h <<_ACEOF
61683 #define HAVE_ISNANF 1
61684 _ACEOF
61685
61686 fi
61687 done
61688
61689 else
61690
61691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61692 $as_echo_n "checking for _isnanf declaration... " >&6; }
61693 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61694 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61695 $as_echo_n "(cached) " >&6
61696 else
61697
61698
61699 ac_ext=cpp
61700 ac_cpp='$CXXCPP $CPPFLAGS'
61701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61704
61705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61706 /* end confdefs.h. */
61707 #include <math.h>
61708 #ifdef HAVE_IEEEFP_H
61709 #include <ieeefp.h>
61710 #endif
61711
61712 int
61713 main ()
61714 {
61715 _isnanf(0);
61716 ;
61717 return 0;
61718 }
61719 _ACEOF
61720 if ac_fn_cxx_try_compile "$LINENO"; then :
61721 glibcxx_cv_func__isnanf_use=yes
61722 else
61723 glibcxx_cv_func__isnanf_use=no
61724 fi
61725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61726 ac_ext=c
61727 ac_cpp='$CPP $CPPFLAGS'
61728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61731
61732
61733 fi
61734
61735 fi
61736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61737 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61738
61739 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61740 for ac_func in _isnanf
61741 do :
61742 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61743 if test "x$ac_cv_func__isnanf" = x""yes; then :
61744 cat >>confdefs.h <<_ACEOF
61745 #define HAVE__ISNANF 1
61746 _ACEOF
61747
61748 fi
61749 done
61750
61751 fi
61752 fi
61753
61754
61755
61756
61757
61758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61759 $as_echo_n "checking for isinff declaration... " >&6; }
61760 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61761 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61762 $as_echo_n "(cached) " >&6
61763 else
61764
61765
61766 ac_ext=cpp
61767 ac_cpp='$CXXCPP $CPPFLAGS'
61768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61771
61772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61773 /* end confdefs.h. */
61774 #include <math.h>
61775 #ifdef HAVE_IEEEFP_H
61776 #include <ieeefp.h>
61777 #endif
61778
61779 int
61780 main ()
61781 {
61782 isinff(0);
61783 ;
61784 return 0;
61785 }
61786 _ACEOF
61787 if ac_fn_cxx_try_compile "$LINENO"; then :
61788 glibcxx_cv_func_isinff_use=yes
61789 else
61790 glibcxx_cv_func_isinff_use=no
61791 fi
61792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61793 ac_ext=c
61794 ac_cpp='$CPP $CPPFLAGS'
61795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61798
61799
61800 fi
61801
61802 fi
61803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61804 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61805
61806 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61807 for ac_func in isinff
61808 do :
61809 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61810 if test "x$ac_cv_func_isinff" = x""yes; then :
61811 cat >>confdefs.h <<_ACEOF
61812 #define HAVE_ISINFF 1
61813 _ACEOF
61814
61815 fi
61816 done
61817
61818 else
61819
61820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61821 $as_echo_n "checking for _isinff declaration... " >&6; }
61822 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61823 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61824 $as_echo_n "(cached) " >&6
61825 else
61826
61827
61828 ac_ext=cpp
61829 ac_cpp='$CXXCPP $CPPFLAGS'
61830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61833
61834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61835 /* end confdefs.h. */
61836 #include <math.h>
61837 #ifdef HAVE_IEEEFP_H
61838 #include <ieeefp.h>
61839 #endif
61840
61841 int
61842 main ()
61843 {
61844 _isinff(0);
61845 ;
61846 return 0;
61847 }
61848 _ACEOF
61849 if ac_fn_cxx_try_compile "$LINENO"; then :
61850 glibcxx_cv_func__isinff_use=yes
61851 else
61852 glibcxx_cv_func__isinff_use=no
61853 fi
61854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61855 ac_ext=c
61856 ac_cpp='$CPP $CPPFLAGS'
61857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61860
61861
61862 fi
61863
61864 fi
61865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61866 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61867
61868 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61869 for ac_func in _isinff
61870 do :
61871 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61872 if test "x$ac_cv_func__isinff" = x""yes; then :
61873 cat >>confdefs.h <<_ACEOF
61874 #define HAVE__ISINFF 1
61875 _ACEOF
61876
61877 fi
61878 done
61879
61880 fi
61881 fi
61882
61883
61884
61885
61886
61887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61888 $as_echo_n "checking for atan2f declaration... " >&6; }
61889 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61890 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61891 $as_echo_n "(cached) " >&6
61892 else
61893
61894
61895 ac_ext=cpp
61896 ac_cpp='$CXXCPP $CPPFLAGS'
61897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61900
61901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61902 /* end confdefs.h. */
61903 #include <math.h>
61904 int
61905 main ()
61906 {
61907 atan2f(0, 0);
61908 ;
61909 return 0;
61910 }
61911 _ACEOF
61912 if ac_fn_cxx_try_compile "$LINENO"; then :
61913 glibcxx_cv_func_atan2f_use=yes
61914 else
61915 glibcxx_cv_func_atan2f_use=no
61916 fi
61917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61918 ac_ext=c
61919 ac_cpp='$CPP $CPPFLAGS'
61920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61923
61924
61925 fi
61926
61927 fi
61928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61929 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61930
61931 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61932 for ac_func in atan2f
61933 do :
61934 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61935 if test "x$ac_cv_func_atan2f" = x""yes; then :
61936 cat >>confdefs.h <<_ACEOF
61937 #define HAVE_ATAN2F 1
61938 _ACEOF
61939
61940 fi
61941 done
61942
61943 else
61944
61945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61946 $as_echo_n "checking for _atan2f declaration... " >&6; }
61947 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61948 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61949 $as_echo_n "(cached) " >&6
61950 else
61951
61952
61953 ac_ext=cpp
61954 ac_cpp='$CXXCPP $CPPFLAGS'
61955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61958
61959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61960 /* end confdefs.h. */
61961 #include <math.h>
61962 int
61963 main ()
61964 {
61965 _atan2f(0, 0);
61966 ;
61967 return 0;
61968 }
61969 _ACEOF
61970 if ac_fn_cxx_try_compile "$LINENO"; then :
61971 glibcxx_cv_func__atan2f_use=yes
61972 else
61973 glibcxx_cv_func__atan2f_use=no
61974 fi
61975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61976 ac_ext=c
61977 ac_cpp='$CPP $CPPFLAGS'
61978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61981
61982
61983 fi
61984
61985 fi
61986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61987 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61988
61989 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61990 for ac_func in _atan2f
61991 do :
61992 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61993 if test "x$ac_cv_func__atan2f" = x""yes; then :
61994 cat >>confdefs.h <<_ACEOF
61995 #define HAVE__ATAN2F 1
61996 _ACEOF
61997
61998 fi
61999 done
62000
62001 fi
62002 fi
62003
62004
62005
62006
62007
62008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62009 $as_echo_n "checking for fabsf declaration... " >&6; }
62010 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62011 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62012 $as_echo_n "(cached) " >&6
62013 else
62014
62015
62016 ac_ext=cpp
62017 ac_cpp='$CXXCPP $CPPFLAGS'
62018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62021
62022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62023 /* end confdefs.h. */
62024 #include <math.h>
62025 #ifdef HAVE_IEEEFP_H
62026 #include <ieeefp.h>
62027 #endif
62028
62029 int
62030 main ()
62031 {
62032 fabsf(0);
62033 ;
62034 return 0;
62035 }
62036 _ACEOF
62037 if ac_fn_cxx_try_compile "$LINENO"; then :
62038 glibcxx_cv_func_fabsf_use=yes
62039 else
62040 glibcxx_cv_func_fabsf_use=no
62041 fi
62042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62043 ac_ext=c
62044 ac_cpp='$CPP $CPPFLAGS'
62045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62048
62049
62050 fi
62051
62052 fi
62053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62054 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62055
62056 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62057 for ac_func in fabsf
62058 do :
62059 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62060 if test "x$ac_cv_func_fabsf" = x""yes; then :
62061 cat >>confdefs.h <<_ACEOF
62062 #define HAVE_FABSF 1
62063 _ACEOF
62064
62065 fi
62066 done
62067
62068 else
62069
62070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62071 $as_echo_n "checking for _fabsf declaration... " >&6; }
62072 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62073 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62074 $as_echo_n "(cached) " >&6
62075 else
62076
62077
62078 ac_ext=cpp
62079 ac_cpp='$CXXCPP $CPPFLAGS'
62080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62083
62084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62085 /* end confdefs.h. */
62086 #include <math.h>
62087 #ifdef HAVE_IEEEFP_H
62088 #include <ieeefp.h>
62089 #endif
62090
62091 int
62092 main ()
62093 {
62094 _fabsf(0);
62095 ;
62096 return 0;
62097 }
62098 _ACEOF
62099 if ac_fn_cxx_try_compile "$LINENO"; then :
62100 glibcxx_cv_func__fabsf_use=yes
62101 else
62102 glibcxx_cv_func__fabsf_use=no
62103 fi
62104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62105 ac_ext=c
62106 ac_cpp='$CPP $CPPFLAGS'
62107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62110
62111
62112 fi
62113
62114 fi
62115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62116 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62117
62118 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62119 for ac_func in _fabsf
62120 do :
62121 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62122 if test "x$ac_cv_func__fabsf" = x""yes; then :
62123 cat >>confdefs.h <<_ACEOF
62124 #define HAVE__FABSF 1
62125 _ACEOF
62126
62127 fi
62128 done
62129
62130 fi
62131 fi
62132
62133
62134
62135
62136
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62138 $as_echo_n "checking for fmodf declaration... " >&6; }
62139 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62140 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62141 $as_echo_n "(cached) " >&6
62142 else
62143
62144
62145 ac_ext=cpp
62146 ac_cpp='$CXXCPP $CPPFLAGS'
62147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62150
62151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62152 /* end confdefs.h. */
62153 #include <math.h>
62154 int
62155 main ()
62156 {
62157 fmodf(0, 0);
62158 ;
62159 return 0;
62160 }
62161 _ACEOF
62162 if ac_fn_cxx_try_compile "$LINENO"; then :
62163 glibcxx_cv_func_fmodf_use=yes
62164 else
62165 glibcxx_cv_func_fmodf_use=no
62166 fi
62167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62168 ac_ext=c
62169 ac_cpp='$CPP $CPPFLAGS'
62170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62173
62174
62175 fi
62176
62177 fi
62178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62179 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62180
62181 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62182 for ac_func in fmodf
62183 do :
62184 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62185 if test "x$ac_cv_func_fmodf" = x""yes; then :
62186 cat >>confdefs.h <<_ACEOF
62187 #define HAVE_FMODF 1
62188 _ACEOF
62189
62190 fi
62191 done
62192
62193 else
62194
62195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62196 $as_echo_n "checking for _fmodf declaration... " >&6; }
62197 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62198 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62199 $as_echo_n "(cached) " >&6
62200 else
62201
62202
62203 ac_ext=cpp
62204 ac_cpp='$CXXCPP $CPPFLAGS'
62205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62208
62209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62210 /* end confdefs.h. */
62211 #include <math.h>
62212 int
62213 main ()
62214 {
62215 _fmodf(0, 0);
62216 ;
62217 return 0;
62218 }
62219 _ACEOF
62220 if ac_fn_cxx_try_compile "$LINENO"; then :
62221 glibcxx_cv_func__fmodf_use=yes
62222 else
62223 glibcxx_cv_func__fmodf_use=no
62224 fi
62225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62226 ac_ext=c
62227 ac_cpp='$CPP $CPPFLAGS'
62228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62231
62232
62233 fi
62234
62235 fi
62236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62237 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62238
62239 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62240 for ac_func in _fmodf
62241 do :
62242 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62243 if test "x$ac_cv_func__fmodf" = x""yes; then :
62244 cat >>confdefs.h <<_ACEOF
62245 #define HAVE__FMODF 1
62246 _ACEOF
62247
62248 fi
62249 done
62250
62251 fi
62252 fi
62253
62254
62255
62256
62257
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62259 $as_echo_n "checking for frexpf declaration... " >&6; }
62260 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62261 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62262 $as_echo_n "(cached) " >&6
62263 else
62264
62265
62266 ac_ext=cpp
62267 ac_cpp='$CXXCPP $CPPFLAGS'
62268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62271
62272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62273 /* end confdefs.h. */
62274 #include <math.h>
62275 int
62276 main ()
62277 {
62278 frexpf(0, 0);
62279 ;
62280 return 0;
62281 }
62282 _ACEOF
62283 if ac_fn_cxx_try_compile "$LINENO"; then :
62284 glibcxx_cv_func_frexpf_use=yes
62285 else
62286 glibcxx_cv_func_frexpf_use=no
62287 fi
62288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62289 ac_ext=c
62290 ac_cpp='$CPP $CPPFLAGS'
62291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62294
62295
62296 fi
62297
62298 fi
62299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62300 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62301
62302 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62303 for ac_func in frexpf
62304 do :
62305 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62306 if test "x$ac_cv_func_frexpf" = x""yes; then :
62307 cat >>confdefs.h <<_ACEOF
62308 #define HAVE_FREXPF 1
62309 _ACEOF
62310
62311 fi
62312 done
62313
62314 else
62315
62316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62317 $as_echo_n "checking for _frexpf declaration... " >&6; }
62318 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62319 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62320 $as_echo_n "(cached) " >&6
62321 else
62322
62323
62324 ac_ext=cpp
62325 ac_cpp='$CXXCPP $CPPFLAGS'
62326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62329
62330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62331 /* end confdefs.h. */
62332 #include <math.h>
62333 int
62334 main ()
62335 {
62336 _frexpf(0, 0);
62337 ;
62338 return 0;
62339 }
62340 _ACEOF
62341 if ac_fn_cxx_try_compile "$LINENO"; then :
62342 glibcxx_cv_func__frexpf_use=yes
62343 else
62344 glibcxx_cv_func__frexpf_use=no
62345 fi
62346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62347 ac_ext=c
62348 ac_cpp='$CPP $CPPFLAGS'
62349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62352
62353
62354 fi
62355
62356 fi
62357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62358 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62359
62360 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62361 for ac_func in _frexpf
62362 do :
62363 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62364 if test "x$ac_cv_func__frexpf" = x""yes; then :
62365 cat >>confdefs.h <<_ACEOF
62366 #define HAVE__FREXPF 1
62367 _ACEOF
62368
62369 fi
62370 done
62371
62372 fi
62373 fi
62374
62375
62376
62377
62378
62379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62380 $as_echo_n "checking for hypotf declaration... " >&6; }
62381 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62382 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62383 $as_echo_n "(cached) " >&6
62384 else
62385
62386
62387 ac_ext=cpp
62388 ac_cpp='$CXXCPP $CPPFLAGS'
62389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62392
62393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62394 /* end confdefs.h. */
62395 #include <math.h>
62396 int
62397 main ()
62398 {
62399 hypotf(0, 0);
62400 ;
62401 return 0;
62402 }
62403 _ACEOF
62404 if ac_fn_cxx_try_compile "$LINENO"; then :
62405 glibcxx_cv_func_hypotf_use=yes
62406 else
62407 glibcxx_cv_func_hypotf_use=no
62408 fi
62409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62410 ac_ext=c
62411 ac_cpp='$CPP $CPPFLAGS'
62412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62415
62416
62417 fi
62418
62419 fi
62420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62421 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62422
62423 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62424 for ac_func in hypotf
62425 do :
62426 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62427 if test "x$ac_cv_func_hypotf" = x""yes; then :
62428 cat >>confdefs.h <<_ACEOF
62429 #define HAVE_HYPOTF 1
62430 _ACEOF
62431
62432 fi
62433 done
62434
62435 else
62436
62437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62438 $as_echo_n "checking for _hypotf declaration... " >&6; }
62439 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62440 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62441 $as_echo_n "(cached) " >&6
62442 else
62443
62444
62445 ac_ext=cpp
62446 ac_cpp='$CXXCPP $CPPFLAGS'
62447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62450
62451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62452 /* end confdefs.h. */
62453 #include <math.h>
62454 int
62455 main ()
62456 {
62457 _hypotf(0, 0);
62458 ;
62459 return 0;
62460 }
62461 _ACEOF
62462 if ac_fn_cxx_try_compile "$LINENO"; then :
62463 glibcxx_cv_func__hypotf_use=yes
62464 else
62465 glibcxx_cv_func__hypotf_use=no
62466 fi
62467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62468 ac_ext=c
62469 ac_cpp='$CPP $CPPFLAGS'
62470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62473
62474
62475 fi
62476
62477 fi
62478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62479 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62480
62481 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62482 for ac_func in _hypotf
62483 do :
62484 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62485 if test "x$ac_cv_func__hypotf" = x""yes; then :
62486 cat >>confdefs.h <<_ACEOF
62487 #define HAVE__HYPOTF 1
62488 _ACEOF
62489
62490 fi
62491 done
62492
62493 fi
62494 fi
62495
62496
62497
62498
62499
62500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62501 $as_echo_n "checking for ldexpf declaration... " >&6; }
62502 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62503 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62504 $as_echo_n "(cached) " >&6
62505 else
62506
62507
62508 ac_ext=cpp
62509 ac_cpp='$CXXCPP $CPPFLAGS'
62510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62513
62514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62515 /* end confdefs.h. */
62516 #include <math.h>
62517 int
62518 main ()
62519 {
62520 ldexpf(0, 0);
62521 ;
62522 return 0;
62523 }
62524 _ACEOF
62525 if ac_fn_cxx_try_compile "$LINENO"; then :
62526 glibcxx_cv_func_ldexpf_use=yes
62527 else
62528 glibcxx_cv_func_ldexpf_use=no
62529 fi
62530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62531 ac_ext=c
62532 ac_cpp='$CPP $CPPFLAGS'
62533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62536
62537
62538 fi
62539
62540 fi
62541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62542 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62543
62544 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62545 for ac_func in ldexpf
62546 do :
62547 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62548 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62549 cat >>confdefs.h <<_ACEOF
62550 #define HAVE_LDEXPF 1
62551 _ACEOF
62552
62553 fi
62554 done
62555
62556 else
62557
62558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62559 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62560 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62561 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62562 $as_echo_n "(cached) " >&6
62563 else
62564
62565
62566 ac_ext=cpp
62567 ac_cpp='$CXXCPP $CPPFLAGS'
62568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62571
62572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62573 /* end confdefs.h. */
62574 #include <math.h>
62575 int
62576 main ()
62577 {
62578 _ldexpf(0, 0);
62579 ;
62580 return 0;
62581 }
62582 _ACEOF
62583 if ac_fn_cxx_try_compile "$LINENO"; then :
62584 glibcxx_cv_func__ldexpf_use=yes
62585 else
62586 glibcxx_cv_func__ldexpf_use=no
62587 fi
62588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62589 ac_ext=c
62590 ac_cpp='$CPP $CPPFLAGS'
62591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62594
62595
62596 fi
62597
62598 fi
62599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62600 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62601
62602 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62603 for ac_func in _ldexpf
62604 do :
62605 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62606 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62607 cat >>confdefs.h <<_ACEOF
62608 #define HAVE__LDEXPF 1
62609 _ACEOF
62610
62611 fi
62612 done
62613
62614 fi
62615 fi
62616
62617
62618
62619
62620
62621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62622 $as_echo_n "checking for logf declaration... " >&6; }
62623 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62624 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62625 $as_echo_n "(cached) " >&6
62626 else
62627
62628
62629 ac_ext=cpp
62630 ac_cpp='$CXXCPP $CPPFLAGS'
62631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62634
62635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62636 /* end confdefs.h. */
62637 #include <math.h>
62638 #ifdef HAVE_IEEEFP_H
62639 #include <ieeefp.h>
62640 #endif
62641
62642 int
62643 main ()
62644 {
62645 logf(0);
62646 ;
62647 return 0;
62648 }
62649 _ACEOF
62650 if ac_fn_cxx_try_compile "$LINENO"; then :
62651 glibcxx_cv_func_logf_use=yes
62652 else
62653 glibcxx_cv_func_logf_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
62663 fi
62664
62665 fi
62666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62667 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62668
62669 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62670 for ac_func in logf
62671 do :
62672 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62673 if test "x$ac_cv_func_logf" = x""yes; then :
62674 cat >>confdefs.h <<_ACEOF
62675 #define HAVE_LOGF 1
62676 _ACEOF
62677
62678 fi
62679 done
62680
62681 else
62682
62683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62684 $as_echo_n "checking for _logf declaration... " >&6; }
62685 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62686 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62687 $as_echo_n "(cached) " >&6
62688 else
62689
62690
62691 ac_ext=cpp
62692 ac_cpp='$CXXCPP $CPPFLAGS'
62693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62696
62697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62698 /* end confdefs.h. */
62699 #include <math.h>
62700 #ifdef HAVE_IEEEFP_H
62701 #include <ieeefp.h>
62702 #endif
62703
62704 int
62705 main ()
62706 {
62707 _logf(0);
62708 ;
62709 return 0;
62710 }
62711 _ACEOF
62712 if ac_fn_cxx_try_compile "$LINENO"; then :
62713 glibcxx_cv_func__logf_use=yes
62714 else
62715 glibcxx_cv_func__logf_use=no
62716 fi
62717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62718 ac_ext=c
62719 ac_cpp='$CPP $CPPFLAGS'
62720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62723
62724
62725 fi
62726
62727 fi
62728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62729 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62730
62731 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62732 for ac_func in _logf
62733 do :
62734 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62735 if test "x$ac_cv_func__logf" = x""yes; then :
62736 cat >>confdefs.h <<_ACEOF
62737 #define HAVE__LOGF 1
62738 _ACEOF
62739
62740 fi
62741 done
62742
62743 fi
62744 fi
62745
62746
62747
62748
62749
62750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62751 $as_echo_n "checking for log10f declaration... " >&6; }
62752 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62753 if test "${glibcxx_cv_func_log10f_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 log10f(0);
62775 ;
62776 return 0;
62777 }
62778 _ACEOF
62779 if ac_fn_cxx_try_compile "$LINENO"; then :
62780 glibcxx_cv_func_log10f_use=yes
62781 else
62782 glibcxx_cv_func_log10f_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_log10f_use" >&5
62796 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62797
62798 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62799 for ac_func in log10f
62800 do :
62801 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62802 if test "x$ac_cv_func_log10f" = x""yes; then :
62803 cat >>confdefs.h <<_ACEOF
62804 #define HAVE_LOG10F 1
62805 _ACEOF
62806
62807 fi
62808 done
62809
62810 else
62811
62812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62813 $as_echo_n "checking for _log10f declaration... " >&6; }
62814 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62815 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62816 $as_echo_n "(cached) " >&6
62817 else
62818
62819
62820 ac_ext=cpp
62821 ac_cpp='$CXXCPP $CPPFLAGS'
62822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62825
62826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62827 /* end confdefs.h. */
62828 #include <math.h>
62829 #ifdef HAVE_IEEEFP_H
62830 #include <ieeefp.h>
62831 #endif
62832
62833 int
62834 main ()
62835 {
62836 _log10f(0);
62837 ;
62838 return 0;
62839 }
62840 _ACEOF
62841 if ac_fn_cxx_try_compile "$LINENO"; then :
62842 glibcxx_cv_func__log10f_use=yes
62843 else
62844 glibcxx_cv_func__log10f_use=no
62845 fi
62846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62847 ac_ext=c
62848 ac_cpp='$CPP $CPPFLAGS'
62849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62852
62853
62854 fi
62855
62856 fi
62857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62858 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62859
62860 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62861 for ac_func in _log10f
62862 do :
62863 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62864 if test "x$ac_cv_func__log10f" = x""yes; then :
62865 cat >>confdefs.h <<_ACEOF
62866 #define HAVE__LOG10F 1
62867 _ACEOF
62868
62869 fi
62870 done
62871
62872 fi
62873 fi
62874
62875
62876
62877
62878
62879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62880 $as_echo_n "checking for modff declaration... " >&6; }
62881 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62882 if test "${glibcxx_cv_func_modff_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 int
62897 main ()
62898 {
62899 modff(0, 0);
62900 ;
62901 return 0;
62902 }
62903 _ACEOF
62904 if ac_fn_cxx_try_compile "$LINENO"; then :
62905 glibcxx_cv_func_modff_use=yes
62906 else
62907 glibcxx_cv_func_modff_use=no
62908 fi
62909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62910 ac_ext=c
62911 ac_cpp='$CPP $CPPFLAGS'
62912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62915
62916
62917 fi
62918
62919 fi
62920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62921 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62922
62923 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62924 for ac_func in modff
62925 do :
62926 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62927 if test "x$ac_cv_func_modff" = x""yes; then :
62928 cat >>confdefs.h <<_ACEOF
62929 #define HAVE_MODFF 1
62930 _ACEOF
62931
62932 fi
62933 done
62934
62935 else
62936
62937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62938 $as_echo_n "checking for _modff declaration... " >&6; }
62939 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62940 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62941 $as_echo_n "(cached) " >&6
62942 else
62943
62944
62945 ac_ext=cpp
62946 ac_cpp='$CXXCPP $CPPFLAGS'
62947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62950
62951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62952 /* end confdefs.h. */
62953 #include <math.h>
62954 int
62955 main ()
62956 {
62957 _modff(0, 0);
62958 ;
62959 return 0;
62960 }
62961 _ACEOF
62962 if ac_fn_cxx_try_compile "$LINENO"; then :
62963 glibcxx_cv_func__modff_use=yes
62964 else
62965 glibcxx_cv_func__modff_use=no
62966 fi
62967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62968 ac_ext=c
62969 ac_cpp='$CPP $CPPFLAGS'
62970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62973
62974
62975 fi
62976
62977 fi
62978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62979 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62980
62981 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62982 for ac_func in _modff
62983 do :
62984 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62985 if test "x$ac_cv_func__modff" = x""yes; then :
62986 cat >>confdefs.h <<_ACEOF
62987 #define HAVE__MODFF 1
62988 _ACEOF
62989
62990 fi
62991 done
62992
62993 fi
62994 fi
62995
62996
62997
62998
62999
63000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63001 $as_echo_n "checking for modf declaration... " >&6; }
63002 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63003 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63004 $as_echo_n "(cached) " >&6
63005 else
63006
63007
63008 ac_ext=cpp
63009 ac_cpp='$CXXCPP $CPPFLAGS'
63010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63013
63014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63015 /* end confdefs.h. */
63016 #include <math.h>
63017 int
63018 main ()
63019 {
63020 modf(0, 0);
63021 ;
63022 return 0;
63023 }
63024 _ACEOF
63025 if ac_fn_cxx_try_compile "$LINENO"; then :
63026 glibcxx_cv_func_modf_use=yes
63027 else
63028 glibcxx_cv_func_modf_use=no
63029 fi
63030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63031 ac_ext=c
63032 ac_cpp='$CPP $CPPFLAGS'
63033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63036
63037
63038 fi
63039
63040 fi
63041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63042 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63043
63044 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63045 for ac_func in modf
63046 do :
63047 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63048 if test "x$ac_cv_func_modf" = x""yes; then :
63049 cat >>confdefs.h <<_ACEOF
63050 #define HAVE_MODF 1
63051 _ACEOF
63052
63053 fi
63054 done
63055
63056 else
63057
63058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63059 $as_echo_n "checking for _modf declaration... " >&6; }
63060 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63061 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63062 $as_echo_n "(cached) " >&6
63063 else
63064
63065
63066 ac_ext=cpp
63067 ac_cpp='$CXXCPP $CPPFLAGS'
63068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63071
63072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63073 /* end confdefs.h. */
63074 #include <math.h>
63075 int
63076 main ()
63077 {
63078 _modf(0, 0);
63079 ;
63080 return 0;
63081 }
63082 _ACEOF
63083 if ac_fn_cxx_try_compile "$LINENO"; then :
63084 glibcxx_cv_func__modf_use=yes
63085 else
63086 glibcxx_cv_func__modf_use=no
63087 fi
63088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63089 ac_ext=c
63090 ac_cpp='$CPP $CPPFLAGS'
63091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63094
63095
63096 fi
63097
63098 fi
63099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63100 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63101
63102 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63103 for ac_func in _modf
63104 do :
63105 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63106 if test "x$ac_cv_func__modf" = x""yes; then :
63107 cat >>confdefs.h <<_ACEOF
63108 #define HAVE__MODF 1
63109 _ACEOF
63110
63111 fi
63112 done
63113
63114 fi
63115 fi
63116
63117
63118
63119
63120
63121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63122 $as_echo_n "checking for powf declaration... " >&6; }
63123 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63124 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63125 $as_echo_n "(cached) " >&6
63126 else
63127
63128
63129 ac_ext=cpp
63130 ac_cpp='$CXXCPP $CPPFLAGS'
63131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63134
63135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63136 /* end confdefs.h. */
63137 #include <math.h>
63138 int
63139 main ()
63140 {
63141 powf(0, 0);
63142 ;
63143 return 0;
63144 }
63145 _ACEOF
63146 if ac_fn_cxx_try_compile "$LINENO"; then :
63147 glibcxx_cv_func_powf_use=yes
63148 else
63149 glibcxx_cv_func_powf_use=no
63150 fi
63151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63152 ac_ext=c
63153 ac_cpp='$CPP $CPPFLAGS'
63154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63157
63158
63159 fi
63160
63161 fi
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63163 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63164
63165 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63166 for ac_func in powf
63167 do :
63168 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63169 if test "x$ac_cv_func_powf" = x""yes; then :
63170 cat >>confdefs.h <<_ACEOF
63171 #define HAVE_POWF 1
63172 _ACEOF
63173
63174 fi
63175 done
63176
63177 else
63178
63179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63180 $as_echo_n "checking for _powf declaration... " >&6; }
63181 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63182 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63183 $as_echo_n "(cached) " >&6
63184 else
63185
63186
63187 ac_ext=cpp
63188 ac_cpp='$CXXCPP $CPPFLAGS'
63189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63192
63193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63194 /* end confdefs.h. */
63195 #include <math.h>
63196 int
63197 main ()
63198 {
63199 _powf(0, 0);
63200 ;
63201 return 0;
63202 }
63203 _ACEOF
63204 if ac_fn_cxx_try_compile "$LINENO"; then :
63205 glibcxx_cv_func__powf_use=yes
63206 else
63207 glibcxx_cv_func__powf_use=no
63208 fi
63209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63210 ac_ext=c
63211 ac_cpp='$CPP $CPPFLAGS'
63212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63215
63216
63217 fi
63218
63219 fi
63220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63221 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63222
63223 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63224 for ac_func in _powf
63225 do :
63226 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63227 if test "x$ac_cv_func__powf" = x""yes; then :
63228 cat >>confdefs.h <<_ACEOF
63229 #define HAVE__POWF 1
63230 _ACEOF
63231
63232 fi
63233 done
63234
63235 fi
63236 fi
63237
63238
63239
63240
63241
63242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63243 $as_echo_n "checking for sqrtf declaration... " >&6; }
63244 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63245 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63246 $as_echo_n "(cached) " >&6
63247 else
63248
63249
63250 ac_ext=cpp
63251 ac_cpp='$CXXCPP $CPPFLAGS'
63252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63255
63256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63257 /* end confdefs.h. */
63258 #include <math.h>
63259 #ifdef HAVE_IEEEFP_H
63260 #include <ieeefp.h>
63261 #endif
63262
63263 int
63264 main ()
63265 {
63266 sqrtf(0);
63267 ;
63268 return 0;
63269 }
63270 _ACEOF
63271 if ac_fn_cxx_try_compile "$LINENO"; then :
63272 glibcxx_cv_func_sqrtf_use=yes
63273 else
63274 glibcxx_cv_func_sqrtf_use=no
63275 fi
63276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63277 ac_ext=c
63278 ac_cpp='$CPP $CPPFLAGS'
63279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63282
63283
63284 fi
63285
63286 fi
63287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63288 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63289
63290 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63291 for ac_func in sqrtf
63292 do :
63293 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63294 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63295 cat >>confdefs.h <<_ACEOF
63296 #define HAVE_SQRTF 1
63297 _ACEOF
63298
63299 fi
63300 done
63301
63302 else
63303
63304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63305 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63306 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63307 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63308 $as_echo_n "(cached) " >&6
63309 else
63310
63311
63312 ac_ext=cpp
63313 ac_cpp='$CXXCPP $CPPFLAGS'
63314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63317
63318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63319 /* end confdefs.h. */
63320 #include <math.h>
63321 #ifdef HAVE_IEEEFP_H
63322 #include <ieeefp.h>
63323 #endif
63324
63325 int
63326 main ()
63327 {
63328 _sqrtf(0);
63329 ;
63330 return 0;
63331 }
63332 _ACEOF
63333 if ac_fn_cxx_try_compile "$LINENO"; then :
63334 glibcxx_cv_func__sqrtf_use=yes
63335 else
63336 glibcxx_cv_func__sqrtf_use=no
63337 fi
63338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63339 ac_ext=c
63340 ac_cpp='$CPP $CPPFLAGS'
63341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63344
63345
63346 fi
63347
63348 fi
63349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63350 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63351
63352 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63353 for ac_func in _sqrtf
63354 do :
63355 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63356 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63357 cat >>confdefs.h <<_ACEOF
63358 #define HAVE__SQRTF 1
63359 _ACEOF
63360
63361 fi
63362 done
63363
63364 fi
63365 fi
63366
63367
63368
63369
63370
63371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63372 $as_echo_n "checking for sincosf declaration... " >&6; }
63373 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63374 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63375 $as_echo_n "(cached) " >&6
63376 else
63377
63378
63379 ac_ext=cpp
63380 ac_cpp='$CXXCPP $CPPFLAGS'
63381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63384
63385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63386 /* end confdefs.h. */
63387 #include <math.h>
63388 int
63389 main ()
63390 {
63391 sincosf(0, 0, 0);
63392 ;
63393 return 0;
63394 }
63395 _ACEOF
63396 if ac_fn_cxx_try_compile "$LINENO"; then :
63397 glibcxx_cv_func_sincosf_use=yes
63398 else
63399 glibcxx_cv_func_sincosf_use=no
63400 fi
63401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63402 ac_ext=c
63403 ac_cpp='$CPP $CPPFLAGS'
63404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63407
63408
63409 fi
63410
63411 fi
63412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63413 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63414
63415 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63416 for ac_func in sincosf
63417 do :
63418 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63419 if test "x$ac_cv_func_sincosf" = x""yes; then :
63420 cat >>confdefs.h <<_ACEOF
63421 #define HAVE_SINCOSF 1
63422 _ACEOF
63423
63424 fi
63425 done
63426
63427 else
63428
63429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63430 $as_echo_n "checking for _sincosf declaration... " >&6; }
63431 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63432 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63433 $as_echo_n "(cached) " >&6
63434 else
63435
63436
63437 ac_ext=cpp
63438 ac_cpp='$CXXCPP $CPPFLAGS'
63439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63442
63443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63444 /* end confdefs.h. */
63445 #include <math.h>
63446 int
63447 main ()
63448 {
63449 _sincosf(0, 0, 0);
63450 ;
63451 return 0;
63452 }
63453 _ACEOF
63454 if ac_fn_cxx_try_compile "$LINENO"; then :
63455 glibcxx_cv_func__sincosf_use=yes
63456 else
63457 glibcxx_cv_func__sincosf_use=no
63458 fi
63459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63460 ac_ext=c
63461 ac_cpp='$CPP $CPPFLAGS'
63462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63465
63466
63467 fi
63468
63469 fi
63470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63471 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63472
63473 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63474 for ac_func in _sincosf
63475 do :
63476 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63477 if test "x$ac_cv_func__sincosf" = x""yes; then :
63478 cat >>confdefs.h <<_ACEOF
63479 #define HAVE__SINCOSF 1
63480 _ACEOF
63481
63482 fi
63483 done
63484
63485 fi
63486 fi
63487
63488
63489
63490
63491
63492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63493 $as_echo_n "checking for finitef declaration... " >&6; }
63494 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63495 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63496 $as_echo_n "(cached) " >&6
63497 else
63498
63499
63500 ac_ext=cpp
63501 ac_cpp='$CXXCPP $CPPFLAGS'
63502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63505
63506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63507 /* end confdefs.h. */
63508 #include <math.h>
63509 #ifdef HAVE_IEEEFP_H
63510 #include <ieeefp.h>
63511 #endif
63512
63513 int
63514 main ()
63515 {
63516 finitef(0);
63517 ;
63518 return 0;
63519 }
63520 _ACEOF
63521 if ac_fn_cxx_try_compile "$LINENO"; then :
63522 glibcxx_cv_func_finitef_use=yes
63523 else
63524 glibcxx_cv_func_finitef_use=no
63525 fi
63526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63527 ac_ext=c
63528 ac_cpp='$CPP $CPPFLAGS'
63529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63532
63533
63534 fi
63535
63536 fi
63537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63538 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63539
63540 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63541 for ac_func in finitef
63542 do :
63543 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63544 if test "x$ac_cv_func_finitef" = x""yes; then :
63545 cat >>confdefs.h <<_ACEOF
63546 #define HAVE_FINITEF 1
63547 _ACEOF
63548
63549 fi
63550 done
63551
63552 else
63553
63554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63555 $as_echo_n "checking for _finitef declaration... " >&6; }
63556 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63557 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63558 $as_echo_n "(cached) " >&6
63559 else
63560
63561
63562 ac_ext=cpp
63563 ac_cpp='$CXXCPP $CPPFLAGS'
63564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63567
63568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63569 /* end confdefs.h. */
63570 #include <math.h>
63571 #ifdef HAVE_IEEEFP_H
63572 #include <ieeefp.h>
63573 #endif
63574
63575 int
63576 main ()
63577 {
63578 _finitef(0);
63579 ;
63580 return 0;
63581 }
63582 _ACEOF
63583 if ac_fn_cxx_try_compile "$LINENO"; then :
63584 glibcxx_cv_func__finitef_use=yes
63585 else
63586 glibcxx_cv_func__finitef_use=no
63587 fi
63588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63589 ac_ext=c
63590 ac_cpp='$CPP $CPPFLAGS'
63591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63594
63595
63596 fi
63597
63598 fi
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63600 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63601
63602 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63603 for ac_func in _finitef
63604 do :
63605 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63606 if test "x$ac_cv_func__finitef" = x""yes; then :
63607 cat >>confdefs.h <<_ACEOF
63608 #define HAVE__FINITEF 1
63609 _ACEOF
63610
63611 fi
63612 done
63613
63614 fi
63615 fi
63616
63617
63618
63619
63620
63621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63622 $as_echo_n "checking for long double trig functions... " >&6; }
63623 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63624 $as_echo_n "(cached) " >&6
63625 else
63626
63627
63628 ac_ext=cpp
63629 ac_cpp='$CXXCPP $CPPFLAGS'
63630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63633
63634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63635 /* end confdefs.h. */
63636 #include <math.h>
63637 int
63638 main ()
63639 {
63640 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63641 ;
63642 return 0;
63643 }
63644 _ACEOF
63645 if ac_fn_cxx_try_compile "$LINENO"; then :
63646 glibcxx_cv_func_long_double_trig_use=yes
63647 else
63648 glibcxx_cv_func_long_double_trig_use=no
63649 fi
63650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63651 ac_ext=c
63652 ac_cpp='$CPP $CPPFLAGS'
63653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63656
63657 fi
63658
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63660 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63661 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63662 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63663 do :
63664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63666 eval as_val=\$$as_ac_var
63667 if test "x$as_val" = x""yes; then :
63668 cat >>confdefs.h <<_ACEOF
63669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63670 _ACEOF
63671
63672 fi
63673 done
63674
63675 else
63676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63677 $as_echo_n "checking for _long double trig functions... " >&6; }
63678 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63679 $as_echo_n "(cached) " >&6
63680 else
63681
63682
63683 ac_ext=cpp
63684 ac_cpp='$CXXCPP $CPPFLAGS'
63685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63688
63689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63690 /* end confdefs.h. */
63691 #include <math.h>
63692 int
63693 main ()
63694 {
63695 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63696 ;
63697 return 0;
63698 }
63699 _ACEOF
63700 if ac_fn_cxx_try_compile "$LINENO"; then :
63701 glibcxx_cv_func__long_double_trig_use=yes
63702 else
63703 glibcxx_cv_func__long_double_trig_use=no
63704 fi
63705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63706 ac_ext=c
63707 ac_cpp='$CPP $CPPFLAGS'
63708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63711
63712 fi
63713
63714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63715 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63716 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63717 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63718 do :
63719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63721 eval as_val=\$$as_ac_var
63722 if test "x$as_val" = x""yes; then :
63723 cat >>confdefs.h <<_ACEOF
63724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63725 _ACEOF
63726
63727 fi
63728 done
63729
63730 fi
63731 fi
63732
63733
63734
63735
63736
63737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63738 $as_echo_n "checking for long double round functions... " >&6; }
63739 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63740 $as_echo_n "(cached) " >&6
63741 else
63742
63743
63744 ac_ext=cpp
63745 ac_cpp='$CXXCPP $CPPFLAGS'
63746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63749
63750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63751 /* end confdefs.h. */
63752 #include <math.h>
63753 int
63754 main ()
63755 {
63756 ceill (0); floorl (0);
63757 ;
63758 return 0;
63759 }
63760 _ACEOF
63761 if ac_fn_cxx_try_compile "$LINENO"; then :
63762 glibcxx_cv_func_long_double_round_use=yes
63763 else
63764 glibcxx_cv_func_long_double_round_use=no
63765 fi
63766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63767 ac_ext=c
63768 ac_cpp='$CPP $CPPFLAGS'
63769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63772
63773 fi
63774
63775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63776 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63777 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63778 for ac_func in ceill floorl
63779 do :
63780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63782 eval as_val=\$$as_ac_var
63783 if test "x$as_val" = x""yes; then :
63784 cat >>confdefs.h <<_ACEOF
63785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63786 _ACEOF
63787
63788 fi
63789 done
63790
63791 else
63792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63793 $as_echo_n "checking for _long double round functions... " >&6; }
63794 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63795 $as_echo_n "(cached) " >&6
63796 else
63797
63798
63799 ac_ext=cpp
63800 ac_cpp='$CXXCPP $CPPFLAGS'
63801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63804
63805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63806 /* end confdefs.h. */
63807 #include <math.h>
63808 int
63809 main ()
63810 {
63811 _ceill (0); _floorl (0);
63812 ;
63813 return 0;
63814 }
63815 _ACEOF
63816 if ac_fn_cxx_try_compile "$LINENO"; then :
63817 glibcxx_cv_func__long_double_round_use=yes
63818 else
63819 glibcxx_cv_func__long_double_round_use=no
63820 fi
63821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63822 ac_ext=c
63823 ac_cpp='$CPP $CPPFLAGS'
63824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63827
63828 fi
63829
63830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63831 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63832 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63833 for ac_func in _ceill _floorl
63834 do :
63835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63837 eval as_val=\$$as_ac_var
63838 if test "x$as_val" = x""yes; then :
63839 cat >>confdefs.h <<_ACEOF
63840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63841 _ACEOF
63842
63843 fi
63844 done
63845
63846 fi
63847 fi
63848
63849
63850
63851
63852
63853
63854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63855 $as_echo_n "checking for isnanl declaration... " >&6; }
63856 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63857 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63858 $as_echo_n "(cached) " >&6
63859 else
63860
63861
63862 ac_ext=cpp
63863 ac_cpp='$CXXCPP $CPPFLAGS'
63864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63867
63868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63869 /* end confdefs.h. */
63870 #include <math.h>
63871 #ifdef HAVE_IEEEFP_H
63872 #include <ieeefp.h>
63873 #endif
63874
63875 int
63876 main ()
63877 {
63878 isnanl(0);
63879 ;
63880 return 0;
63881 }
63882 _ACEOF
63883 if ac_fn_cxx_try_compile "$LINENO"; then :
63884 glibcxx_cv_func_isnanl_use=yes
63885 else
63886 glibcxx_cv_func_isnanl_use=no
63887 fi
63888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63889 ac_ext=c
63890 ac_cpp='$CPP $CPPFLAGS'
63891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63894
63895
63896 fi
63897
63898 fi
63899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63900 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63901
63902 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63903 for ac_func in isnanl
63904 do :
63905 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63906 if test "x$ac_cv_func_isnanl" = x""yes; then :
63907 cat >>confdefs.h <<_ACEOF
63908 #define HAVE_ISNANL 1
63909 _ACEOF
63910
63911 fi
63912 done
63913
63914 else
63915
63916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63917 $as_echo_n "checking for _isnanl declaration... " >&6; }
63918 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63919 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63920 $as_echo_n "(cached) " >&6
63921 else
63922
63923
63924 ac_ext=cpp
63925 ac_cpp='$CXXCPP $CPPFLAGS'
63926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63929
63930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63931 /* end confdefs.h. */
63932 #include <math.h>
63933 #ifdef HAVE_IEEEFP_H
63934 #include <ieeefp.h>
63935 #endif
63936
63937 int
63938 main ()
63939 {
63940 _isnanl(0);
63941 ;
63942 return 0;
63943 }
63944 _ACEOF
63945 if ac_fn_cxx_try_compile "$LINENO"; then :
63946 glibcxx_cv_func__isnanl_use=yes
63947 else
63948 glibcxx_cv_func__isnanl_use=no
63949 fi
63950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63951 ac_ext=c
63952 ac_cpp='$CPP $CPPFLAGS'
63953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63956
63957
63958 fi
63959
63960 fi
63961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63962 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63963
63964 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63965 for ac_func in _isnanl
63966 do :
63967 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63968 if test "x$ac_cv_func__isnanl" = x""yes; then :
63969 cat >>confdefs.h <<_ACEOF
63970 #define HAVE__ISNANL 1
63971 _ACEOF
63972
63973 fi
63974 done
63975
63976 fi
63977 fi
63978
63979
63980
63981
63982
63983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63984 $as_echo_n "checking for isinfl declaration... " >&6; }
63985 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63986 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63987 $as_echo_n "(cached) " >&6
63988 else
63989
63990
63991 ac_ext=cpp
63992 ac_cpp='$CXXCPP $CPPFLAGS'
63993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63996
63997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63998 /* end confdefs.h. */
63999 #include <math.h>
64000 #ifdef HAVE_IEEEFP_H
64001 #include <ieeefp.h>
64002 #endif
64003
64004 int
64005 main ()
64006 {
64007 isinfl(0);
64008 ;
64009 return 0;
64010 }
64011 _ACEOF
64012 if ac_fn_cxx_try_compile "$LINENO"; then :
64013 glibcxx_cv_func_isinfl_use=yes
64014 else
64015 glibcxx_cv_func_isinfl_use=no
64016 fi
64017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64018 ac_ext=c
64019 ac_cpp='$CPP $CPPFLAGS'
64020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64023
64024
64025 fi
64026
64027 fi
64028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64029 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64030
64031 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64032 for ac_func in isinfl
64033 do :
64034 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64035 if test "x$ac_cv_func_isinfl" = x""yes; then :
64036 cat >>confdefs.h <<_ACEOF
64037 #define HAVE_ISINFL 1
64038 _ACEOF
64039
64040 fi
64041 done
64042
64043 else
64044
64045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64046 $as_echo_n "checking for _isinfl declaration... " >&6; }
64047 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64048 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64049 $as_echo_n "(cached) " >&6
64050 else
64051
64052
64053 ac_ext=cpp
64054 ac_cpp='$CXXCPP $CPPFLAGS'
64055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64058
64059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64060 /* end confdefs.h. */
64061 #include <math.h>
64062 #ifdef HAVE_IEEEFP_H
64063 #include <ieeefp.h>
64064 #endif
64065
64066 int
64067 main ()
64068 {
64069 _isinfl(0);
64070 ;
64071 return 0;
64072 }
64073 _ACEOF
64074 if ac_fn_cxx_try_compile "$LINENO"; then :
64075 glibcxx_cv_func__isinfl_use=yes
64076 else
64077 glibcxx_cv_func__isinfl_use=no
64078 fi
64079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64080 ac_ext=c
64081 ac_cpp='$CPP $CPPFLAGS'
64082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64085
64086
64087 fi
64088
64089 fi
64090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64091 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64092
64093 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64094 for ac_func in _isinfl
64095 do :
64096 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64097 if test "x$ac_cv_func__isinfl" = x""yes; then :
64098 cat >>confdefs.h <<_ACEOF
64099 #define HAVE__ISINFL 1
64100 _ACEOF
64101
64102 fi
64103 done
64104
64105 fi
64106 fi
64107
64108
64109
64110
64111
64112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64113 $as_echo_n "checking for atan2l declaration... " >&6; }
64114 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64115 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64116 $as_echo_n "(cached) " >&6
64117 else
64118
64119
64120 ac_ext=cpp
64121 ac_cpp='$CXXCPP $CPPFLAGS'
64122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64125
64126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64127 /* end confdefs.h. */
64128 #include <math.h>
64129 int
64130 main ()
64131 {
64132 atan2l(0, 0);
64133 ;
64134 return 0;
64135 }
64136 _ACEOF
64137 if ac_fn_cxx_try_compile "$LINENO"; then :
64138 glibcxx_cv_func_atan2l_use=yes
64139 else
64140 glibcxx_cv_func_atan2l_use=no
64141 fi
64142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64143 ac_ext=c
64144 ac_cpp='$CPP $CPPFLAGS'
64145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64148
64149
64150 fi
64151
64152 fi
64153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64154 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64155
64156 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64157 for ac_func in atan2l
64158 do :
64159 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64160 if test "x$ac_cv_func_atan2l" = x""yes; then :
64161 cat >>confdefs.h <<_ACEOF
64162 #define HAVE_ATAN2L 1
64163 _ACEOF
64164
64165 fi
64166 done
64167
64168 else
64169
64170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64171 $as_echo_n "checking for _atan2l declaration... " >&6; }
64172 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64173 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64174 $as_echo_n "(cached) " >&6
64175 else
64176
64177
64178 ac_ext=cpp
64179 ac_cpp='$CXXCPP $CPPFLAGS'
64180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64183
64184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64185 /* end confdefs.h. */
64186 #include <math.h>
64187 int
64188 main ()
64189 {
64190 _atan2l(0, 0);
64191 ;
64192 return 0;
64193 }
64194 _ACEOF
64195 if ac_fn_cxx_try_compile "$LINENO"; then :
64196 glibcxx_cv_func__atan2l_use=yes
64197 else
64198 glibcxx_cv_func__atan2l_use=no
64199 fi
64200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64201 ac_ext=c
64202 ac_cpp='$CPP $CPPFLAGS'
64203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64206
64207
64208 fi
64209
64210 fi
64211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64212 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64213
64214 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64215 for ac_func in _atan2l
64216 do :
64217 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64218 if test "x$ac_cv_func__atan2l" = x""yes; then :
64219 cat >>confdefs.h <<_ACEOF
64220 #define HAVE__ATAN2L 1
64221 _ACEOF
64222
64223 fi
64224 done
64225
64226 fi
64227 fi
64228
64229
64230
64231
64232
64233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64234 $as_echo_n "checking for expl declaration... " >&6; }
64235 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64236 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64237 $as_echo_n "(cached) " >&6
64238 else
64239
64240
64241 ac_ext=cpp
64242 ac_cpp='$CXXCPP $CPPFLAGS'
64243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64246
64247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64248 /* end confdefs.h. */
64249 #include <math.h>
64250 #ifdef HAVE_IEEEFP_H
64251 #include <ieeefp.h>
64252 #endif
64253
64254 int
64255 main ()
64256 {
64257 expl(0);
64258 ;
64259 return 0;
64260 }
64261 _ACEOF
64262 if ac_fn_cxx_try_compile "$LINENO"; then :
64263 glibcxx_cv_func_expl_use=yes
64264 else
64265 glibcxx_cv_func_expl_use=no
64266 fi
64267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64268 ac_ext=c
64269 ac_cpp='$CPP $CPPFLAGS'
64270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64273
64274
64275 fi
64276
64277 fi
64278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64279 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64280
64281 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64282 for ac_func in expl
64283 do :
64284 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64285 if test "x$ac_cv_func_expl" = x""yes; then :
64286 cat >>confdefs.h <<_ACEOF
64287 #define HAVE_EXPL 1
64288 _ACEOF
64289
64290 fi
64291 done
64292
64293 else
64294
64295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64296 $as_echo_n "checking for _expl declaration... " >&6; }
64297 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64298 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64299 $as_echo_n "(cached) " >&6
64300 else
64301
64302
64303 ac_ext=cpp
64304 ac_cpp='$CXXCPP $CPPFLAGS'
64305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64308
64309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64310 /* end confdefs.h. */
64311 #include <math.h>
64312 #ifdef HAVE_IEEEFP_H
64313 #include <ieeefp.h>
64314 #endif
64315
64316 int
64317 main ()
64318 {
64319 _expl(0);
64320 ;
64321 return 0;
64322 }
64323 _ACEOF
64324 if ac_fn_cxx_try_compile "$LINENO"; then :
64325 glibcxx_cv_func__expl_use=yes
64326 else
64327 glibcxx_cv_func__expl_use=no
64328 fi
64329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64330 ac_ext=c
64331 ac_cpp='$CPP $CPPFLAGS'
64332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64335
64336
64337 fi
64338
64339 fi
64340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64341 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64342
64343 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64344 for ac_func in _expl
64345 do :
64346 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64347 if test "x$ac_cv_func__expl" = x""yes; then :
64348 cat >>confdefs.h <<_ACEOF
64349 #define HAVE__EXPL 1
64350 _ACEOF
64351
64352 fi
64353 done
64354
64355 fi
64356 fi
64357
64358
64359
64360
64361
64362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64363 $as_echo_n "checking for fabsl declaration... " >&6; }
64364 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64365 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64366 $as_echo_n "(cached) " >&6
64367 else
64368
64369
64370 ac_ext=cpp
64371 ac_cpp='$CXXCPP $CPPFLAGS'
64372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64375
64376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64377 /* end confdefs.h. */
64378 #include <math.h>
64379 #ifdef HAVE_IEEEFP_H
64380 #include <ieeefp.h>
64381 #endif
64382
64383 int
64384 main ()
64385 {
64386 fabsl(0);
64387 ;
64388 return 0;
64389 }
64390 _ACEOF
64391 if ac_fn_cxx_try_compile "$LINENO"; then :
64392 glibcxx_cv_func_fabsl_use=yes
64393 else
64394 glibcxx_cv_func_fabsl_use=no
64395 fi
64396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64397 ac_ext=c
64398 ac_cpp='$CPP $CPPFLAGS'
64399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64402
64403
64404 fi
64405
64406 fi
64407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64408 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64409
64410 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64411 for ac_func in fabsl
64412 do :
64413 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64414 if test "x$ac_cv_func_fabsl" = x""yes; then :
64415 cat >>confdefs.h <<_ACEOF
64416 #define HAVE_FABSL 1
64417 _ACEOF
64418
64419 fi
64420 done
64421
64422 else
64423
64424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64425 $as_echo_n "checking for _fabsl declaration... " >&6; }
64426 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64427 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64428 $as_echo_n "(cached) " >&6
64429 else
64430
64431
64432 ac_ext=cpp
64433 ac_cpp='$CXXCPP $CPPFLAGS'
64434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64437
64438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64439 /* end confdefs.h. */
64440 #include <math.h>
64441 #ifdef HAVE_IEEEFP_H
64442 #include <ieeefp.h>
64443 #endif
64444
64445 int
64446 main ()
64447 {
64448 _fabsl(0);
64449 ;
64450 return 0;
64451 }
64452 _ACEOF
64453 if ac_fn_cxx_try_compile "$LINENO"; then :
64454 glibcxx_cv_func__fabsl_use=yes
64455 else
64456 glibcxx_cv_func__fabsl_use=no
64457 fi
64458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64459 ac_ext=c
64460 ac_cpp='$CPP $CPPFLAGS'
64461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64464
64465
64466 fi
64467
64468 fi
64469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64470 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64471
64472 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64473 for ac_func in _fabsl
64474 do :
64475 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64476 if test "x$ac_cv_func__fabsl" = x""yes; then :
64477 cat >>confdefs.h <<_ACEOF
64478 #define HAVE__FABSL 1
64479 _ACEOF
64480
64481 fi
64482 done
64483
64484 fi
64485 fi
64486
64487
64488
64489
64490
64491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64492 $as_echo_n "checking for fmodl declaration... " >&6; }
64493 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64494 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64495 $as_echo_n "(cached) " >&6
64496 else
64497
64498
64499 ac_ext=cpp
64500 ac_cpp='$CXXCPP $CPPFLAGS'
64501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64504
64505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64506 /* end confdefs.h. */
64507 #include <math.h>
64508 int
64509 main ()
64510 {
64511 fmodl(0, 0);
64512 ;
64513 return 0;
64514 }
64515 _ACEOF
64516 if ac_fn_cxx_try_compile "$LINENO"; then :
64517 glibcxx_cv_func_fmodl_use=yes
64518 else
64519 glibcxx_cv_func_fmodl_use=no
64520 fi
64521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64522 ac_ext=c
64523 ac_cpp='$CPP $CPPFLAGS'
64524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64527
64528
64529 fi
64530
64531 fi
64532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64533 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64534
64535 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64536 for ac_func in fmodl
64537 do :
64538 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64539 if test "x$ac_cv_func_fmodl" = x""yes; then :
64540 cat >>confdefs.h <<_ACEOF
64541 #define HAVE_FMODL 1
64542 _ACEOF
64543
64544 fi
64545 done
64546
64547 else
64548
64549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64550 $as_echo_n "checking for _fmodl declaration... " >&6; }
64551 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64552 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64553 $as_echo_n "(cached) " >&6
64554 else
64555
64556
64557 ac_ext=cpp
64558 ac_cpp='$CXXCPP $CPPFLAGS'
64559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64562
64563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64564 /* end confdefs.h. */
64565 #include <math.h>
64566 int
64567 main ()
64568 {
64569 _fmodl(0, 0);
64570 ;
64571 return 0;
64572 }
64573 _ACEOF
64574 if ac_fn_cxx_try_compile "$LINENO"; then :
64575 glibcxx_cv_func__fmodl_use=yes
64576 else
64577 glibcxx_cv_func__fmodl_use=no
64578 fi
64579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64580 ac_ext=c
64581 ac_cpp='$CPP $CPPFLAGS'
64582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64585
64586
64587 fi
64588
64589 fi
64590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64591 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64592
64593 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64594 for ac_func in _fmodl
64595 do :
64596 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64597 if test "x$ac_cv_func__fmodl" = x""yes; then :
64598 cat >>confdefs.h <<_ACEOF
64599 #define HAVE__FMODL 1
64600 _ACEOF
64601
64602 fi
64603 done
64604
64605 fi
64606 fi
64607
64608
64609
64610
64611
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64613 $as_echo_n "checking for frexpl declaration... " >&6; }
64614 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64615 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64616 $as_echo_n "(cached) " >&6
64617 else
64618
64619
64620 ac_ext=cpp
64621 ac_cpp='$CXXCPP $CPPFLAGS'
64622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64625
64626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64627 /* end confdefs.h. */
64628 #include <math.h>
64629 int
64630 main ()
64631 {
64632 frexpl(0, 0);
64633 ;
64634 return 0;
64635 }
64636 _ACEOF
64637 if ac_fn_cxx_try_compile "$LINENO"; then :
64638 glibcxx_cv_func_frexpl_use=yes
64639 else
64640 glibcxx_cv_func_frexpl_use=no
64641 fi
64642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64643 ac_ext=c
64644 ac_cpp='$CPP $CPPFLAGS'
64645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64648
64649
64650 fi
64651
64652 fi
64653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64654 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64655
64656 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64657 for ac_func in frexpl
64658 do :
64659 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64660 if test "x$ac_cv_func_frexpl" = x""yes; then :
64661 cat >>confdefs.h <<_ACEOF
64662 #define HAVE_FREXPL 1
64663 _ACEOF
64664
64665 fi
64666 done
64667
64668 else
64669
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64671 $as_echo_n "checking for _frexpl declaration... " >&6; }
64672 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64673 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64674 $as_echo_n "(cached) " >&6
64675 else
64676
64677
64678 ac_ext=cpp
64679 ac_cpp='$CXXCPP $CPPFLAGS'
64680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64683
64684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64685 /* end confdefs.h. */
64686 #include <math.h>
64687 int
64688 main ()
64689 {
64690 _frexpl(0, 0);
64691 ;
64692 return 0;
64693 }
64694 _ACEOF
64695 if ac_fn_cxx_try_compile "$LINENO"; then :
64696 glibcxx_cv_func__frexpl_use=yes
64697 else
64698 glibcxx_cv_func__frexpl_use=no
64699 fi
64700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64701 ac_ext=c
64702 ac_cpp='$CPP $CPPFLAGS'
64703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64706
64707
64708 fi
64709
64710 fi
64711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64712 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64713
64714 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64715 for ac_func in _frexpl
64716 do :
64717 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64718 if test "x$ac_cv_func__frexpl" = x""yes; then :
64719 cat >>confdefs.h <<_ACEOF
64720 #define HAVE__FREXPL 1
64721 _ACEOF
64722
64723 fi
64724 done
64725
64726 fi
64727 fi
64728
64729
64730
64731
64732
64733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64734 $as_echo_n "checking for hypotl declaration... " >&6; }
64735 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64736 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64737 $as_echo_n "(cached) " >&6
64738 else
64739
64740
64741 ac_ext=cpp
64742 ac_cpp='$CXXCPP $CPPFLAGS'
64743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64746
64747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64748 /* end confdefs.h. */
64749 #include <math.h>
64750 int
64751 main ()
64752 {
64753 hypotl(0, 0);
64754 ;
64755 return 0;
64756 }
64757 _ACEOF
64758 if ac_fn_cxx_try_compile "$LINENO"; then :
64759 glibcxx_cv_func_hypotl_use=yes
64760 else
64761 glibcxx_cv_func_hypotl_use=no
64762 fi
64763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64764 ac_ext=c
64765 ac_cpp='$CPP $CPPFLAGS'
64766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64769
64770
64771 fi
64772
64773 fi
64774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64775 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64776
64777 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64778 for ac_func in hypotl
64779 do :
64780 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64781 if test "x$ac_cv_func_hypotl" = x""yes; then :
64782 cat >>confdefs.h <<_ACEOF
64783 #define HAVE_HYPOTL 1
64784 _ACEOF
64785
64786 fi
64787 done
64788
64789 else
64790
64791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64792 $as_echo_n "checking for _hypotl declaration... " >&6; }
64793 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64794 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64795 $as_echo_n "(cached) " >&6
64796 else
64797
64798
64799 ac_ext=cpp
64800 ac_cpp='$CXXCPP $CPPFLAGS'
64801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64804
64805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64806 /* end confdefs.h. */
64807 #include <math.h>
64808 int
64809 main ()
64810 {
64811 _hypotl(0, 0);
64812 ;
64813 return 0;
64814 }
64815 _ACEOF
64816 if ac_fn_cxx_try_compile "$LINENO"; then :
64817 glibcxx_cv_func__hypotl_use=yes
64818 else
64819 glibcxx_cv_func__hypotl_use=no
64820 fi
64821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64822 ac_ext=c
64823 ac_cpp='$CPP $CPPFLAGS'
64824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64827
64828
64829 fi
64830
64831 fi
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64833 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64834
64835 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64836 for ac_func in _hypotl
64837 do :
64838 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64839 if test "x$ac_cv_func__hypotl" = x""yes; then :
64840 cat >>confdefs.h <<_ACEOF
64841 #define HAVE__HYPOTL 1
64842 _ACEOF
64843
64844 fi
64845 done
64846
64847 fi
64848 fi
64849
64850
64851
64852
64853
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64855 $as_echo_n "checking for ldexpl declaration... " >&6; }
64856 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64857 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64858 $as_echo_n "(cached) " >&6
64859 else
64860
64861
64862 ac_ext=cpp
64863 ac_cpp='$CXXCPP $CPPFLAGS'
64864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64867
64868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64869 /* end confdefs.h. */
64870 #include <math.h>
64871 int
64872 main ()
64873 {
64874 ldexpl(0, 0);
64875 ;
64876 return 0;
64877 }
64878 _ACEOF
64879 if ac_fn_cxx_try_compile "$LINENO"; then :
64880 glibcxx_cv_func_ldexpl_use=yes
64881 else
64882 glibcxx_cv_func_ldexpl_use=no
64883 fi
64884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64885 ac_ext=c
64886 ac_cpp='$CPP $CPPFLAGS'
64887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64890
64891
64892 fi
64893
64894 fi
64895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64896 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64897
64898 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64899 for ac_func in ldexpl
64900 do :
64901 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64902 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64903 cat >>confdefs.h <<_ACEOF
64904 #define HAVE_LDEXPL 1
64905 _ACEOF
64906
64907 fi
64908 done
64909
64910 else
64911
64912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64913 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64914 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64915 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64916 $as_echo_n "(cached) " >&6
64917 else
64918
64919
64920 ac_ext=cpp
64921 ac_cpp='$CXXCPP $CPPFLAGS'
64922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64925
64926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64927 /* end confdefs.h. */
64928 #include <math.h>
64929 int
64930 main ()
64931 {
64932 _ldexpl(0, 0);
64933 ;
64934 return 0;
64935 }
64936 _ACEOF
64937 if ac_fn_cxx_try_compile "$LINENO"; then :
64938 glibcxx_cv_func__ldexpl_use=yes
64939 else
64940 glibcxx_cv_func__ldexpl_use=no
64941 fi
64942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64943 ac_ext=c
64944 ac_cpp='$CPP $CPPFLAGS'
64945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64948
64949
64950 fi
64951
64952 fi
64953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64954 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64955
64956 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64957 for ac_func in _ldexpl
64958 do :
64959 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64960 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64961 cat >>confdefs.h <<_ACEOF
64962 #define HAVE__LDEXPL 1
64963 _ACEOF
64964
64965 fi
64966 done
64967
64968 fi
64969 fi
64970
64971
64972
64973
64974
64975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64976 $as_echo_n "checking for logl declaration... " >&6; }
64977 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64978 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64979 $as_echo_n "(cached) " >&6
64980 else
64981
64982
64983 ac_ext=cpp
64984 ac_cpp='$CXXCPP $CPPFLAGS'
64985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64988
64989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64990 /* end confdefs.h. */
64991 #include <math.h>
64992 #ifdef HAVE_IEEEFP_H
64993 #include <ieeefp.h>
64994 #endif
64995
64996 int
64997 main ()
64998 {
64999 logl(0);
65000 ;
65001 return 0;
65002 }
65003 _ACEOF
65004 if ac_fn_cxx_try_compile "$LINENO"; then :
65005 glibcxx_cv_func_logl_use=yes
65006 else
65007 glibcxx_cv_func_logl_use=no
65008 fi
65009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65010 ac_ext=c
65011 ac_cpp='$CPP $CPPFLAGS'
65012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65015
65016
65017 fi
65018
65019 fi
65020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65021 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65022
65023 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65024 for ac_func in logl
65025 do :
65026 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65027 if test "x$ac_cv_func_logl" = x""yes; then :
65028 cat >>confdefs.h <<_ACEOF
65029 #define HAVE_LOGL 1
65030 _ACEOF
65031
65032 fi
65033 done
65034
65035 else
65036
65037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65038 $as_echo_n "checking for _logl declaration... " >&6; }
65039 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65040 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65041 $as_echo_n "(cached) " >&6
65042 else
65043
65044
65045 ac_ext=cpp
65046 ac_cpp='$CXXCPP $CPPFLAGS'
65047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65050
65051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65052 /* end confdefs.h. */
65053 #include <math.h>
65054 #ifdef HAVE_IEEEFP_H
65055 #include <ieeefp.h>
65056 #endif
65057
65058 int
65059 main ()
65060 {
65061 _logl(0);
65062 ;
65063 return 0;
65064 }
65065 _ACEOF
65066 if ac_fn_cxx_try_compile "$LINENO"; then :
65067 glibcxx_cv_func__logl_use=yes
65068 else
65069 glibcxx_cv_func__logl_use=no
65070 fi
65071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65072 ac_ext=c
65073 ac_cpp='$CPP $CPPFLAGS'
65074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65077
65078
65079 fi
65080
65081 fi
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65083 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65084
65085 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65086 for ac_func in _logl
65087 do :
65088 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65089 if test "x$ac_cv_func__logl" = x""yes; then :
65090 cat >>confdefs.h <<_ACEOF
65091 #define HAVE__LOGL 1
65092 _ACEOF
65093
65094 fi
65095 done
65096
65097 fi
65098 fi
65099
65100
65101
65102
65103
65104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65105 $as_echo_n "checking for log10l declaration... " >&6; }
65106 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65107 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65108 $as_echo_n "(cached) " >&6
65109 else
65110
65111
65112 ac_ext=cpp
65113 ac_cpp='$CXXCPP $CPPFLAGS'
65114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65117
65118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65119 /* end confdefs.h. */
65120 #include <math.h>
65121 #ifdef HAVE_IEEEFP_H
65122 #include <ieeefp.h>
65123 #endif
65124
65125 int
65126 main ()
65127 {
65128 log10l(0);
65129 ;
65130 return 0;
65131 }
65132 _ACEOF
65133 if ac_fn_cxx_try_compile "$LINENO"; then :
65134 glibcxx_cv_func_log10l_use=yes
65135 else
65136 glibcxx_cv_func_log10l_use=no
65137 fi
65138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65139 ac_ext=c
65140 ac_cpp='$CPP $CPPFLAGS'
65141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65144
65145
65146 fi
65147
65148 fi
65149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65150 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65151
65152 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65153 for ac_func in log10l
65154 do :
65155 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65156 if test "x$ac_cv_func_log10l" = x""yes; then :
65157 cat >>confdefs.h <<_ACEOF
65158 #define HAVE_LOG10L 1
65159 _ACEOF
65160
65161 fi
65162 done
65163
65164 else
65165
65166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65167 $as_echo_n "checking for _log10l declaration... " >&6; }
65168 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65169 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65170 $as_echo_n "(cached) " >&6
65171 else
65172
65173
65174 ac_ext=cpp
65175 ac_cpp='$CXXCPP $CPPFLAGS'
65176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65179
65180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65181 /* end confdefs.h. */
65182 #include <math.h>
65183 #ifdef HAVE_IEEEFP_H
65184 #include <ieeefp.h>
65185 #endif
65186
65187 int
65188 main ()
65189 {
65190 _log10l(0);
65191 ;
65192 return 0;
65193 }
65194 _ACEOF
65195 if ac_fn_cxx_try_compile "$LINENO"; then :
65196 glibcxx_cv_func__log10l_use=yes
65197 else
65198 glibcxx_cv_func__log10l_use=no
65199 fi
65200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65201 ac_ext=c
65202 ac_cpp='$CPP $CPPFLAGS'
65203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65206
65207
65208 fi
65209
65210 fi
65211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65212 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65213
65214 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65215 for ac_func in _log10l
65216 do :
65217 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65218 if test "x$ac_cv_func__log10l" = x""yes; then :
65219 cat >>confdefs.h <<_ACEOF
65220 #define HAVE__LOG10L 1
65221 _ACEOF
65222
65223 fi
65224 done
65225
65226 fi
65227 fi
65228
65229
65230
65231
65232
65233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65234 $as_echo_n "checking for modfl declaration... " >&6; }
65235 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65236 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65237 $as_echo_n "(cached) " >&6
65238 else
65239
65240
65241 ac_ext=cpp
65242 ac_cpp='$CXXCPP $CPPFLAGS'
65243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65246
65247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65248 /* end confdefs.h. */
65249 #include <math.h>
65250 int
65251 main ()
65252 {
65253 modfl(0, 0);
65254 ;
65255 return 0;
65256 }
65257 _ACEOF
65258 if ac_fn_cxx_try_compile "$LINENO"; then :
65259 glibcxx_cv_func_modfl_use=yes
65260 else
65261 glibcxx_cv_func_modfl_use=no
65262 fi
65263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65264 ac_ext=c
65265 ac_cpp='$CPP $CPPFLAGS'
65266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65269
65270
65271 fi
65272
65273 fi
65274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65275 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65276
65277 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65278 for ac_func in modfl
65279 do :
65280 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65281 if test "x$ac_cv_func_modfl" = x""yes; then :
65282 cat >>confdefs.h <<_ACEOF
65283 #define HAVE_MODFL 1
65284 _ACEOF
65285
65286 fi
65287 done
65288
65289 else
65290
65291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65292 $as_echo_n "checking for _modfl declaration... " >&6; }
65293 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65294 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65295 $as_echo_n "(cached) " >&6
65296 else
65297
65298
65299 ac_ext=cpp
65300 ac_cpp='$CXXCPP $CPPFLAGS'
65301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65304
65305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65306 /* end confdefs.h. */
65307 #include <math.h>
65308 int
65309 main ()
65310 {
65311 _modfl(0, 0);
65312 ;
65313 return 0;
65314 }
65315 _ACEOF
65316 if ac_fn_cxx_try_compile "$LINENO"; then :
65317 glibcxx_cv_func__modfl_use=yes
65318 else
65319 glibcxx_cv_func__modfl_use=no
65320 fi
65321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65322 ac_ext=c
65323 ac_cpp='$CPP $CPPFLAGS'
65324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65327
65328
65329 fi
65330
65331 fi
65332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65333 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65334
65335 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65336 for ac_func in _modfl
65337 do :
65338 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65339 if test "x$ac_cv_func__modfl" = x""yes; then :
65340 cat >>confdefs.h <<_ACEOF
65341 #define HAVE__MODFL 1
65342 _ACEOF
65343
65344 fi
65345 done
65346
65347 fi
65348 fi
65349
65350
65351
65352
65353
65354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65355 $as_echo_n "checking for powl declaration... " >&6; }
65356 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65357 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65358 $as_echo_n "(cached) " >&6
65359 else
65360
65361
65362 ac_ext=cpp
65363 ac_cpp='$CXXCPP $CPPFLAGS'
65364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65367
65368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65369 /* end confdefs.h. */
65370 #include <math.h>
65371 int
65372 main ()
65373 {
65374 powl(0, 0);
65375 ;
65376 return 0;
65377 }
65378 _ACEOF
65379 if ac_fn_cxx_try_compile "$LINENO"; then :
65380 glibcxx_cv_func_powl_use=yes
65381 else
65382 glibcxx_cv_func_powl_use=no
65383 fi
65384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65385 ac_ext=c
65386 ac_cpp='$CPP $CPPFLAGS'
65387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65390
65391
65392 fi
65393
65394 fi
65395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65396 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65397
65398 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65399 for ac_func in powl
65400 do :
65401 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65402 if test "x$ac_cv_func_powl" = x""yes; then :
65403 cat >>confdefs.h <<_ACEOF
65404 #define HAVE_POWL 1
65405 _ACEOF
65406
65407 fi
65408 done
65409
65410 else
65411
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65413 $as_echo_n "checking for _powl declaration... " >&6; }
65414 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65415 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65416 $as_echo_n "(cached) " >&6
65417 else
65418
65419
65420 ac_ext=cpp
65421 ac_cpp='$CXXCPP $CPPFLAGS'
65422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65425
65426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65427 /* end confdefs.h. */
65428 #include <math.h>
65429 int
65430 main ()
65431 {
65432 _powl(0, 0);
65433 ;
65434 return 0;
65435 }
65436 _ACEOF
65437 if ac_fn_cxx_try_compile "$LINENO"; then :
65438 glibcxx_cv_func__powl_use=yes
65439 else
65440 glibcxx_cv_func__powl_use=no
65441 fi
65442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65443 ac_ext=c
65444 ac_cpp='$CPP $CPPFLAGS'
65445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65448
65449
65450 fi
65451
65452 fi
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65454 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65455
65456 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65457 for ac_func in _powl
65458 do :
65459 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65460 if test "x$ac_cv_func__powl" = x""yes; then :
65461 cat >>confdefs.h <<_ACEOF
65462 #define HAVE__POWL 1
65463 _ACEOF
65464
65465 fi
65466 done
65467
65468 fi
65469 fi
65470
65471
65472
65473
65474
65475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65476 $as_echo_n "checking for sqrtl declaration... " >&6; }
65477 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65478 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65479 $as_echo_n "(cached) " >&6
65480 else
65481
65482
65483 ac_ext=cpp
65484 ac_cpp='$CXXCPP $CPPFLAGS'
65485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65488
65489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65490 /* end confdefs.h. */
65491 #include <math.h>
65492 #ifdef HAVE_IEEEFP_H
65493 #include <ieeefp.h>
65494 #endif
65495
65496 int
65497 main ()
65498 {
65499 sqrtl(0);
65500 ;
65501 return 0;
65502 }
65503 _ACEOF
65504 if ac_fn_cxx_try_compile "$LINENO"; then :
65505 glibcxx_cv_func_sqrtl_use=yes
65506 else
65507 glibcxx_cv_func_sqrtl_use=no
65508 fi
65509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65510 ac_ext=c
65511 ac_cpp='$CPP $CPPFLAGS'
65512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65515
65516
65517 fi
65518
65519 fi
65520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65521 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65522
65523 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65524 for ac_func in sqrtl
65525 do :
65526 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65527 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65528 cat >>confdefs.h <<_ACEOF
65529 #define HAVE_SQRTL 1
65530 _ACEOF
65531
65532 fi
65533 done
65534
65535 else
65536
65537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65538 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65539 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65540 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65541 $as_echo_n "(cached) " >&6
65542 else
65543
65544
65545 ac_ext=cpp
65546 ac_cpp='$CXXCPP $CPPFLAGS'
65547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65550
65551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65552 /* end confdefs.h. */
65553 #include <math.h>
65554 #ifdef HAVE_IEEEFP_H
65555 #include <ieeefp.h>
65556 #endif
65557
65558 int
65559 main ()
65560 {
65561 _sqrtl(0);
65562 ;
65563 return 0;
65564 }
65565 _ACEOF
65566 if ac_fn_cxx_try_compile "$LINENO"; then :
65567 glibcxx_cv_func__sqrtl_use=yes
65568 else
65569 glibcxx_cv_func__sqrtl_use=no
65570 fi
65571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65572 ac_ext=c
65573 ac_cpp='$CPP $CPPFLAGS'
65574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65577
65578
65579 fi
65580
65581 fi
65582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65583 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65584
65585 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65586 for ac_func in _sqrtl
65587 do :
65588 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65589 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65590 cat >>confdefs.h <<_ACEOF
65591 #define HAVE__SQRTL 1
65592 _ACEOF
65593
65594 fi
65595 done
65596
65597 fi
65598 fi
65599
65600
65601
65602
65603
65604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65605 $as_echo_n "checking for sincosl declaration... " >&6; }
65606 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65607 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65608 $as_echo_n "(cached) " >&6
65609 else
65610
65611
65612 ac_ext=cpp
65613 ac_cpp='$CXXCPP $CPPFLAGS'
65614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65617
65618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65619 /* end confdefs.h. */
65620 #include <math.h>
65621 int
65622 main ()
65623 {
65624 sincosl(0, 0, 0);
65625 ;
65626 return 0;
65627 }
65628 _ACEOF
65629 if ac_fn_cxx_try_compile "$LINENO"; then :
65630 glibcxx_cv_func_sincosl_use=yes
65631 else
65632 glibcxx_cv_func_sincosl_use=no
65633 fi
65634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65635 ac_ext=c
65636 ac_cpp='$CPP $CPPFLAGS'
65637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65640
65641
65642 fi
65643
65644 fi
65645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65646 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65647
65648 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65649 for ac_func in sincosl
65650 do :
65651 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65652 if test "x$ac_cv_func_sincosl" = x""yes; then :
65653 cat >>confdefs.h <<_ACEOF
65654 #define HAVE_SINCOSL 1
65655 _ACEOF
65656
65657 fi
65658 done
65659
65660 else
65661
65662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65663 $as_echo_n "checking for _sincosl declaration... " >&6; }
65664 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65665 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65666 $as_echo_n "(cached) " >&6
65667 else
65668
65669
65670 ac_ext=cpp
65671 ac_cpp='$CXXCPP $CPPFLAGS'
65672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65675
65676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65677 /* end confdefs.h. */
65678 #include <math.h>
65679 int
65680 main ()
65681 {
65682 _sincosl(0, 0, 0);
65683 ;
65684 return 0;
65685 }
65686 _ACEOF
65687 if ac_fn_cxx_try_compile "$LINENO"; then :
65688 glibcxx_cv_func__sincosl_use=yes
65689 else
65690 glibcxx_cv_func__sincosl_use=no
65691 fi
65692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65693 ac_ext=c
65694 ac_cpp='$CPP $CPPFLAGS'
65695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65698
65699
65700 fi
65701
65702 fi
65703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65704 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65705
65706 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65707 for ac_func in _sincosl
65708 do :
65709 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65710 if test "x$ac_cv_func__sincosl" = x""yes; then :
65711 cat >>confdefs.h <<_ACEOF
65712 #define HAVE__SINCOSL 1
65713 _ACEOF
65714
65715 fi
65716 done
65717
65718 fi
65719 fi
65720
65721
65722
65723
65724
65725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65726 $as_echo_n "checking for finitel declaration... " >&6; }
65727 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65728 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65729 $as_echo_n "(cached) " >&6
65730 else
65731
65732
65733 ac_ext=cpp
65734 ac_cpp='$CXXCPP $CPPFLAGS'
65735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65738
65739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65740 /* end confdefs.h. */
65741 #include <math.h>
65742 #ifdef HAVE_IEEEFP_H
65743 #include <ieeefp.h>
65744 #endif
65745
65746 int
65747 main ()
65748 {
65749 finitel(0);
65750 ;
65751 return 0;
65752 }
65753 _ACEOF
65754 if ac_fn_cxx_try_compile "$LINENO"; then :
65755 glibcxx_cv_func_finitel_use=yes
65756 else
65757 glibcxx_cv_func_finitel_use=no
65758 fi
65759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65760 ac_ext=c
65761 ac_cpp='$CPP $CPPFLAGS'
65762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65765
65766
65767 fi
65768
65769 fi
65770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65771 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65772
65773 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65774 for ac_func in finitel
65775 do :
65776 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65777 if test "x$ac_cv_func_finitel" = x""yes; then :
65778 cat >>confdefs.h <<_ACEOF
65779 #define HAVE_FINITEL 1
65780 _ACEOF
65781
65782 fi
65783 done
65784
65785 else
65786
65787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65788 $as_echo_n "checking for _finitel declaration... " >&6; }
65789 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65790 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65791 $as_echo_n "(cached) " >&6
65792 else
65793
65794
65795 ac_ext=cpp
65796 ac_cpp='$CXXCPP $CPPFLAGS'
65797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65800
65801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65802 /* end confdefs.h. */
65803 #include <math.h>
65804 #ifdef HAVE_IEEEFP_H
65805 #include <ieeefp.h>
65806 #endif
65807
65808 int
65809 main ()
65810 {
65811 _finitel(0);
65812 ;
65813 return 0;
65814 }
65815 _ACEOF
65816 if ac_fn_cxx_try_compile "$LINENO"; then :
65817 glibcxx_cv_func__finitel_use=yes
65818 else
65819 glibcxx_cv_func__finitel_use=no
65820 fi
65821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65822 ac_ext=c
65823 ac_cpp='$CPP $CPPFLAGS'
65824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65827
65828
65829 fi
65830
65831 fi
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65833 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65834
65835 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65836 for ac_func in _finitel
65837 do :
65838 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65839 if test "x$ac_cv_func__finitel" = x""yes; then :
65840 cat >>confdefs.h <<_ACEOF
65841 #define HAVE__FINITEL 1
65842 _ACEOF
65843
65844 fi
65845 done
65846
65847 fi
65848 fi
65849
65850
65851
65852
65853 LIBS="$ac_save_LIBS"
65854 CXXFLAGS="$ac_save_CXXFLAGS"
65855
65856
65857 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65858 ac_save_CXXFLAGS="$CXXFLAGS"
65859 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65860
65861
65862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65863 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65864 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65865 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65866 $as_echo_n "(cached) " >&6
65867 else
65868
65869
65870 ac_ext=cpp
65871 ac_cpp='$CXXCPP $CPPFLAGS'
65872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65875
65876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65877 /* end confdefs.h. */
65878 #include <stdlib.h>
65879 int
65880 main ()
65881 {
65882 at_quick_exit(0);
65883 ;
65884 return 0;
65885 }
65886 _ACEOF
65887 if ac_fn_cxx_try_compile "$LINENO"; then :
65888 glibcxx_cv_func_at_quick_exit_use=yes
65889 else
65890 glibcxx_cv_func_at_quick_exit_use=no
65891 fi
65892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65893 ac_ext=c
65894 ac_cpp='$CPP $CPPFLAGS'
65895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65898
65899
65900 fi
65901
65902 fi
65903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65904 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65905 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65906 for ac_func in at_quick_exit
65907 do :
65908 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65909 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65910 cat >>confdefs.h <<_ACEOF
65911 #define HAVE_AT_QUICK_EXIT 1
65912 _ACEOF
65913
65914 fi
65915 done
65916
65917 fi
65918
65919
65920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65921 $as_echo_n "checking for quick_exit declaration... " >&6; }
65922 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65923 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65924 $as_echo_n "(cached) " >&6
65925 else
65926
65927
65928 ac_ext=cpp
65929 ac_cpp='$CXXCPP $CPPFLAGS'
65930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65933
65934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65935 /* end confdefs.h. */
65936 #include <stdlib.h>
65937 int
65938 main ()
65939 {
65940 quick_exit(0);
65941 ;
65942 return 0;
65943 }
65944 _ACEOF
65945 if ac_fn_cxx_try_compile "$LINENO"; then :
65946 glibcxx_cv_func_quick_exit_use=yes
65947 else
65948 glibcxx_cv_func_quick_exit_use=no
65949 fi
65950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65951 ac_ext=c
65952 ac_cpp='$CPP $CPPFLAGS'
65953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65956
65957
65958 fi
65959
65960 fi
65961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65962 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65963 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65964 for ac_func in quick_exit
65965 do :
65966 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65967 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65968 cat >>confdefs.h <<_ACEOF
65969 #define HAVE_QUICK_EXIT 1
65970 _ACEOF
65971
65972 fi
65973 done
65974
65975 fi
65976
65977
65978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65979 $as_echo_n "checking for strtold declaration... " >&6; }
65980 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65981 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65982 $as_echo_n "(cached) " >&6
65983 else
65984
65985
65986 ac_ext=cpp
65987 ac_cpp='$CXXCPP $CPPFLAGS'
65988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65991
65992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65993 /* end confdefs.h. */
65994 #include <stdlib.h>
65995 int
65996 main ()
65997 {
65998 strtold(0, 0);
65999 ;
66000 return 0;
66001 }
66002 _ACEOF
66003 if ac_fn_cxx_try_compile "$LINENO"; then :
66004 glibcxx_cv_func_strtold_use=yes
66005 else
66006 glibcxx_cv_func_strtold_use=no
66007 fi
66008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66009 ac_ext=c
66010 ac_cpp='$CPP $CPPFLAGS'
66011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66014
66015
66016 fi
66017
66018 fi
66019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66020 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66021 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66022 for ac_func in strtold
66023 do :
66024 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66025 if test "x$ac_cv_func_strtold" = x""yes; then :
66026 cat >>confdefs.h <<_ACEOF
66027 #define HAVE_STRTOLD 1
66028 _ACEOF
66029
66030 fi
66031 done
66032
66033 fi
66034
66035
66036
66037
66038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66039 $as_echo_n "checking for strtof declaration... " >&6; }
66040 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66041 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66042 $as_echo_n "(cached) " >&6
66043 else
66044
66045
66046 ac_ext=cpp
66047 ac_cpp='$CXXCPP $CPPFLAGS'
66048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66051
66052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66053 /* end confdefs.h. */
66054 #include <stdlib.h>
66055 int
66056 main ()
66057 {
66058 strtof(0, 0);
66059 ;
66060 return 0;
66061 }
66062 _ACEOF
66063 if ac_fn_cxx_try_compile "$LINENO"; then :
66064 glibcxx_cv_func_strtof_use=yes
66065 else
66066 glibcxx_cv_func_strtof_use=no
66067 fi
66068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66069 ac_ext=c
66070 ac_cpp='$CPP $CPPFLAGS'
66071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66074
66075
66076 fi
66077
66078 fi
66079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66080 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66081 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66082 for ac_func in strtof
66083 do :
66084 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66085 if test "x$ac_cv_func_strtof" = x""yes; then :
66086 cat >>confdefs.h <<_ACEOF
66087 #define HAVE_STRTOF 1
66088 _ACEOF
66089
66090 fi
66091 done
66092
66093 fi
66094
66095
66096
66097
66098 CXXFLAGS="$ac_save_CXXFLAGS"
66099
66100 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66101 do :
66102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66104 eval as_val=\$$as_ac_var
66105 if test "x$as_val" = x""yes; then :
66106 cat >>confdefs.h <<_ACEOF
66107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66108 _ACEOF
66109
66110 fi
66111 done
66112
66113 for ac_func in _wfopen
66114 do :
66115 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66116 if test "x$ac_cv_func__wfopen" = x""yes; then :
66117 cat >>confdefs.h <<_ACEOF
66118 #define HAVE__WFOPEN 1
66119 _ACEOF
66120
66121 fi
66122 done
66123
66124 ;;
66125 *-netbsd* | *-openbsd*)
66126 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66127
66128
66129 # If we're not using GNU ld, then there's no point in even trying these
66130 # tests. Check for that first. We should have already tested for gld
66131 # by now (in libtool), but require it now just to be safe...
66132 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66133 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66134
66135
66136
66137 # The name set by libtool depends on the version of libtool. Shame on us
66138 # for depending on an impl detail, but c'est la vie. Older versions used
66139 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66140 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66141 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66142 # set (hence we're using an older libtool), then set it.
66143 if test x${with_gnu_ld+set} != xset; then
66144 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66145 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66146 with_gnu_ld=no
66147 else
66148 with_gnu_ld=$ac_cv_prog_gnu_ld
66149 fi
66150 fi
66151
66152 # Start by getting the version number. I think the libtool test already
66153 # does some of this, but throws away the result.
66154 glibcxx_ld_is_gold=no
66155 if test x"$with_gnu_ld" = x"yes"; then
66156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66157 $as_echo_n "checking for ld version... " >&6; }
66158
66159 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66160 glibcxx_ld_is_gold=yes
66161 fi
66162 ldver=`$LD --version 2>/dev/null |
66163 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'`
66164
66165 glibcxx_gnu_ld_version=`echo $ldver | \
66166 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66168 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66169 fi
66170
66171 # Set --gc-sections.
66172 glibcxx_have_gc_sections=no
66173 if test "$glibcxx_ld_is_gold" = "yes"; then
66174 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66175 glibcxx_have_gc_sections=yes
66176 fi
66177 else
66178 glibcxx_gcsections_min_ld=21602
66179 if test x"$with_gnu_ld" = x"yes" &&
66180 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66181 glibcxx_have_gc_sections=yes
66182 fi
66183 fi
66184 if test "$glibcxx_have_gc_sections" = "yes"; then
66185 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66186 # NB: This flag only works reliably after 2.16.1. Configure tests
66187 # for this are difficult, so hard wire a value that should work.
66188
66189 ac_test_CFLAGS="${CFLAGS+set}"
66190 ac_save_CFLAGS="$CFLAGS"
66191 CFLAGS='-Wl,--gc-sections'
66192
66193 # Check for -Wl,--gc-sections
66194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66195 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66196 if test x$gcc_no_link = xyes; then
66197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66198 fi
66199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66200 /* end confdefs.h. */
66201 int one(void) { return 1; }
66202 int two(void) { return 2; }
66203
66204 int
66205 main ()
66206 {
66207 two();
66208 ;
66209 return 0;
66210 }
66211 _ACEOF
66212 if ac_fn_c_try_link "$LINENO"; then :
66213 ac_gcsections=yes
66214 else
66215 ac_gcsections=no
66216 fi
66217 rm -f core conftest.err conftest.$ac_objext \
66218 conftest$ac_exeext conftest.$ac_ext
66219 if test "$ac_gcsections" = "yes"; then
66220 rm -f conftest.c
66221 touch conftest.c
66222 if $CC -c conftest.c; then
66223 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66224 grep "Warning: gc-sections option ignored" > /dev/null; then
66225 ac_gcsections=no
66226 fi
66227 fi
66228 rm -f conftest.c conftest.o conftest
66229 fi
66230 if test "$ac_gcsections" = "yes"; then
66231 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66232 fi
66233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66234 $as_echo "$ac_gcsections" >&6; }
66235
66236 if test "$ac_test_CFLAGS" = set; then
66237 CFLAGS="$ac_save_CFLAGS"
66238 else
66239 # this is the suspicious part
66240 CFLAGS=''
66241 fi
66242 fi
66243
66244 # Set -z,relro.
66245 # Note this is only for shared objects.
66246 ac_ld_relro=no
66247 if test x"$with_gnu_ld" = x"yes"; then
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66249 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66250 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66251 if test -n "$cxx_z_relo"; then
66252 OPT_LDFLAGS="-Wl,-z,relro"
66253 ac_ld_relro=yes
66254 fi
66255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66256 $as_echo "$ac_ld_relro" >&6; }
66257 fi
66258
66259 # Set linker optimization flags.
66260 if test x"$with_gnu_ld" = x"yes"; then
66261 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66262 fi
66263
66264
66265
66266
66267 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66268
66269 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66270
66271 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66272
66273 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66274
66275 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66276
66277 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66278
66279 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66280
66281 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66282
66283 if test x"long_double_math_on_this_cpu" = x"yes"; then
66284 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66285
66286 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66287
66288 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66289
66290 fi
66291 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66292 do :
66293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66295 eval as_val=\$$as_ac_var
66296 if test "x$as_val" = x""yes; then :
66297 cat >>confdefs.h <<_ACEOF
66298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66299 _ACEOF
66300
66301 fi
66302 done
66303
66304 ;;
66305 *-qnx6.1* | *-qnx6.2*)
66306 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66307
66308
66309 # If we're not using GNU ld, then there's no point in even trying these
66310 # tests. Check for that first. We should have already tested for gld
66311 # by now (in libtool), but require it now just to be safe...
66312 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66313 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66314
66315
66316
66317 # The name set by libtool depends on the version of libtool. Shame on us
66318 # for depending on an impl detail, but c'est la vie. Older versions used
66319 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66320 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66321 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66322 # set (hence we're using an older libtool), then set it.
66323 if test x${with_gnu_ld+set} != xset; then
66324 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66325 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66326 with_gnu_ld=no
66327 else
66328 with_gnu_ld=$ac_cv_prog_gnu_ld
66329 fi
66330 fi
66331
66332 # Start by getting the version number. I think the libtool test already
66333 # does some of this, but throws away the result.
66334 glibcxx_ld_is_gold=no
66335 if test x"$with_gnu_ld" = x"yes"; then
66336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66337 $as_echo_n "checking for ld version... " >&6; }
66338
66339 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66340 glibcxx_ld_is_gold=yes
66341 fi
66342 ldver=`$LD --version 2>/dev/null |
66343 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'`
66344
66345 glibcxx_gnu_ld_version=`echo $ldver | \
66346 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66348 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66349 fi
66350
66351 # Set --gc-sections.
66352 glibcxx_have_gc_sections=no
66353 if test "$glibcxx_ld_is_gold" = "yes"; then
66354 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66355 glibcxx_have_gc_sections=yes
66356 fi
66357 else
66358 glibcxx_gcsections_min_ld=21602
66359 if test x"$with_gnu_ld" = x"yes" &&
66360 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66361 glibcxx_have_gc_sections=yes
66362 fi
66363 fi
66364 if test "$glibcxx_have_gc_sections" = "yes"; then
66365 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66366 # NB: This flag only works reliably after 2.16.1. Configure tests
66367 # for this are difficult, so hard wire a value that should work.
66368
66369 ac_test_CFLAGS="${CFLAGS+set}"
66370 ac_save_CFLAGS="$CFLAGS"
66371 CFLAGS='-Wl,--gc-sections'
66372
66373 # Check for -Wl,--gc-sections
66374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66375 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66376 if test x$gcc_no_link = xyes; then
66377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66378 fi
66379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66380 /* end confdefs.h. */
66381 int one(void) { return 1; }
66382 int two(void) { return 2; }
66383
66384 int
66385 main ()
66386 {
66387 two();
66388 ;
66389 return 0;
66390 }
66391 _ACEOF
66392 if ac_fn_c_try_link "$LINENO"; then :
66393 ac_gcsections=yes
66394 else
66395 ac_gcsections=no
66396 fi
66397 rm -f core conftest.err conftest.$ac_objext \
66398 conftest$ac_exeext conftest.$ac_ext
66399 if test "$ac_gcsections" = "yes"; then
66400 rm -f conftest.c
66401 touch conftest.c
66402 if $CC -c conftest.c; then
66403 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66404 grep "Warning: gc-sections option ignored" > /dev/null; then
66405 ac_gcsections=no
66406 fi
66407 fi
66408 rm -f conftest.c conftest.o conftest
66409 fi
66410 if test "$ac_gcsections" = "yes"; then
66411 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66412 fi
66413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66414 $as_echo "$ac_gcsections" >&6; }
66415
66416 if test "$ac_test_CFLAGS" = set; then
66417 CFLAGS="$ac_save_CFLAGS"
66418 else
66419 # this is the suspicious part
66420 CFLAGS=''
66421 fi
66422 fi
66423
66424 # Set -z,relro.
66425 # Note this is only for shared objects.
66426 ac_ld_relro=no
66427 if test x"$with_gnu_ld" = x"yes"; then
66428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66429 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66430 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66431 if test -n "$cxx_z_relo"; then
66432 OPT_LDFLAGS="-Wl,-z,relro"
66433 ac_ld_relro=yes
66434 fi
66435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66436 $as_echo "$ac_ld_relro" >&6; }
66437 fi
66438
66439 # Set linker optimization flags.
66440 if test x"$with_gnu_ld" = x"yes"; then
66441 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66442 fi
66443
66444
66445
66446
66447 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66448
66449 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66450
66451 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66452
66453 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66454
66455 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66456
66457 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66458
66459 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66460
66461 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66462
66463 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66464
66465 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66466
66467 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66468
66469 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66470
66471 ;;
66472 *-rtems*)
66473
66474 # All these tests are for C++; save the language and the compiler flags.
66475 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66476 # found in GLIBCXX_CONFIGURE.
66477
66478 ac_ext=cpp
66479 ac_cpp='$CXXCPP $CPPFLAGS'
66480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66483
66484 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66485 ac_save_CXXFLAGS="$CXXFLAGS"
66486
66487 # Check for -ffunction-sections -fdata-sections
66488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66489 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66490 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66492 /* end confdefs.h. */
66493 int foo; void bar() { };
66494 int
66495 main ()
66496 {
66497
66498 ;
66499 return 0;
66500 }
66501 _ACEOF
66502 if ac_fn_cxx_try_compile "$LINENO"; then :
66503 ac_fdsections=yes
66504 else
66505 ac_fdsections=no
66506 fi
66507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66508 if test "$ac_test_CXXFLAGS" = set; then
66509 CXXFLAGS="$ac_save_CXXFLAGS"
66510 else
66511 # this is the suspicious part
66512 CXXFLAGS=''
66513 fi
66514 if test x"$ac_fdsections" = x"yes"; then
66515 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66516 fi
66517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66518 $as_echo "$ac_fdsections" >&6; }
66519
66520 ac_ext=c
66521 ac_cpp='$CPP $CPPFLAGS'
66522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66525
66526
66527
66528
66529 # If we're not using GNU ld, then there's no point in even trying these
66530 # tests. Check for that first. We should have already tested for gld
66531 # by now (in libtool), but require it now just to be safe...
66532 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66533 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66534
66535
66536
66537 # The name set by libtool depends on the version of libtool. Shame on us
66538 # for depending on an impl detail, but c'est la vie. Older versions used
66539 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66540 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66541 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66542 # set (hence we're using an older libtool), then set it.
66543 if test x${with_gnu_ld+set} != xset; then
66544 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66545 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66546 with_gnu_ld=no
66547 else
66548 with_gnu_ld=$ac_cv_prog_gnu_ld
66549 fi
66550 fi
66551
66552 # Start by getting the version number. I think the libtool test already
66553 # does some of this, but throws away the result.
66554 glibcxx_ld_is_gold=no
66555 if test x"$with_gnu_ld" = x"yes"; then
66556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66557 $as_echo_n "checking for ld version... " >&6; }
66558
66559 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66560 glibcxx_ld_is_gold=yes
66561 fi
66562 ldver=`$LD --version 2>/dev/null |
66563 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'`
66564
66565 glibcxx_gnu_ld_version=`echo $ldver | \
66566 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66568 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66569 fi
66570
66571 # Set --gc-sections.
66572 glibcxx_have_gc_sections=no
66573 if test "$glibcxx_ld_is_gold" = "yes"; then
66574 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66575 glibcxx_have_gc_sections=yes
66576 fi
66577 else
66578 glibcxx_gcsections_min_ld=21602
66579 if test x"$with_gnu_ld" = x"yes" &&
66580 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66581 glibcxx_have_gc_sections=yes
66582 fi
66583 fi
66584 if test "$glibcxx_have_gc_sections" = "yes"; then
66585 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66586 # NB: This flag only works reliably after 2.16.1. Configure tests
66587 # for this are difficult, so hard wire a value that should work.
66588
66589 ac_test_CFLAGS="${CFLAGS+set}"
66590 ac_save_CFLAGS="$CFLAGS"
66591 CFLAGS='-Wl,--gc-sections'
66592
66593 # Check for -Wl,--gc-sections
66594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66595 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66596 if test x$gcc_no_link = xyes; then
66597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66598 fi
66599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66600 /* end confdefs.h. */
66601 int one(void) { return 1; }
66602 int two(void) { return 2; }
66603
66604 int
66605 main ()
66606 {
66607 two();
66608 ;
66609 return 0;
66610 }
66611 _ACEOF
66612 if ac_fn_c_try_link "$LINENO"; then :
66613 ac_gcsections=yes
66614 else
66615 ac_gcsections=no
66616 fi
66617 rm -f core conftest.err conftest.$ac_objext \
66618 conftest$ac_exeext conftest.$ac_ext
66619 if test "$ac_gcsections" = "yes"; then
66620 rm -f conftest.c
66621 touch conftest.c
66622 if $CC -c conftest.c; then
66623 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66624 grep "Warning: gc-sections option ignored" > /dev/null; then
66625 ac_gcsections=no
66626 fi
66627 fi
66628 rm -f conftest.c conftest.o conftest
66629 fi
66630 if test "$ac_gcsections" = "yes"; then
66631 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66632 fi
66633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66634 $as_echo "$ac_gcsections" >&6; }
66635
66636 if test "$ac_test_CFLAGS" = set; then
66637 CFLAGS="$ac_save_CFLAGS"
66638 else
66639 # this is the suspicious part
66640 CFLAGS=''
66641 fi
66642 fi
66643
66644 # Set -z,relro.
66645 # Note this is only for shared objects.
66646 ac_ld_relro=no
66647 if test x"$with_gnu_ld" = x"yes"; then
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66649 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66650 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66651 if test -n "$cxx_z_relo"; then
66652 OPT_LDFLAGS="-Wl,-z,relro"
66653 ac_ld_relro=yes
66654 fi
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66656 $as_echo "$ac_ld_relro" >&6; }
66657 fi
66658
66659 # Set linker optimization flags.
66660 if test x"$with_gnu_ld" = x"yes"; then
66661 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66662 fi
66663
66664
66665
66666
66667
66668 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66669 ac_save_CXXFLAGS="$CXXFLAGS"
66670 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66671
66672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66673 $as_echo_n "checking for sin in -lm... " >&6; }
66674 if test "${ac_cv_lib_m_sin+set}" = set; then :
66675 $as_echo_n "(cached) " >&6
66676 else
66677 ac_check_lib_save_LIBS=$LIBS
66678 LIBS="-lm $LIBS"
66679 if test x$gcc_no_link = xyes; then
66680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66681 fi
66682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66683 /* end confdefs.h. */
66684
66685 /* Override any GCC internal prototype to avoid an error.
66686 Use char because int might match the return type of a GCC
66687 builtin and then its argument prototype would still apply. */
66688 #ifdef __cplusplus
66689 extern "C"
66690 #endif
66691 char sin ();
66692 int
66693 main ()
66694 {
66695 return sin ();
66696 ;
66697 return 0;
66698 }
66699 _ACEOF
66700 if ac_fn_c_try_link "$LINENO"; then :
66701 ac_cv_lib_m_sin=yes
66702 else
66703 ac_cv_lib_m_sin=no
66704 fi
66705 rm -f core conftest.err conftest.$ac_objext \
66706 conftest$ac_exeext conftest.$ac_ext
66707 LIBS=$ac_check_lib_save_LIBS
66708 fi
66709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66710 $as_echo "$ac_cv_lib_m_sin" >&6; }
66711 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66712 libm="-lm"
66713 fi
66714
66715 ac_save_LIBS="$LIBS"
66716 LIBS="$LIBS $libm"
66717
66718
66719
66720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66721 $as_echo_n "checking for isinf declaration... " >&6; }
66722 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66723 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66724 $as_echo_n "(cached) " >&6
66725 else
66726
66727
66728 ac_ext=cpp
66729 ac_cpp='$CXXCPP $CPPFLAGS'
66730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66733
66734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66735 /* end confdefs.h. */
66736 #include <math.h>
66737 #ifdef HAVE_IEEEFP_H
66738 #include <ieeefp.h>
66739 #endif
66740
66741 int
66742 main ()
66743 {
66744 isinf(0);
66745 ;
66746 return 0;
66747 }
66748 _ACEOF
66749 if ac_fn_cxx_try_compile "$LINENO"; then :
66750 glibcxx_cv_func_isinf_use=yes
66751 else
66752 glibcxx_cv_func_isinf_use=no
66753 fi
66754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66760
66761
66762 fi
66763
66764 fi
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66766 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66767
66768 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66769 for ac_func in isinf
66770 do :
66771 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66772 if test "x$ac_cv_func_isinf" = x""yes; then :
66773 cat >>confdefs.h <<_ACEOF
66774 #define HAVE_ISINF 1
66775 _ACEOF
66776
66777 fi
66778 done
66779
66780 else
66781
66782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66783 $as_echo_n "checking for _isinf declaration... " >&6; }
66784 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66785 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66786 $as_echo_n "(cached) " >&6
66787 else
66788
66789
66790 ac_ext=cpp
66791 ac_cpp='$CXXCPP $CPPFLAGS'
66792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66795
66796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66797 /* end confdefs.h. */
66798 #include <math.h>
66799 #ifdef HAVE_IEEEFP_H
66800 #include <ieeefp.h>
66801 #endif
66802
66803 int
66804 main ()
66805 {
66806 _isinf(0);
66807 ;
66808 return 0;
66809 }
66810 _ACEOF
66811 if ac_fn_cxx_try_compile "$LINENO"; then :
66812 glibcxx_cv_func__isinf_use=yes
66813 else
66814 glibcxx_cv_func__isinf_use=no
66815 fi
66816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66817 ac_ext=c
66818 ac_cpp='$CPP $CPPFLAGS'
66819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66822
66823
66824 fi
66825
66826 fi
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66828 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66829
66830 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66831 for ac_func in _isinf
66832 do :
66833 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66834 if test "x$ac_cv_func__isinf" = x""yes; then :
66835 cat >>confdefs.h <<_ACEOF
66836 #define HAVE__ISINF 1
66837 _ACEOF
66838
66839 fi
66840 done
66841
66842 fi
66843 fi
66844
66845
66846
66847
66848
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66850 $as_echo_n "checking for isnan declaration... " >&6; }
66851 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66852 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
66855
66856
66857 ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66862
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66866 #ifdef HAVE_IEEEFP_H
66867 #include <ieeefp.h>
66868 #endif
66869
66870 int
66871 main ()
66872 {
66873 isnan(0);
66874 ;
66875 return 0;
66876 }
66877 _ACEOF
66878 if ac_fn_cxx_try_compile "$LINENO"; then :
66879 glibcxx_cv_func_isnan_use=yes
66880 else
66881 glibcxx_cv_func_isnan_use=no
66882 fi
66883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66884 ac_ext=c
66885 ac_cpp='$CPP $CPPFLAGS'
66886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66889
66890
66891 fi
66892
66893 fi
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66895 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66896
66897 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66898 for ac_func in isnan
66899 do :
66900 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66901 if test "x$ac_cv_func_isnan" = x""yes; then :
66902 cat >>confdefs.h <<_ACEOF
66903 #define HAVE_ISNAN 1
66904 _ACEOF
66905
66906 fi
66907 done
66908
66909 else
66910
66911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66912 $as_echo_n "checking for _isnan declaration... " >&6; }
66913 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66914 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66915 $as_echo_n "(cached) " >&6
66916 else
66917
66918
66919 ac_ext=cpp
66920 ac_cpp='$CXXCPP $CPPFLAGS'
66921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66924
66925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66926 /* end confdefs.h. */
66927 #include <math.h>
66928 #ifdef HAVE_IEEEFP_H
66929 #include <ieeefp.h>
66930 #endif
66931
66932 int
66933 main ()
66934 {
66935 _isnan(0);
66936 ;
66937 return 0;
66938 }
66939 _ACEOF
66940 if ac_fn_cxx_try_compile "$LINENO"; then :
66941 glibcxx_cv_func__isnan_use=yes
66942 else
66943 glibcxx_cv_func__isnan_use=no
66944 fi
66945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66946 ac_ext=c
66947 ac_cpp='$CPP $CPPFLAGS'
66948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66951
66952
66953 fi
66954
66955 fi
66956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66957 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66958
66959 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66960 for ac_func in _isnan
66961 do :
66962 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66963 if test "x$ac_cv_func__isnan" = x""yes; then :
66964 cat >>confdefs.h <<_ACEOF
66965 #define HAVE__ISNAN 1
66966 _ACEOF
66967
66968 fi
66969 done
66970
66971 fi
66972 fi
66973
66974
66975
66976
66977
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66979 $as_echo_n "checking for finite declaration... " >&6; }
66980 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66981 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66982 $as_echo_n "(cached) " >&6
66983 else
66984
66985
66986 ac_ext=cpp
66987 ac_cpp='$CXXCPP $CPPFLAGS'
66988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66991
66992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66993 /* end confdefs.h. */
66994 #include <math.h>
66995 #ifdef HAVE_IEEEFP_H
66996 #include <ieeefp.h>
66997 #endif
66998
66999 int
67000 main ()
67001 {
67002 finite(0);
67003 ;
67004 return 0;
67005 }
67006 _ACEOF
67007 if ac_fn_cxx_try_compile "$LINENO"; then :
67008 glibcxx_cv_func_finite_use=yes
67009 else
67010 glibcxx_cv_func_finite_use=no
67011 fi
67012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67013 ac_ext=c
67014 ac_cpp='$CPP $CPPFLAGS'
67015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67018
67019
67020 fi
67021
67022 fi
67023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67024 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67025
67026 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67027 for ac_func in finite
67028 do :
67029 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67030 if test "x$ac_cv_func_finite" = x""yes; then :
67031 cat >>confdefs.h <<_ACEOF
67032 #define HAVE_FINITE 1
67033 _ACEOF
67034
67035 fi
67036 done
67037
67038 else
67039
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67041 $as_echo_n "checking for _finite declaration... " >&6; }
67042 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67043 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67044 $as_echo_n "(cached) " >&6
67045 else
67046
67047
67048 ac_ext=cpp
67049 ac_cpp='$CXXCPP $CPPFLAGS'
67050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67053
67054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67055 /* end confdefs.h. */
67056 #include <math.h>
67057 #ifdef HAVE_IEEEFP_H
67058 #include <ieeefp.h>
67059 #endif
67060
67061 int
67062 main ()
67063 {
67064 _finite(0);
67065 ;
67066 return 0;
67067 }
67068 _ACEOF
67069 if ac_fn_cxx_try_compile "$LINENO"; then :
67070 glibcxx_cv_func__finite_use=yes
67071 else
67072 glibcxx_cv_func__finite_use=no
67073 fi
67074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67075 ac_ext=c
67076 ac_cpp='$CPP $CPPFLAGS'
67077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67080
67081
67082 fi
67083
67084 fi
67085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67086 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67087
67088 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67089 for ac_func in _finite
67090 do :
67091 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67092 if test "x$ac_cv_func__finite" = x""yes; then :
67093 cat >>confdefs.h <<_ACEOF
67094 #define HAVE__FINITE 1
67095 _ACEOF
67096
67097 fi
67098 done
67099
67100 fi
67101 fi
67102
67103
67104
67105
67106
67107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67108 $as_echo_n "checking for sincos declaration... " >&6; }
67109 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67110 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67111 $as_echo_n "(cached) " >&6
67112 else
67113
67114
67115 ac_ext=cpp
67116 ac_cpp='$CXXCPP $CPPFLAGS'
67117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67120
67121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67122 /* end confdefs.h. */
67123 #include <math.h>
67124 int
67125 main ()
67126 {
67127 sincos(0, 0, 0);
67128 ;
67129 return 0;
67130 }
67131 _ACEOF
67132 if ac_fn_cxx_try_compile "$LINENO"; then :
67133 glibcxx_cv_func_sincos_use=yes
67134 else
67135 glibcxx_cv_func_sincos_use=no
67136 fi
67137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67138 ac_ext=c
67139 ac_cpp='$CPP $CPPFLAGS'
67140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67143
67144
67145 fi
67146
67147 fi
67148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67149 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67150
67151 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67152 for ac_func in sincos
67153 do :
67154 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67155 if test "x$ac_cv_func_sincos" = x""yes; then :
67156 cat >>confdefs.h <<_ACEOF
67157 #define HAVE_SINCOS 1
67158 _ACEOF
67159
67160 fi
67161 done
67162
67163 else
67164
67165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67166 $as_echo_n "checking for _sincos declaration... " >&6; }
67167 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67168 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67169 $as_echo_n "(cached) " >&6
67170 else
67171
67172
67173 ac_ext=cpp
67174 ac_cpp='$CXXCPP $CPPFLAGS'
67175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67178
67179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67180 /* end confdefs.h. */
67181 #include <math.h>
67182 int
67183 main ()
67184 {
67185 _sincos(0, 0, 0);
67186 ;
67187 return 0;
67188 }
67189 _ACEOF
67190 if ac_fn_cxx_try_compile "$LINENO"; then :
67191 glibcxx_cv_func__sincos_use=yes
67192 else
67193 glibcxx_cv_func__sincos_use=no
67194 fi
67195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67196 ac_ext=c
67197 ac_cpp='$CPP $CPPFLAGS'
67198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67201
67202
67203 fi
67204
67205 fi
67206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67207 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67208
67209 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67210 for ac_func in _sincos
67211 do :
67212 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67213 if test "x$ac_cv_func__sincos" = x""yes; then :
67214 cat >>confdefs.h <<_ACEOF
67215 #define HAVE__SINCOS 1
67216 _ACEOF
67217
67218 fi
67219 done
67220
67221 fi
67222 fi
67223
67224
67225
67226
67227
67228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67229 $as_echo_n "checking for fpclass declaration... " >&6; }
67230 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67231 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67232 $as_echo_n "(cached) " >&6
67233 else
67234
67235
67236 ac_ext=cpp
67237 ac_cpp='$CXXCPP $CPPFLAGS'
67238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67241
67242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67243 /* end confdefs.h. */
67244 #include <math.h>
67245 #ifdef HAVE_IEEEFP_H
67246 #include <ieeefp.h>
67247 #endif
67248
67249 int
67250 main ()
67251 {
67252 fpclass(0);
67253 ;
67254 return 0;
67255 }
67256 _ACEOF
67257 if ac_fn_cxx_try_compile "$LINENO"; then :
67258 glibcxx_cv_func_fpclass_use=yes
67259 else
67260 glibcxx_cv_func_fpclass_use=no
67261 fi
67262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67263 ac_ext=c
67264 ac_cpp='$CPP $CPPFLAGS'
67265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67268
67269
67270 fi
67271
67272 fi
67273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67274 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67275
67276 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67277 for ac_func in fpclass
67278 do :
67279 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67280 if test "x$ac_cv_func_fpclass" = x""yes; then :
67281 cat >>confdefs.h <<_ACEOF
67282 #define HAVE_FPCLASS 1
67283 _ACEOF
67284
67285 fi
67286 done
67287
67288 else
67289
67290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67291 $as_echo_n "checking for _fpclass declaration... " >&6; }
67292 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67293 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67294 $as_echo_n "(cached) " >&6
67295 else
67296
67297
67298 ac_ext=cpp
67299 ac_cpp='$CXXCPP $CPPFLAGS'
67300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67303
67304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67305 /* end confdefs.h. */
67306 #include <math.h>
67307 #ifdef HAVE_IEEEFP_H
67308 #include <ieeefp.h>
67309 #endif
67310
67311 int
67312 main ()
67313 {
67314 _fpclass(0);
67315 ;
67316 return 0;
67317 }
67318 _ACEOF
67319 if ac_fn_cxx_try_compile "$LINENO"; then :
67320 glibcxx_cv_func__fpclass_use=yes
67321 else
67322 glibcxx_cv_func__fpclass_use=no
67323 fi
67324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67325 ac_ext=c
67326 ac_cpp='$CPP $CPPFLAGS'
67327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67330
67331
67332 fi
67333
67334 fi
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67336 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67337
67338 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67339 for ac_func in _fpclass
67340 do :
67341 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67342 if test "x$ac_cv_func__fpclass" = x""yes; then :
67343 cat >>confdefs.h <<_ACEOF
67344 #define HAVE__FPCLASS 1
67345 _ACEOF
67346
67347 fi
67348 done
67349
67350 fi
67351 fi
67352
67353
67354
67355
67356
67357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67358 $as_echo_n "checking for qfpclass declaration... " >&6; }
67359 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67360 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67361 $as_echo_n "(cached) " >&6
67362 else
67363
67364
67365 ac_ext=cpp
67366 ac_cpp='$CXXCPP $CPPFLAGS'
67367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67370
67371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67372 /* end confdefs.h. */
67373 #include <math.h>
67374 #ifdef HAVE_IEEEFP_H
67375 #include <ieeefp.h>
67376 #endif
67377
67378 int
67379 main ()
67380 {
67381 qfpclass(0);
67382 ;
67383 return 0;
67384 }
67385 _ACEOF
67386 if ac_fn_cxx_try_compile "$LINENO"; then :
67387 glibcxx_cv_func_qfpclass_use=yes
67388 else
67389 glibcxx_cv_func_qfpclass_use=no
67390 fi
67391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67392 ac_ext=c
67393 ac_cpp='$CPP $CPPFLAGS'
67394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67397
67398
67399 fi
67400
67401 fi
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67403 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67404
67405 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67406 for ac_func in qfpclass
67407 do :
67408 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67409 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67410 cat >>confdefs.h <<_ACEOF
67411 #define HAVE_QFPCLASS 1
67412 _ACEOF
67413
67414 fi
67415 done
67416
67417 else
67418
67419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67420 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67421 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67422 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67423 $as_echo_n "(cached) " >&6
67424 else
67425
67426
67427 ac_ext=cpp
67428 ac_cpp='$CXXCPP $CPPFLAGS'
67429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67432
67433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67434 /* end confdefs.h. */
67435 #include <math.h>
67436 #ifdef HAVE_IEEEFP_H
67437 #include <ieeefp.h>
67438 #endif
67439
67440 int
67441 main ()
67442 {
67443 _qfpclass(0);
67444 ;
67445 return 0;
67446 }
67447 _ACEOF
67448 if ac_fn_cxx_try_compile "$LINENO"; then :
67449 glibcxx_cv_func__qfpclass_use=yes
67450 else
67451 glibcxx_cv_func__qfpclass_use=no
67452 fi
67453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67454 ac_ext=c
67455 ac_cpp='$CPP $CPPFLAGS'
67456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67459
67460
67461 fi
67462
67463 fi
67464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67465 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67466
67467 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67468 for ac_func in _qfpclass
67469 do :
67470 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67471 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67472 cat >>confdefs.h <<_ACEOF
67473 #define HAVE__QFPCLASS 1
67474 _ACEOF
67475
67476 fi
67477 done
67478
67479 fi
67480 fi
67481
67482
67483
67484
67485
67486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67487 $as_echo_n "checking for hypot declaration... " >&6; }
67488 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67489 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67490 $as_echo_n "(cached) " >&6
67491 else
67492
67493
67494 ac_ext=cpp
67495 ac_cpp='$CXXCPP $CPPFLAGS'
67496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67499
67500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67501 /* end confdefs.h. */
67502 #include <math.h>
67503 int
67504 main ()
67505 {
67506 hypot(0, 0);
67507 ;
67508 return 0;
67509 }
67510 _ACEOF
67511 if ac_fn_cxx_try_compile "$LINENO"; then :
67512 glibcxx_cv_func_hypot_use=yes
67513 else
67514 glibcxx_cv_func_hypot_use=no
67515 fi
67516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67517 ac_ext=c
67518 ac_cpp='$CPP $CPPFLAGS'
67519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67522
67523
67524 fi
67525
67526 fi
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67528 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67529
67530 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67531 for ac_func in hypot
67532 do :
67533 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67534 if test "x$ac_cv_func_hypot" = x""yes; then :
67535 cat >>confdefs.h <<_ACEOF
67536 #define HAVE_HYPOT 1
67537 _ACEOF
67538
67539 fi
67540 done
67541
67542 else
67543
67544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67545 $as_echo_n "checking for _hypot declaration... " >&6; }
67546 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67547 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67548 $as_echo_n "(cached) " >&6
67549 else
67550
67551
67552 ac_ext=cpp
67553 ac_cpp='$CXXCPP $CPPFLAGS'
67554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67557
67558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67559 /* end confdefs.h. */
67560 #include <math.h>
67561 int
67562 main ()
67563 {
67564 _hypot(0, 0);
67565 ;
67566 return 0;
67567 }
67568 _ACEOF
67569 if ac_fn_cxx_try_compile "$LINENO"; then :
67570 glibcxx_cv_func__hypot_use=yes
67571 else
67572 glibcxx_cv_func__hypot_use=no
67573 fi
67574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67575 ac_ext=c
67576 ac_cpp='$CPP $CPPFLAGS'
67577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67580
67581
67582 fi
67583
67584 fi
67585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67586 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67587
67588 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67589 for ac_func in _hypot
67590 do :
67591 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67592 if test "x$ac_cv_func__hypot" = x""yes; then :
67593 cat >>confdefs.h <<_ACEOF
67594 #define HAVE__HYPOT 1
67595 _ACEOF
67596
67597 fi
67598 done
67599
67600 fi
67601 fi
67602
67603
67604
67605
67606
67607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67608 $as_echo_n "checking for float trig functions... " >&6; }
67609 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67610 $as_echo_n "(cached) " >&6
67611 else
67612
67613
67614 ac_ext=cpp
67615 ac_cpp='$CXXCPP $CPPFLAGS'
67616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67619
67620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67621 /* end confdefs.h. */
67622 #include <math.h>
67623 int
67624 main ()
67625 {
67626 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67627 ;
67628 return 0;
67629 }
67630 _ACEOF
67631 if ac_fn_cxx_try_compile "$LINENO"; then :
67632 glibcxx_cv_func_float_trig_use=yes
67633 else
67634 glibcxx_cv_func_float_trig_use=no
67635 fi
67636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67637 ac_ext=c
67638 ac_cpp='$CPP $CPPFLAGS'
67639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67642
67643 fi
67644
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67646 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67647 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67648 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67649 do :
67650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67652 eval as_val=\$$as_ac_var
67653 if test "x$as_val" = x""yes; then :
67654 cat >>confdefs.h <<_ACEOF
67655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67656 _ACEOF
67657
67658 fi
67659 done
67660
67661 else
67662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67663 $as_echo_n "checking for _float trig functions... " >&6; }
67664 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67665 $as_echo_n "(cached) " >&6
67666 else
67667
67668
67669 ac_ext=cpp
67670 ac_cpp='$CXXCPP $CPPFLAGS'
67671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67674
67675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67676 /* end confdefs.h. */
67677 #include <math.h>
67678 int
67679 main ()
67680 {
67681 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67682 ;
67683 return 0;
67684 }
67685 _ACEOF
67686 if ac_fn_cxx_try_compile "$LINENO"; then :
67687 glibcxx_cv_func__float_trig_use=yes
67688 else
67689 glibcxx_cv_func__float_trig_use=no
67690 fi
67691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67692 ac_ext=c
67693 ac_cpp='$CPP $CPPFLAGS'
67694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67697
67698 fi
67699
67700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67701 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67702 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67703 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67704 do :
67705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67707 eval as_val=\$$as_ac_var
67708 if test "x$as_val" = x""yes; then :
67709 cat >>confdefs.h <<_ACEOF
67710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67711 _ACEOF
67712
67713 fi
67714 done
67715
67716 fi
67717 fi
67718
67719
67720
67721
67722
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67724 $as_echo_n "checking for float round functions... " >&6; }
67725 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67726 $as_echo_n "(cached) " >&6
67727 else
67728
67729
67730 ac_ext=cpp
67731 ac_cpp='$CXXCPP $CPPFLAGS'
67732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67735
67736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67737 /* end confdefs.h. */
67738 #include <math.h>
67739 int
67740 main ()
67741 {
67742 ceilf (0); floorf (0);
67743 ;
67744 return 0;
67745 }
67746 _ACEOF
67747 if ac_fn_cxx_try_compile "$LINENO"; then :
67748 glibcxx_cv_func_float_round_use=yes
67749 else
67750 glibcxx_cv_func_float_round_use=no
67751 fi
67752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67753 ac_ext=c
67754 ac_cpp='$CPP $CPPFLAGS'
67755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67758
67759 fi
67760
67761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67762 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67763 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67764 for ac_func in ceilf floorf
67765 do :
67766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67768 eval as_val=\$$as_ac_var
67769 if test "x$as_val" = x""yes; then :
67770 cat >>confdefs.h <<_ACEOF
67771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67772 _ACEOF
67773
67774 fi
67775 done
67776
67777 else
67778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67779 $as_echo_n "checking for _float round functions... " >&6; }
67780 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67781 $as_echo_n "(cached) " >&6
67782 else
67783
67784
67785 ac_ext=cpp
67786 ac_cpp='$CXXCPP $CPPFLAGS'
67787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67790
67791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67792 /* end confdefs.h. */
67793 #include <math.h>
67794 int
67795 main ()
67796 {
67797 _ceilf (0); _floorf (0);
67798 ;
67799 return 0;
67800 }
67801 _ACEOF
67802 if ac_fn_cxx_try_compile "$LINENO"; then :
67803 glibcxx_cv_func__float_round_use=yes
67804 else
67805 glibcxx_cv_func__float_round_use=no
67806 fi
67807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67808 ac_ext=c
67809 ac_cpp='$CPP $CPPFLAGS'
67810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67813
67814 fi
67815
67816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67817 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67818 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67819 for ac_func in _ceilf _floorf
67820 do :
67821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67823 eval as_val=\$$as_ac_var
67824 if test "x$as_val" = x""yes; then :
67825 cat >>confdefs.h <<_ACEOF
67826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67827 _ACEOF
67828
67829 fi
67830 done
67831
67832 fi
67833 fi
67834
67835
67836
67837
67838
67839
67840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67841 $as_echo_n "checking for expf declaration... " >&6; }
67842 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67843 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67844 $as_echo_n "(cached) " >&6
67845 else
67846
67847
67848 ac_ext=cpp
67849 ac_cpp='$CXXCPP $CPPFLAGS'
67850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67853
67854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67855 /* end confdefs.h. */
67856 #include <math.h>
67857 #ifdef HAVE_IEEEFP_H
67858 #include <ieeefp.h>
67859 #endif
67860
67861 int
67862 main ()
67863 {
67864 expf(0);
67865 ;
67866 return 0;
67867 }
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func_expf_use=yes
67871 else
67872 glibcxx_cv_func_expf_use=no
67873 fi
67874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67875 ac_ext=c
67876 ac_cpp='$CPP $CPPFLAGS'
67877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67880
67881
67882 fi
67883
67884 fi
67885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67886 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67887
67888 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67889 for ac_func in expf
67890 do :
67891 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67892 if test "x$ac_cv_func_expf" = x""yes; then :
67893 cat >>confdefs.h <<_ACEOF
67894 #define HAVE_EXPF 1
67895 _ACEOF
67896
67897 fi
67898 done
67899
67900 else
67901
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67903 $as_echo_n "checking for _expf declaration... " >&6; }
67904 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67905 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67906 $as_echo_n "(cached) " >&6
67907 else
67908
67909
67910 ac_ext=cpp
67911 ac_cpp='$CXXCPP $CPPFLAGS'
67912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67915
67916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67917 /* end confdefs.h. */
67918 #include <math.h>
67919 #ifdef HAVE_IEEEFP_H
67920 #include <ieeefp.h>
67921 #endif
67922
67923 int
67924 main ()
67925 {
67926 _expf(0);
67927 ;
67928 return 0;
67929 }
67930 _ACEOF
67931 if ac_fn_cxx_try_compile "$LINENO"; then :
67932 glibcxx_cv_func__expf_use=yes
67933 else
67934 glibcxx_cv_func__expf_use=no
67935 fi
67936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67937 ac_ext=c
67938 ac_cpp='$CPP $CPPFLAGS'
67939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67942
67943
67944 fi
67945
67946 fi
67947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67948 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67949
67950 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67951 for ac_func in _expf
67952 do :
67953 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67954 if test "x$ac_cv_func__expf" = x""yes; then :
67955 cat >>confdefs.h <<_ACEOF
67956 #define HAVE__EXPF 1
67957 _ACEOF
67958
67959 fi
67960 done
67961
67962 fi
67963 fi
67964
67965
67966
67967
67968
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67970 $as_echo_n "checking for isnanf declaration... " >&6; }
67971 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67972 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67973 $as_echo_n "(cached) " >&6
67974 else
67975
67976
67977 ac_ext=cpp
67978 ac_cpp='$CXXCPP $CPPFLAGS'
67979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67982
67983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67984 /* end confdefs.h. */
67985 #include <math.h>
67986 #ifdef HAVE_IEEEFP_H
67987 #include <ieeefp.h>
67988 #endif
67989
67990 int
67991 main ()
67992 {
67993 isnanf(0);
67994 ;
67995 return 0;
67996 }
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func_isnanf_use=yes
68000 else
68001 glibcxx_cv_func_isnanf_use=no
68002 fi
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68009
68010
68011 fi
68012
68013 fi
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68015 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68016
68017 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68018 for ac_func in isnanf
68019 do :
68020 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68021 if test "x$ac_cv_func_isnanf" = x""yes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE_ISNANF 1
68024 _ACEOF
68025
68026 fi
68027 done
68028
68029 else
68030
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68032 $as_echo_n "checking for _isnanf declaration... " >&6; }
68033 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68034 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68035 $as_echo_n "(cached) " >&6
68036 else
68037
68038
68039 ac_ext=cpp
68040 ac_cpp='$CXXCPP $CPPFLAGS'
68041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68044
68045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68046 /* end confdefs.h. */
68047 #include <math.h>
68048 #ifdef HAVE_IEEEFP_H
68049 #include <ieeefp.h>
68050 #endif
68051
68052 int
68053 main ()
68054 {
68055 _isnanf(0);
68056 ;
68057 return 0;
68058 }
68059 _ACEOF
68060 if ac_fn_cxx_try_compile "$LINENO"; then :
68061 glibcxx_cv_func__isnanf_use=yes
68062 else
68063 glibcxx_cv_func__isnanf_use=no
68064 fi
68065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68066 ac_ext=c
68067 ac_cpp='$CPP $CPPFLAGS'
68068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68071
68072
68073 fi
68074
68075 fi
68076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68077 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68078
68079 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68080 for ac_func in _isnanf
68081 do :
68082 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68083 if test "x$ac_cv_func__isnanf" = x""yes; then :
68084 cat >>confdefs.h <<_ACEOF
68085 #define HAVE__ISNANF 1
68086 _ACEOF
68087
68088 fi
68089 done
68090
68091 fi
68092 fi
68093
68094
68095
68096
68097
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68099 $as_echo_n "checking for isinff declaration... " >&6; }
68100 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68101 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68102 $as_echo_n "(cached) " >&6
68103 else
68104
68105
68106 ac_ext=cpp
68107 ac_cpp='$CXXCPP $CPPFLAGS'
68108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111
68112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68113 /* end confdefs.h. */
68114 #include <math.h>
68115 #ifdef HAVE_IEEEFP_H
68116 #include <ieeefp.h>
68117 #endif
68118
68119 int
68120 main ()
68121 {
68122 isinff(0);
68123 ;
68124 return 0;
68125 }
68126 _ACEOF
68127 if ac_fn_cxx_try_compile "$LINENO"; then :
68128 glibcxx_cv_func_isinff_use=yes
68129 else
68130 glibcxx_cv_func_isinff_use=no
68131 fi
68132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68133 ac_ext=c
68134 ac_cpp='$CPP $CPPFLAGS'
68135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68138
68139
68140 fi
68141
68142 fi
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68144 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68145
68146 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68147 for ac_func in isinff
68148 do :
68149 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68150 if test "x$ac_cv_func_isinff" = x""yes; then :
68151 cat >>confdefs.h <<_ACEOF
68152 #define HAVE_ISINFF 1
68153 _ACEOF
68154
68155 fi
68156 done
68157
68158 else
68159
68160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68161 $as_echo_n "checking for _isinff declaration... " >&6; }
68162 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68163 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68164 $as_echo_n "(cached) " >&6
68165 else
68166
68167
68168 ac_ext=cpp
68169 ac_cpp='$CXXCPP $CPPFLAGS'
68170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68173
68174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68175 /* end confdefs.h. */
68176 #include <math.h>
68177 #ifdef HAVE_IEEEFP_H
68178 #include <ieeefp.h>
68179 #endif
68180
68181 int
68182 main ()
68183 {
68184 _isinff(0);
68185 ;
68186 return 0;
68187 }
68188 _ACEOF
68189 if ac_fn_cxx_try_compile "$LINENO"; then :
68190 glibcxx_cv_func__isinff_use=yes
68191 else
68192 glibcxx_cv_func__isinff_use=no
68193 fi
68194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68195 ac_ext=c
68196 ac_cpp='$CPP $CPPFLAGS'
68197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68200
68201
68202 fi
68203
68204 fi
68205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68206 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68207
68208 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68209 for ac_func in _isinff
68210 do :
68211 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68212 if test "x$ac_cv_func__isinff" = x""yes; then :
68213 cat >>confdefs.h <<_ACEOF
68214 #define HAVE__ISINFF 1
68215 _ACEOF
68216
68217 fi
68218 done
68219
68220 fi
68221 fi
68222
68223
68224
68225
68226
68227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68228 $as_echo_n "checking for atan2f declaration... " >&6; }
68229 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68230 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68231 $as_echo_n "(cached) " >&6
68232 else
68233
68234
68235 ac_ext=cpp
68236 ac_cpp='$CXXCPP $CPPFLAGS'
68237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68240
68241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68242 /* end confdefs.h. */
68243 #include <math.h>
68244 int
68245 main ()
68246 {
68247 atan2f(0, 0);
68248 ;
68249 return 0;
68250 }
68251 _ACEOF
68252 if ac_fn_cxx_try_compile "$LINENO"; then :
68253 glibcxx_cv_func_atan2f_use=yes
68254 else
68255 glibcxx_cv_func_atan2f_use=no
68256 fi
68257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68258 ac_ext=c
68259 ac_cpp='$CPP $CPPFLAGS'
68260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68263
68264
68265 fi
68266
68267 fi
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68269 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68270
68271 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68272 for ac_func in atan2f
68273 do :
68274 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68275 if test "x$ac_cv_func_atan2f" = x""yes; then :
68276 cat >>confdefs.h <<_ACEOF
68277 #define HAVE_ATAN2F 1
68278 _ACEOF
68279
68280 fi
68281 done
68282
68283 else
68284
68285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68286 $as_echo_n "checking for _atan2f declaration... " >&6; }
68287 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68288 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68289 $as_echo_n "(cached) " >&6
68290 else
68291
68292
68293 ac_ext=cpp
68294 ac_cpp='$CXXCPP $CPPFLAGS'
68295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68298
68299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68300 /* end confdefs.h. */
68301 #include <math.h>
68302 int
68303 main ()
68304 {
68305 _atan2f(0, 0);
68306 ;
68307 return 0;
68308 }
68309 _ACEOF
68310 if ac_fn_cxx_try_compile "$LINENO"; then :
68311 glibcxx_cv_func__atan2f_use=yes
68312 else
68313 glibcxx_cv_func__atan2f_use=no
68314 fi
68315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68316 ac_ext=c
68317 ac_cpp='$CPP $CPPFLAGS'
68318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68321
68322
68323 fi
68324
68325 fi
68326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68327 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68328
68329 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68330 for ac_func in _atan2f
68331 do :
68332 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68333 if test "x$ac_cv_func__atan2f" = x""yes; then :
68334 cat >>confdefs.h <<_ACEOF
68335 #define HAVE__ATAN2F 1
68336 _ACEOF
68337
68338 fi
68339 done
68340
68341 fi
68342 fi
68343
68344
68345
68346
68347
68348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68349 $as_echo_n "checking for fabsf declaration... " >&6; }
68350 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68351 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68352 $as_echo_n "(cached) " >&6
68353 else
68354
68355
68356 ac_ext=cpp
68357 ac_cpp='$CXXCPP $CPPFLAGS'
68358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68361
68362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68363 /* end confdefs.h. */
68364 #include <math.h>
68365 #ifdef HAVE_IEEEFP_H
68366 #include <ieeefp.h>
68367 #endif
68368
68369 int
68370 main ()
68371 {
68372 fabsf(0);
68373 ;
68374 return 0;
68375 }
68376 _ACEOF
68377 if ac_fn_cxx_try_compile "$LINENO"; then :
68378 glibcxx_cv_func_fabsf_use=yes
68379 else
68380 glibcxx_cv_func_fabsf_use=no
68381 fi
68382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68383 ac_ext=c
68384 ac_cpp='$CPP $CPPFLAGS'
68385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68388
68389
68390 fi
68391
68392 fi
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68394 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68395
68396 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68397 for ac_func in fabsf
68398 do :
68399 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68400 if test "x$ac_cv_func_fabsf" = x""yes; then :
68401 cat >>confdefs.h <<_ACEOF
68402 #define HAVE_FABSF 1
68403 _ACEOF
68404
68405 fi
68406 done
68407
68408 else
68409
68410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68411 $as_echo_n "checking for _fabsf declaration... " >&6; }
68412 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68413 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68414 $as_echo_n "(cached) " >&6
68415 else
68416
68417
68418 ac_ext=cpp
68419 ac_cpp='$CXXCPP $CPPFLAGS'
68420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68423
68424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68425 /* end confdefs.h. */
68426 #include <math.h>
68427 #ifdef HAVE_IEEEFP_H
68428 #include <ieeefp.h>
68429 #endif
68430
68431 int
68432 main ()
68433 {
68434 _fabsf(0);
68435 ;
68436 return 0;
68437 }
68438 _ACEOF
68439 if ac_fn_cxx_try_compile "$LINENO"; then :
68440 glibcxx_cv_func__fabsf_use=yes
68441 else
68442 glibcxx_cv_func__fabsf_use=no
68443 fi
68444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68445 ac_ext=c
68446 ac_cpp='$CPP $CPPFLAGS'
68447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68450
68451
68452 fi
68453
68454 fi
68455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68456 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68457
68458 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68459 for ac_func in _fabsf
68460 do :
68461 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68462 if test "x$ac_cv_func__fabsf" = x""yes; then :
68463 cat >>confdefs.h <<_ACEOF
68464 #define HAVE__FABSF 1
68465 _ACEOF
68466
68467 fi
68468 done
68469
68470 fi
68471 fi
68472
68473
68474
68475
68476
68477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68478 $as_echo_n "checking for fmodf declaration... " >&6; }
68479 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68480 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68481 $as_echo_n "(cached) " >&6
68482 else
68483
68484
68485 ac_ext=cpp
68486 ac_cpp='$CXXCPP $CPPFLAGS'
68487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490
68491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68492 /* end confdefs.h. */
68493 #include <math.h>
68494 int
68495 main ()
68496 {
68497 fmodf(0, 0);
68498 ;
68499 return 0;
68500 }
68501 _ACEOF
68502 if ac_fn_cxx_try_compile "$LINENO"; then :
68503 glibcxx_cv_func_fmodf_use=yes
68504 else
68505 glibcxx_cv_func_fmodf_use=no
68506 fi
68507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68508 ac_ext=c
68509 ac_cpp='$CPP $CPPFLAGS'
68510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68513
68514
68515 fi
68516
68517 fi
68518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68519 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68520
68521 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68522 for ac_func in fmodf
68523 do :
68524 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68525 if test "x$ac_cv_func_fmodf" = x""yes; then :
68526 cat >>confdefs.h <<_ACEOF
68527 #define HAVE_FMODF 1
68528 _ACEOF
68529
68530 fi
68531 done
68532
68533 else
68534
68535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68536 $as_echo_n "checking for _fmodf declaration... " >&6; }
68537 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68538 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68539 $as_echo_n "(cached) " >&6
68540 else
68541
68542
68543 ac_ext=cpp
68544 ac_cpp='$CXXCPP $CPPFLAGS'
68545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68548
68549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68550 /* end confdefs.h. */
68551 #include <math.h>
68552 int
68553 main ()
68554 {
68555 _fmodf(0, 0);
68556 ;
68557 return 0;
68558 }
68559 _ACEOF
68560 if ac_fn_cxx_try_compile "$LINENO"; then :
68561 glibcxx_cv_func__fmodf_use=yes
68562 else
68563 glibcxx_cv_func__fmodf_use=no
68564 fi
68565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68566 ac_ext=c
68567 ac_cpp='$CPP $CPPFLAGS'
68568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68571
68572
68573 fi
68574
68575 fi
68576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68577 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68578
68579 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68580 for ac_func in _fmodf
68581 do :
68582 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68583 if test "x$ac_cv_func__fmodf" = x""yes; then :
68584 cat >>confdefs.h <<_ACEOF
68585 #define HAVE__FMODF 1
68586 _ACEOF
68587
68588 fi
68589 done
68590
68591 fi
68592 fi
68593
68594
68595
68596
68597
68598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68599 $as_echo_n "checking for frexpf declaration... " >&6; }
68600 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68601 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68602 $as_echo_n "(cached) " >&6
68603 else
68604
68605
68606 ac_ext=cpp
68607 ac_cpp='$CXXCPP $CPPFLAGS'
68608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68611
68612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68613 /* end confdefs.h. */
68614 #include <math.h>
68615 int
68616 main ()
68617 {
68618 frexpf(0, 0);
68619 ;
68620 return 0;
68621 }
68622 _ACEOF
68623 if ac_fn_cxx_try_compile "$LINENO"; then :
68624 glibcxx_cv_func_frexpf_use=yes
68625 else
68626 glibcxx_cv_func_frexpf_use=no
68627 fi
68628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68629 ac_ext=c
68630 ac_cpp='$CPP $CPPFLAGS'
68631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68634
68635
68636 fi
68637
68638 fi
68639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68640 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68641
68642 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68643 for ac_func in frexpf
68644 do :
68645 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68646 if test "x$ac_cv_func_frexpf" = x""yes; then :
68647 cat >>confdefs.h <<_ACEOF
68648 #define HAVE_FREXPF 1
68649 _ACEOF
68650
68651 fi
68652 done
68653
68654 else
68655
68656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68657 $as_echo_n "checking for _frexpf declaration... " >&6; }
68658 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68659 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68660 $as_echo_n "(cached) " >&6
68661 else
68662
68663
68664 ac_ext=cpp
68665 ac_cpp='$CXXCPP $CPPFLAGS'
68666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68669
68670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68671 /* end confdefs.h. */
68672 #include <math.h>
68673 int
68674 main ()
68675 {
68676 _frexpf(0, 0);
68677 ;
68678 return 0;
68679 }
68680 _ACEOF
68681 if ac_fn_cxx_try_compile "$LINENO"; then :
68682 glibcxx_cv_func__frexpf_use=yes
68683 else
68684 glibcxx_cv_func__frexpf_use=no
68685 fi
68686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68687 ac_ext=c
68688 ac_cpp='$CPP $CPPFLAGS'
68689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68692
68693
68694 fi
68695
68696 fi
68697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68698 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68699
68700 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68701 for ac_func in _frexpf
68702 do :
68703 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68704 if test "x$ac_cv_func__frexpf" = x""yes; then :
68705 cat >>confdefs.h <<_ACEOF
68706 #define HAVE__FREXPF 1
68707 _ACEOF
68708
68709 fi
68710 done
68711
68712 fi
68713 fi
68714
68715
68716
68717
68718
68719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68720 $as_echo_n "checking for hypotf declaration... " >&6; }
68721 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68722 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68723 $as_echo_n "(cached) " >&6
68724 else
68725
68726
68727 ac_ext=cpp
68728 ac_cpp='$CXXCPP $CPPFLAGS'
68729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68732
68733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68734 /* end confdefs.h. */
68735 #include <math.h>
68736 int
68737 main ()
68738 {
68739 hypotf(0, 0);
68740 ;
68741 return 0;
68742 }
68743 _ACEOF
68744 if ac_fn_cxx_try_compile "$LINENO"; then :
68745 glibcxx_cv_func_hypotf_use=yes
68746 else
68747 glibcxx_cv_func_hypotf_use=no
68748 fi
68749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68750 ac_ext=c
68751 ac_cpp='$CPP $CPPFLAGS'
68752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68755
68756
68757 fi
68758
68759 fi
68760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68761 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68762
68763 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68764 for ac_func in hypotf
68765 do :
68766 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68767 if test "x$ac_cv_func_hypotf" = x""yes; then :
68768 cat >>confdefs.h <<_ACEOF
68769 #define HAVE_HYPOTF 1
68770 _ACEOF
68771
68772 fi
68773 done
68774
68775 else
68776
68777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68778 $as_echo_n "checking for _hypotf declaration... " >&6; }
68779 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68780 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68781 $as_echo_n "(cached) " >&6
68782 else
68783
68784
68785 ac_ext=cpp
68786 ac_cpp='$CXXCPP $CPPFLAGS'
68787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68790
68791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68792 /* end confdefs.h. */
68793 #include <math.h>
68794 int
68795 main ()
68796 {
68797 _hypotf(0, 0);
68798 ;
68799 return 0;
68800 }
68801 _ACEOF
68802 if ac_fn_cxx_try_compile "$LINENO"; then :
68803 glibcxx_cv_func__hypotf_use=yes
68804 else
68805 glibcxx_cv_func__hypotf_use=no
68806 fi
68807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68808 ac_ext=c
68809 ac_cpp='$CPP $CPPFLAGS'
68810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68813
68814
68815 fi
68816
68817 fi
68818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68819 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68820
68821 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68822 for ac_func in _hypotf
68823 do :
68824 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68825 if test "x$ac_cv_func__hypotf" = x""yes; then :
68826 cat >>confdefs.h <<_ACEOF
68827 #define HAVE__HYPOTF 1
68828 _ACEOF
68829
68830 fi
68831 done
68832
68833 fi
68834 fi
68835
68836
68837
68838
68839
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68841 $as_echo_n "checking for ldexpf declaration... " >&6; }
68842 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68843 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68844 $as_echo_n "(cached) " >&6
68845 else
68846
68847
68848 ac_ext=cpp
68849 ac_cpp='$CXXCPP $CPPFLAGS'
68850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68853
68854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68855 /* end confdefs.h. */
68856 #include <math.h>
68857 int
68858 main ()
68859 {
68860 ldexpf(0, 0);
68861 ;
68862 return 0;
68863 }
68864 _ACEOF
68865 if ac_fn_cxx_try_compile "$LINENO"; then :
68866 glibcxx_cv_func_ldexpf_use=yes
68867 else
68868 glibcxx_cv_func_ldexpf_use=no
68869 fi
68870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68871 ac_ext=c
68872 ac_cpp='$CPP $CPPFLAGS'
68873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68876
68877
68878 fi
68879
68880 fi
68881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68882 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68883
68884 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68885 for ac_func in ldexpf
68886 do :
68887 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68888 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68889 cat >>confdefs.h <<_ACEOF
68890 #define HAVE_LDEXPF 1
68891 _ACEOF
68892
68893 fi
68894 done
68895
68896 else
68897
68898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68899 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68900 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68901 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68902 $as_echo_n "(cached) " >&6
68903 else
68904
68905
68906 ac_ext=cpp
68907 ac_cpp='$CXXCPP $CPPFLAGS'
68908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68911
68912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68913 /* end confdefs.h. */
68914 #include <math.h>
68915 int
68916 main ()
68917 {
68918 _ldexpf(0, 0);
68919 ;
68920 return 0;
68921 }
68922 _ACEOF
68923 if ac_fn_cxx_try_compile "$LINENO"; then :
68924 glibcxx_cv_func__ldexpf_use=yes
68925 else
68926 glibcxx_cv_func__ldexpf_use=no
68927 fi
68928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68929 ac_ext=c
68930 ac_cpp='$CPP $CPPFLAGS'
68931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68934
68935
68936 fi
68937
68938 fi
68939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68940 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68941
68942 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68943 for ac_func in _ldexpf
68944 do :
68945 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68946 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68947 cat >>confdefs.h <<_ACEOF
68948 #define HAVE__LDEXPF 1
68949 _ACEOF
68950
68951 fi
68952 done
68953
68954 fi
68955 fi
68956
68957
68958
68959
68960
68961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68962 $as_echo_n "checking for logf declaration... " >&6; }
68963 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68964 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68965 $as_echo_n "(cached) " >&6
68966 else
68967
68968
68969 ac_ext=cpp
68970 ac_cpp='$CXXCPP $CPPFLAGS'
68971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68974
68975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68976 /* end confdefs.h. */
68977 #include <math.h>
68978 #ifdef HAVE_IEEEFP_H
68979 #include <ieeefp.h>
68980 #endif
68981
68982 int
68983 main ()
68984 {
68985 logf(0);
68986 ;
68987 return 0;
68988 }
68989 _ACEOF
68990 if ac_fn_cxx_try_compile "$LINENO"; then :
68991 glibcxx_cv_func_logf_use=yes
68992 else
68993 glibcxx_cv_func_logf_use=no
68994 fi
68995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68996 ac_ext=c
68997 ac_cpp='$CPP $CPPFLAGS'
68998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69001
69002
69003 fi
69004
69005 fi
69006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69007 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69008
69009 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69010 for ac_func in logf
69011 do :
69012 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69013 if test "x$ac_cv_func_logf" = x""yes; then :
69014 cat >>confdefs.h <<_ACEOF
69015 #define HAVE_LOGF 1
69016 _ACEOF
69017
69018 fi
69019 done
69020
69021 else
69022
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69024 $as_echo_n "checking for _logf declaration... " >&6; }
69025 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69026 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69027 $as_echo_n "(cached) " >&6
69028 else
69029
69030
69031 ac_ext=cpp
69032 ac_cpp='$CXXCPP $CPPFLAGS'
69033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69036
69037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69038 /* end confdefs.h. */
69039 #include <math.h>
69040 #ifdef HAVE_IEEEFP_H
69041 #include <ieeefp.h>
69042 #endif
69043
69044 int
69045 main ()
69046 {
69047 _logf(0);
69048 ;
69049 return 0;
69050 }
69051 _ACEOF
69052 if ac_fn_cxx_try_compile "$LINENO"; then :
69053 glibcxx_cv_func__logf_use=yes
69054 else
69055 glibcxx_cv_func__logf_use=no
69056 fi
69057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69058 ac_ext=c
69059 ac_cpp='$CPP $CPPFLAGS'
69060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69063
69064
69065 fi
69066
69067 fi
69068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69069 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69070
69071 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69072 for ac_func in _logf
69073 do :
69074 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69075 if test "x$ac_cv_func__logf" = x""yes; then :
69076 cat >>confdefs.h <<_ACEOF
69077 #define HAVE__LOGF 1
69078 _ACEOF
69079
69080 fi
69081 done
69082
69083 fi
69084 fi
69085
69086
69087
69088
69089
69090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69091 $as_echo_n "checking for log10f declaration... " >&6; }
69092 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69093 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69094 $as_echo_n "(cached) " >&6
69095 else
69096
69097
69098 ac_ext=cpp
69099 ac_cpp='$CXXCPP $CPPFLAGS'
69100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69103
69104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69105 /* end confdefs.h. */
69106 #include <math.h>
69107 #ifdef HAVE_IEEEFP_H
69108 #include <ieeefp.h>
69109 #endif
69110
69111 int
69112 main ()
69113 {
69114 log10f(0);
69115 ;
69116 return 0;
69117 }
69118 _ACEOF
69119 if ac_fn_cxx_try_compile "$LINENO"; then :
69120 glibcxx_cv_func_log10f_use=yes
69121 else
69122 glibcxx_cv_func_log10f_use=no
69123 fi
69124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69125 ac_ext=c
69126 ac_cpp='$CPP $CPPFLAGS'
69127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69130
69131
69132 fi
69133
69134 fi
69135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69136 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69137
69138 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69139 for ac_func in log10f
69140 do :
69141 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69142 if test "x$ac_cv_func_log10f" = x""yes; then :
69143 cat >>confdefs.h <<_ACEOF
69144 #define HAVE_LOG10F 1
69145 _ACEOF
69146
69147 fi
69148 done
69149
69150 else
69151
69152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69153 $as_echo_n "checking for _log10f declaration... " >&6; }
69154 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69155 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69156 $as_echo_n "(cached) " >&6
69157 else
69158
69159
69160 ac_ext=cpp
69161 ac_cpp='$CXXCPP $CPPFLAGS'
69162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69165
69166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69167 /* end confdefs.h. */
69168 #include <math.h>
69169 #ifdef HAVE_IEEEFP_H
69170 #include <ieeefp.h>
69171 #endif
69172
69173 int
69174 main ()
69175 {
69176 _log10f(0);
69177 ;
69178 return 0;
69179 }
69180 _ACEOF
69181 if ac_fn_cxx_try_compile "$LINENO"; then :
69182 glibcxx_cv_func__log10f_use=yes
69183 else
69184 glibcxx_cv_func__log10f_use=no
69185 fi
69186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69187 ac_ext=c
69188 ac_cpp='$CPP $CPPFLAGS'
69189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69192
69193
69194 fi
69195
69196 fi
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69198 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69199
69200 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69201 for ac_func in _log10f
69202 do :
69203 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69204 if test "x$ac_cv_func__log10f" = x""yes; then :
69205 cat >>confdefs.h <<_ACEOF
69206 #define HAVE__LOG10F 1
69207 _ACEOF
69208
69209 fi
69210 done
69211
69212 fi
69213 fi
69214
69215
69216
69217
69218
69219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69220 $as_echo_n "checking for modff declaration... " >&6; }
69221 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69222 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69223 $as_echo_n "(cached) " >&6
69224 else
69225
69226
69227 ac_ext=cpp
69228 ac_cpp='$CXXCPP $CPPFLAGS'
69229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232
69233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69234 /* end confdefs.h. */
69235 #include <math.h>
69236 int
69237 main ()
69238 {
69239 modff(0, 0);
69240 ;
69241 return 0;
69242 }
69243 _ACEOF
69244 if ac_fn_cxx_try_compile "$LINENO"; then :
69245 glibcxx_cv_func_modff_use=yes
69246 else
69247 glibcxx_cv_func_modff_use=no
69248 fi
69249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69250 ac_ext=c
69251 ac_cpp='$CPP $CPPFLAGS'
69252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69255
69256
69257 fi
69258
69259 fi
69260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69261 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69262
69263 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69264 for ac_func in modff
69265 do :
69266 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69267 if test "x$ac_cv_func_modff" = x""yes; then :
69268 cat >>confdefs.h <<_ACEOF
69269 #define HAVE_MODFF 1
69270 _ACEOF
69271
69272 fi
69273 done
69274
69275 else
69276
69277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69278 $as_echo_n "checking for _modff declaration... " >&6; }
69279 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69280 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69281 $as_echo_n "(cached) " >&6
69282 else
69283
69284
69285 ac_ext=cpp
69286 ac_cpp='$CXXCPP $CPPFLAGS'
69287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69290
69291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69292 /* end confdefs.h. */
69293 #include <math.h>
69294 int
69295 main ()
69296 {
69297 _modff(0, 0);
69298 ;
69299 return 0;
69300 }
69301 _ACEOF
69302 if ac_fn_cxx_try_compile "$LINENO"; then :
69303 glibcxx_cv_func__modff_use=yes
69304 else
69305 glibcxx_cv_func__modff_use=no
69306 fi
69307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69308 ac_ext=c
69309 ac_cpp='$CPP $CPPFLAGS'
69310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69313
69314
69315 fi
69316
69317 fi
69318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69319 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69320
69321 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69322 for ac_func in _modff
69323 do :
69324 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69325 if test "x$ac_cv_func__modff" = x""yes; then :
69326 cat >>confdefs.h <<_ACEOF
69327 #define HAVE__MODFF 1
69328 _ACEOF
69329
69330 fi
69331 done
69332
69333 fi
69334 fi
69335
69336
69337
69338
69339
69340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69341 $as_echo_n "checking for modf declaration... " >&6; }
69342 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69343 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69344 $as_echo_n "(cached) " >&6
69345 else
69346
69347
69348 ac_ext=cpp
69349 ac_cpp='$CXXCPP $CPPFLAGS'
69350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69353
69354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69355 /* end confdefs.h. */
69356 #include <math.h>
69357 int
69358 main ()
69359 {
69360 modf(0, 0);
69361 ;
69362 return 0;
69363 }
69364 _ACEOF
69365 if ac_fn_cxx_try_compile "$LINENO"; then :
69366 glibcxx_cv_func_modf_use=yes
69367 else
69368 glibcxx_cv_func_modf_use=no
69369 fi
69370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69371 ac_ext=c
69372 ac_cpp='$CPP $CPPFLAGS'
69373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69376
69377
69378 fi
69379
69380 fi
69381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69382 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69383
69384 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69385 for ac_func in modf
69386 do :
69387 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69388 if test "x$ac_cv_func_modf" = x""yes; then :
69389 cat >>confdefs.h <<_ACEOF
69390 #define HAVE_MODF 1
69391 _ACEOF
69392
69393 fi
69394 done
69395
69396 else
69397
69398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69399 $as_echo_n "checking for _modf declaration... " >&6; }
69400 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69401 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69402 $as_echo_n "(cached) " >&6
69403 else
69404
69405
69406 ac_ext=cpp
69407 ac_cpp='$CXXCPP $CPPFLAGS'
69408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69411
69412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69413 /* end confdefs.h. */
69414 #include <math.h>
69415 int
69416 main ()
69417 {
69418 _modf(0, 0);
69419 ;
69420 return 0;
69421 }
69422 _ACEOF
69423 if ac_fn_cxx_try_compile "$LINENO"; then :
69424 glibcxx_cv_func__modf_use=yes
69425 else
69426 glibcxx_cv_func__modf_use=no
69427 fi
69428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69429 ac_ext=c
69430 ac_cpp='$CPP $CPPFLAGS'
69431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69434
69435
69436 fi
69437
69438 fi
69439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69440 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69441
69442 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69443 for ac_func in _modf
69444 do :
69445 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69446 if test "x$ac_cv_func__modf" = x""yes; then :
69447 cat >>confdefs.h <<_ACEOF
69448 #define HAVE__MODF 1
69449 _ACEOF
69450
69451 fi
69452 done
69453
69454 fi
69455 fi
69456
69457
69458
69459
69460
69461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69462 $as_echo_n "checking for powf declaration... " >&6; }
69463 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69464 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69465 $as_echo_n "(cached) " >&6
69466 else
69467
69468
69469 ac_ext=cpp
69470 ac_cpp='$CXXCPP $CPPFLAGS'
69471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69474
69475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69476 /* end confdefs.h. */
69477 #include <math.h>
69478 int
69479 main ()
69480 {
69481 powf(0, 0);
69482 ;
69483 return 0;
69484 }
69485 _ACEOF
69486 if ac_fn_cxx_try_compile "$LINENO"; then :
69487 glibcxx_cv_func_powf_use=yes
69488 else
69489 glibcxx_cv_func_powf_use=no
69490 fi
69491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69492 ac_ext=c
69493 ac_cpp='$CPP $CPPFLAGS'
69494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69497
69498
69499 fi
69500
69501 fi
69502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69503 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69504
69505 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69506 for ac_func in powf
69507 do :
69508 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69509 if test "x$ac_cv_func_powf" = x""yes; then :
69510 cat >>confdefs.h <<_ACEOF
69511 #define HAVE_POWF 1
69512 _ACEOF
69513
69514 fi
69515 done
69516
69517 else
69518
69519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69520 $as_echo_n "checking for _powf declaration... " >&6; }
69521 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69522 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69523 $as_echo_n "(cached) " >&6
69524 else
69525
69526
69527 ac_ext=cpp
69528 ac_cpp='$CXXCPP $CPPFLAGS'
69529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69532
69533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69534 /* end confdefs.h. */
69535 #include <math.h>
69536 int
69537 main ()
69538 {
69539 _powf(0, 0);
69540 ;
69541 return 0;
69542 }
69543 _ACEOF
69544 if ac_fn_cxx_try_compile "$LINENO"; then :
69545 glibcxx_cv_func__powf_use=yes
69546 else
69547 glibcxx_cv_func__powf_use=no
69548 fi
69549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69550 ac_ext=c
69551 ac_cpp='$CPP $CPPFLAGS'
69552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69555
69556
69557 fi
69558
69559 fi
69560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69561 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69562
69563 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69564 for ac_func in _powf
69565 do :
69566 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69567 if test "x$ac_cv_func__powf" = x""yes; then :
69568 cat >>confdefs.h <<_ACEOF
69569 #define HAVE__POWF 1
69570 _ACEOF
69571
69572 fi
69573 done
69574
69575 fi
69576 fi
69577
69578
69579
69580
69581
69582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69583 $as_echo_n "checking for sqrtf declaration... " >&6; }
69584 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69585 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69586 $as_echo_n "(cached) " >&6
69587 else
69588
69589
69590 ac_ext=cpp
69591 ac_cpp='$CXXCPP $CPPFLAGS'
69592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69595
69596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69597 /* end confdefs.h. */
69598 #include <math.h>
69599 #ifdef HAVE_IEEEFP_H
69600 #include <ieeefp.h>
69601 #endif
69602
69603 int
69604 main ()
69605 {
69606 sqrtf(0);
69607 ;
69608 return 0;
69609 }
69610 _ACEOF
69611 if ac_fn_cxx_try_compile "$LINENO"; then :
69612 glibcxx_cv_func_sqrtf_use=yes
69613 else
69614 glibcxx_cv_func_sqrtf_use=no
69615 fi
69616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69622
69623
69624 fi
69625
69626 fi
69627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69628 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69629
69630 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69631 for ac_func in sqrtf
69632 do :
69633 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69634 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69635 cat >>confdefs.h <<_ACEOF
69636 #define HAVE_SQRTF 1
69637 _ACEOF
69638
69639 fi
69640 done
69641
69642 else
69643
69644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69645 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69646 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69647 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69648 $as_echo_n "(cached) " >&6
69649 else
69650
69651
69652 ac_ext=cpp
69653 ac_cpp='$CXXCPP $CPPFLAGS'
69654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69657
69658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69659 /* end confdefs.h. */
69660 #include <math.h>
69661 #ifdef HAVE_IEEEFP_H
69662 #include <ieeefp.h>
69663 #endif
69664
69665 int
69666 main ()
69667 {
69668 _sqrtf(0);
69669 ;
69670 return 0;
69671 }
69672 _ACEOF
69673 if ac_fn_cxx_try_compile "$LINENO"; then :
69674 glibcxx_cv_func__sqrtf_use=yes
69675 else
69676 glibcxx_cv_func__sqrtf_use=no
69677 fi
69678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69679 ac_ext=c
69680 ac_cpp='$CPP $CPPFLAGS'
69681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69684
69685
69686 fi
69687
69688 fi
69689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69690 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69691
69692 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69693 for ac_func in _sqrtf
69694 do :
69695 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69696 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69697 cat >>confdefs.h <<_ACEOF
69698 #define HAVE__SQRTF 1
69699 _ACEOF
69700
69701 fi
69702 done
69703
69704 fi
69705 fi
69706
69707
69708
69709
69710
69711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69712 $as_echo_n "checking for sincosf declaration... " >&6; }
69713 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69714 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69715 $as_echo_n "(cached) " >&6
69716 else
69717
69718
69719 ac_ext=cpp
69720 ac_cpp='$CXXCPP $CPPFLAGS'
69721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724
69725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69726 /* end confdefs.h. */
69727 #include <math.h>
69728 int
69729 main ()
69730 {
69731 sincosf(0, 0, 0);
69732 ;
69733 return 0;
69734 }
69735 _ACEOF
69736 if ac_fn_cxx_try_compile "$LINENO"; then :
69737 glibcxx_cv_func_sincosf_use=yes
69738 else
69739 glibcxx_cv_func_sincosf_use=no
69740 fi
69741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69742 ac_ext=c
69743 ac_cpp='$CPP $CPPFLAGS'
69744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69747
69748
69749 fi
69750
69751 fi
69752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69753 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69754
69755 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69756 for ac_func in sincosf
69757 do :
69758 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69759 if test "x$ac_cv_func_sincosf" = x""yes; then :
69760 cat >>confdefs.h <<_ACEOF
69761 #define HAVE_SINCOSF 1
69762 _ACEOF
69763
69764 fi
69765 done
69766
69767 else
69768
69769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69770 $as_echo_n "checking for _sincosf declaration... " >&6; }
69771 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69772 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69773 $as_echo_n "(cached) " >&6
69774 else
69775
69776
69777 ac_ext=cpp
69778 ac_cpp='$CXXCPP $CPPFLAGS'
69779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69782
69783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69784 /* end confdefs.h. */
69785 #include <math.h>
69786 int
69787 main ()
69788 {
69789 _sincosf(0, 0, 0);
69790 ;
69791 return 0;
69792 }
69793 _ACEOF
69794 if ac_fn_cxx_try_compile "$LINENO"; then :
69795 glibcxx_cv_func__sincosf_use=yes
69796 else
69797 glibcxx_cv_func__sincosf_use=no
69798 fi
69799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69800 ac_ext=c
69801 ac_cpp='$CPP $CPPFLAGS'
69802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69805
69806
69807 fi
69808
69809 fi
69810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69811 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69812
69813 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69814 for ac_func in _sincosf
69815 do :
69816 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69817 if test "x$ac_cv_func__sincosf" = x""yes; then :
69818 cat >>confdefs.h <<_ACEOF
69819 #define HAVE__SINCOSF 1
69820 _ACEOF
69821
69822 fi
69823 done
69824
69825 fi
69826 fi
69827
69828
69829
69830
69831
69832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69833 $as_echo_n "checking for finitef declaration... " >&6; }
69834 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69835 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69836 $as_echo_n "(cached) " >&6
69837 else
69838
69839
69840 ac_ext=cpp
69841 ac_cpp='$CXXCPP $CPPFLAGS'
69842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69845
69846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69847 /* end confdefs.h. */
69848 #include <math.h>
69849 #ifdef HAVE_IEEEFP_H
69850 #include <ieeefp.h>
69851 #endif
69852
69853 int
69854 main ()
69855 {
69856 finitef(0);
69857 ;
69858 return 0;
69859 }
69860 _ACEOF
69861 if ac_fn_cxx_try_compile "$LINENO"; then :
69862 glibcxx_cv_func_finitef_use=yes
69863 else
69864 glibcxx_cv_func_finitef_use=no
69865 fi
69866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69867 ac_ext=c
69868 ac_cpp='$CPP $CPPFLAGS'
69869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69872
69873
69874 fi
69875
69876 fi
69877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69878 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69879
69880 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69881 for ac_func in finitef
69882 do :
69883 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69884 if test "x$ac_cv_func_finitef" = x""yes; then :
69885 cat >>confdefs.h <<_ACEOF
69886 #define HAVE_FINITEF 1
69887 _ACEOF
69888
69889 fi
69890 done
69891
69892 else
69893
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69895 $as_echo_n "checking for _finitef declaration... " >&6; }
69896 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69897 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69898 $as_echo_n "(cached) " >&6
69899 else
69900
69901
69902 ac_ext=cpp
69903 ac_cpp='$CXXCPP $CPPFLAGS'
69904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69907
69908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69909 /* end confdefs.h. */
69910 #include <math.h>
69911 #ifdef HAVE_IEEEFP_H
69912 #include <ieeefp.h>
69913 #endif
69914
69915 int
69916 main ()
69917 {
69918 _finitef(0);
69919 ;
69920 return 0;
69921 }
69922 _ACEOF
69923 if ac_fn_cxx_try_compile "$LINENO"; then :
69924 glibcxx_cv_func__finitef_use=yes
69925 else
69926 glibcxx_cv_func__finitef_use=no
69927 fi
69928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69929 ac_ext=c
69930 ac_cpp='$CPP $CPPFLAGS'
69931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69934
69935
69936 fi
69937
69938 fi
69939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69940 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69941
69942 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69943 for ac_func in _finitef
69944 do :
69945 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69946 if test "x$ac_cv_func__finitef" = x""yes; then :
69947 cat >>confdefs.h <<_ACEOF
69948 #define HAVE__FINITEF 1
69949 _ACEOF
69950
69951 fi
69952 done
69953
69954 fi
69955 fi
69956
69957
69958
69959
69960
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69962 $as_echo_n "checking for long double trig functions... " >&6; }
69963 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69964 $as_echo_n "(cached) " >&6
69965 else
69966
69967
69968 ac_ext=cpp
69969 ac_cpp='$CXXCPP $CPPFLAGS'
69970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69973
69974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69975 /* end confdefs.h. */
69976 #include <math.h>
69977 int
69978 main ()
69979 {
69980 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69981 ;
69982 return 0;
69983 }
69984 _ACEOF
69985 if ac_fn_cxx_try_compile "$LINENO"; then :
69986 glibcxx_cv_func_long_double_trig_use=yes
69987 else
69988 glibcxx_cv_func_long_double_trig_use=no
69989 fi
69990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69991 ac_ext=c
69992 ac_cpp='$CPP $CPPFLAGS'
69993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69996
69997 fi
69998
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70000 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70001 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70002 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70003 do :
70004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70006 eval as_val=\$$as_ac_var
70007 if test "x$as_val" = x""yes; then :
70008 cat >>confdefs.h <<_ACEOF
70009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70010 _ACEOF
70011
70012 fi
70013 done
70014
70015 else
70016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70017 $as_echo_n "checking for _long double trig functions... " >&6; }
70018 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70019 $as_echo_n "(cached) " >&6
70020 else
70021
70022
70023 ac_ext=cpp
70024 ac_cpp='$CXXCPP $CPPFLAGS'
70025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70028
70029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70030 /* end confdefs.h. */
70031 #include <math.h>
70032 int
70033 main ()
70034 {
70035 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70036 ;
70037 return 0;
70038 }
70039 _ACEOF
70040 if ac_fn_cxx_try_compile "$LINENO"; then :
70041 glibcxx_cv_func__long_double_trig_use=yes
70042 else
70043 glibcxx_cv_func__long_double_trig_use=no
70044 fi
70045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70046 ac_ext=c
70047 ac_cpp='$CPP $CPPFLAGS'
70048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70051
70052 fi
70053
70054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70055 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70056 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70057 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70058 do :
70059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70061 eval as_val=\$$as_ac_var
70062 if test "x$as_val" = x""yes; then :
70063 cat >>confdefs.h <<_ACEOF
70064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70065 _ACEOF
70066
70067 fi
70068 done
70069
70070 fi
70071 fi
70072
70073
70074
70075
70076
70077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70078 $as_echo_n "checking for long double round functions... " >&6; }
70079 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70080 $as_echo_n "(cached) " >&6
70081 else
70082
70083
70084 ac_ext=cpp
70085 ac_cpp='$CXXCPP $CPPFLAGS'
70086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70089
70090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70091 /* end confdefs.h. */
70092 #include <math.h>
70093 int
70094 main ()
70095 {
70096 ceill (0); floorl (0);
70097 ;
70098 return 0;
70099 }
70100 _ACEOF
70101 if ac_fn_cxx_try_compile "$LINENO"; then :
70102 glibcxx_cv_func_long_double_round_use=yes
70103 else
70104 glibcxx_cv_func_long_double_round_use=no
70105 fi
70106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70107 ac_ext=c
70108 ac_cpp='$CPP $CPPFLAGS'
70109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70112
70113 fi
70114
70115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70116 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70117 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70118 for ac_func in ceill floorl
70119 do :
70120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70122 eval as_val=\$$as_ac_var
70123 if test "x$as_val" = x""yes; then :
70124 cat >>confdefs.h <<_ACEOF
70125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70126 _ACEOF
70127
70128 fi
70129 done
70130
70131 else
70132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70133 $as_echo_n "checking for _long double round functions... " >&6; }
70134 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70135 $as_echo_n "(cached) " >&6
70136 else
70137
70138
70139 ac_ext=cpp
70140 ac_cpp='$CXXCPP $CPPFLAGS'
70141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70144
70145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70146 /* end confdefs.h. */
70147 #include <math.h>
70148 int
70149 main ()
70150 {
70151 _ceill (0); _floorl (0);
70152 ;
70153 return 0;
70154 }
70155 _ACEOF
70156 if ac_fn_cxx_try_compile "$LINENO"; then :
70157 glibcxx_cv_func__long_double_round_use=yes
70158 else
70159 glibcxx_cv_func__long_double_round_use=no
70160 fi
70161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70162 ac_ext=c
70163 ac_cpp='$CPP $CPPFLAGS'
70164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70167
70168 fi
70169
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70171 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70172 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70173 for ac_func in _ceill _floorl
70174 do :
70175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70177 eval as_val=\$$as_ac_var
70178 if test "x$as_val" = x""yes; then :
70179 cat >>confdefs.h <<_ACEOF
70180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70181 _ACEOF
70182
70183 fi
70184 done
70185
70186 fi
70187 fi
70188
70189
70190
70191
70192
70193
70194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70195 $as_echo_n "checking for isnanl declaration... " >&6; }
70196 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70197 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70198 $as_echo_n "(cached) " >&6
70199 else
70200
70201
70202 ac_ext=cpp
70203 ac_cpp='$CXXCPP $CPPFLAGS'
70204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70207
70208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70209 /* end confdefs.h. */
70210 #include <math.h>
70211 #ifdef HAVE_IEEEFP_H
70212 #include <ieeefp.h>
70213 #endif
70214
70215 int
70216 main ()
70217 {
70218 isnanl(0);
70219 ;
70220 return 0;
70221 }
70222 _ACEOF
70223 if ac_fn_cxx_try_compile "$LINENO"; then :
70224 glibcxx_cv_func_isnanl_use=yes
70225 else
70226 glibcxx_cv_func_isnanl_use=no
70227 fi
70228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70229 ac_ext=c
70230 ac_cpp='$CPP $CPPFLAGS'
70231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70234
70235
70236 fi
70237
70238 fi
70239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70240 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70241
70242 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70243 for ac_func in isnanl
70244 do :
70245 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70246 if test "x$ac_cv_func_isnanl" = x""yes; then :
70247 cat >>confdefs.h <<_ACEOF
70248 #define HAVE_ISNANL 1
70249 _ACEOF
70250
70251 fi
70252 done
70253
70254 else
70255
70256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70257 $as_echo_n "checking for _isnanl declaration... " >&6; }
70258 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70259 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70260 $as_echo_n "(cached) " >&6
70261 else
70262
70263
70264 ac_ext=cpp
70265 ac_cpp='$CXXCPP $CPPFLAGS'
70266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70269
70270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70271 /* end confdefs.h. */
70272 #include <math.h>
70273 #ifdef HAVE_IEEEFP_H
70274 #include <ieeefp.h>
70275 #endif
70276
70277 int
70278 main ()
70279 {
70280 _isnanl(0);
70281 ;
70282 return 0;
70283 }
70284 _ACEOF
70285 if ac_fn_cxx_try_compile "$LINENO"; then :
70286 glibcxx_cv_func__isnanl_use=yes
70287 else
70288 glibcxx_cv_func__isnanl_use=no
70289 fi
70290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70291 ac_ext=c
70292 ac_cpp='$CPP $CPPFLAGS'
70293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70296
70297
70298 fi
70299
70300 fi
70301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70302 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70303
70304 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70305 for ac_func in _isnanl
70306 do :
70307 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70308 if test "x$ac_cv_func__isnanl" = x""yes; then :
70309 cat >>confdefs.h <<_ACEOF
70310 #define HAVE__ISNANL 1
70311 _ACEOF
70312
70313 fi
70314 done
70315
70316 fi
70317 fi
70318
70319
70320
70321
70322
70323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70324 $as_echo_n "checking for isinfl declaration... " >&6; }
70325 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70326 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70327 $as_echo_n "(cached) " >&6
70328 else
70329
70330
70331 ac_ext=cpp
70332 ac_cpp='$CXXCPP $CPPFLAGS'
70333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70336
70337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70338 /* end confdefs.h. */
70339 #include <math.h>
70340 #ifdef HAVE_IEEEFP_H
70341 #include <ieeefp.h>
70342 #endif
70343
70344 int
70345 main ()
70346 {
70347 isinfl(0);
70348 ;
70349 return 0;
70350 }
70351 _ACEOF
70352 if ac_fn_cxx_try_compile "$LINENO"; then :
70353 glibcxx_cv_func_isinfl_use=yes
70354 else
70355 glibcxx_cv_func_isinfl_use=no
70356 fi
70357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70358 ac_ext=c
70359 ac_cpp='$CPP $CPPFLAGS'
70360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70363
70364
70365 fi
70366
70367 fi
70368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70369 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70370
70371 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70372 for ac_func in isinfl
70373 do :
70374 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70375 if test "x$ac_cv_func_isinfl" = x""yes; then :
70376 cat >>confdefs.h <<_ACEOF
70377 #define HAVE_ISINFL 1
70378 _ACEOF
70379
70380 fi
70381 done
70382
70383 else
70384
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70386 $as_echo_n "checking for _isinfl declaration... " >&6; }
70387 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70388 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70389 $as_echo_n "(cached) " >&6
70390 else
70391
70392
70393 ac_ext=cpp
70394 ac_cpp='$CXXCPP $CPPFLAGS'
70395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70398
70399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70400 /* end confdefs.h. */
70401 #include <math.h>
70402 #ifdef HAVE_IEEEFP_H
70403 #include <ieeefp.h>
70404 #endif
70405
70406 int
70407 main ()
70408 {
70409 _isinfl(0);
70410 ;
70411 return 0;
70412 }
70413 _ACEOF
70414 if ac_fn_cxx_try_compile "$LINENO"; then :
70415 glibcxx_cv_func__isinfl_use=yes
70416 else
70417 glibcxx_cv_func__isinfl_use=no
70418 fi
70419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70420 ac_ext=c
70421 ac_cpp='$CPP $CPPFLAGS'
70422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70425
70426
70427 fi
70428
70429 fi
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70431 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70432
70433 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70434 for ac_func in _isinfl
70435 do :
70436 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70437 if test "x$ac_cv_func__isinfl" = x""yes; then :
70438 cat >>confdefs.h <<_ACEOF
70439 #define HAVE__ISINFL 1
70440 _ACEOF
70441
70442 fi
70443 done
70444
70445 fi
70446 fi
70447
70448
70449
70450
70451
70452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70453 $as_echo_n "checking for atan2l declaration... " >&6; }
70454 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70455 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70456 $as_echo_n "(cached) " >&6
70457 else
70458
70459
70460 ac_ext=cpp
70461 ac_cpp='$CXXCPP $CPPFLAGS'
70462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70465
70466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70467 /* end confdefs.h. */
70468 #include <math.h>
70469 int
70470 main ()
70471 {
70472 atan2l(0, 0);
70473 ;
70474 return 0;
70475 }
70476 _ACEOF
70477 if ac_fn_cxx_try_compile "$LINENO"; then :
70478 glibcxx_cv_func_atan2l_use=yes
70479 else
70480 glibcxx_cv_func_atan2l_use=no
70481 fi
70482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70483 ac_ext=c
70484 ac_cpp='$CPP $CPPFLAGS'
70485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70488
70489
70490 fi
70491
70492 fi
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70494 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70495
70496 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70497 for ac_func in atan2l
70498 do :
70499 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70500 if test "x$ac_cv_func_atan2l" = x""yes; then :
70501 cat >>confdefs.h <<_ACEOF
70502 #define HAVE_ATAN2L 1
70503 _ACEOF
70504
70505 fi
70506 done
70507
70508 else
70509
70510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70511 $as_echo_n "checking for _atan2l declaration... " >&6; }
70512 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70513 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70514 $as_echo_n "(cached) " >&6
70515 else
70516
70517
70518 ac_ext=cpp
70519 ac_cpp='$CXXCPP $CPPFLAGS'
70520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70523
70524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70525 /* end confdefs.h. */
70526 #include <math.h>
70527 int
70528 main ()
70529 {
70530 _atan2l(0, 0);
70531 ;
70532 return 0;
70533 }
70534 _ACEOF
70535 if ac_fn_cxx_try_compile "$LINENO"; then :
70536 glibcxx_cv_func__atan2l_use=yes
70537 else
70538 glibcxx_cv_func__atan2l_use=no
70539 fi
70540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70541 ac_ext=c
70542 ac_cpp='$CPP $CPPFLAGS'
70543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70546
70547
70548 fi
70549
70550 fi
70551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70552 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70553
70554 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70555 for ac_func in _atan2l
70556 do :
70557 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70558 if test "x$ac_cv_func__atan2l" = x""yes; then :
70559 cat >>confdefs.h <<_ACEOF
70560 #define HAVE__ATAN2L 1
70561 _ACEOF
70562
70563 fi
70564 done
70565
70566 fi
70567 fi
70568
70569
70570
70571
70572
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70574 $as_echo_n "checking for expl declaration... " >&6; }
70575 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70576 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70577 $as_echo_n "(cached) " >&6
70578 else
70579
70580
70581 ac_ext=cpp
70582 ac_cpp='$CXXCPP $CPPFLAGS'
70583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70586
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70589 #include <math.h>
70590 #ifdef HAVE_IEEEFP_H
70591 #include <ieeefp.h>
70592 #endif
70593
70594 int
70595 main ()
70596 {
70597 expl(0);
70598 ;
70599 return 0;
70600 }
70601 _ACEOF
70602 if ac_fn_cxx_try_compile "$LINENO"; then :
70603 glibcxx_cv_func_expl_use=yes
70604 else
70605 glibcxx_cv_func_expl_use=no
70606 fi
70607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70608 ac_ext=c
70609 ac_cpp='$CPP $CPPFLAGS'
70610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70613
70614
70615 fi
70616
70617 fi
70618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70619 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70620
70621 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70622 for ac_func in expl
70623 do :
70624 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70625 if test "x$ac_cv_func_expl" = x""yes; then :
70626 cat >>confdefs.h <<_ACEOF
70627 #define HAVE_EXPL 1
70628 _ACEOF
70629
70630 fi
70631 done
70632
70633 else
70634
70635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70636 $as_echo_n "checking for _expl declaration... " >&6; }
70637 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70638 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70639 $as_echo_n "(cached) " >&6
70640 else
70641
70642
70643 ac_ext=cpp
70644 ac_cpp='$CXXCPP $CPPFLAGS'
70645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70648
70649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70650 /* end confdefs.h. */
70651 #include <math.h>
70652 #ifdef HAVE_IEEEFP_H
70653 #include <ieeefp.h>
70654 #endif
70655
70656 int
70657 main ()
70658 {
70659 _expl(0);
70660 ;
70661 return 0;
70662 }
70663 _ACEOF
70664 if ac_fn_cxx_try_compile "$LINENO"; then :
70665 glibcxx_cv_func__expl_use=yes
70666 else
70667 glibcxx_cv_func__expl_use=no
70668 fi
70669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70670 ac_ext=c
70671 ac_cpp='$CPP $CPPFLAGS'
70672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70675
70676
70677 fi
70678
70679 fi
70680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70681 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70682
70683 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70684 for ac_func in _expl
70685 do :
70686 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70687 if test "x$ac_cv_func__expl" = x""yes; then :
70688 cat >>confdefs.h <<_ACEOF
70689 #define HAVE__EXPL 1
70690 _ACEOF
70691
70692 fi
70693 done
70694
70695 fi
70696 fi
70697
70698
70699
70700
70701
70702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70703 $as_echo_n "checking for fabsl declaration... " >&6; }
70704 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70705 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70706 $as_echo_n "(cached) " >&6
70707 else
70708
70709
70710 ac_ext=cpp
70711 ac_cpp='$CXXCPP $CPPFLAGS'
70712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70715
70716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70717 /* end confdefs.h. */
70718 #include <math.h>
70719 #ifdef HAVE_IEEEFP_H
70720 #include <ieeefp.h>
70721 #endif
70722
70723 int
70724 main ()
70725 {
70726 fabsl(0);
70727 ;
70728 return 0;
70729 }
70730 _ACEOF
70731 if ac_fn_cxx_try_compile "$LINENO"; then :
70732 glibcxx_cv_func_fabsl_use=yes
70733 else
70734 glibcxx_cv_func_fabsl_use=no
70735 fi
70736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70737 ac_ext=c
70738 ac_cpp='$CPP $CPPFLAGS'
70739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70742
70743
70744 fi
70745
70746 fi
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70748 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70749
70750 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70751 for ac_func in fabsl
70752 do :
70753 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70754 if test "x$ac_cv_func_fabsl" = x""yes; then :
70755 cat >>confdefs.h <<_ACEOF
70756 #define HAVE_FABSL 1
70757 _ACEOF
70758
70759 fi
70760 done
70761
70762 else
70763
70764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70765 $as_echo_n "checking for _fabsl declaration... " >&6; }
70766 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70767 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70768 $as_echo_n "(cached) " >&6
70769 else
70770
70771
70772 ac_ext=cpp
70773 ac_cpp='$CXXCPP $CPPFLAGS'
70774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70777
70778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70779 /* end confdefs.h. */
70780 #include <math.h>
70781 #ifdef HAVE_IEEEFP_H
70782 #include <ieeefp.h>
70783 #endif
70784
70785 int
70786 main ()
70787 {
70788 _fabsl(0);
70789 ;
70790 return 0;
70791 }
70792 _ACEOF
70793 if ac_fn_cxx_try_compile "$LINENO"; then :
70794 glibcxx_cv_func__fabsl_use=yes
70795 else
70796 glibcxx_cv_func__fabsl_use=no
70797 fi
70798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70799 ac_ext=c
70800 ac_cpp='$CPP $CPPFLAGS'
70801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70804
70805
70806 fi
70807
70808 fi
70809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70810 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70811
70812 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70813 for ac_func in _fabsl
70814 do :
70815 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70816 if test "x$ac_cv_func__fabsl" = x""yes; then :
70817 cat >>confdefs.h <<_ACEOF
70818 #define HAVE__FABSL 1
70819 _ACEOF
70820
70821 fi
70822 done
70823
70824 fi
70825 fi
70826
70827
70828
70829
70830
70831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70832 $as_echo_n "checking for fmodl declaration... " >&6; }
70833 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70834 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70835 $as_echo_n "(cached) " >&6
70836 else
70837
70838
70839 ac_ext=cpp
70840 ac_cpp='$CXXCPP $CPPFLAGS'
70841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70844
70845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70846 /* end confdefs.h. */
70847 #include <math.h>
70848 int
70849 main ()
70850 {
70851 fmodl(0, 0);
70852 ;
70853 return 0;
70854 }
70855 _ACEOF
70856 if ac_fn_cxx_try_compile "$LINENO"; then :
70857 glibcxx_cv_func_fmodl_use=yes
70858 else
70859 glibcxx_cv_func_fmodl_use=no
70860 fi
70861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70862 ac_ext=c
70863 ac_cpp='$CPP $CPPFLAGS'
70864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70867
70868
70869 fi
70870
70871 fi
70872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70873 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70874
70875 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70876 for ac_func in fmodl
70877 do :
70878 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70879 if test "x$ac_cv_func_fmodl" = x""yes; then :
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE_FMODL 1
70882 _ACEOF
70883
70884 fi
70885 done
70886
70887 else
70888
70889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70890 $as_echo_n "checking for _fmodl declaration... " >&6; }
70891 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70892 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70893 $as_echo_n "(cached) " >&6
70894 else
70895
70896
70897 ac_ext=cpp
70898 ac_cpp='$CXXCPP $CPPFLAGS'
70899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70902
70903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70904 /* end confdefs.h. */
70905 #include <math.h>
70906 int
70907 main ()
70908 {
70909 _fmodl(0, 0);
70910 ;
70911 return 0;
70912 }
70913 _ACEOF
70914 if ac_fn_cxx_try_compile "$LINENO"; then :
70915 glibcxx_cv_func__fmodl_use=yes
70916 else
70917 glibcxx_cv_func__fmodl_use=no
70918 fi
70919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70920 ac_ext=c
70921 ac_cpp='$CPP $CPPFLAGS'
70922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70925
70926
70927 fi
70928
70929 fi
70930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70931 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70932
70933 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70934 for ac_func in _fmodl
70935 do :
70936 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70937 if test "x$ac_cv_func__fmodl" = x""yes; then :
70938 cat >>confdefs.h <<_ACEOF
70939 #define HAVE__FMODL 1
70940 _ACEOF
70941
70942 fi
70943 done
70944
70945 fi
70946 fi
70947
70948
70949
70950
70951
70952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70953 $as_echo_n "checking for frexpl declaration... " >&6; }
70954 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70955 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70956 $as_echo_n "(cached) " >&6
70957 else
70958
70959
70960 ac_ext=cpp
70961 ac_cpp='$CXXCPP $CPPFLAGS'
70962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965
70966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70967 /* end confdefs.h. */
70968 #include <math.h>
70969 int
70970 main ()
70971 {
70972 frexpl(0, 0);
70973 ;
70974 return 0;
70975 }
70976 _ACEOF
70977 if ac_fn_cxx_try_compile "$LINENO"; then :
70978 glibcxx_cv_func_frexpl_use=yes
70979 else
70980 glibcxx_cv_func_frexpl_use=no
70981 fi
70982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70983 ac_ext=c
70984 ac_cpp='$CPP $CPPFLAGS'
70985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70988
70989
70990 fi
70991
70992 fi
70993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70994 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70995
70996 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70997 for ac_func in frexpl
70998 do :
70999 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71000 if test "x$ac_cv_func_frexpl" = x""yes; then :
71001 cat >>confdefs.h <<_ACEOF
71002 #define HAVE_FREXPL 1
71003 _ACEOF
71004
71005 fi
71006 done
71007
71008 else
71009
71010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71011 $as_echo_n "checking for _frexpl declaration... " >&6; }
71012 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71013 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71014 $as_echo_n "(cached) " >&6
71015 else
71016
71017
71018 ac_ext=cpp
71019 ac_cpp='$CXXCPP $CPPFLAGS'
71020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71023
71024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71025 /* end confdefs.h. */
71026 #include <math.h>
71027 int
71028 main ()
71029 {
71030 _frexpl(0, 0);
71031 ;
71032 return 0;
71033 }
71034 _ACEOF
71035 if ac_fn_cxx_try_compile "$LINENO"; then :
71036 glibcxx_cv_func__frexpl_use=yes
71037 else
71038 glibcxx_cv_func__frexpl_use=no
71039 fi
71040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71041 ac_ext=c
71042 ac_cpp='$CPP $CPPFLAGS'
71043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71046
71047
71048 fi
71049
71050 fi
71051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71052 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71053
71054 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71055 for ac_func in _frexpl
71056 do :
71057 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71058 if test "x$ac_cv_func__frexpl" = x""yes; then :
71059 cat >>confdefs.h <<_ACEOF
71060 #define HAVE__FREXPL 1
71061 _ACEOF
71062
71063 fi
71064 done
71065
71066 fi
71067 fi
71068
71069
71070
71071
71072
71073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71074 $as_echo_n "checking for hypotl declaration... " >&6; }
71075 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71076 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71077 $as_echo_n "(cached) " >&6
71078 else
71079
71080
71081 ac_ext=cpp
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <math.h>
71090 int
71091 main ()
71092 {
71093 hypotl(0, 0);
71094 ;
71095 return 0;
71096 }
71097 _ACEOF
71098 if ac_fn_cxx_try_compile "$LINENO"; then :
71099 glibcxx_cv_func_hypotl_use=yes
71100 else
71101 glibcxx_cv_func_hypotl_use=no
71102 fi
71103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71104 ac_ext=c
71105 ac_cpp='$CPP $CPPFLAGS'
71106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71109
71110
71111 fi
71112
71113 fi
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71115 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71116
71117 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71118 for ac_func in hypotl
71119 do :
71120 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71121 if test "x$ac_cv_func_hypotl" = x""yes; then :
71122 cat >>confdefs.h <<_ACEOF
71123 #define HAVE_HYPOTL 1
71124 _ACEOF
71125
71126 fi
71127 done
71128
71129 else
71130
71131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71132 $as_echo_n "checking for _hypotl declaration... " >&6; }
71133 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71134 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71135 $as_echo_n "(cached) " >&6
71136 else
71137
71138
71139 ac_ext=cpp
71140 ac_cpp='$CXXCPP $CPPFLAGS'
71141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71144
71145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71146 /* end confdefs.h. */
71147 #include <math.h>
71148 int
71149 main ()
71150 {
71151 _hypotl(0, 0);
71152 ;
71153 return 0;
71154 }
71155 _ACEOF
71156 if ac_fn_cxx_try_compile "$LINENO"; then :
71157 glibcxx_cv_func__hypotl_use=yes
71158 else
71159 glibcxx_cv_func__hypotl_use=no
71160 fi
71161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71162 ac_ext=c
71163 ac_cpp='$CPP $CPPFLAGS'
71164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71167
71168
71169 fi
71170
71171 fi
71172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71173 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71174
71175 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71176 for ac_func in _hypotl
71177 do :
71178 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71179 if test "x$ac_cv_func__hypotl" = x""yes; then :
71180 cat >>confdefs.h <<_ACEOF
71181 #define HAVE__HYPOTL 1
71182 _ACEOF
71183
71184 fi
71185 done
71186
71187 fi
71188 fi
71189
71190
71191
71192
71193
71194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71195 $as_echo_n "checking for ldexpl declaration... " >&6; }
71196 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71197 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71198 $as_echo_n "(cached) " >&6
71199 else
71200
71201
71202 ac_ext=cpp
71203 ac_cpp='$CXXCPP $CPPFLAGS'
71204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71207
71208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71209 /* end confdefs.h. */
71210 #include <math.h>
71211 int
71212 main ()
71213 {
71214 ldexpl(0, 0);
71215 ;
71216 return 0;
71217 }
71218 _ACEOF
71219 if ac_fn_cxx_try_compile "$LINENO"; then :
71220 glibcxx_cv_func_ldexpl_use=yes
71221 else
71222 glibcxx_cv_func_ldexpl_use=no
71223 fi
71224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71225 ac_ext=c
71226 ac_cpp='$CPP $CPPFLAGS'
71227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71230
71231
71232 fi
71233
71234 fi
71235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71236 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71237
71238 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71239 for ac_func in ldexpl
71240 do :
71241 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71242 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71243 cat >>confdefs.h <<_ACEOF
71244 #define HAVE_LDEXPL 1
71245 _ACEOF
71246
71247 fi
71248 done
71249
71250 else
71251
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71253 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71254 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71255 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71256 $as_echo_n "(cached) " >&6
71257 else
71258
71259
71260 ac_ext=cpp
71261 ac_cpp='$CXXCPP $CPPFLAGS'
71262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71265
71266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71267 /* end confdefs.h. */
71268 #include <math.h>
71269 int
71270 main ()
71271 {
71272 _ldexpl(0, 0);
71273 ;
71274 return 0;
71275 }
71276 _ACEOF
71277 if ac_fn_cxx_try_compile "$LINENO"; then :
71278 glibcxx_cv_func__ldexpl_use=yes
71279 else
71280 glibcxx_cv_func__ldexpl_use=no
71281 fi
71282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71283 ac_ext=c
71284 ac_cpp='$CPP $CPPFLAGS'
71285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71288
71289
71290 fi
71291
71292 fi
71293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71294 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71295
71296 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71297 for ac_func in _ldexpl
71298 do :
71299 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71300 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71301 cat >>confdefs.h <<_ACEOF
71302 #define HAVE__LDEXPL 1
71303 _ACEOF
71304
71305 fi
71306 done
71307
71308 fi
71309 fi
71310
71311
71312
71313
71314
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71316 $as_echo_n "checking for logl declaration... " >&6; }
71317 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71318 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71319 $as_echo_n "(cached) " >&6
71320 else
71321
71322
71323 ac_ext=cpp
71324 ac_cpp='$CXXCPP $CPPFLAGS'
71325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71328
71329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71330 /* end confdefs.h. */
71331 #include <math.h>
71332 #ifdef HAVE_IEEEFP_H
71333 #include <ieeefp.h>
71334 #endif
71335
71336 int
71337 main ()
71338 {
71339 logl(0);
71340 ;
71341 return 0;
71342 }
71343 _ACEOF
71344 if ac_fn_cxx_try_compile "$LINENO"; then :
71345 glibcxx_cv_func_logl_use=yes
71346 else
71347 glibcxx_cv_func_logl_use=no
71348 fi
71349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71350 ac_ext=c
71351 ac_cpp='$CPP $CPPFLAGS'
71352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71355
71356
71357 fi
71358
71359 fi
71360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71361 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71362
71363 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71364 for ac_func in logl
71365 do :
71366 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71367 if test "x$ac_cv_func_logl" = x""yes; then :
71368 cat >>confdefs.h <<_ACEOF
71369 #define HAVE_LOGL 1
71370 _ACEOF
71371
71372 fi
71373 done
71374
71375 else
71376
71377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71378 $as_echo_n "checking for _logl declaration... " >&6; }
71379 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71380 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71381 $as_echo_n "(cached) " >&6
71382 else
71383
71384
71385 ac_ext=cpp
71386 ac_cpp='$CXXCPP $CPPFLAGS'
71387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71390
71391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71392 /* end confdefs.h. */
71393 #include <math.h>
71394 #ifdef HAVE_IEEEFP_H
71395 #include <ieeefp.h>
71396 #endif
71397
71398 int
71399 main ()
71400 {
71401 _logl(0);
71402 ;
71403 return 0;
71404 }
71405 _ACEOF
71406 if ac_fn_cxx_try_compile "$LINENO"; then :
71407 glibcxx_cv_func__logl_use=yes
71408 else
71409 glibcxx_cv_func__logl_use=no
71410 fi
71411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71412 ac_ext=c
71413 ac_cpp='$CPP $CPPFLAGS'
71414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71417
71418
71419 fi
71420
71421 fi
71422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71423 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71424
71425 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71426 for ac_func in _logl
71427 do :
71428 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71429 if test "x$ac_cv_func__logl" = x""yes; then :
71430 cat >>confdefs.h <<_ACEOF
71431 #define HAVE__LOGL 1
71432 _ACEOF
71433
71434 fi
71435 done
71436
71437 fi
71438 fi
71439
71440
71441
71442
71443
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71445 $as_echo_n "checking for log10l declaration... " >&6; }
71446 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71447 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71448 $as_echo_n "(cached) " >&6
71449 else
71450
71451
71452 ac_ext=cpp
71453 ac_cpp='$CXXCPP $CPPFLAGS'
71454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71457
71458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71459 /* end confdefs.h. */
71460 #include <math.h>
71461 #ifdef HAVE_IEEEFP_H
71462 #include <ieeefp.h>
71463 #endif
71464
71465 int
71466 main ()
71467 {
71468 log10l(0);
71469 ;
71470 return 0;
71471 }
71472 _ACEOF
71473 if ac_fn_cxx_try_compile "$LINENO"; then :
71474 glibcxx_cv_func_log10l_use=yes
71475 else
71476 glibcxx_cv_func_log10l_use=no
71477 fi
71478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71479 ac_ext=c
71480 ac_cpp='$CPP $CPPFLAGS'
71481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71484
71485
71486 fi
71487
71488 fi
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71490 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71491
71492 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71493 for ac_func in log10l
71494 do :
71495 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71496 if test "x$ac_cv_func_log10l" = x""yes; then :
71497 cat >>confdefs.h <<_ACEOF
71498 #define HAVE_LOG10L 1
71499 _ACEOF
71500
71501 fi
71502 done
71503
71504 else
71505
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71507 $as_echo_n "checking for _log10l declaration... " >&6; }
71508 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71509 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71510 $as_echo_n "(cached) " >&6
71511 else
71512
71513
71514 ac_ext=cpp
71515 ac_cpp='$CXXCPP $CPPFLAGS'
71516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71519
71520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71521 /* end confdefs.h. */
71522 #include <math.h>
71523 #ifdef HAVE_IEEEFP_H
71524 #include <ieeefp.h>
71525 #endif
71526
71527 int
71528 main ()
71529 {
71530 _log10l(0);
71531 ;
71532 return 0;
71533 }
71534 _ACEOF
71535 if ac_fn_cxx_try_compile "$LINENO"; then :
71536 glibcxx_cv_func__log10l_use=yes
71537 else
71538 glibcxx_cv_func__log10l_use=no
71539 fi
71540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71541 ac_ext=c
71542 ac_cpp='$CPP $CPPFLAGS'
71543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71546
71547
71548 fi
71549
71550 fi
71551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71552 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71553
71554 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71555 for ac_func in _log10l
71556 do :
71557 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71558 if test "x$ac_cv_func__log10l" = x""yes; then :
71559 cat >>confdefs.h <<_ACEOF
71560 #define HAVE__LOG10L 1
71561 _ACEOF
71562
71563 fi
71564 done
71565
71566 fi
71567 fi
71568
71569
71570
71571
71572
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71574 $as_echo_n "checking for modfl declaration... " >&6; }
71575 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71576 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71577 $as_echo_n "(cached) " >&6
71578 else
71579
71580
71581 ac_ext=cpp
71582 ac_cpp='$CXXCPP $CPPFLAGS'
71583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71586
71587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71588 /* end confdefs.h. */
71589 #include <math.h>
71590 int
71591 main ()
71592 {
71593 modfl(0, 0);
71594 ;
71595 return 0;
71596 }
71597 _ACEOF
71598 if ac_fn_cxx_try_compile "$LINENO"; then :
71599 glibcxx_cv_func_modfl_use=yes
71600 else
71601 glibcxx_cv_func_modfl_use=no
71602 fi
71603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71604 ac_ext=c
71605 ac_cpp='$CPP $CPPFLAGS'
71606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71609
71610
71611 fi
71612
71613 fi
71614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71615 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71616
71617 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71618 for ac_func in modfl
71619 do :
71620 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71621 if test "x$ac_cv_func_modfl" = x""yes; then :
71622 cat >>confdefs.h <<_ACEOF
71623 #define HAVE_MODFL 1
71624 _ACEOF
71625
71626 fi
71627 done
71628
71629 else
71630
71631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71632 $as_echo_n "checking for _modfl declaration... " >&6; }
71633 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71634 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71635 $as_echo_n "(cached) " >&6
71636 else
71637
71638
71639 ac_ext=cpp
71640 ac_cpp='$CXXCPP $CPPFLAGS'
71641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71644
71645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71646 /* end confdefs.h. */
71647 #include <math.h>
71648 int
71649 main ()
71650 {
71651 _modfl(0, 0);
71652 ;
71653 return 0;
71654 }
71655 _ACEOF
71656 if ac_fn_cxx_try_compile "$LINENO"; then :
71657 glibcxx_cv_func__modfl_use=yes
71658 else
71659 glibcxx_cv_func__modfl_use=no
71660 fi
71661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71662 ac_ext=c
71663 ac_cpp='$CPP $CPPFLAGS'
71664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71667
71668
71669 fi
71670
71671 fi
71672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71673 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71674
71675 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71676 for ac_func in _modfl
71677 do :
71678 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71679 if test "x$ac_cv_func__modfl" = x""yes; then :
71680 cat >>confdefs.h <<_ACEOF
71681 #define HAVE__MODFL 1
71682 _ACEOF
71683
71684 fi
71685 done
71686
71687 fi
71688 fi
71689
71690
71691
71692
71693
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71695 $as_echo_n "checking for powl declaration... " >&6; }
71696 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71697 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71698 $as_echo_n "(cached) " >&6
71699 else
71700
71701
71702 ac_ext=cpp
71703 ac_cpp='$CXXCPP $CPPFLAGS'
71704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71707
71708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71709 /* end confdefs.h. */
71710 #include <math.h>
71711 int
71712 main ()
71713 {
71714 powl(0, 0);
71715 ;
71716 return 0;
71717 }
71718 _ACEOF
71719 if ac_fn_cxx_try_compile "$LINENO"; then :
71720 glibcxx_cv_func_powl_use=yes
71721 else
71722 glibcxx_cv_func_powl_use=no
71723 fi
71724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71725 ac_ext=c
71726 ac_cpp='$CPP $CPPFLAGS'
71727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71730
71731
71732 fi
71733
71734 fi
71735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71736 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71737
71738 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71739 for ac_func in powl
71740 do :
71741 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71742 if test "x$ac_cv_func_powl" = x""yes; then :
71743 cat >>confdefs.h <<_ACEOF
71744 #define HAVE_POWL 1
71745 _ACEOF
71746
71747 fi
71748 done
71749
71750 else
71751
71752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71753 $as_echo_n "checking for _powl declaration... " >&6; }
71754 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71755 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71756 $as_echo_n "(cached) " >&6
71757 else
71758
71759
71760 ac_ext=cpp
71761 ac_cpp='$CXXCPP $CPPFLAGS'
71762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71765
71766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71767 /* end confdefs.h. */
71768 #include <math.h>
71769 int
71770 main ()
71771 {
71772 _powl(0, 0);
71773 ;
71774 return 0;
71775 }
71776 _ACEOF
71777 if ac_fn_cxx_try_compile "$LINENO"; then :
71778 glibcxx_cv_func__powl_use=yes
71779 else
71780 glibcxx_cv_func__powl_use=no
71781 fi
71782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71783 ac_ext=c
71784 ac_cpp='$CPP $CPPFLAGS'
71785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71788
71789
71790 fi
71791
71792 fi
71793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71794 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71795
71796 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71797 for ac_func in _powl
71798 do :
71799 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71800 if test "x$ac_cv_func__powl" = x""yes; then :
71801 cat >>confdefs.h <<_ACEOF
71802 #define HAVE__POWL 1
71803 _ACEOF
71804
71805 fi
71806 done
71807
71808 fi
71809 fi
71810
71811
71812
71813
71814
71815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71816 $as_echo_n "checking for sqrtl declaration... " >&6; }
71817 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71818 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71819 $as_echo_n "(cached) " >&6
71820 else
71821
71822
71823 ac_ext=cpp
71824 ac_cpp='$CXXCPP $CPPFLAGS'
71825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71828
71829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71830 /* end confdefs.h. */
71831 #include <math.h>
71832 #ifdef HAVE_IEEEFP_H
71833 #include <ieeefp.h>
71834 #endif
71835
71836 int
71837 main ()
71838 {
71839 sqrtl(0);
71840 ;
71841 return 0;
71842 }
71843 _ACEOF
71844 if ac_fn_cxx_try_compile "$LINENO"; then :
71845 glibcxx_cv_func_sqrtl_use=yes
71846 else
71847 glibcxx_cv_func_sqrtl_use=no
71848 fi
71849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71850 ac_ext=c
71851 ac_cpp='$CPP $CPPFLAGS'
71852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71855
71856
71857 fi
71858
71859 fi
71860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71861 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71862
71863 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71864 for ac_func in sqrtl
71865 do :
71866 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71867 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71868 cat >>confdefs.h <<_ACEOF
71869 #define HAVE_SQRTL 1
71870 _ACEOF
71871
71872 fi
71873 done
71874
71875 else
71876
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71878 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71879 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71880 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71881 $as_echo_n "(cached) " >&6
71882 else
71883
71884
71885 ac_ext=cpp
71886 ac_cpp='$CXXCPP $CPPFLAGS'
71887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71890
71891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71892 /* end confdefs.h. */
71893 #include <math.h>
71894 #ifdef HAVE_IEEEFP_H
71895 #include <ieeefp.h>
71896 #endif
71897
71898 int
71899 main ()
71900 {
71901 _sqrtl(0);
71902 ;
71903 return 0;
71904 }
71905 _ACEOF
71906 if ac_fn_cxx_try_compile "$LINENO"; then :
71907 glibcxx_cv_func__sqrtl_use=yes
71908 else
71909 glibcxx_cv_func__sqrtl_use=no
71910 fi
71911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71912 ac_ext=c
71913 ac_cpp='$CPP $CPPFLAGS'
71914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71917
71918
71919 fi
71920
71921 fi
71922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71923 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71924
71925 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71926 for ac_func in _sqrtl
71927 do :
71928 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71929 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71930 cat >>confdefs.h <<_ACEOF
71931 #define HAVE__SQRTL 1
71932 _ACEOF
71933
71934 fi
71935 done
71936
71937 fi
71938 fi
71939
71940
71941
71942
71943
71944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71945 $as_echo_n "checking for sincosl declaration... " >&6; }
71946 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71947 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71948 $as_echo_n "(cached) " >&6
71949 else
71950
71951
71952 ac_ext=cpp
71953 ac_cpp='$CXXCPP $CPPFLAGS'
71954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71957
71958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71959 /* end confdefs.h. */
71960 #include <math.h>
71961 int
71962 main ()
71963 {
71964 sincosl(0, 0, 0);
71965 ;
71966 return 0;
71967 }
71968 _ACEOF
71969 if ac_fn_cxx_try_compile "$LINENO"; then :
71970 glibcxx_cv_func_sincosl_use=yes
71971 else
71972 glibcxx_cv_func_sincosl_use=no
71973 fi
71974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71975 ac_ext=c
71976 ac_cpp='$CPP $CPPFLAGS'
71977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71980
71981
71982 fi
71983
71984 fi
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71986 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71987
71988 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71989 for ac_func in sincosl
71990 do :
71991 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71992 if test "x$ac_cv_func_sincosl" = x""yes; then :
71993 cat >>confdefs.h <<_ACEOF
71994 #define HAVE_SINCOSL 1
71995 _ACEOF
71996
71997 fi
71998 done
71999
72000 else
72001
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72003 $as_echo_n "checking for _sincosl declaration... " >&6; }
72004 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72005 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72006 $as_echo_n "(cached) " >&6
72007 else
72008
72009
72010 ac_ext=cpp
72011 ac_cpp='$CXXCPP $CPPFLAGS'
72012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72015
72016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72017 /* end confdefs.h. */
72018 #include <math.h>
72019 int
72020 main ()
72021 {
72022 _sincosl(0, 0, 0);
72023 ;
72024 return 0;
72025 }
72026 _ACEOF
72027 if ac_fn_cxx_try_compile "$LINENO"; then :
72028 glibcxx_cv_func__sincosl_use=yes
72029 else
72030 glibcxx_cv_func__sincosl_use=no
72031 fi
72032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72033 ac_ext=c
72034 ac_cpp='$CPP $CPPFLAGS'
72035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72038
72039
72040 fi
72041
72042 fi
72043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72044 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72045
72046 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72047 for ac_func in _sincosl
72048 do :
72049 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72050 if test "x$ac_cv_func__sincosl" = x""yes; then :
72051 cat >>confdefs.h <<_ACEOF
72052 #define HAVE__SINCOSL 1
72053 _ACEOF
72054
72055 fi
72056 done
72057
72058 fi
72059 fi
72060
72061
72062
72063
72064
72065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72066 $as_echo_n "checking for finitel declaration... " >&6; }
72067 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72068 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72069 $as_echo_n "(cached) " >&6
72070 else
72071
72072
72073 ac_ext=cpp
72074 ac_cpp='$CXXCPP $CPPFLAGS'
72075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72078
72079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72080 /* end confdefs.h. */
72081 #include <math.h>
72082 #ifdef HAVE_IEEEFP_H
72083 #include <ieeefp.h>
72084 #endif
72085
72086 int
72087 main ()
72088 {
72089 finitel(0);
72090 ;
72091 return 0;
72092 }
72093 _ACEOF
72094 if ac_fn_cxx_try_compile "$LINENO"; then :
72095 glibcxx_cv_func_finitel_use=yes
72096 else
72097 glibcxx_cv_func_finitel_use=no
72098 fi
72099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72100 ac_ext=c
72101 ac_cpp='$CPP $CPPFLAGS'
72102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72105
72106
72107 fi
72108
72109 fi
72110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72111 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72112
72113 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72114 for ac_func in finitel
72115 do :
72116 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72117 if test "x$ac_cv_func_finitel" = x""yes; then :
72118 cat >>confdefs.h <<_ACEOF
72119 #define HAVE_FINITEL 1
72120 _ACEOF
72121
72122 fi
72123 done
72124
72125 else
72126
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72128 $as_echo_n "checking for _finitel declaration... " >&6; }
72129 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72130 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72131 $as_echo_n "(cached) " >&6
72132 else
72133
72134
72135 ac_ext=cpp
72136 ac_cpp='$CXXCPP $CPPFLAGS'
72137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72140
72141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72142 /* end confdefs.h. */
72143 #include <math.h>
72144 #ifdef HAVE_IEEEFP_H
72145 #include <ieeefp.h>
72146 #endif
72147
72148 int
72149 main ()
72150 {
72151 _finitel(0);
72152 ;
72153 return 0;
72154 }
72155 _ACEOF
72156 if ac_fn_cxx_try_compile "$LINENO"; then :
72157 glibcxx_cv_func__finitel_use=yes
72158 else
72159 glibcxx_cv_func__finitel_use=no
72160 fi
72161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72162 ac_ext=c
72163 ac_cpp='$CPP $CPPFLAGS'
72164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72167
72168
72169 fi
72170
72171 fi
72172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72173 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72174
72175 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72176 for ac_func in _finitel
72177 do :
72178 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72179 if test "x$ac_cv_func__finitel" = x""yes; then :
72180 cat >>confdefs.h <<_ACEOF
72181 #define HAVE__FINITEL 1
72182 _ACEOF
72183
72184 fi
72185 done
72186
72187 fi
72188 fi
72189
72190
72191
72192
72193 LIBS="$ac_save_LIBS"
72194 CXXFLAGS="$ac_save_CXXFLAGS"
72195
72196
72197 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72198 ac_save_CXXFLAGS="$CXXFLAGS"
72199 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72200
72201
72202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72203 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72204 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72205 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72206 $as_echo_n "(cached) " >&6
72207 else
72208
72209
72210 ac_ext=cpp
72211 ac_cpp='$CXXCPP $CPPFLAGS'
72212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72215
72216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72217 /* end confdefs.h. */
72218 #include <stdlib.h>
72219 int
72220 main ()
72221 {
72222 at_quick_exit(0);
72223 ;
72224 return 0;
72225 }
72226 _ACEOF
72227 if ac_fn_cxx_try_compile "$LINENO"; then :
72228 glibcxx_cv_func_at_quick_exit_use=yes
72229 else
72230 glibcxx_cv_func_at_quick_exit_use=no
72231 fi
72232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72233 ac_ext=c
72234 ac_cpp='$CPP $CPPFLAGS'
72235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72238
72239
72240 fi
72241
72242 fi
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72244 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72245 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72246 for ac_func in at_quick_exit
72247 do :
72248 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72249 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72250 cat >>confdefs.h <<_ACEOF
72251 #define HAVE_AT_QUICK_EXIT 1
72252 _ACEOF
72253
72254 fi
72255 done
72256
72257 fi
72258
72259
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72261 $as_echo_n "checking for quick_exit declaration... " >&6; }
72262 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72263 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72264 $as_echo_n "(cached) " >&6
72265 else
72266
72267
72268 ac_ext=cpp
72269 ac_cpp='$CXXCPP $CPPFLAGS'
72270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273
72274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72275 /* end confdefs.h. */
72276 #include <stdlib.h>
72277 int
72278 main ()
72279 {
72280 quick_exit(0);
72281 ;
72282 return 0;
72283 }
72284 _ACEOF
72285 if ac_fn_cxx_try_compile "$LINENO"; then :
72286 glibcxx_cv_func_quick_exit_use=yes
72287 else
72288 glibcxx_cv_func_quick_exit_use=no
72289 fi
72290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72291 ac_ext=c
72292 ac_cpp='$CPP $CPPFLAGS'
72293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72296
72297
72298 fi
72299
72300 fi
72301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72302 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72303 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72304 for ac_func in quick_exit
72305 do :
72306 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72307 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72308 cat >>confdefs.h <<_ACEOF
72309 #define HAVE_QUICK_EXIT 1
72310 _ACEOF
72311
72312 fi
72313 done
72314
72315 fi
72316
72317
72318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72319 $as_echo_n "checking for strtold declaration... " >&6; }
72320 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72321 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72322 $as_echo_n "(cached) " >&6
72323 else
72324
72325
72326 ac_ext=cpp
72327 ac_cpp='$CXXCPP $CPPFLAGS'
72328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72331
72332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72333 /* end confdefs.h. */
72334 #include <stdlib.h>
72335 int
72336 main ()
72337 {
72338 strtold(0, 0);
72339 ;
72340 return 0;
72341 }
72342 _ACEOF
72343 if ac_fn_cxx_try_compile "$LINENO"; then :
72344 glibcxx_cv_func_strtold_use=yes
72345 else
72346 glibcxx_cv_func_strtold_use=no
72347 fi
72348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72349 ac_ext=c
72350 ac_cpp='$CPP $CPPFLAGS'
72351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72354
72355
72356 fi
72357
72358 fi
72359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72360 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72361 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72362 for ac_func in strtold
72363 do :
72364 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72365 if test "x$ac_cv_func_strtold" = x""yes; then :
72366 cat >>confdefs.h <<_ACEOF
72367 #define HAVE_STRTOLD 1
72368 _ACEOF
72369
72370 fi
72371 done
72372
72373 fi
72374
72375
72376
72377
72378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72379 $as_echo_n "checking for strtof declaration... " >&6; }
72380 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72381 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72382 $as_echo_n "(cached) " >&6
72383 else
72384
72385
72386 ac_ext=cpp
72387 ac_cpp='$CXXCPP $CPPFLAGS'
72388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72391
72392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72393 /* end confdefs.h. */
72394 #include <stdlib.h>
72395 int
72396 main ()
72397 {
72398 strtof(0, 0);
72399 ;
72400 return 0;
72401 }
72402 _ACEOF
72403 if ac_fn_cxx_try_compile "$LINENO"; then :
72404 glibcxx_cv_func_strtof_use=yes
72405 else
72406 glibcxx_cv_func_strtof_use=no
72407 fi
72408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72409 ac_ext=c
72410 ac_cpp='$CPP $CPPFLAGS'
72411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72414
72415
72416 fi
72417
72418 fi
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72420 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72421 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72422 for ac_func in strtof
72423 do :
72424 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72425 if test "x$ac_cv_func_strtof" = x""yes; then :
72426 cat >>confdefs.h <<_ACEOF
72427 #define HAVE_STRTOF 1
72428 _ACEOF
72429
72430 fi
72431 done
72432
72433 fi
72434
72435
72436
72437
72438 CXXFLAGS="$ac_save_CXXFLAGS"
72439
72440 ;;
72441 *-tpf)
72442 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72443 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72444
72445 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72446
72447 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72448
72449 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72450
72451 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72452
72453 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72454
72455 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72456
72457 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72458
72459 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72460
72461 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72462
72463 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72464
72465 if test x"long_double_math_on_this_cpu" = x"yes"; then
72466 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72467
72468 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72469
72470 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72471
72472 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72473
72474 fi
72475 ;;
72476 *-*vms*)
72477 # Check for available headers.
72478 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72479
72480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72481 ac_save_CXXFLAGS="$CXXFLAGS"
72482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72483
72484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72485 $as_echo_n "checking for sin in -lm... " >&6; }
72486 if test "${ac_cv_lib_m_sin+set}" = set; then :
72487 $as_echo_n "(cached) " >&6
72488 else
72489 ac_check_lib_save_LIBS=$LIBS
72490 LIBS="-lm $LIBS"
72491 if test x$gcc_no_link = xyes; then
72492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72493 fi
72494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72495 /* end confdefs.h. */
72496
72497 /* Override any GCC internal prototype to avoid an error.
72498 Use char because int might match the return type of a GCC
72499 builtin and then its argument prototype would still apply. */
72500 #ifdef __cplusplus
72501 extern "C"
72502 #endif
72503 char sin ();
72504 int
72505 main ()
72506 {
72507 return sin ();
72508 ;
72509 return 0;
72510 }
72511 _ACEOF
72512 if ac_fn_c_try_link "$LINENO"; then :
72513 ac_cv_lib_m_sin=yes
72514 else
72515 ac_cv_lib_m_sin=no
72516 fi
72517 rm -f core conftest.err conftest.$ac_objext \
72518 conftest$ac_exeext conftest.$ac_ext
72519 LIBS=$ac_check_lib_save_LIBS
72520 fi
72521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72522 $as_echo "$ac_cv_lib_m_sin" >&6; }
72523 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72524 libm="-lm"
72525 fi
72526
72527 ac_save_LIBS="$LIBS"
72528 LIBS="$LIBS $libm"
72529
72530
72531
72532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72533 $as_echo_n "checking for isinf declaration... " >&6; }
72534 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72535 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72536 $as_echo_n "(cached) " >&6
72537 else
72538
72539
72540 ac_ext=cpp
72541 ac_cpp='$CXXCPP $CPPFLAGS'
72542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72545
72546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72547 /* end confdefs.h. */
72548 #include <math.h>
72549 #ifdef HAVE_IEEEFP_H
72550 #include <ieeefp.h>
72551 #endif
72552
72553 int
72554 main ()
72555 {
72556 isinf(0);
72557 ;
72558 return 0;
72559 }
72560 _ACEOF
72561 if ac_fn_cxx_try_compile "$LINENO"; then :
72562 glibcxx_cv_func_isinf_use=yes
72563 else
72564 glibcxx_cv_func_isinf_use=no
72565 fi
72566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72567 ac_ext=c
72568 ac_cpp='$CPP $CPPFLAGS'
72569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72572
72573
72574 fi
72575
72576 fi
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72578 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72579
72580 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72581 for ac_func in isinf
72582 do :
72583 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72584 if test "x$ac_cv_func_isinf" = x""yes; then :
72585 cat >>confdefs.h <<_ACEOF
72586 #define HAVE_ISINF 1
72587 _ACEOF
72588
72589 fi
72590 done
72591
72592 else
72593
72594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72595 $as_echo_n "checking for _isinf declaration... " >&6; }
72596 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72597 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72598 $as_echo_n "(cached) " >&6
72599 else
72600
72601
72602 ac_ext=cpp
72603 ac_cpp='$CXXCPP $CPPFLAGS'
72604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72607
72608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72609 /* end confdefs.h. */
72610 #include <math.h>
72611 #ifdef HAVE_IEEEFP_H
72612 #include <ieeefp.h>
72613 #endif
72614
72615 int
72616 main ()
72617 {
72618 _isinf(0);
72619 ;
72620 return 0;
72621 }
72622 _ACEOF
72623 if ac_fn_cxx_try_compile "$LINENO"; then :
72624 glibcxx_cv_func__isinf_use=yes
72625 else
72626 glibcxx_cv_func__isinf_use=no
72627 fi
72628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72629 ac_ext=c
72630 ac_cpp='$CPP $CPPFLAGS'
72631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72634
72635
72636 fi
72637
72638 fi
72639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72640 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72641
72642 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72643 for ac_func in _isinf
72644 do :
72645 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72646 if test "x$ac_cv_func__isinf" = x""yes; then :
72647 cat >>confdefs.h <<_ACEOF
72648 #define HAVE__ISINF 1
72649 _ACEOF
72650
72651 fi
72652 done
72653
72654 fi
72655 fi
72656
72657
72658
72659
72660
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72662 $as_echo_n "checking for isnan declaration... " >&6; }
72663 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72664 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72665 $as_echo_n "(cached) " >&6
72666 else
72667
72668
72669 ac_ext=cpp
72670 ac_cpp='$CXXCPP $CPPFLAGS'
72671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72674
72675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72676 /* end confdefs.h. */
72677 #include <math.h>
72678 #ifdef HAVE_IEEEFP_H
72679 #include <ieeefp.h>
72680 #endif
72681
72682 int
72683 main ()
72684 {
72685 isnan(0);
72686 ;
72687 return 0;
72688 }
72689 _ACEOF
72690 if ac_fn_cxx_try_compile "$LINENO"; then :
72691 glibcxx_cv_func_isnan_use=yes
72692 else
72693 glibcxx_cv_func_isnan_use=no
72694 fi
72695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72696 ac_ext=c
72697 ac_cpp='$CPP $CPPFLAGS'
72698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72701
72702
72703 fi
72704
72705 fi
72706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72707 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72708
72709 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72710 for ac_func in isnan
72711 do :
72712 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72713 if test "x$ac_cv_func_isnan" = x""yes; then :
72714 cat >>confdefs.h <<_ACEOF
72715 #define HAVE_ISNAN 1
72716 _ACEOF
72717
72718 fi
72719 done
72720
72721 else
72722
72723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72724 $as_echo_n "checking for _isnan declaration... " >&6; }
72725 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72726 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72727 $as_echo_n "(cached) " >&6
72728 else
72729
72730
72731 ac_ext=cpp
72732 ac_cpp='$CXXCPP $CPPFLAGS'
72733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72736
72737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72738 /* end confdefs.h. */
72739 #include <math.h>
72740 #ifdef HAVE_IEEEFP_H
72741 #include <ieeefp.h>
72742 #endif
72743
72744 int
72745 main ()
72746 {
72747 _isnan(0);
72748 ;
72749 return 0;
72750 }
72751 _ACEOF
72752 if ac_fn_cxx_try_compile "$LINENO"; then :
72753 glibcxx_cv_func__isnan_use=yes
72754 else
72755 glibcxx_cv_func__isnan_use=no
72756 fi
72757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72758 ac_ext=c
72759 ac_cpp='$CPP $CPPFLAGS'
72760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72763
72764
72765 fi
72766
72767 fi
72768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72769 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72770
72771 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72772 for ac_func in _isnan
72773 do :
72774 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72775 if test "x$ac_cv_func__isnan" = x""yes; then :
72776 cat >>confdefs.h <<_ACEOF
72777 #define HAVE__ISNAN 1
72778 _ACEOF
72779
72780 fi
72781 done
72782
72783 fi
72784 fi
72785
72786
72787
72788
72789
72790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72791 $as_echo_n "checking for finite declaration... " >&6; }
72792 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72793 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72794 $as_echo_n "(cached) " >&6
72795 else
72796
72797
72798 ac_ext=cpp
72799 ac_cpp='$CXXCPP $CPPFLAGS'
72800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72803
72804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72805 /* end confdefs.h. */
72806 #include <math.h>
72807 #ifdef HAVE_IEEEFP_H
72808 #include <ieeefp.h>
72809 #endif
72810
72811 int
72812 main ()
72813 {
72814 finite(0);
72815 ;
72816 return 0;
72817 }
72818 _ACEOF
72819 if ac_fn_cxx_try_compile "$LINENO"; then :
72820 glibcxx_cv_func_finite_use=yes
72821 else
72822 glibcxx_cv_func_finite_use=no
72823 fi
72824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72825 ac_ext=c
72826 ac_cpp='$CPP $CPPFLAGS'
72827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72830
72831
72832 fi
72833
72834 fi
72835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72836 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72837
72838 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72839 for ac_func in finite
72840 do :
72841 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72842 if test "x$ac_cv_func_finite" = x""yes; then :
72843 cat >>confdefs.h <<_ACEOF
72844 #define HAVE_FINITE 1
72845 _ACEOF
72846
72847 fi
72848 done
72849
72850 else
72851
72852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72853 $as_echo_n "checking for _finite declaration... " >&6; }
72854 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72855 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72856 $as_echo_n "(cached) " >&6
72857 else
72858
72859
72860 ac_ext=cpp
72861 ac_cpp='$CXXCPP $CPPFLAGS'
72862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72865
72866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72867 /* end confdefs.h. */
72868 #include <math.h>
72869 #ifdef HAVE_IEEEFP_H
72870 #include <ieeefp.h>
72871 #endif
72872
72873 int
72874 main ()
72875 {
72876 _finite(0);
72877 ;
72878 return 0;
72879 }
72880 _ACEOF
72881 if ac_fn_cxx_try_compile "$LINENO"; then :
72882 glibcxx_cv_func__finite_use=yes
72883 else
72884 glibcxx_cv_func__finite_use=no
72885 fi
72886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72887 ac_ext=c
72888 ac_cpp='$CPP $CPPFLAGS'
72889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72892
72893
72894 fi
72895
72896 fi
72897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72898 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72899
72900 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72901 for ac_func in _finite
72902 do :
72903 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72904 if test "x$ac_cv_func__finite" = x""yes; then :
72905 cat >>confdefs.h <<_ACEOF
72906 #define HAVE__FINITE 1
72907 _ACEOF
72908
72909 fi
72910 done
72911
72912 fi
72913 fi
72914
72915
72916
72917
72918
72919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72920 $as_echo_n "checking for sincos declaration... " >&6; }
72921 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72922 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72923 $as_echo_n "(cached) " >&6
72924 else
72925
72926
72927 ac_ext=cpp
72928 ac_cpp='$CXXCPP $CPPFLAGS'
72929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72932
72933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72934 /* end confdefs.h. */
72935 #include <math.h>
72936 int
72937 main ()
72938 {
72939 sincos(0, 0, 0);
72940 ;
72941 return 0;
72942 }
72943 _ACEOF
72944 if ac_fn_cxx_try_compile "$LINENO"; then :
72945 glibcxx_cv_func_sincos_use=yes
72946 else
72947 glibcxx_cv_func_sincos_use=no
72948 fi
72949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72950 ac_ext=c
72951 ac_cpp='$CPP $CPPFLAGS'
72952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72955
72956
72957 fi
72958
72959 fi
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72961 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72962
72963 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72964 for ac_func in sincos
72965 do :
72966 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72967 if test "x$ac_cv_func_sincos" = x""yes; then :
72968 cat >>confdefs.h <<_ACEOF
72969 #define HAVE_SINCOS 1
72970 _ACEOF
72971
72972 fi
72973 done
72974
72975 else
72976
72977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72978 $as_echo_n "checking for _sincos declaration... " >&6; }
72979 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72980 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72981 $as_echo_n "(cached) " >&6
72982 else
72983
72984
72985 ac_ext=cpp
72986 ac_cpp='$CXXCPP $CPPFLAGS'
72987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72990
72991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72992 /* end confdefs.h. */
72993 #include <math.h>
72994 int
72995 main ()
72996 {
72997 _sincos(0, 0, 0);
72998 ;
72999 return 0;
73000 }
73001 _ACEOF
73002 if ac_fn_cxx_try_compile "$LINENO"; then :
73003 glibcxx_cv_func__sincos_use=yes
73004 else
73005 glibcxx_cv_func__sincos_use=no
73006 fi
73007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73008 ac_ext=c
73009 ac_cpp='$CPP $CPPFLAGS'
73010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73013
73014
73015 fi
73016
73017 fi
73018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73019 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73020
73021 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73022 for ac_func in _sincos
73023 do :
73024 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73025 if test "x$ac_cv_func__sincos" = x""yes; then :
73026 cat >>confdefs.h <<_ACEOF
73027 #define HAVE__SINCOS 1
73028 _ACEOF
73029
73030 fi
73031 done
73032
73033 fi
73034 fi
73035
73036
73037
73038
73039
73040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73041 $as_echo_n "checking for fpclass declaration... " >&6; }
73042 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73043 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73044 $as_echo_n "(cached) " >&6
73045 else
73046
73047
73048 ac_ext=cpp
73049 ac_cpp='$CXXCPP $CPPFLAGS'
73050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73053
73054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73055 /* end confdefs.h. */
73056 #include <math.h>
73057 #ifdef HAVE_IEEEFP_H
73058 #include <ieeefp.h>
73059 #endif
73060
73061 int
73062 main ()
73063 {
73064 fpclass(0);
73065 ;
73066 return 0;
73067 }
73068 _ACEOF
73069 if ac_fn_cxx_try_compile "$LINENO"; then :
73070 glibcxx_cv_func_fpclass_use=yes
73071 else
73072 glibcxx_cv_func_fpclass_use=no
73073 fi
73074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73075 ac_ext=c
73076 ac_cpp='$CPP $CPPFLAGS'
73077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73080
73081
73082 fi
73083
73084 fi
73085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73086 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73087
73088 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73089 for ac_func in fpclass
73090 do :
73091 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73092 if test "x$ac_cv_func_fpclass" = x""yes; then :
73093 cat >>confdefs.h <<_ACEOF
73094 #define HAVE_FPCLASS 1
73095 _ACEOF
73096
73097 fi
73098 done
73099
73100 else
73101
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73103 $as_echo_n "checking for _fpclass declaration... " >&6; }
73104 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73105 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73106 $as_echo_n "(cached) " >&6
73107 else
73108
73109
73110 ac_ext=cpp
73111 ac_cpp='$CXXCPP $CPPFLAGS'
73112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73115
73116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73117 /* end confdefs.h. */
73118 #include <math.h>
73119 #ifdef HAVE_IEEEFP_H
73120 #include <ieeefp.h>
73121 #endif
73122
73123 int
73124 main ()
73125 {
73126 _fpclass(0);
73127 ;
73128 return 0;
73129 }
73130 _ACEOF
73131 if ac_fn_cxx_try_compile "$LINENO"; then :
73132 glibcxx_cv_func__fpclass_use=yes
73133 else
73134 glibcxx_cv_func__fpclass_use=no
73135 fi
73136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73137 ac_ext=c
73138 ac_cpp='$CPP $CPPFLAGS'
73139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73142
73143
73144 fi
73145
73146 fi
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73148 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73149
73150 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73151 for ac_func in _fpclass
73152 do :
73153 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73154 if test "x$ac_cv_func__fpclass" = x""yes; then :
73155 cat >>confdefs.h <<_ACEOF
73156 #define HAVE__FPCLASS 1
73157 _ACEOF
73158
73159 fi
73160 done
73161
73162 fi
73163 fi
73164
73165
73166
73167
73168
73169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73170 $as_echo_n "checking for qfpclass declaration... " >&6; }
73171 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73172 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73173 $as_echo_n "(cached) " >&6
73174 else
73175
73176
73177 ac_ext=cpp
73178 ac_cpp='$CXXCPP $CPPFLAGS'
73179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73182
73183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73184 /* end confdefs.h. */
73185 #include <math.h>
73186 #ifdef HAVE_IEEEFP_H
73187 #include <ieeefp.h>
73188 #endif
73189
73190 int
73191 main ()
73192 {
73193 qfpclass(0);
73194 ;
73195 return 0;
73196 }
73197 _ACEOF
73198 if ac_fn_cxx_try_compile "$LINENO"; then :
73199 glibcxx_cv_func_qfpclass_use=yes
73200 else
73201 glibcxx_cv_func_qfpclass_use=no
73202 fi
73203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73204 ac_ext=c
73205 ac_cpp='$CPP $CPPFLAGS'
73206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73209
73210
73211 fi
73212
73213 fi
73214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73215 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73216
73217 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73218 for ac_func in qfpclass
73219 do :
73220 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73221 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73222 cat >>confdefs.h <<_ACEOF
73223 #define HAVE_QFPCLASS 1
73224 _ACEOF
73225
73226 fi
73227 done
73228
73229 else
73230
73231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73232 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73233 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73234 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73235 $as_echo_n "(cached) " >&6
73236 else
73237
73238
73239 ac_ext=cpp
73240 ac_cpp='$CXXCPP $CPPFLAGS'
73241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73244
73245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73246 /* end confdefs.h. */
73247 #include <math.h>
73248 #ifdef HAVE_IEEEFP_H
73249 #include <ieeefp.h>
73250 #endif
73251
73252 int
73253 main ()
73254 {
73255 _qfpclass(0);
73256 ;
73257 return 0;
73258 }
73259 _ACEOF
73260 if ac_fn_cxx_try_compile "$LINENO"; then :
73261 glibcxx_cv_func__qfpclass_use=yes
73262 else
73263 glibcxx_cv_func__qfpclass_use=no
73264 fi
73265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73266 ac_ext=c
73267 ac_cpp='$CPP $CPPFLAGS'
73268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73271
73272
73273 fi
73274
73275 fi
73276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73277 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73278
73279 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73280 for ac_func in _qfpclass
73281 do :
73282 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73283 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73284 cat >>confdefs.h <<_ACEOF
73285 #define HAVE__QFPCLASS 1
73286 _ACEOF
73287
73288 fi
73289 done
73290
73291 fi
73292 fi
73293
73294
73295
73296
73297
73298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73299 $as_echo_n "checking for hypot declaration... " >&6; }
73300 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73301 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73302 $as_echo_n "(cached) " >&6
73303 else
73304
73305
73306 ac_ext=cpp
73307 ac_cpp='$CXXCPP $CPPFLAGS'
73308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73311
73312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73313 /* end confdefs.h. */
73314 #include <math.h>
73315 int
73316 main ()
73317 {
73318 hypot(0, 0);
73319 ;
73320 return 0;
73321 }
73322 _ACEOF
73323 if ac_fn_cxx_try_compile "$LINENO"; then :
73324 glibcxx_cv_func_hypot_use=yes
73325 else
73326 glibcxx_cv_func_hypot_use=no
73327 fi
73328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73329 ac_ext=c
73330 ac_cpp='$CPP $CPPFLAGS'
73331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73334
73335
73336 fi
73337
73338 fi
73339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73340 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73341
73342 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73343 for ac_func in hypot
73344 do :
73345 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73346 if test "x$ac_cv_func_hypot" = x""yes; then :
73347 cat >>confdefs.h <<_ACEOF
73348 #define HAVE_HYPOT 1
73349 _ACEOF
73350
73351 fi
73352 done
73353
73354 else
73355
73356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73357 $as_echo_n "checking for _hypot declaration... " >&6; }
73358 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73359 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73360 $as_echo_n "(cached) " >&6
73361 else
73362
73363
73364 ac_ext=cpp
73365 ac_cpp='$CXXCPP $CPPFLAGS'
73366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73369
73370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73371 /* end confdefs.h. */
73372 #include <math.h>
73373 int
73374 main ()
73375 {
73376 _hypot(0, 0);
73377 ;
73378 return 0;
73379 }
73380 _ACEOF
73381 if ac_fn_cxx_try_compile "$LINENO"; then :
73382 glibcxx_cv_func__hypot_use=yes
73383 else
73384 glibcxx_cv_func__hypot_use=no
73385 fi
73386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73387 ac_ext=c
73388 ac_cpp='$CPP $CPPFLAGS'
73389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73392
73393
73394 fi
73395
73396 fi
73397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73398 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73399
73400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73401 for ac_func in _hypot
73402 do :
73403 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73404 if test "x$ac_cv_func__hypot" = x""yes; then :
73405 cat >>confdefs.h <<_ACEOF
73406 #define HAVE__HYPOT 1
73407 _ACEOF
73408
73409 fi
73410 done
73411
73412 fi
73413 fi
73414
73415
73416
73417
73418
73419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73420 $as_echo_n "checking for float trig functions... " >&6; }
73421 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73422 $as_echo_n "(cached) " >&6
73423 else
73424
73425
73426 ac_ext=cpp
73427 ac_cpp='$CXXCPP $CPPFLAGS'
73428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73431
73432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73433 /* end confdefs.h. */
73434 #include <math.h>
73435 int
73436 main ()
73437 {
73438 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73439 ;
73440 return 0;
73441 }
73442 _ACEOF
73443 if ac_fn_cxx_try_compile "$LINENO"; then :
73444 glibcxx_cv_func_float_trig_use=yes
73445 else
73446 glibcxx_cv_func_float_trig_use=no
73447 fi
73448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73449 ac_ext=c
73450 ac_cpp='$CPP $CPPFLAGS'
73451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73454
73455 fi
73456
73457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73458 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73459 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73460 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73461 do :
73462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73464 eval as_val=\$$as_ac_var
73465 if test "x$as_val" = x""yes; then :
73466 cat >>confdefs.h <<_ACEOF
73467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73468 _ACEOF
73469
73470 fi
73471 done
73472
73473 else
73474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73475 $as_echo_n "checking for _float trig functions... " >&6; }
73476 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73477 $as_echo_n "(cached) " >&6
73478 else
73479
73480
73481 ac_ext=cpp
73482 ac_cpp='$CXXCPP $CPPFLAGS'
73483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73486
73487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73488 /* end confdefs.h. */
73489 #include <math.h>
73490 int
73491 main ()
73492 {
73493 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73494 ;
73495 return 0;
73496 }
73497 _ACEOF
73498 if ac_fn_cxx_try_compile "$LINENO"; then :
73499 glibcxx_cv_func__float_trig_use=yes
73500 else
73501 glibcxx_cv_func__float_trig_use=no
73502 fi
73503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73504 ac_ext=c
73505 ac_cpp='$CPP $CPPFLAGS'
73506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73509
73510 fi
73511
73512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73513 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73514 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73515 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73516 do :
73517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73519 eval as_val=\$$as_ac_var
73520 if test "x$as_val" = x""yes; then :
73521 cat >>confdefs.h <<_ACEOF
73522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73523 _ACEOF
73524
73525 fi
73526 done
73527
73528 fi
73529 fi
73530
73531
73532
73533
73534
73535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73536 $as_echo_n "checking for float round functions... " >&6; }
73537 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73538 $as_echo_n "(cached) " >&6
73539 else
73540
73541
73542 ac_ext=cpp
73543 ac_cpp='$CXXCPP $CPPFLAGS'
73544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73547
73548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73549 /* end confdefs.h. */
73550 #include <math.h>
73551 int
73552 main ()
73553 {
73554 ceilf (0); floorf (0);
73555 ;
73556 return 0;
73557 }
73558 _ACEOF
73559 if ac_fn_cxx_try_compile "$LINENO"; then :
73560 glibcxx_cv_func_float_round_use=yes
73561 else
73562 glibcxx_cv_func_float_round_use=no
73563 fi
73564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73565 ac_ext=c
73566 ac_cpp='$CPP $CPPFLAGS'
73567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73570
73571 fi
73572
73573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73574 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73575 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73576 for ac_func in ceilf floorf
73577 do :
73578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73580 eval as_val=\$$as_ac_var
73581 if test "x$as_val" = x""yes; then :
73582 cat >>confdefs.h <<_ACEOF
73583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73584 _ACEOF
73585
73586 fi
73587 done
73588
73589 else
73590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73591 $as_echo_n "checking for _float round functions... " >&6; }
73592 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73593 $as_echo_n "(cached) " >&6
73594 else
73595
73596
73597 ac_ext=cpp
73598 ac_cpp='$CXXCPP $CPPFLAGS'
73599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73602
73603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73604 /* end confdefs.h. */
73605 #include <math.h>
73606 int
73607 main ()
73608 {
73609 _ceilf (0); _floorf (0);
73610 ;
73611 return 0;
73612 }
73613 _ACEOF
73614 if ac_fn_cxx_try_compile "$LINENO"; then :
73615 glibcxx_cv_func__float_round_use=yes
73616 else
73617 glibcxx_cv_func__float_round_use=no
73618 fi
73619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73620 ac_ext=c
73621 ac_cpp='$CPP $CPPFLAGS'
73622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73625
73626 fi
73627
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73629 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73630 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73631 for ac_func in _ceilf _floorf
73632 do :
73633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73635 eval as_val=\$$as_ac_var
73636 if test "x$as_val" = x""yes; then :
73637 cat >>confdefs.h <<_ACEOF
73638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73639 _ACEOF
73640
73641 fi
73642 done
73643
73644 fi
73645 fi
73646
73647
73648
73649
73650
73651
73652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73653 $as_echo_n "checking for expf declaration... " >&6; }
73654 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73655 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73656 $as_echo_n "(cached) " >&6
73657 else
73658
73659
73660 ac_ext=cpp
73661 ac_cpp='$CXXCPP $CPPFLAGS'
73662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73665
73666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73667 /* end confdefs.h. */
73668 #include <math.h>
73669 #ifdef HAVE_IEEEFP_H
73670 #include <ieeefp.h>
73671 #endif
73672
73673 int
73674 main ()
73675 {
73676 expf(0);
73677 ;
73678 return 0;
73679 }
73680 _ACEOF
73681 if ac_fn_cxx_try_compile "$LINENO"; then :
73682 glibcxx_cv_func_expf_use=yes
73683 else
73684 glibcxx_cv_func_expf_use=no
73685 fi
73686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73687 ac_ext=c
73688 ac_cpp='$CPP $CPPFLAGS'
73689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73692
73693
73694 fi
73695
73696 fi
73697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73698 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73699
73700 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73701 for ac_func in expf
73702 do :
73703 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73704 if test "x$ac_cv_func_expf" = x""yes; then :
73705 cat >>confdefs.h <<_ACEOF
73706 #define HAVE_EXPF 1
73707 _ACEOF
73708
73709 fi
73710 done
73711
73712 else
73713
73714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73715 $as_echo_n "checking for _expf declaration... " >&6; }
73716 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73717 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73718 $as_echo_n "(cached) " >&6
73719 else
73720
73721
73722 ac_ext=cpp
73723 ac_cpp='$CXXCPP $CPPFLAGS'
73724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73727
73728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73729 /* end confdefs.h. */
73730 #include <math.h>
73731 #ifdef HAVE_IEEEFP_H
73732 #include <ieeefp.h>
73733 #endif
73734
73735 int
73736 main ()
73737 {
73738 _expf(0);
73739 ;
73740 return 0;
73741 }
73742 _ACEOF
73743 if ac_fn_cxx_try_compile "$LINENO"; then :
73744 glibcxx_cv_func__expf_use=yes
73745 else
73746 glibcxx_cv_func__expf_use=no
73747 fi
73748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73749 ac_ext=c
73750 ac_cpp='$CPP $CPPFLAGS'
73751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73754
73755
73756 fi
73757
73758 fi
73759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73760 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73761
73762 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73763 for ac_func in _expf
73764 do :
73765 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73766 if test "x$ac_cv_func__expf" = x""yes; then :
73767 cat >>confdefs.h <<_ACEOF
73768 #define HAVE__EXPF 1
73769 _ACEOF
73770
73771 fi
73772 done
73773
73774 fi
73775 fi
73776
73777
73778
73779
73780
73781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73782 $as_echo_n "checking for isnanf declaration... " >&6; }
73783 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73784 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73785 $as_echo_n "(cached) " >&6
73786 else
73787
73788
73789 ac_ext=cpp
73790 ac_cpp='$CXXCPP $CPPFLAGS'
73791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73794
73795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73796 /* end confdefs.h. */
73797 #include <math.h>
73798 #ifdef HAVE_IEEEFP_H
73799 #include <ieeefp.h>
73800 #endif
73801
73802 int
73803 main ()
73804 {
73805 isnanf(0);
73806 ;
73807 return 0;
73808 }
73809 _ACEOF
73810 if ac_fn_cxx_try_compile "$LINENO"; then :
73811 glibcxx_cv_func_isnanf_use=yes
73812 else
73813 glibcxx_cv_func_isnanf_use=no
73814 fi
73815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73816 ac_ext=c
73817 ac_cpp='$CPP $CPPFLAGS'
73818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73821
73822
73823 fi
73824
73825 fi
73826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73827 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73828
73829 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73830 for ac_func in isnanf
73831 do :
73832 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73833 if test "x$ac_cv_func_isnanf" = x""yes; then :
73834 cat >>confdefs.h <<_ACEOF
73835 #define HAVE_ISNANF 1
73836 _ACEOF
73837
73838 fi
73839 done
73840
73841 else
73842
73843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73844 $as_echo_n "checking for _isnanf declaration... " >&6; }
73845 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73846 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73847 $as_echo_n "(cached) " >&6
73848 else
73849
73850
73851 ac_ext=cpp
73852 ac_cpp='$CXXCPP $CPPFLAGS'
73853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73856
73857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73858 /* end confdefs.h. */
73859 #include <math.h>
73860 #ifdef HAVE_IEEEFP_H
73861 #include <ieeefp.h>
73862 #endif
73863
73864 int
73865 main ()
73866 {
73867 _isnanf(0);
73868 ;
73869 return 0;
73870 }
73871 _ACEOF
73872 if ac_fn_cxx_try_compile "$LINENO"; then :
73873 glibcxx_cv_func__isnanf_use=yes
73874 else
73875 glibcxx_cv_func__isnanf_use=no
73876 fi
73877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73878 ac_ext=c
73879 ac_cpp='$CPP $CPPFLAGS'
73880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73883
73884
73885 fi
73886
73887 fi
73888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73889 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73890
73891 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73892 for ac_func in _isnanf
73893 do :
73894 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73895 if test "x$ac_cv_func__isnanf" = x""yes; then :
73896 cat >>confdefs.h <<_ACEOF
73897 #define HAVE__ISNANF 1
73898 _ACEOF
73899
73900 fi
73901 done
73902
73903 fi
73904 fi
73905
73906
73907
73908
73909
73910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73911 $as_echo_n "checking for isinff declaration... " >&6; }
73912 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73913 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73914 $as_echo_n "(cached) " >&6
73915 else
73916
73917
73918 ac_ext=cpp
73919 ac_cpp='$CXXCPP $CPPFLAGS'
73920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73923
73924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73925 /* end confdefs.h. */
73926 #include <math.h>
73927 #ifdef HAVE_IEEEFP_H
73928 #include <ieeefp.h>
73929 #endif
73930
73931 int
73932 main ()
73933 {
73934 isinff(0);
73935 ;
73936 return 0;
73937 }
73938 _ACEOF
73939 if ac_fn_cxx_try_compile "$LINENO"; then :
73940 glibcxx_cv_func_isinff_use=yes
73941 else
73942 glibcxx_cv_func_isinff_use=no
73943 fi
73944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73945 ac_ext=c
73946 ac_cpp='$CPP $CPPFLAGS'
73947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73950
73951
73952 fi
73953
73954 fi
73955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73956 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73957
73958 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73959 for ac_func in isinff
73960 do :
73961 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73962 if test "x$ac_cv_func_isinff" = x""yes; then :
73963 cat >>confdefs.h <<_ACEOF
73964 #define HAVE_ISINFF 1
73965 _ACEOF
73966
73967 fi
73968 done
73969
73970 else
73971
73972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73973 $as_echo_n "checking for _isinff declaration... " >&6; }
73974 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73975 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73976 $as_echo_n "(cached) " >&6
73977 else
73978
73979
73980 ac_ext=cpp
73981 ac_cpp='$CXXCPP $CPPFLAGS'
73982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73985
73986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73987 /* end confdefs.h. */
73988 #include <math.h>
73989 #ifdef HAVE_IEEEFP_H
73990 #include <ieeefp.h>
73991 #endif
73992
73993 int
73994 main ()
73995 {
73996 _isinff(0);
73997 ;
73998 return 0;
73999 }
74000 _ACEOF
74001 if ac_fn_cxx_try_compile "$LINENO"; then :
74002 glibcxx_cv_func__isinff_use=yes
74003 else
74004 glibcxx_cv_func__isinff_use=no
74005 fi
74006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74007 ac_ext=c
74008 ac_cpp='$CPP $CPPFLAGS'
74009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74012
74013
74014 fi
74015
74016 fi
74017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74018 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74019
74020 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74021 for ac_func in _isinff
74022 do :
74023 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74024 if test "x$ac_cv_func__isinff" = x""yes; then :
74025 cat >>confdefs.h <<_ACEOF
74026 #define HAVE__ISINFF 1
74027 _ACEOF
74028
74029 fi
74030 done
74031
74032 fi
74033 fi
74034
74035
74036
74037
74038
74039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74040 $as_echo_n "checking for atan2f declaration... " >&6; }
74041 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74042 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74043 $as_echo_n "(cached) " >&6
74044 else
74045
74046
74047 ac_ext=cpp
74048 ac_cpp='$CXXCPP $CPPFLAGS'
74049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74052
74053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74054 /* end confdefs.h. */
74055 #include <math.h>
74056 int
74057 main ()
74058 {
74059 atan2f(0, 0);
74060 ;
74061 return 0;
74062 }
74063 _ACEOF
74064 if ac_fn_cxx_try_compile "$LINENO"; then :
74065 glibcxx_cv_func_atan2f_use=yes
74066 else
74067 glibcxx_cv_func_atan2f_use=no
74068 fi
74069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74070 ac_ext=c
74071 ac_cpp='$CPP $CPPFLAGS'
74072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74075
74076
74077 fi
74078
74079 fi
74080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74081 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74082
74083 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74084 for ac_func in atan2f
74085 do :
74086 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74087 if test "x$ac_cv_func_atan2f" = x""yes; then :
74088 cat >>confdefs.h <<_ACEOF
74089 #define HAVE_ATAN2F 1
74090 _ACEOF
74091
74092 fi
74093 done
74094
74095 else
74096
74097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74098 $as_echo_n "checking for _atan2f declaration... " >&6; }
74099 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74100 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74101 $as_echo_n "(cached) " >&6
74102 else
74103
74104
74105 ac_ext=cpp
74106 ac_cpp='$CXXCPP $CPPFLAGS'
74107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74110
74111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74112 /* end confdefs.h. */
74113 #include <math.h>
74114 int
74115 main ()
74116 {
74117 _atan2f(0, 0);
74118 ;
74119 return 0;
74120 }
74121 _ACEOF
74122 if ac_fn_cxx_try_compile "$LINENO"; then :
74123 glibcxx_cv_func__atan2f_use=yes
74124 else
74125 glibcxx_cv_func__atan2f_use=no
74126 fi
74127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74128 ac_ext=c
74129 ac_cpp='$CPP $CPPFLAGS'
74130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74133
74134
74135 fi
74136
74137 fi
74138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74139 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74140
74141 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74142 for ac_func in _atan2f
74143 do :
74144 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74145 if test "x$ac_cv_func__atan2f" = x""yes; then :
74146 cat >>confdefs.h <<_ACEOF
74147 #define HAVE__ATAN2F 1
74148 _ACEOF
74149
74150 fi
74151 done
74152
74153 fi
74154 fi
74155
74156
74157
74158
74159
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74161 $as_echo_n "checking for fabsf declaration... " >&6; }
74162 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74163 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74164 $as_echo_n "(cached) " >&6
74165 else
74166
74167
74168 ac_ext=cpp
74169 ac_cpp='$CXXCPP $CPPFLAGS'
74170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74173
74174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74175 /* end confdefs.h. */
74176 #include <math.h>
74177 #ifdef HAVE_IEEEFP_H
74178 #include <ieeefp.h>
74179 #endif
74180
74181 int
74182 main ()
74183 {
74184 fabsf(0);
74185 ;
74186 return 0;
74187 }
74188 _ACEOF
74189 if ac_fn_cxx_try_compile "$LINENO"; then :
74190 glibcxx_cv_func_fabsf_use=yes
74191 else
74192 glibcxx_cv_func_fabsf_use=no
74193 fi
74194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74195 ac_ext=c
74196 ac_cpp='$CPP $CPPFLAGS'
74197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74200
74201
74202 fi
74203
74204 fi
74205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74206 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74207
74208 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74209 for ac_func in fabsf
74210 do :
74211 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74212 if test "x$ac_cv_func_fabsf" = x""yes; then :
74213 cat >>confdefs.h <<_ACEOF
74214 #define HAVE_FABSF 1
74215 _ACEOF
74216
74217 fi
74218 done
74219
74220 else
74221
74222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74223 $as_echo_n "checking for _fabsf declaration... " >&6; }
74224 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74225 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74226 $as_echo_n "(cached) " >&6
74227 else
74228
74229
74230 ac_ext=cpp
74231 ac_cpp='$CXXCPP $CPPFLAGS'
74232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74235
74236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74237 /* end confdefs.h. */
74238 #include <math.h>
74239 #ifdef HAVE_IEEEFP_H
74240 #include <ieeefp.h>
74241 #endif
74242
74243 int
74244 main ()
74245 {
74246 _fabsf(0);
74247 ;
74248 return 0;
74249 }
74250 _ACEOF
74251 if ac_fn_cxx_try_compile "$LINENO"; then :
74252 glibcxx_cv_func__fabsf_use=yes
74253 else
74254 glibcxx_cv_func__fabsf_use=no
74255 fi
74256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74257 ac_ext=c
74258 ac_cpp='$CPP $CPPFLAGS'
74259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74262
74263
74264 fi
74265
74266 fi
74267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74268 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74269
74270 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74271 for ac_func in _fabsf
74272 do :
74273 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74274 if test "x$ac_cv_func__fabsf" = x""yes; then :
74275 cat >>confdefs.h <<_ACEOF
74276 #define HAVE__FABSF 1
74277 _ACEOF
74278
74279 fi
74280 done
74281
74282 fi
74283 fi
74284
74285
74286
74287
74288
74289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74290 $as_echo_n "checking for fmodf declaration... " >&6; }
74291 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74292 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74293 $as_echo_n "(cached) " >&6
74294 else
74295
74296
74297 ac_ext=cpp
74298 ac_cpp='$CXXCPP $CPPFLAGS'
74299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74302
74303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74304 /* end confdefs.h. */
74305 #include <math.h>
74306 int
74307 main ()
74308 {
74309 fmodf(0, 0);
74310 ;
74311 return 0;
74312 }
74313 _ACEOF
74314 if ac_fn_cxx_try_compile "$LINENO"; then :
74315 glibcxx_cv_func_fmodf_use=yes
74316 else
74317 glibcxx_cv_func_fmodf_use=no
74318 fi
74319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74320 ac_ext=c
74321 ac_cpp='$CPP $CPPFLAGS'
74322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74325
74326
74327 fi
74328
74329 fi
74330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74331 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74332
74333 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74334 for ac_func in fmodf
74335 do :
74336 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74337 if test "x$ac_cv_func_fmodf" = x""yes; then :
74338 cat >>confdefs.h <<_ACEOF
74339 #define HAVE_FMODF 1
74340 _ACEOF
74341
74342 fi
74343 done
74344
74345 else
74346
74347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74348 $as_echo_n "checking for _fmodf declaration... " >&6; }
74349 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74350 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74351 $as_echo_n "(cached) " >&6
74352 else
74353
74354
74355 ac_ext=cpp
74356 ac_cpp='$CXXCPP $CPPFLAGS'
74357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74360
74361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74362 /* end confdefs.h. */
74363 #include <math.h>
74364 int
74365 main ()
74366 {
74367 _fmodf(0, 0);
74368 ;
74369 return 0;
74370 }
74371 _ACEOF
74372 if ac_fn_cxx_try_compile "$LINENO"; then :
74373 glibcxx_cv_func__fmodf_use=yes
74374 else
74375 glibcxx_cv_func__fmodf_use=no
74376 fi
74377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74378 ac_ext=c
74379 ac_cpp='$CPP $CPPFLAGS'
74380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74383
74384
74385 fi
74386
74387 fi
74388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74389 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74390
74391 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74392 for ac_func in _fmodf
74393 do :
74394 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74395 if test "x$ac_cv_func__fmodf" = x""yes; then :
74396 cat >>confdefs.h <<_ACEOF
74397 #define HAVE__FMODF 1
74398 _ACEOF
74399
74400 fi
74401 done
74402
74403 fi
74404 fi
74405
74406
74407
74408
74409
74410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74411 $as_echo_n "checking for frexpf declaration... " >&6; }
74412 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74413 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74414 $as_echo_n "(cached) " >&6
74415 else
74416
74417
74418 ac_ext=cpp
74419 ac_cpp='$CXXCPP $CPPFLAGS'
74420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74423
74424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74425 /* end confdefs.h. */
74426 #include <math.h>
74427 int
74428 main ()
74429 {
74430 frexpf(0, 0);
74431 ;
74432 return 0;
74433 }
74434 _ACEOF
74435 if ac_fn_cxx_try_compile "$LINENO"; then :
74436 glibcxx_cv_func_frexpf_use=yes
74437 else
74438 glibcxx_cv_func_frexpf_use=no
74439 fi
74440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74441 ac_ext=c
74442 ac_cpp='$CPP $CPPFLAGS'
74443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74446
74447
74448 fi
74449
74450 fi
74451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74452 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74453
74454 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74455 for ac_func in frexpf
74456 do :
74457 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74458 if test "x$ac_cv_func_frexpf" = x""yes; then :
74459 cat >>confdefs.h <<_ACEOF
74460 #define HAVE_FREXPF 1
74461 _ACEOF
74462
74463 fi
74464 done
74465
74466 else
74467
74468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74469 $as_echo_n "checking for _frexpf declaration... " >&6; }
74470 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74471 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74472 $as_echo_n "(cached) " >&6
74473 else
74474
74475
74476 ac_ext=cpp
74477 ac_cpp='$CXXCPP $CPPFLAGS'
74478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74481
74482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74483 /* end confdefs.h. */
74484 #include <math.h>
74485 int
74486 main ()
74487 {
74488 _frexpf(0, 0);
74489 ;
74490 return 0;
74491 }
74492 _ACEOF
74493 if ac_fn_cxx_try_compile "$LINENO"; then :
74494 glibcxx_cv_func__frexpf_use=yes
74495 else
74496 glibcxx_cv_func__frexpf_use=no
74497 fi
74498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74499 ac_ext=c
74500 ac_cpp='$CPP $CPPFLAGS'
74501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74504
74505
74506 fi
74507
74508 fi
74509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74510 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74511
74512 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74513 for ac_func in _frexpf
74514 do :
74515 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74516 if test "x$ac_cv_func__frexpf" = x""yes; then :
74517 cat >>confdefs.h <<_ACEOF
74518 #define HAVE__FREXPF 1
74519 _ACEOF
74520
74521 fi
74522 done
74523
74524 fi
74525 fi
74526
74527
74528
74529
74530
74531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74532 $as_echo_n "checking for hypotf declaration... " >&6; }
74533 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74534 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74535 $as_echo_n "(cached) " >&6
74536 else
74537
74538
74539 ac_ext=cpp
74540 ac_cpp='$CXXCPP $CPPFLAGS'
74541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74544
74545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74546 /* end confdefs.h. */
74547 #include <math.h>
74548 int
74549 main ()
74550 {
74551 hypotf(0, 0);
74552 ;
74553 return 0;
74554 }
74555 _ACEOF
74556 if ac_fn_cxx_try_compile "$LINENO"; then :
74557 glibcxx_cv_func_hypotf_use=yes
74558 else
74559 glibcxx_cv_func_hypotf_use=no
74560 fi
74561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74562 ac_ext=c
74563 ac_cpp='$CPP $CPPFLAGS'
74564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74567
74568
74569 fi
74570
74571 fi
74572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74573 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74574
74575 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74576 for ac_func in hypotf
74577 do :
74578 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74579 if test "x$ac_cv_func_hypotf" = x""yes; then :
74580 cat >>confdefs.h <<_ACEOF
74581 #define HAVE_HYPOTF 1
74582 _ACEOF
74583
74584 fi
74585 done
74586
74587 else
74588
74589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74590 $as_echo_n "checking for _hypotf declaration... " >&6; }
74591 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74592 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74593 $as_echo_n "(cached) " >&6
74594 else
74595
74596
74597 ac_ext=cpp
74598 ac_cpp='$CXXCPP $CPPFLAGS'
74599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74602
74603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74604 /* end confdefs.h. */
74605 #include <math.h>
74606 int
74607 main ()
74608 {
74609 _hypotf(0, 0);
74610 ;
74611 return 0;
74612 }
74613 _ACEOF
74614 if ac_fn_cxx_try_compile "$LINENO"; then :
74615 glibcxx_cv_func__hypotf_use=yes
74616 else
74617 glibcxx_cv_func__hypotf_use=no
74618 fi
74619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74620 ac_ext=c
74621 ac_cpp='$CPP $CPPFLAGS'
74622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74625
74626
74627 fi
74628
74629 fi
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74631 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74632
74633 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74634 for ac_func in _hypotf
74635 do :
74636 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74637 if test "x$ac_cv_func__hypotf" = x""yes; then :
74638 cat >>confdefs.h <<_ACEOF
74639 #define HAVE__HYPOTF 1
74640 _ACEOF
74641
74642 fi
74643 done
74644
74645 fi
74646 fi
74647
74648
74649
74650
74651
74652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74653 $as_echo_n "checking for ldexpf declaration... " >&6; }
74654 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74655 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74656 $as_echo_n "(cached) " >&6
74657 else
74658
74659
74660 ac_ext=cpp
74661 ac_cpp='$CXXCPP $CPPFLAGS'
74662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74665
74666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74667 /* end confdefs.h. */
74668 #include <math.h>
74669 int
74670 main ()
74671 {
74672 ldexpf(0, 0);
74673 ;
74674 return 0;
74675 }
74676 _ACEOF
74677 if ac_fn_cxx_try_compile "$LINENO"; then :
74678 glibcxx_cv_func_ldexpf_use=yes
74679 else
74680 glibcxx_cv_func_ldexpf_use=no
74681 fi
74682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74683 ac_ext=c
74684 ac_cpp='$CPP $CPPFLAGS'
74685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74688
74689
74690 fi
74691
74692 fi
74693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74694 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74695
74696 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74697 for ac_func in ldexpf
74698 do :
74699 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74700 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74701 cat >>confdefs.h <<_ACEOF
74702 #define HAVE_LDEXPF 1
74703 _ACEOF
74704
74705 fi
74706 done
74707
74708 else
74709
74710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74711 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74712 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74713 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74714 $as_echo_n "(cached) " >&6
74715 else
74716
74717
74718 ac_ext=cpp
74719 ac_cpp='$CXXCPP $CPPFLAGS'
74720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74723
74724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74725 /* end confdefs.h. */
74726 #include <math.h>
74727 int
74728 main ()
74729 {
74730 _ldexpf(0, 0);
74731 ;
74732 return 0;
74733 }
74734 _ACEOF
74735 if ac_fn_cxx_try_compile "$LINENO"; then :
74736 glibcxx_cv_func__ldexpf_use=yes
74737 else
74738 glibcxx_cv_func__ldexpf_use=no
74739 fi
74740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74741 ac_ext=c
74742 ac_cpp='$CPP $CPPFLAGS'
74743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74746
74747
74748 fi
74749
74750 fi
74751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74752 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74753
74754 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74755 for ac_func in _ldexpf
74756 do :
74757 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74758 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74759 cat >>confdefs.h <<_ACEOF
74760 #define HAVE__LDEXPF 1
74761 _ACEOF
74762
74763 fi
74764 done
74765
74766 fi
74767 fi
74768
74769
74770
74771
74772
74773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74774 $as_echo_n "checking for logf declaration... " >&6; }
74775 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74776 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74777 $as_echo_n "(cached) " >&6
74778 else
74779
74780
74781 ac_ext=cpp
74782 ac_cpp='$CXXCPP $CPPFLAGS'
74783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74786
74787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74788 /* end confdefs.h. */
74789 #include <math.h>
74790 #ifdef HAVE_IEEEFP_H
74791 #include <ieeefp.h>
74792 #endif
74793
74794 int
74795 main ()
74796 {
74797 logf(0);
74798 ;
74799 return 0;
74800 }
74801 _ACEOF
74802 if ac_fn_cxx_try_compile "$LINENO"; then :
74803 glibcxx_cv_func_logf_use=yes
74804 else
74805 glibcxx_cv_func_logf_use=no
74806 fi
74807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74808 ac_ext=c
74809 ac_cpp='$CPP $CPPFLAGS'
74810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74813
74814
74815 fi
74816
74817 fi
74818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74819 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74820
74821 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74822 for ac_func in logf
74823 do :
74824 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74825 if test "x$ac_cv_func_logf" = x""yes; then :
74826 cat >>confdefs.h <<_ACEOF
74827 #define HAVE_LOGF 1
74828 _ACEOF
74829
74830 fi
74831 done
74832
74833 else
74834
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74836 $as_echo_n "checking for _logf declaration... " >&6; }
74837 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74838 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74839 $as_echo_n "(cached) " >&6
74840 else
74841
74842
74843 ac_ext=cpp
74844 ac_cpp='$CXXCPP $CPPFLAGS'
74845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74848
74849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74850 /* end confdefs.h. */
74851 #include <math.h>
74852 #ifdef HAVE_IEEEFP_H
74853 #include <ieeefp.h>
74854 #endif
74855
74856 int
74857 main ()
74858 {
74859 _logf(0);
74860 ;
74861 return 0;
74862 }
74863 _ACEOF
74864 if ac_fn_cxx_try_compile "$LINENO"; then :
74865 glibcxx_cv_func__logf_use=yes
74866 else
74867 glibcxx_cv_func__logf_use=no
74868 fi
74869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74870 ac_ext=c
74871 ac_cpp='$CPP $CPPFLAGS'
74872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74875
74876
74877 fi
74878
74879 fi
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74881 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74882
74883 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74884 for ac_func in _logf
74885 do :
74886 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74887 if test "x$ac_cv_func__logf" = x""yes; then :
74888 cat >>confdefs.h <<_ACEOF
74889 #define HAVE__LOGF 1
74890 _ACEOF
74891
74892 fi
74893 done
74894
74895 fi
74896 fi
74897
74898
74899
74900
74901
74902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74903 $as_echo_n "checking for log10f declaration... " >&6; }
74904 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74905 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74906 $as_echo_n "(cached) " >&6
74907 else
74908
74909
74910 ac_ext=cpp
74911 ac_cpp='$CXXCPP $CPPFLAGS'
74912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74915
74916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74917 /* end confdefs.h. */
74918 #include <math.h>
74919 #ifdef HAVE_IEEEFP_H
74920 #include <ieeefp.h>
74921 #endif
74922
74923 int
74924 main ()
74925 {
74926 log10f(0);
74927 ;
74928 return 0;
74929 }
74930 _ACEOF
74931 if ac_fn_cxx_try_compile "$LINENO"; then :
74932 glibcxx_cv_func_log10f_use=yes
74933 else
74934 glibcxx_cv_func_log10f_use=no
74935 fi
74936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74937 ac_ext=c
74938 ac_cpp='$CPP $CPPFLAGS'
74939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74942
74943
74944 fi
74945
74946 fi
74947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74948 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74949
74950 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74951 for ac_func in log10f
74952 do :
74953 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74954 if test "x$ac_cv_func_log10f" = x""yes; then :
74955 cat >>confdefs.h <<_ACEOF
74956 #define HAVE_LOG10F 1
74957 _ACEOF
74958
74959 fi
74960 done
74961
74962 else
74963
74964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74965 $as_echo_n "checking for _log10f declaration... " >&6; }
74966 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74967 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74968 $as_echo_n "(cached) " >&6
74969 else
74970
74971
74972 ac_ext=cpp
74973 ac_cpp='$CXXCPP $CPPFLAGS'
74974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74977
74978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74979 /* end confdefs.h. */
74980 #include <math.h>
74981 #ifdef HAVE_IEEEFP_H
74982 #include <ieeefp.h>
74983 #endif
74984
74985 int
74986 main ()
74987 {
74988 _log10f(0);
74989 ;
74990 return 0;
74991 }
74992 _ACEOF
74993 if ac_fn_cxx_try_compile "$LINENO"; then :
74994 glibcxx_cv_func__log10f_use=yes
74995 else
74996 glibcxx_cv_func__log10f_use=no
74997 fi
74998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74999 ac_ext=c
75000 ac_cpp='$CPP $CPPFLAGS'
75001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75004
75005
75006 fi
75007
75008 fi
75009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75010 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75011
75012 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75013 for ac_func in _log10f
75014 do :
75015 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75016 if test "x$ac_cv_func__log10f" = x""yes; then :
75017 cat >>confdefs.h <<_ACEOF
75018 #define HAVE__LOG10F 1
75019 _ACEOF
75020
75021 fi
75022 done
75023
75024 fi
75025 fi
75026
75027
75028
75029
75030
75031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75032 $as_echo_n "checking for modff declaration... " >&6; }
75033 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75034 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75035 $as_echo_n "(cached) " >&6
75036 else
75037
75038
75039 ac_ext=cpp
75040 ac_cpp='$CXXCPP $CPPFLAGS'
75041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75044
75045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75046 /* end confdefs.h. */
75047 #include <math.h>
75048 int
75049 main ()
75050 {
75051 modff(0, 0);
75052 ;
75053 return 0;
75054 }
75055 _ACEOF
75056 if ac_fn_cxx_try_compile "$LINENO"; then :
75057 glibcxx_cv_func_modff_use=yes
75058 else
75059 glibcxx_cv_func_modff_use=no
75060 fi
75061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75062 ac_ext=c
75063 ac_cpp='$CPP $CPPFLAGS'
75064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75067
75068
75069 fi
75070
75071 fi
75072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75073 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75074
75075 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75076 for ac_func in modff
75077 do :
75078 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75079 if test "x$ac_cv_func_modff" = x""yes; then :
75080 cat >>confdefs.h <<_ACEOF
75081 #define HAVE_MODFF 1
75082 _ACEOF
75083
75084 fi
75085 done
75086
75087 else
75088
75089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75090 $as_echo_n "checking for _modff declaration... " >&6; }
75091 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75092 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75093 $as_echo_n "(cached) " >&6
75094 else
75095
75096
75097 ac_ext=cpp
75098 ac_cpp='$CXXCPP $CPPFLAGS'
75099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75102
75103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75104 /* end confdefs.h. */
75105 #include <math.h>
75106 int
75107 main ()
75108 {
75109 _modff(0, 0);
75110 ;
75111 return 0;
75112 }
75113 _ACEOF
75114 if ac_fn_cxx_try_compile "$LINENO"; then :
75115 glibcxx_cv_func__modff_use=yes
75116 else
75117 glibcxx_cv_func__modff_use=no
75118 fi
75119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75120 ac_ext=c
75121 ac_cpp='$CPP $CPPFLAGS'
75122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75125
75126
75127 fi
75128
75129 fi
75130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75131 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75132
75133 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75134 for ac_func in _modff
75135 do :
75136 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75137 if test "x$ac_cv_func__modff" = x""yes; then :
75138 cat >>confdefs.h <<_ACEOF
75139 #define HAVE__MODFF 1
75140 _ACEOF
75141
75142 fi
75143 done
75144
75145 fi
75146 fi
75147
75148
75149
75150
75151
75152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75153 $as_echo_n "checking for modf declaration... " >&6; }
75154 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75155 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75156 $as_echo_n "(cached) " >&6
75157 else
75158
75159
75160 ac_ext=cpp
75161 ac_cpp='$CXXCPP $CPPFLAGS'
75162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75165
75166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75167 /* end confdefs.h. */
75168 #include <math.h>
75169 int
75170 main ()
75171 {
75172 modf(0, 0);
75173 ;
75174 return 0;
75175 }
75176 _ACEOF
75177 if ac_fn_cxx_try_compile "$LINENO"; then :
75178 glibcxx_cv_func_modf_use=yes
75179 else
75180 glibcxx_cv_func_modf_use=no
75181 fi
75182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75183 ac_ext=c
75184 ac_cpp='$CPP $CPPFLAGS'
75185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75188
75189
75190 fi
75191
75192 fi
75193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75194 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75195
75196 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75197 for ac_func in modf
75198 do :
75199 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75200 if test "x$ac_cv_func_modf" = x""yes; then :
75201 cat >>confdefs.h <<_ACEOF
75202 #define HAVE_MODF 1
75203 _ACEOF
75204
75205 fi
75206 done
75207
75208 else
75209
75210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75211 $as_echo_n "checking for _modf declaration... " >&6; }
75212 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75213 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75214 $as_echo_n "(cached) " >&6
75215 else
75216
75217
75218 ac_ext=cpp
75219 ac_cpp='$CXXCPP $CPPFLAGS'
75220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75223
75224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75225 /* end confdefs.h. */
75226 #include <math.h>
75227 int
75228 main ()
75229 {
75230 _modf(0, 0);
75231 ;
75232 return 0;
75233 }
75234 _ACEOF
75235 if ac_fn_cxx_try_compile "$LINENO"; then :
75236 glibcxx_cv_func__modf_use=yes
75237 else
75238 glibcxx_cv_func__modf_use=no
75239 fi
75240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75241 ac_ext=c
75242 ac_cpp='$CPP $CPPFLAGS'
75243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75246
75247
75248 fi
75249
75250 fi
75251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75252 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75253
75254 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75255 for ac_func in _modf
75256 do :
75257 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75258 if test "x$ac_cv_func__modf" = x""yes; then :
75259 cat >>confdefs.h <<_ACEOF
75260 #define HAVE__MODF 1
75261 _ACEOF
75262
75263 fi
75264 done
75265
75266 fi
75267 fi
75268
75269
75270
75271
75272
75273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75274 $as_echo_n "checking for powf declaration... " >&6; }
75275 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75276 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75277 $as_echo_n "(cached) " >&6
75278 else
75279
75280
75281 ac_ext=cpp
75282 ac_cpp='$CXXCPP $CPPFLAGS'
75283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75286
75287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75288 /* end confdefs.h. */
75289 #include <math.h>
75290 int
75291 main ()
75292 {
75293 powf(0, 0);
75294 ;
75295 return 0;
75296 }
75297 _ACEOF
75298 if ac_fn_cxx_try_compile "$LINENO"; then :
75299 glibcxx_cv_func_powf_use=yes
75300 else
75301 glibcxx_cv_func_powf_use=no
75302 fi
75303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75304 ac_ext=c
75305 ac_cpp='$CPP $CPPFLAGS'
75306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75309
75310
75311 fi
75312
75313 fi
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75315 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75316
75317 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75318 for ac_func in powf
75319 do :
75320 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75321 if test "x$ac_cv_func_powf" = x""yes; then :
75322 cat >>confdefs.h <<_ACEOF
75323 #define HAVE_POWF 1
75324 _ACEOF
75325
75326 fi
75327 done
75328
75329 else
75330
75331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75332 $as_echo_n "checking for _powf declaration... " >&6; }
75333 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75334 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75335 $as_echo_n "(cached) " >&6
75336 else
75337
75338
75339 ac_ext=cpp
75340 ac_cpp='$CXXCPP $CPPFLAGS'
75341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75344
75345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75346 /* end confdefs.h. */
75347 #include <math.h>
75348 int
75349 main ()
75350 {
75351 _powf(0, 0);
75352 ;
75353 return 0;
75354 }
75355 _ACEOF
75356 if ac_fn_cxx_try_compile "$LINENO"; then :
75357 glibcxx_cv_func__powf_use=yes
75358 else
75359 glibcxx_cv_func__powf_use=no
75360 fi
75361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75362 ac_ext=c
75363 ac_cpp='$CPP $CPPFLAGS'
75364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75367
75368
75369 fi
75370
75371 fi
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75373 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75374
75375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75376 for ac_func in _powf
75377 do :
75378 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75379 if test "x$ac_cv_func__powf" = x""yes; then :
75380 cat >>confdefs.h <<_ACEOF
75381 #define HAVE__POWF 1
75382 _ACEOF
75383
75384 fi
75385 done
75386
75387 fi
75388 fi
75389
75390
75391
75392
75393
75394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75395 $as_echo_n "checking for sqrtf declaration... " >&6; }
75396 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75397 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75398 $as_echo_n "(cached) " >&6
75399 else
75400
75401
75402 ac_ext=cpp
75403 ac_cpp='$CXXCPP $CPPFLAGS'
75404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75407
75408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75409 /* end confdefs.h. */
75410 #include <math.h>
75411 #ifdef HAVE_IEEEFP_H
75412 #include <ieeefp.h>
75413 #endif
75414
75415 int
75416 main ()
75417 {
75418 sqrtf(0);
75419 ;
75420 return 0;
75421 }
75422 _ACEOF
75423 if ac_fn_cxx_try_compile "$LINENO"; then :
75424 glibcxx_cv_func_sqrtf_use=yes
75425 else
75426 glibcxx_cv_func_sqrtf_use=no
75427 fi
75428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75429 ac_ext=c
75430 ac_cpp='$CPP $CPPFLAGS'
75431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75434
75435
75436 fi
75437
75438 fi
75439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75440 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75441
75442 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75443 for ac_func in sqrtf
75444 do :
75445 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75446 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75447 cat >>confdefs.h <<_ACEOF
75448 #define HAVE_SQRTF 1
75449 _ACEOF
75450
75451 fi
75452 done
75453
75454 else
75455
75456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75457 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75458 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75459 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75460 $as_echo_n "(cached) " >&6
75461 else
75462
75463
75464 ac_ext=cpp
75465 ac_cpp='$CXXCPP $CPPFLAGS'
75466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75469
75470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75471 /* end confdefs.h. */
75472 #include <math.h>
75473 #ifdef HAVE_IEEEFP_H
75474 #include <ieeefp.h>
75475 #endif
75476
75477 int
75478 main ()
75479 {
75480 _sqrtf(0);
75481 ;
75482 return 0;
75483 }
75484 _ACEOF
75485 if ac_fn_cxx_try_compile "$LINENO"; then :
75486 glibcxx_cv_func__sqrtf_use=yes
75487 else
75488 glibcxx_cv_func__sqrtf_use=no
75489 fi
75490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75491 ac_ext=c
75492 ac_cpp='$CPP $CPPFLAGS'
75493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75496
75497
75498 fi
75499
75500 fi
75501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75502 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75503
75504 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75505 for ac_func in _sqrtf
75506 do :
75507 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75508 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75509 cat >>confdefs.h <<_ACEOF
75510 #define HAVE__SQRTF 1
75511 _ACEOF
75512
75513 fi
75514 done
75515
75516 fi
75517 fi
75518
75519
75520
75521
75522
75523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75524 $as_echo_n "checking for sincosf declaration... " >&6; }
75525 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75526 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75527 $as_echo_n "(cached) " >&6
75528 else
75529
75530
75531 ac_ext=cpp
75532 ac_cpp='$CXXCPP $CPPFLAGS'
75533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75536
75537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75538 /* end confdefs.h. */
75539 #include <math.h>
75540 int
75541 main ()
75542 {
75543 sincosf(0, 0, 0);
75544 ;
75545 return 0;
75546 }
75547 _ACEOF
75548 if ac_fn_cxx_try_compile "$LINENO"; then :
75549 glibcxx_cv_func_sincosf_use=yes
75550 else
75551 glibcxx_cv_func_sincosf_use=no
75552 fi
75553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75554 ac_ext=c
75555 ac_cpp='$CPP $CPPFLAGS'
75556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75559
75560
75561 fi
75562
75563 fi
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75565 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75566
75567 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75568 for ac_func in sincosf
75569 do :
75570 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75571 if test "x$ac_cv_func_sincosf" = x""yes; then :
75572 cat >>confdefs.h <<_ACEOF
75573 #define HAVE_SINCOSF 1
75574 _ACEOF
75575
75576 fi
75577 done
75578
75579 else
75580
75581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75582 $as_echo_n "checking for _sincosf declaration... " >&6; }
75583 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75584 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75585 $as_echo_n "(cached) " >&6
75586 else
75587
75588
75589 ac_ext=cpp
75590 ac_cpp='$CXXCPP $CPPFLAGS'
75591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75594
75595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75596 /* end confdefs.h. */
75597 #include <math.h>
75598 int
75599 main ()
75600 {
75601 _sincosf(0, 0, 0);
75602 ;
75603 return 0;
75604 }
75605 _ACEOF
75606 if ac_fn_cxx_try_compile "$LINENO"; then :
75607 glibcxx_cv_func__sincosf_use=yes
75608 else
75609 glibcxx_cv_func__sincosf_use=no
75610 fi
75611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75612 ac_ext=c
75613 ac_cpp='$CPP $CPPFLAGS'
75614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75617
75618
75619 fi
75620
75621 fi
75622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75623 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75624
75625 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75626 for ac_func in _sincosf
75627 do :
75628 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75629 if test "x$ac_cv_func__sincosf" = x""yes; then :
75630 cat >>confdefs.h <<_ACEOF
75631 #define HAVE__SINCOSF 1
75632 _ACEOF
75633
75634 fi
75635 done
75636
75637 fi
75638 fi
75639
75640
75641
75642
75643
75644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75645 $as_echo_n "checking for finitef declaration... " >&6; }
75646 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75647 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75648 $as_echo_n "(cached) " >&6
75649 else
75650
75651
75652 ac_ext=cpp
75653 ac_cpp='$CXXCPP $CPPFLAGS'
75654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75657
75658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75659 /* end confdefs.h. */
75660 #include <math.h>
75661 #ifdef HAVE_IEEEFP_H
75662 #include <ieeefp.h>
75663 #endif
75664
75665 int
75666 main ()
75667 {
75668 finitef(0);
75669 ;
75670 return 0;
75671 }
75672 _ACEOF
75673 if ac_fn_cxx_try_compile "$LINENO"; then :
75674 glibcxx_cv_func_finitef_use=yes
75675 else
75676 glibcxx_cv_func_finitef_use=no
75677 fi
75678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75679 ac_ext=c
75680 ac_cpp='$CPP $CPPFLAGS'
75681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75684
75685
75686 fi
75687
75688 fi
75689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75690 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75691
75692 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75693 for ac_func in finitef
75694 do :
75695 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75696 if test "x$ac_cv_func_finitef" = x""yes; then :
75697 cat >>confdefs.h <<_ACEOF
75698 #define HAVE_FINITEF 1
75699 _ACEOF
75700
75701 fi
75702 done
75703
75704 else
75705
75706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75707 $as_echo_n "checking for _finitef declaration... " >&6; }
75708 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75709 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75710 $as_echo_n "(cached) " >&6
75711 else
75712
75713
75714 ac_ext=cpp
75715 ac_cpp='$CXXCPP $CPPFLAGS'
75716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75719
75720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75721 /* end confdefs.h. */
75722 #include <math.h>
75723 #ifdef HAVE_IEEEFP_H
75724 #include <ieeefp.h>
75725 #endif
75726
75727 int
75728 main ()
75729 {
75730 _finitef(0);
75731 ;
75732 return 0;
75733 }
75734 _ACEOF
75735 if ac_fn_cxx_try_compile "$LINENO"; then :
75736 glibcxx_cv_func__finitef_use=yes
75737 else
75738 glibcxx_cv_func__finitef_use=no
75739 fi
75740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75741 ac_ext=c
75742 ac_cpp='$CPP $CPPFLAGS'
75743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75746
75747
75748 fi
75749
75750 fi
75751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75752 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75753
75754 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75755 for ac_func in _finitef
75756 do :
75757 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75758 if test "x$ac_cv_func__finitef" = x""yes; then :
75759 cat >>confdefs.h <<_ACEOF
75760 #define HAVE__FINITEF 1
75761 _ACEOF
75762
75763 fi
75764 done
75765
75766 fi
75767 fi
75768
75769
75770
75771
75772
75773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75774 $as_echo_n "checking for long double trig functions... " >&6; }
75775 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75776 $as_echo_n "(cached) " >&6
75777 else
75778
75779
75780 ac_ext=cpp
75781 ac_cpp='$CXXCPP $CPPFLAGS'
75782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75785
75786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75787 /* end confdefs.h. */
75788 #include <math.h>
75789 int
75790 main ()
75791 {
75792 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75793 ;
75794 return 0;
75795 }
75796 _ACEOF
75797 if ac_fn_cxx_try_compile "$LINENO"; then :
75798 glibcxx_cv_func_long_double_trig_use=yes
75799 else
75800 glibcxx_cv_func_long_double_trig_use=no
75801 fi
75802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75803 ac_ext=c
75804 ac_cpp='$CPP $CPPFLAGS'
75805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75808
75809 fi
75810
75811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75812 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75813 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75814 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75815 do :
75816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75818 eval as_val=\$$as_ac_var
75819 if test "x$as_val" = x""yes; then :
75820 cat >>confdefs.h <<_ACEOF
75821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75822 _ACEOF
75823
75824 fi
75825 done
75826
75827 else
75828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75829 $as_echo_n "checking for _long double trig functions... " >&6; }
75830 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75831 $as_echo_n "(cached) " >&6
75832 else
75833
75834
75835 ac_ext=cpp
75836 ac_cpp='$CXXCPP $CPPFLAGS'
75837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75840
75841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75842 /* end confdefs.h. */
75843 #include <math.h>
75844 int
75845 main ()
75846 {
75847 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75848 ;
75849 return 0;
75850 }
75851 _ACEOF
75852 if ac_fn_cxx_try_compile "$LINENO"; then :
75853 glibcxx_cv_func__long_double_trig_use=yes
75854 else
75855 glibcxx_cv_func__long_double_trig_use=no
75856 fi
75857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75858 ac_ext=c
75859 ac_cpp='$CPP $CPPFLAGS'
75860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75863
75864 fi
75865
75866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75867 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75868 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75869 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75870 do :
75871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75873 eval as_val=\$$as_ac_var
75874 if test "x$as_val" = x""yes; then :
75875 cat >>confdefs.h <<_ACEOF
75876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75877 _ACEOF
75878
75879 fi
75880 done
75881
75882 fi
75883 fi
75884
75885
75886
75887
75888
75889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75890 $as_echo_n "checking for long double round functions... " >&6; }
75891 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75892 $as_echo_n "(cached) " >&6
75893 else
75894
75895
75896 ac_ext=cpp
75897 ac_cpp='$CXXCPP $CPPFLAGS'
75898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75901
75902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75903 /* end confdefs.h. */
75904 #include <math.h>
75905 int
75906 main ()
75907 {
75908 ceill (0); floorl (0);
75909 ;
75910 return 0;
75911 }
75912 _ACEOF
75913 if ac_fn_cxx_try_compile "$LINENO"; then :
75914 glibcxx_cv_func_long_double_round_use=yes
75915 else
75916 glibcxx_cv_func_long_double_round_use=no
75917 fi
75918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75919 ac_ext=c
75920 ac_cpp='$CPP $CPPFLAGS'
75921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75924
75925 fi
75926
75927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75928 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75929 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75930 for ac_func in ceill floorl
75931 do :
75932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75934 eval as_val=\$$as_ac_var
75935 if test "x$as_val" = x""yes; then :
75936 cat >>confdefs.h <<_ACEOF
75937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75938 _ACEOF
75939
75940 fi
75941 done
75942
75943 else
75944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75945 $as_echo_n "checking for _long double round functions... " >&6; }
75946 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75947 $as_echo_n "(cached) " >&6
75948 else
75949
75950
75951 ac_ext=cpp
75952 ac_cpp='$CXXCPP $CPPFLAGS'
75953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75956
75957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75958 /* end confdefs.h. */
75959 #include <math.h>
75960 int
75961 main ()
75962 {
75963 _ceill (0); _floorl (0);
75964 ;
75965 return 0;
75966 }
75967 _ACEOF
75968 if ac_fn_cxx_try_compile "$LINENO"; then :
75969 glibcxx_cv_func__long_double_round_use=yes
75970 else
75971 glibcxx_cv_func__long_double_round_use=no
75972 fi
75973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75974 ac_ext=c
75975 ac_cpp='$CPP $CPPFLAGS'
75976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75979
75980 fi
75981
75982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75983 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75984 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75985 for ac_func in _ceill _floorl
75986 do :
75987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75989 eval as_val=\$$as_ac_var
75990 if test "x$as_val" = x""yes; then :
75991 cat >>confdefs.h <<_ACEOF
75992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75993 _ACEOF
75994
75995 fi
75996 done
75997
75998 fi
75999 fi
76000
76001
76002
76003
76004
76005
76006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76007 $as_echo_n "checking for isnanl declaration... " >&6; }
76008 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76009 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76010 $as_echo_n "(cached) " >&6
76011 else
76012
76013
76014 ac_ext=cpp
76015 ac_cpp='$CXXCPP $CPPFLAGS'
76016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76019
76020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76021 /* end confdefs.h. */
76022 #include <math.h>
76023 #ifdef HAVE_IEEEFP_H
76024 #include <ieeefp.h>
76025 #endif
76026
76027 int
76028 main ()
76029 {
76030 isnanl(0);
76031 ;
76032 return 0;
76033 }
76034 _ACEOF
76035 if ac_fn_cxx_try_compile "$LINENO"; then :
76036 glibcxx_cv_func_isnanl_use=yes
76037 else
76038 glibcxx_cv_func_isnanl_use=no
76039 fi
76040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76041 ac_ext=c
76042 ac_cpp='$CPP $CPPFLAGS'
76043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76046
76047
76048 fi
76049
76050 fi
76051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76052 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76053
76054 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76055 for ac_func in isnanl
76056 do :
76057 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76058 if test "x$ac_cv_func_isnanl" = x""yes; then :
76059 cat >>confdefs.h <<_ACEOF
76060 #define HAVE_ISNANL 1
76061 _ACEOF
76062
76063 fi
76064 done
76065
76066 else
76067
76068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76069 $as_echo_n "checking for _isnanl declaration... " >&6; }
76070 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76071 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76072 $as_echo_n "(cached) " >&6
76073 else
76074
76075
76076 ac_ext=cpp
76077 ac_cpp='$CXXCPP $CPPFLAGS'
76078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76081
76082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76083 /* end confdefs.h. */
76084 #include <math.h>
76085 #ifdef HAVE_IEEEFP_H
76086 #include <ieeefp.h>
76087 #endif
76088
76089 int
76090 main ()
76091 {
76092 _isnanl(0);
76093 ;
76094 return 0;
76095 }
76096 _ACEOF
76097 if ac_fn_cxx_try_compile "$LINENO"; then :
76098 glibcxx_cv_func__isnanl_use=yes
76099 else
76100 glibcxx_cv_func__isnanl_use=no
76101 fi
76102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76103 ac_ext=c
76104 ac_cpp='$CPP $CPPFLAGS'
76105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76108
76109
76110 fi
76111
76112 fi
76113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76114 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76115
76116 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76117 for ac_func in _isnanl
76118 do :
76119 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76120 if test "x$ac_cv_func__isnanl" = x""yes; then :
76121 cat >>confdefs.h <<_ACEOF
76122 #define HAVE__ISNANL 1
76123 _ACEOF
76124
76125 fi
76126 done
76127
76128 fi
76129 fi
76130
76131
76132
76133
76134
76135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76136 $as_echo_n "checking for isinfl declaration... " >&6; }
76137 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76138 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76139 $as_echo_n "(cached) " >&6
76140 else
76141
76142
76143 ac_ext=cpp
76144 ac_cpp='$CXXCPP $CPPFLAGS'
76145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76148
76149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76150 /* end confdefs.h. */
76151 #include <math.h>
76152 #ifdef HAVE_IEEEFP_H
76153 #include <ieeefp.h>
76154 #endif
76155
76156 int
76157 main ()
76158 {
76159 isinfl(0);
76160 ;
76161 return 0;
76162 }
76163 _ACEOF
76164 if ac_fn_cxx_try_compile "$LINENO"; then :
76165 glibcxx_cv_func_isinfl_use=yes
76166 else
76167 glibcxx_cv_func_isinfl_use=no
76168 fi
76169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76170 ac_ext=c
76171 ac_cpp='$CPP $CPPFLAGS'
76172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76175
76176
76177 fi
76178
76179 fi
76180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76181 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76182
76183 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76184 for ac_func in isinfl
76185 do :
76186 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76187 if test "x$ac_cv_func_isinfl" = x""yes; then :
76188 cat >>confdefs.h <<_ACEOF
76189 #define HAVE_ISINFL 1
76190 _ACEOF
76191
76192 fi
76193 done
76194
76195 else
76196
76197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76198 $as_echo_n "checking for _isinfl declaration... " >&6; }
76199 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76200 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76201 $as_echo_n "(cached) " >&6
76202 else
76203
76204
76205 ac_ext=cpp
76206 ac_cpp='$CXXCPP $CPPFLAGS'
76207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76210
76211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76212 /* end confdefs.h. */
76213 #include <math.h>
76214 #ifdef HAVE_IEEEFP_H
76215 #include <ieeefp.h>
76216 #endif
76217
76218 int
76219 main ()
76220 {
76221 _isinfl(0);
76222 ;
76223 return 0;
76224 }
76225 _ACEOF
76226 if ac_fn_cxx_try_compile "$LINENO"; then :
76227 glibcxx_cv_func__isinfl_use=yes
76228 else
76229 glibcxx_cv_func__isinfl_use=no
76230 fi
76231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76232 ac_ext=c
76233 ac_cpp='$CPP $CPPFLAGS'
76234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76237
76238
76239 fi
76240
76241 fi
76242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76243 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76244
76245 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76246 for ac_func in _isinfl
76247 do :
76248 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76249 if test "x$ac_cv_func__isinfl" = x""yes; then :
76250 cat >>confdefs.h <<_ACEOF
76251 #define HAVE__ISINFL 1
76252 _ACEOF
76253
76254 fi
76255 done
76256
76257 fi
76258 fi
76259
76260
76261
76262
76263
76264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76265 $as_echo_n "checking for atan2l declaration... " >&6; }
76266 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76267 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76268 $as_echo_n "(cached) " >&6
76269 else
76270
76271
76272 ac_ext=cpp
76273 ac_cpp='$CXXCPP $CPPFLAGS'
76274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76277
76278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76279 /* end confdefs.h. */
76280 #include <math.h>
76281 int
76282 main ()
76283 {
76284 atan2l(0, 0);
76285 ;
76286 return 0;
76287 }
76288 _ACEOF
76289 if ac_fn_cxx_try_compile "$LINENO"; then :
76290 glibcxx_cv_func_atan2l_use=yes
76291 else
76292 glibcxx_cv_func_atan2l_use=no
76293 fi
76294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76295 ac_ext=c
76296 ac_cpp='$CPP $CPPFLAGS'
76297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76300
76301
76302 fi
76303
76304 fi
76305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76306 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76307
76308 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76309 for ac_func in atan2l
76310 do :
76311 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76312 if test "x$ac_cv_func_atan2l" = x""yes; then :
76313 cat >>confdefs.h <<_ACEOF
76314 #define HAVE_ATAN2L 1
76315 _ACEOF
76316
76317 fi
76318 done
76319
76320 else
76321
76322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76323 $as_echo_n "checking for _atan2l declaration... " >&6; }
76324 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76325 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76326 $as_echo_n "(cached) " >&6
76327 else
76328
76329
76330 ac_ext=cpp
76331 ac_cpp='$CXXCPP $CPPFLAGS'
76332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76335
76336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76337 /* end confdefs.h. */
76338 #include <math.h>
76339 int
76340 main ()
76341 {
76342 _atan2l(0, 0);
76343 ;
76344 return 0;
76345 }
76346 _ACEOF
76347 if ac_fn_cxx_try_compile "$LINENO"; then :
76348 glibcxx_cv_func__atan2l_use=yes
76349 else
76350 glibcxx_cv_func__atan2l_use=no
76351 fi
76352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76353 ac_ext=c
76354 ac_cpp='$CPP $CPPFLAGS'
76355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76358
76359
76360 fi
76361
76362 fi
76363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76364 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76365
76366 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76367 for ac_func in _atan2l
76368 do :
76369 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76370 if test "x$ac_cv_func__atan2l" = x""yes; then :
76371 cat >>confdefs.h <<_ACEOF
76372 #define HAVE__ATAN2L 1
76373 _ACEOF
76374
76375 fi
76376 done
76377
76378 fi
76379 fi
76380
76381
76382
76383
76384
76385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76386 $as_echo_n "checking for expl declaration... " >&6; }
76387 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76388 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76389 $as_echo_n "(cached) " >&6
76390 else
76391
76392
76393 ac_ext=cpp
76394 ac_cpp='$CXXCPP $CPPFLAGS'
76395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76398
76399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76400 /* end confdefs.h. */
76401 #include <math.h>
76402 #ifdef HAVE_IEEEFP_H
76403 #include <ieeefp.h>
76404 #endif
76405
76406 int
76407 main ()
76408 {
76409 expl(0);
76410 ;
76411 return 0;
76412 }
76413 _ACEOF
76414 if ac_fn_cxx_try_compile "$LINENO"; then :
76415 glibcxx_cv_func_expl_use=yes
76416 else
76417 glibcxx_cv_func_expl_use=no
76418 fi
76419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76420 ac_ext=c
76421 ac_cpp='$CPP $CPPFLAGS'
76422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76425
76426
76427 fi
76428
76429 fi
76430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76431 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76432
76433 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76434 for ac_func in expl
76435 do :
76436 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76437 if test "x$ac_cv_func_expl" = x""yes; then :
76438 cat >>confdefs.h <<_ACEOF
76439 #define HAVE_EXPL 1
76440 _ACEOF
76441
76442 fi
76443 done
76444
76445 else
76446
76447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76448 $as_echo_n "checking for _expl declaration... " >&6; }
76449 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76450 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76451 $as_echo_n "(cached) " >&6
76452 else
76453
76454
76455 ac_ext=cpp
76456 ac_cpp='$CXXCPP $CPPFLAGS'
76457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76460
76461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76462 /* end confdefs.h. */
76463 #include <math.h>
76464 #ifdef HAVE_IEEEFP_H
76465 #include <ieeefp.h>
76466 #endif
76467
76468 int
76469 main ()
76470 {
76471 _expl(0);
76472 ;
76473 return 0;
76474 }
76475 _ACEOF
76476 if ac_fn_cxx_try_compile "$LINENO"; then :
76477 glibcxx_cv_func__expl_use=yes
76478 else
76479 glibcxx_cv_func__expl_use=no
76480 fi
76481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76482 ac_ext=c
76483 ac_cpp='$CPP $CPPFLAGS'
76484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76487
76488
76489 fi
76490
76491 fi
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76493 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76494
76495 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76496 for ac_func in _expl
76497 do :
76498 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76499 if test "x$ac_cv_func__expl" = x""yes; then :
76500 cat >>confdefs.h <<_ACEOF
76501 #define HAVE__EXPL 1
76502 _ACEOF
76503
76504 fi
76505 done
76506
76507 fi
76508 fi
76509
76510
76511
76512
76513
76514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76515 $as_echo_n "checking for fabsl declaration... " >&6; }
76516 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76517 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76518 $as_echo_n "(cached) " >&6
76519 else
76520
76521
76522 ac_ext=cpp
76523 ac_cpp='$CXXCPP $CPPFLAGS'
76524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76527
76528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76529 /* end confdefs.h. */
76530 #include <math.h>
76531 #ifdef HAVE_IEEEFP_H
76532 #include <ieeefp.h>
76533 #endif
76534
76535 int
76536 main ()
76537 {
76538 fabsl(0);
76539 ;
76540 return 0;
76541 }
76542 _ACEOF
76543 if ac_fn_cxx_try_compile "$LINENO"; then :
76544 glibcxx_cv_func_fabsl_use=yes
76545 else
76546 glibcxx_cv_func_fabsl_use=no
76547 fi
76548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76549 ac_ext=c
76550 ac_cpp='$CPP $CPPFLAGS'
76551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76554
76555
76556 fi
76557
76558 fi
76559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76560 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76561
76562 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76563 for ac_func in fabsl
76564 do :
76565 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76566 if test "x$ac_cv_func_fabsl" = x""yes; then :
76567 cat >>confdefs.h <<_ACEOF
76568 #define HAVE_FABSL 1
76569 _ACEOF
76570
76571 fi
76572 done
76573
76574 else
76575
76576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76577 $as_echo_n "checking for _fabsl declaration... " >&6; }
76578 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76579 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76580 $as_echo_n "(cached) " >&6
76581 else
76582
76583
76584 ac_ext=cpp
76585 ac_cpp='$CXXCPP $CPPFLAGS'
76586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76589
76590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76591 /* end confdefs.h. */
76592 #include <math.h>
76593 #ifdef HAVE_IEEEFP_H
76594 #include <ieeefp.h>
76595 #endif
76596
76597 int
76598 main ()
76599 {
76600 _fabsl(0);
76601 ;
76602 return 0;
76603 }
76604 _ACEOF
76605 if ac_fn_cxx_try_compile "$LINENO"; then :
76606 glibcxx_cv_func__fabsl_use=yes
76607 else
76608 glibcxx_cv_func__fabsl_use=no
76609 fi
76610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76611 ac_ext=c
76612 ac_cpp='$CPP $CPPFLAGS'
76613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76616
76617
76618 fi
76619
76620 fi
76621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76622 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76623
76624 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76625 for ac_func in _fabsl
76626 do :
76627 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76628 if test "x$ac_cv_func__fabsl" = x""yes; then :
76629 cat >>confdefs.h <<_ACEOF
76630 #define HAVE__FABSL 1
76631 _ACEOF
76632
76633 fi
76634 done
76635
76636 fi
76637 fi
76638
76639
76640
76641
76642
76643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76644 $as_echo_n "checking for fmodl declaration... " >&6; }
76645 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76646 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76647 $as_echo_n "(cached) " >&6
76648 else
76649
76650
76651 ac_ext=cpp
76652 ac_cpp='$CXXCPP $CPPFLAGS'
76653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76656
76657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76658 /* end confdefs.h. */
76659 #include <math.h>
76660 int
76661 main ()
76662 {
76663 fmodl(0, 0);
76664 ;
76665 return 0;
76666 }
76667 _ACEOF
76668 if ac_fn_cxx_try_compile "$LINENO"; then :
76669 glibcxx_cv_func_fmodl_use=yes
76670 else
76671 glibcxx_cv_func_fmodl_use=no
76672 fi
76673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76674 ac_ext=c
76675 ac_cpp='$CPP $CPPFLAGS'
76676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76679
76680
76681 fi
76682
76683 fi
76684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76685 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76686
76687 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76688 for ac_func in fmodl
76689 do :
76690 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76691 if test "x$ac_cv_func_fmodl" = x""yes; then :
76692 cat >>confdefs.h <<_ACEOF
76693 #define HAVE_FMODL 1
76694 _ACEOF
76695
76696 fi
76697 done
76698
76699 else
76700
76701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76702 $as_echo_n "checking for _fmodl declaration... " >&6; }
76703 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76704 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76705 $as_echo_n "(cached) " >&6
76706 else
76707
76708
76709 ac_ext=cpp
76710 ac_cpp='$CXXCPP $CPPFLAGS'
76711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76714
76715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76716 /* end confdefs.h. */
76717 #include <math.h>
76718 int
76719 main ()
76720 {
76721 _fmodl(0, 0);
76722 ;
76723 return 0;
76724 }
76725 _ACEOF
76726 if ac_fn_cxx_try_compile "$LINENO"; then :
76727 glibcxx_cv_func__fmodl_use=yes
76728 else
76729 glibcxx_cv_func__fmodl_use=no
76730 fi
76731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76732 ac_ext=c
76733 ac_cpp='$CPP $CPPFLAGS'
76734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76737
76738
76739 fi
76740
76741 fi
76742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76743 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76744
76745 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76746 for ac_func in _fmodl
76747 do :
76748 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76749 if test "x$ac_cv_func__fmodl" = x""yes; then :
76750 cat >>confdefs.h <<_ACEOF
76751 #define HAVE__FMODL 1
76752 _ACEOF
76753
76754 fi
76755 done
76756
76757 fi
76758 fi
76759
76760
76761
76762
76763
76764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76765 $as_echo_n "checking for frexpl declaration... " >&6; }
76766 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76767 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76768 $as_echo_n "(cached) " >&6
76769 else
76770
76771
76772 ac_ext=cpp
76773 ac_cpp='$CXXCPP $CPPFLAGS'
76774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76777
76778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76779 /* end confdefs.h. */
76780 #include <math.h>
76781 int
76782 main ()
76783 {
76784 frexpl(0, 0);
76785 ;
76786 return 0;
76787 }
76788 _ACEOF
76789 if ac_fn_cxx_try_compile "$LINENO"; then :
76790 glibcxx_cv_func_frexpl_use=yes
76791 else
76792 glibcxx_cv_func_frexpl_use=no
76793 fi
76794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76795 ac_ext=c
76796 ac_cpp='$CPP $CPPFLAGS'
76797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76800
76801
76802 fi
76803
76804 fi
76805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76806 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76807
76808 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76809 for ac_func in frexpl
76810 do :
76811 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76812 if test "x$ac_cv_func_frexpl" = x""yes; then :
76813 cat >>confdefs.h <<_ACEOF
76814 #define HAVE_FREXPL 1
76815 _ACEOF
76816
76817 fi
76818 done
76819
76820 else
76821
76822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76823 $as_echo_n "checking for _frexpl declaration... " >&6; }
76824 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76825 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76826 $as_echo_n "(cached) " >&6
76827 else
76828
76829
76830 ac_ext=cpp
76831 ac_cpp='$CXXCPP $CPPFLAGS'
76832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76835
76836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76837 /* end confdefs.h. */
76838 #include <math.h>
76839 int
76840 main ()
76841 {
76842 _frexpl(0, 0);
76843 ;
76844 return 0;
76845 }
76846 _ACEOF
76847 if ac_fn_cxx_try_compile "$LINENO"; then :
76848 glibcxx_cv_func__frexpl_use=yes
76849 else
76850 glibcxx_cv_func__frexpl_use=no
76851 fi
76852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76853 ac_ext=c
76854 ac_cpp='$CPP $CPPFLAGS'
76855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76858
76859
76860 fi
76861
76862 fi
76863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76864 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76865
76866 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76867 for ac_func in _frexpl
76868 do :
76869 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76870 if test "x$ac_cv_func__frexpl" = x""yes; then :
76871 cat >>confdefs.h <<_ACEOF
76872 #define HAVE__FREXPL 1
76873 _ACEOF
76874
76875 fi
76876 done
76877
76878 fi
76879 fi
76880
76881
76882
76883
76884
76885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76886 $as_echo_n "checking for hypotl declaration... " >&6; }
76887 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76888 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76889 $as_echo_n "(cached) " >&6
76890 else
76891
76892
76893 ac_ext=cpp
76894 ac_cpp='$CXXCPP $CPPFLAGS'
76895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76898
76899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76900 /* end confdefs.h. */
76901 #include <math.h>
76902 int
76903 main ()
76904 {
76905 hypotl(0, 0);
76906 ;
76907 return 0;
76908 }
76909 _ACEOF
76910 if ac_fn_cxx_try_compile "$LINENO"; then :
76911 glibcxx_cv_func_hypotl_use=yes
76912 else
76913 glibcxx_cv_func_hypotl_use=no
76914 fi
76915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76916 ac_ext=c
76917 ac_cpp='$CPP $CPPFLAGS'
76918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76921
76922
76923 fi
76924
76925 fi
76926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76927 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76928
76929 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76930 for ac_func in hypotl
76931 do :
76932 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76933 if test "x$ac_cv_func_hypotl" = x""yes; then :
76934 cat >>confdefs.h <<_ACEOF
76935 #define HAVE_HYPOTL 1
76936 _ACEOF
76937
76938 fi
76939 done
76940
76941 else
76942
76943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76944 $as_echo_n "checking for _hypotl declaration... " >&6; }
76945 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76946 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76947 $as_echo_n "(cached) " >&6
76948 else
76949
76950
76951 ac_ext=cpp
76952 ac_cpp='$CXXCPP $CPPFLAGS'
76953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76956
76957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76958 /* end confdefs.h. */
76959 #include <math.h>
76960 int
76961 main ()
76962 {
76963 _hypotl(0, 0);
76964 ;
76965 return 0;
76966 }
76967 _ACEOF
76968 if ac_fn_cxx_try_compile "$LINENO"; then :
76969 glibcxx_cv_func__hypotl_use=yes
76970 else
76971 glibcxx_cv_func__hypotl_use=no
76972 fi
76973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76974 ac_ext=c
76975 ac_cpp='$CPP $CPPFLAGS'
76976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76979
76980
76981 fi
76982
76983 fi
76984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76985 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76986
76987 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76988 for ac_func in _hypotl
76989 do :
76990 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76991 if test "x$ac_cv_func__hypotl" = x""yes; then :
76992 cat >>confdefs.h <<_ACEOF
76993 #define HAVE__HYPOTL 1
76994 _ACEOF
76995
76996 fi
76997 done
76998
76999 fi
77000 fi
77001
77002
77003
77004
77005
77006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77007 $as_echo_n "checking for ldexpl declaration... " >&6; }
77008 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77009 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77010 $as_echo_n "(cached) " >&6
77011 else
77012
77013
77014 ac_ext=cpp
77015 ac_cpp='$CXXCPP $CPPFLAGS'
77016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77019
77020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77021 /* end confdefs.h. */
77022 #include <math.h>
77023 int
77024 main ()
77025 {
77026 ldexpl(0, 0);
77027 ;
77028 return 0;
77029 }
77030 _ACEOF
77031 if ac_fn_cxx_try_compile "$LINENO"; then :
77032 glibcxx_cv_func_ldexpl_use=yes
77033 else
77034 glibcxx_cv_func_ldexpl_use=no
77035 fi
77036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77037 ac_ext=c
77038 ac_cpp='$CPP $CPPFLAGS'
77039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77042
77043
77044 fi
77045
77046 fi
77047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77048 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77049
77050 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77051 for ac_func in ldexpl
77052 do :
77053 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77054 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77055 cat >>confdefs.h <<_ACEOF
77056 #define HAVE_LDEXPL 1
77057 _ACEOF
77058
77059 fi
77060 done
77061
77062 else
77063
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77065 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77066 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77067 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77068 $as_echo_n "(cached) " >&6
77069 else
77070
77071
77072 ac_ext=cpp
77073 ac_cpp='$CXXCPP $CPPFLAGS'
77074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77077
77078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77079 /* end confdefs.h. */
77080 #include <math.h>
77081 int
77082 main ()
77083 {
77084 _ldexpl(0, 0);
77085 ;
77086 return 0;
77087 }
77088 _ACEOF
77089 if ac_fn_cxx_try_compile "$LINENO"; then :
77090 glibcxx_cv_func__ldexpl_use=yes
77091 else
77092 glibcxx_cv_func__ldexpl_use=no
77093 fi
77094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77095 ac_ext=c
77096 ac_cpp='$CPP $CPPFLAGS'
77097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77100
77101
77102 fi
77103
77104 fi
77105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77106 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77107
77108 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77109 for ac_func in _ldexpl
77110 do :
77111 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77112 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77113 cat >>confdefs.h <<_ACEOF
77114 #define HAVE__LDEXPL 1
77115 _ACEOF
77116
77117 fi
77118 done
77119
77120 fi
77121 fi
77122
77123
77124
77125
77126
77127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77128 $as_echo_n "checking for logl declaration... " >&6; }
77129 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77130 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77131 $as_echo_n "(cached) " >&6
77132 else
77133
77134
77135 ac_ext=cpp
77136 ac_cpp='$CXXCPP $CPPFLAGS'
77137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77140
77141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77142 /* end confdefs.h. */
77143 #include <math.h>
77144 #ifdef HAVE_IEEEFP_H
77145 #include <ieeefp.h>
77146 #endif
77147
77148 int
77149 main ()
77150 {
77151 logl(0);
77152 ;
77153 return 0;
77154 }
77155 _ACEOF
77156 if ac_fn_cxx_try_compile "$LINENO"; then :
77157 glibcxx_cv_func_logl_use=yes
77158 else
77159 glibcxx_cv_func_logl_use=no
77160 fi
77161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77162 ac_ext=c
77163 ac_cpp='$CPP $CPPFLAGS'
77164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77167
77168
77169 fi
77170
77171 fi
77172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77173 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77174
77175 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77176 for ac_func in logl
77177 do :
77178 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77179 if test "x$ac_cv_func_logl" = x""yes; then :
77180 cat >>confdefs.h <<_ACEOF
77181 #define HAVE_LOGL 1
77182 _ACEOF
77183
77184 fi
77185 done
77186
77187 else
77188
77189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77190 $as_echo_n "checking for _logl declaration... " >&6; }
77191 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77192 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77193 $as_echo_n "(cached) " >&6
77194 else
77195
77196
77197 ac_ext=cpp
77198 ac_cpp='$CXXCPP $CPPFLAGS'
77199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77202
77203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77204 /* end confdefs.h. */
77205 #include <math.h>
77206 #ifdef HAVE_IEEEFP_H
77207 #include <ieeefp.h>
77208 #endif
77209
77210 int
77211 main ()
77212 {
77213 _logl(0);
77214 ;
77215 return 0;
77216 }
77217 _ACEOF
77218 if ac_fn_cxx_try_compile "$LINENO"; then :
77219 glibcxx_cv_func__logl_use=yes
77220 else
77221 glibcxx_cv_func__logl_use=no
77222 fi
77223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77224 ac_ext=c
77225 ac_cpp='$CPP $CPPFLAGS'
77226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77229
77230
77231 fi
77232
77233 fi
77234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77235 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77236
77237 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77238 for ac_func in _logl
77239 do :
77240 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77241 if test "x$ac_cv_func__logl" = x""yes; then :
77242 cat >>confdefs.h <<_ACEOF
77243 #define HAVE__LOGL 1
77244 _ACEOF
77245
77246 fi
77247 done
77248
77249 fi
77250 fi
77251
77252
77253
77254
77255
77256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77257 $as_echo_n "checking for log10l declaration... " >&6; }
77258 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77259 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77260 $as_echo_n "(cached) " >&6
77261 else
77262
77263
77264 ac_ext=cpp
77265 ac_cpp='$CXXCPP $CPPFLAGS'
77266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77269
77270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77271 /* end confdefs.h. */
77272 #include <math.h>
77273 #ifdef HAVE_IEEEFP_H
77274 #include <ieeefp.h>
77275 #endif
77276
77277 int
77278 main ()
77279 {
77280 log10l(0);
77281 ;
77282 return 0;
77283 }
77284 _ACEOF
77285 if ac_fn_cxx_try_compile "$LINENO"; then :
77286 glibcxx_cv_func_log10l_use=yes
77287 else
77288 glibcxx_cv_func_log10l_use=no
77289 fi
77290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77291 ac_ext=c
77292 ac_cpp='$CPP $CPPFLAGS'
77293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77296
77297
77298 fi
77299
77300 fi
77301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77302 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77303
77304 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77305 for ac_func in log10l
77306 do :
77307 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77308 if test "x$ac_cv_func_log10l" = x""yes; then :
77309 cat >>confdefs.h <<_ACEOF
77310 #define HAVE_LOG10L 1
77311 _ACEOF
77312
77313 fi
77314 done
77315
77316 else
77317
77318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77319 $as_echo_n "checking for _log10l declaration... " >&6; }
77320 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77321 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77322 $as_echo_n "(cached) " >&6
77323 else
77324
77325
77326 ac_ext=cpp
77327 ac_cpp='$CXXCPP $CPPFLAGS'
77328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77331
77332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77333 /* end confdefs.h. */
77334 #include <math.h>
77335 #ifdef HAVE_IEEEFP_H
77336 #include <ieeefp.h>
77337 #endif
77338
77339 int
77340 main ()
77341 {
77342 _log10l(0);
77343 ;
77344 return 0;
77345 }
77346 _ACEOF
77347 if ac_fn_cxx_try_compile "$LINENO"; then :
77348 glibcxx_cv_func__log10l_use=yes
77349 else
77350 glibcxx_cv_func__log10l_use=no
77351 fi
77352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77353 ac_ext=c
77354 ac_cpp='$CPP $CPPFLAGS'
77355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77358
77359
77360 fi
77361
77362 fi
77363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77364 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77365
77366 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77367 for ac_func in _log10l
77368 do :
77369 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77370 if test "x$ac_cv_func__log10l" = x""yes; then :
77371 cat >>confdefs.h <<_ACEOF
77372 #define HAVE__LOG10L 1
77373 _ACEOF
77374
77375 fi
77376 done
77377
77378 fi
77379 fi
77380
77381
77382
77383
77384
77385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77386 $as_echo_n "checking for modfl declaration... " >&6; }
77387 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77388 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77389 $as_echo_n "(cached) " >&6
77390 else
77391
77392
77393 ac_ext=cpp
77394 ac_cpp='$CXXCPP $CPPFLAGS'
77395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77398
77399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77400 /* end confdefs.h. */
77401 #include <math.h>
77402 int
77403 main ()
77404 {
77405 modfl(0, 0);
77406 ;
77407 return 0;
77408 }
77409 _ACEOF
77410 if ac_fn_cxx_try_compile "$LINENO"; then :
77411 glibcxx_cv_func_modfl_use=yes
77412 else
77413 glibcxx_cv_func_modfl_use=no
77414 fi
77415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77416 ac_ext=c
77417 ac_cpp='$CPP $CPPFLAGS'
77418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77421
77422
77423 fi
77424
77425 fi
77426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77427 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77428
77429 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77430 for ac_func in modfl
77431 do :
77432 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77433 if test "x$ac_cv_func_modfl" = x""yes; then :
77434 cat >>confdefs.h <<_ACEOF
77435 #define HAVE_MODFL 1
77436 _ACEOF
77437
77438 fi
77439 done
77440
77441 else
77442
77443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77444 $as_echo_n "checking for _modfl declaration... " >&6; }
77445 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77446 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77447 $as_echo_n "(cached) " >&6
77448 else
77449
77450
77451 ac_ext=cpp
77452 ac_cpp='$CXXCPP $CPPFLAGS'
77453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77456
77457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77458 /* end confdefs.h. */
77459 #include <math.h>
77460 int
77461 main ()
77462 {
77463 _modfl(0, 0);
77464 ;
77465 return 0;
77466 }
77467 _ACEOF
77468 if ac_fn_cxx_try_compile "$LINENO"; then :
77469 glibcxx_cv_func__modfl_use=yes
77470 else
77471 glibcxx_cv_func__modfl_use=no
77472 fi
77473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77474 ac_ext=c
77475 ac_cpp='$CPP $CPPFLAGS'
77476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77479
77480
77481 fi
77482
77483 fi
77484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77485 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77486
77487 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77488 for ac_func in _modfl
77489 do :
77490 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77491 if test "x$ac_cv_func__modfl" = x""yes; then :
77492 cat >>confdefs.h <<_ACEOF
77493 #define HAVE__MODFL 1
77494 _ACEOF
77495
77496 fi
77497 done
77498
77499 fi
77500 fi
77501
77502
77503
77504
77505
77506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77507 $as_echo_n "checking for powl declaration... " >&6; }
77508 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77509 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77510 $as_echo_n "(cached) " >&6
77511 else
77512
77513
77514 ac_ext=cpp
77515 ac_cpp='$CXXCPP $CPPFLAGS'
77516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77519
77520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77521 /* end confdefs.h. */
77522 #include <math.h>
77523 int
77524 main ()
77525 {
77526 powl(0, 0);
77527 ;
77528 return 0;
77529 }
77530 _ACEOF
77531 if ac_fn_cxx_try_compile "$LINENO"; then :
77532 glibcxx_cv_func_powl_use=yes
77533 else
77534 glibcxx_cv_func_powl_use=no
77535 fi
77536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77537 ac_ext=c
77538 ac_cpp='$CPP $CPPFLAGS'
77539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77542
77543
77544 fi
77545
77546 fi
77547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77548 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77549
77550 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77551 for ac_func in powl
77552 do :
77553 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77554 if test "x$ac_cv_func_powl" = x""yes; then :
77555 cat >>confdefs.h <<_ACEOF
77556 #define HAVE_POWL 1
77557 _ACEOF
77558
77559 fi
77560 done
77561
77562 else
77563
77564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77565 $as_echo_n "checking for _powl declaration... " >&6; }
77566 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77567 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77568 $as_echo_n "(cached) " >&6
77569 else
77570
77571
77572 ac_ext=cpp
77573 ac_cpp='$CXXCPP $CPPFLAGS'
77574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77577
77578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77579 /* end confdefs.h. */
77580 #include <math.h>
77581 int
77582 main ()
77583 {
77584 _powl(0, 0);
77585 ;
77586 return 0;
77587 }
77588 _ACEOF
77589 if ac_fn_cxx_try_compile "$LINENO"; then :
77590 glibcxx_cv_func__powl_use=yes
77591 else
77592 glibcxx_cv_func__powl_use=no
77593 fi
77594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77595 ac_ext=c
77596 ac_cpp='$CPP $CPPFLAGS'
77597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77600
77601
77602 fi
77603
77604 fi
77605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77606 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77607
77608 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77609 for ac_func in _powl
77610 do :
77611 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77612 if test "x$ac_cv_func__powl" = x""yes; then :
77613 cat >>confdefs.h <<_ACEOF
77614 #define HAVE__POWL 1
77615 _ACEOF
77616
77617 fi
77618 done
77619
77620 fi
77621 fi
77622
77623
77624
77625
77626
77627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77628 $as_echo_n "checking for sqrtl declaration... " >&6; }
77629 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77630 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77631 $as_echo_n "(cached) " >&6
77632 else
77633
77634
77635 ac_ext=cpp
77636 ac_cpp='$CXXCPP $CPPFLAGS'
77637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77640
77641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77642 /* end confdefs.h. */
77643 #include <math.h>
77644 #ifdef HAVE_IEEEFP_H
77645 #include <ieeefp.h>
77646 #endif
77647
77648 int
77649 main ()
77650 {
77651 sqrtl(0);
77652 ;
77653 return 0;
77654 }
77655 _ACEOF
77656 if ac_fn_cxx_try_compile "$LINENO"; then :
77657 glibcxx_cv_func_sqrtl_use=yes
77658 else
77659 glibcxx_cv_func_sqrtl_use=no
77660 fi
77661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77662 ac_ext=c
77663 ac_cpp='$CPP $CPPFLAGS'
77664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77667
77668
77669 fi
77670
77671 fi
77672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77673 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77674
77675 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77676 for ac_func in sqrtl
77677 do :
77678 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77679 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77680 cat >>confdefs.h <<_ACEOF
77681 #define HAVE_SQRTL 1
77682 _ACEOF
77683
77684 fi
77685 done
77686
77687 else
77688
77689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77690 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77691 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77692 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77693 $as_echo_n "(cached) " >&6
77694 else
77695
77696
77697 ac_ext=cpp
77698 ac_cpp='$CXXCPP $CPPFLAGS'
77699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77702
77703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77704 /* end confdefs.h. */
77705 #include <math.h>
77706 #ifdef HAVE_IEEEFP_H
77707 #include <ieeefp.h>
77708 #endif
77709
77710 int
77711 main ()
77712 {
77713 _sqrtl(0);
77714 ;
77715 return 0;
77716 }
77717 _ACEOF
77718 if ac_fn_cxx_try_compile "$LINENO"; then :
77719 glibcxx_cv_func__sqrtl_use=yes
77720 else
77721 glibcxx_cv_func__sqrtl_use=no
77722 fi
77723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77724 ac_ext=c
77725 ac_cpp='$CPP $CPPFLAGS'
77726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77729
77730
77731 fi
77732
77733 fi
77734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77735 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77736
77737 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77738 for ac_func in _sqrtl
77739 do :
77740 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77741 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77742 cat >>confdefs.h <<_ACEOF
77743 #define HAVE__SQRTL 1
77744 _ACEOF
77745
77746 fi
77747 done
77748
77749 fi
77750 fi
77751
77752
77753
77754
77755
77756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77757 $as_echo_n "checking for sincosl declaration... " >&6; }
77758 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77759 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77760 $as_echo_n "(cached) " >&6
77761 else
77762
77763
77764 ac_ext=cpp
77765 ac_cpp='$CXXCPP $CPPFLAGS'
77766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77769
77770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77771 /* end confdefs.h. */
77772 #include <math.h>
77773 int
77774 main ()
77775 {
77776 sincosl(0, 0, 0);
77777 ;
77778 return 0;
77779 }
77780 _ACEOF
77781 if ac_fn_cxx_try_compile "$LINENO"; then :
77782 glibcxx_cv_func_sincosl_use=yes
77783 else
77784 glibcxx_cv_func_sincosl_use=no
77785 fi
77786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77787 ac_ext=c
77788 ac_cpp='$CPP $CPPFLAGS'
77789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77792
77793
77794 fi
77795
77796 fi
77797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77798 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77799
77800 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77801 for ac_func in sincosl
77802 do :
77803 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77804 if test "x$ac_cv_func_sincosl" = x""yes; then :
77805 cat >>confdefs.h <<_ACEOF
77806 #define HAVE_SINCOSL 1
77807 _ACEOF
77808
77809 fi
77810 done
77811
77812 else
77813
77814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77815 $as_echo_n "checking for _sincosl declaration... " >&6; }
77816 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77817 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77818 $as_echo_n "(cached) " >&6
77819 else
77820
77821
77822 ac_ext=cpp
77823 ac_cpp='$CXXCPP $CPPFLAGS'
77824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77827
77828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77829 /* end confdefs.h. */
77830 #include <math.h>
77831 int
77832 main ()
77833 {
77834 _sincosl(0, 0, 0);
77835 ;
77836 return 0;
77837 }
77838 _ACEOF
77839 if ac_fn_cxx_try_compile "$LINENO"; then :
77840 glibcxx_cv_func__sincosl_use=yes
77841 else
77842 glibcxx_cv_func__sincosl_use=no
77843 fi
77844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77845 ac_ext=c
77846 ac_cpp='$CPP $CPPFLAGS'
77847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77850
77851
77852 fi
77853
77854 fi
77855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77856 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77857
77858 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77859 for ac_func in _sincosl
77860 do :
77861 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77862 if test "x$ac_cv_func__sincosl" = x""yes; then :
77863 cat >>confdefs.h <<_ACEOF
77864 #define HAVE__SINCOSL 1
77865 _ACEOF
77866
77867 fi
77868 done
77869
77870 fi
77871 fi
77872
77873
77874
77875
77876
77877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77878 $as_echo_n "checking for finitel declaration... " >&6; }
77879 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77880 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77881 $as_echo_n "(cached) " >&6
77882 else
77883
77884
77885 ac_ext=cpp
77886 ac_cpp='$CXXCPP $CPPFLAGS'
77887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77890
77891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77892 /* end confdefs.h. */
77893 #include <math.h>
77894 #ifdef HAVE_IEEEFP_H
77895 #include <ieeefp.h>
77896 #endif
77897
77898 int
77899 main ()
77900 {
77901 finitel(0);
77902 ;
77903 return 0;
77904 }
77905 _ACEOF
77906 if ac_fn_cxx_try_compile "$LINENO"; then :
77907 glibcxx_cv_func_finitel_use=yes
77908 else
77909 glibcxx_cv_func_finitel_use=no
77910 fi
77911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77912 ac_ext=c
77913 ac_cpp='$CPP $CPPFLAGS'
77914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77917
77918
77919 fi
77920
77921 fi
77922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77923 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77924
77925 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77926 for ac_func in finitel
77927 do :
77928 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77929 if test "x$ac_cv_func_finitel" = x""yes; then :
77930 cat >>confdefs.h <<_ACEOF
77931 #define HAVE_FINITEL 1
77932 _ACEOF
77933
77934 fi
77935 done
77936
77937 else
77938
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77940 $as_echo_n "checking for _finitel declaration... " >&6; }
77941 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77942 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77943 $as_echo_n "(cached) " >&6
77944 else
77945
77946
77947 ac_ext=cpp
77948 ac_cpp='$CXXCPP $CPPFLAGS'
77949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77952
77953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77954 /* end confdefs.h. */
77955 #include <math.h>
77956 #ifdef HAVE_IEEEFP_H
77957 #include <ieeefp.h>
77958 #endif
77959
77960 int
77961 main ()
77962 {
77963 _finitel(0);
77964 ;
77965 return 0;
77966 }
77967 _ACEOF
77968 if ac_fn_cxx_try_compile "$LINENO"; then :
77969 glibcxx_cv_func__finitel_use=yes
77970 else
77971 glibcxx_cv_func__finitel_use=no
77972 fi
77973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77974 ac_ext=c
77975 ac_cpp='$CPP $CPPFLAGS'
77976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77979
77980
77981 fi
77982
77983 fi
77984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77985 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77986
77987 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77988 for ac_func in _finitel
77989 do :
77990 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77991 if test "x$ac_cv_func__finitel" = x""yes; then :
77992 cat >>confdefs.h <<_ACEOF
77993 #define HAVE__FINITEL 1
77994 _ACEOF
77995
77996 fi
77997 done
77998
77999 fi
78000 fi
78001
78002
78003
78004
78005 LIBS="$ac_save_LIBS"
78006 CXXFLAGS="$ac_save_CXXFLAGS"
78007
78008
78009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78010 ac_save_CXXFLAGS="$CXXFLAGS"
78011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78012
78013
78014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78015 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78016 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78017 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78018 $as_echo_n "(cached) " >&6
78019 else
78020
78021
78022 ac_ext=cpp
78023 ac_cpp='$CXXCPP $CPPFLAGS'
78024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78027
78028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78029 /* end confdefs.h. */
78030 #include <stdlib.h>
78031 int
78032 main ()
78033 {
78034 at_quick_exit(0);
78035 ;
78036 return 0;
78037 }
78038 _ACEOF
78039 if ac_fn_cxx_try_compile "$LINENO"; then :
78040 glibcxx_cv_func_at_quick_exit_use=yes
78041 else
78042 glibcxx_cv_func_at_quick_exit_use=no
78043 fi
78044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78045 ac_ext=c
78046 ac_cpp='$CPP $CPPFLAGS'
78047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78050
78051
78052 fi
78053
78054 fi
78055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78056 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78057 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78058 for ac_func in at_quick_exit
78059 do :
78060 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78061 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78062 cat >>confdefs.h <<_ACEOF
78063 #define HAVE_AT_QUICK_EXIT 1
78064 _ACEOF
78065
78066 fi
78067 done
78068
78069 fi
78070
78071
78072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78073 $as_echo_n "checking for quick_exit declaration... " >&6; }
78074 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78075 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78076 $as_echo_n "(cached) " >&6
78077 else
78078
78079
78080 ac_ext=cpp
78081 ac_cpp='$CXXCPP $CPPFLAGS'
78082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78085
78086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78087 /* end confdefs.h. */
78088 #include <stdlib.h>
78089 int
78090 main ()
78091 {
78092 quick_exit(0);
78093 ;
78094 return 0;
78095 }
78096 _ACEOF
78097 if ac_fn_cxx_try_compile "$LINENO"; then :
78098 glibcxx_cv_func_quick_exit_use=yes
78099 else
78100 glibcxx_cv_func_quick_exit_use=no
78101 fi
78102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78103 ac_ext=c
78104 ac_cpp='$CPP $CPPFLAGS'
78105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78108
78109
78110 fi
78111
78112 fi
78113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78114 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78115 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78116 for ac_func in quick_exit
78117 do :
78118 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78119 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78120 cat >>confdefs.h <<_ACEOF
78121 #define HAVE_QUICK_EXIT 1
78122 _ACEOF
78123
78124 fi
78125 done
78126
78127 fi
78128
78129
78130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78131 $as_echo_n "checking for strtold declaration... " >&6; }
78132 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78133 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78134 $as_echo_n "(cached) " >&6
78135 else
78136
78137
78138 ac_ext=cpp
78139 ac_cpp='$CXXCPP $CPPFLAGS'
78140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78143
78144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78145 /* end confdefs.h. */
78146 #include <stdlib.h>
78147 int
78148 main ()
78149 {
78150 strtold(0, 0);
78151 ;
78152 return 0;
78153 }
78154 _ACEOF
78155 if ac_fn_cxx_try_compile "$LINENO"; then :
78156 glibcxx_cv_func_strtold_use=yes
78157 else
78158 glibcxx_cv_func_strtold_use=no
78159 fi
78160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78161 ac_ext=c
78162 ac_cpp='$CPP $CPPFLAGS'
78163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78166
78167
78168 fi
78169
78170 fi
78171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78172 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78173 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78174 for ac_func in strtold
78175 do :
78176 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78177 if test "x$ac_cv_func_strtold" = x""yes; then :
78178 cat >>confdefs.h <<_ACEOF
78179 #define HAVE_STRTOLD 1
78180 _ACEOF
78181
78182 fi
78183 done
78184
78185 fi
78186
78187
78188
78189
78190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78191 $as_echo_n "checking for strtof declaration... " >&6; }
78192 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78193 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78194 $as_echo_n "(cached) " >&6
78195 else
78196
78197
78198 ac_ext=cpp
78199 ac_cpp='$CXXCPP $CPPFLAGS'
78200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78203
78204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78205 /* end confdefs.h. */
78206 #include <stdlib.h>
78207 int
78208 main ()
78209 {
78210 strtof(0, 0);
78211 ;
78212 return 0;
78213 }
78214 _ACEOF
78215 if ac_fn_cxx_try_compile "$LINENO"; then :
78216 glibcxx_cv_func_strtof_use=yes
78217 else
78218 glibcxx_cv_func_strtof_use=no
78219 fi
78220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78221 ac_ext=c
78222 ac_cpp='$CPP $CPPFLAGS'
78223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78226
78227
78228 fi
78229
78230 fi
78231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78232 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78233 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78234 for ac_func in strtof
78235 do :
78236 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78237 if test "x$ac_cv_func_strtof" = x""yes; then :
78238 cat >>confdefs.h <<_ACEOF
78239 #define HAVE_STRTOF 1
78240 _ACEOF
78241
78242 fi
78243 done
78244
78245 fi
78246
78247
78248
78249
78250 CXXFLAGS="$ac_save_CXXFLAGS"
78251
78252 ;;
78253 *-vxworks)
78254 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78255
78256 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78257
78258 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78259
78260 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78261
78262 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78263
78264 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78265
78266 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78267
78268 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78269
78270 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78271
78272 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78273
78274 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78275
78276 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78277
78278 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78279
78280 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78281
78282 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78283
78284 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78285
78286 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78287
78288 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78289
78290 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78291
78292 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78293
78294 ;;
78295 *)
78296 as_fn_error "No support for this host/target combination." "$LINENO" 5
78297 ;;
78298 esac
78299
78300 fi
78301
78302 # At some point, we should differentiate between architectures
78303 # like x86, which have long double versions, and alpha/powerpc/etc.,
78304 # which don't. For the time being, punt.
78305 if test x"long_double_math_on_this_cpu" = x"yes"; then
78306 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78307
78308 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78309
78310 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78311
78312 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78313
78314 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78315
78316 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78317
78318 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78319
78320 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78321
78322 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78323
78324 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78325
78326 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78327
78328 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78329
78330 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78331
78332 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78333
78334 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78335
78336 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78337
78338 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78339
78340 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78341
78342 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78343
78344 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78345
78346 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78347
78348 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78349
78350 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78351
78352 fi
78353 fi
78354
78355 # Check for _Unwind_GetIPInfo.
78356
78357
78358 # Check whether --with-system-libunwind was given.
78359 if test "${with_system_libunwind+set}" = set; then :
78360 withval=$with_system_libunwind;
78361 fi
78362
78363 # If system-libunwind was not specifically set, pick a default setting.
78364 if test x$with_system_libunwind = x; then
78365 case ${target} in
78366 ia64-*-hpux*) with_system_libunwind=yes ;;
78367 *) with_system_libunwind=no ;;
78368 esac
78369 fi
78370 # Based on system-libunwind and target, do we have ipinfo?
78371 if test x$with_system_libunwind = xyes; then
78372 case ${target} in
78373 ia64-*-*) have_unwind_getipinfo=no ;;
78374 *) have_unwind_getipinfo=yes ;;
78375 esac
78376 else
78377 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78378
78379 case ${target} in
78380 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78381 *) have_unwind_getipinfo=yes ;;
78382 esac
78383
78384 fi
78385
78386 if test x$have_unwind_getipinfo = xyes; then
78387
78388 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78389
78390 fi
78391
78392
78393 # Check whether --enable-linux-futex was given.
78394 if test "${enable_linux_futex+set}" = set; then :
78395 enableval=$enable_linux_futex;
78396 case "$enableval" in
78397 yes|no|default) ;;
78398 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78399 esac
78400
78401 else
78402 enable_linux_futex=default
78403 fi
78404
78405
78406 case "$target" in
78407 *-linux*)
78408 case "$enable_linux_futex" in
78409 default)
78410 # If headers don't have gettid/futex syscalls definition, then
78411 # default to no, otherwise there will be compile time failures.
78412 # Otherwise, default to yes. If we don't detect we are
78413 # compiled/linked against NPTL and not cross-compiling, check
78414 # if programs are run by default against NPTL and if not, issue
78415 # a warning.
78416 enable_linux_futex=no
78417 if test x$gcc_no_link = xyes; then
78418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78419 fi
78420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78421 /* end confdefs.h. */
78422 #include <sys/syscall.h>
78423 int lk;
78424 int
78425 main ()
78426 {
78427 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78428 ;
78429 return 0;
78430 }
78431 _ACEOF
78432 if ac_fn_c_try_link "$LINENO"; then :
78433 save_LIBS="$LIBS"
78434 LIBS="-lpthread $LIBS"
78435 if test x$gcc_no_link = xyes; then
78436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78437 fi
78438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78439 /* end confdefs.h. */
78440 #ifndef _GNU_SOURCE
78441 #define _GNU_SOURCE 1
78442 #endif
78443 #include <pthread.h>
78444 pthread_t th; void *status;
78445 int
78446 main ()
78447 {
78448 pthread_tryjoin_np (th, &status);
78449 ;
78450 return 0;
78451 }
78452 _ACEOF
78453 if ac_fn_c_try_link "$LINENO"; then :
78454 enable_linux_futex=yes
78455 else
78456 if test x$cross_compiling = xno; then
78457 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78458 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78460 If so, please configure with --disable-linux-futex" >&5
78461 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78462 If so, please configure with --disable-linux-futex" >&2;}
78463 fi
78464 fi
78465 enable_linux_futex=yes
78466 fi
78467 rm -f core conftest.err conftest.$ac_objext \
78468 conftest$ac_exeext conftest.$ac_ext
78469 LIBS="$save_LIBS"
78470 fi
78471 rm -f core conftest.err conftest.$ac_objext \
78472 conftest$ac_exeext conftest.$ac_ext
78473 ;;
78474 yes)
78475 if test x$gcc_no_link = xyes; then
78476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78477 fi
78478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78479 /* end confdefs.h. */
78480 #include <sys/syscall.h>
78481 int lk;
78482 int
78483 main ()
78484 {
78485 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78486 ;
78487 return 0;
78488 }
78489 _ACEOF
78490 if ac_fn_c_try_link "$LINENO"; then :
78491
78492 else
78493 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78494 fi
78495 rm -f core conftest.err conftest.$ac_objext \
78496 conftest$ac_exeext conftest.$ac_ext
78497 ;;
78498 esac
78499 ;;
78500 *)
78501 enable_linux_futex=no
78502 ;;
78503 esac
78504 if test x$enable_linux_futex = xyes; then
78505
78506 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78507
78508 fi
78509
78510
78511
78512
78513 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78514
78515 acx_cv_header_stdint=stddef.h
78516 acx_cv_header_stdint_kind="(already complete)"
78517 for i in stdint.h $inttype_headers; do
78518 unset ac_cv_type_uintptr_t
78519 unset ac_cv_type_uintmax_t
78520 unset ac_cv_type_int_least32_t
78521 unset ac_cv_type_int_fast32_t
78522 unset ac_cv_type_uint64_t
78523 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78524 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78525 #include <$i>
78526 "
78527 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78528 acx_cv_header_stdint=$i
78529 else
78530 continue
78531 fi
78532
78533 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78534 #include <$i>
78535 "
78536 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78537
78538 else
78539 acx_cv_header_stdint_kind="(mostly complete)"
78540 fi
78541
78542 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78543 #include <$i>
78544 "
78545 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78546
78547 else
78548 acx_cv_header_stdint_kind="(mostly complete)"
78549 fi
78550
78551 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78552 #include <$i>
78553 "
78554 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78555
78556 else
78557 acx_cv_header_stdint_kind="(mostly complete)"
78558 fi
78559
78560 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78561 #include <$i>
78562 "
78563 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78564
78565 else
78566 acx_cv_header_stdint_kind="(lacks uint64_t)"
78567 fi
78568
78569 break
78570 done
78571 if test "$acx_cv_header_stdint" = stddef.h; then
78572 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78573 for i in stdint.h $inttype_headers; do
78574 unset ac_cv_type_uintptr_t
78575 unset ac_cv_type_uint32_t
78576 unset ac_cv_type_uint64_t
78577 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78578 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78579 #include <$i>
78580 "
78581 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78582 acx_cv_header_stdint=$i
78583 else
78584 continue
78585 fi
78586
78587 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78588 #include <$i>
78589 "
78590 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78591
78592 fi
78593
78594 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78595 #include <$i>
78596 "
78597 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78598
78599 fi
78600
78601 break
78602 done
78603 fi
78604 if test "$acx_cv_header_stdint" = stddef.h; then
78605 acx_cv_header_stdint_kind="(u_intXX_t style)"
78606 for i in sys/types.h $inttype_headers; do
78607 unset ac_cv_type_u_int32_t
78608 unset ac_cv_type_u_int64_t
78609 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78610 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78611 #include <$i>
78612 "
78613 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78614 acx_cv_header_stdint=$i
78615 else
78616 continue
78617 fi
78618
78619 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78620 #include <$i>
78621 "
78622 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78623
78624 fi
78625
78626 break
78627 done
78628 fi
78629 if test "$acx_cv_header_stdint" = stddef.h; then
78630 acx_cv_header_stdint_kind="(using manual detection)"
78631 fi
78632
78633 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78634 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78635 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78636 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78637 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78638
78639 # ----------------- Summarize what we found so far
78640
78641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78642 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78643
78644 case `$as_basename -- include/gstdint.h ||
78645 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78646 Xinclude/gstdint.h : 'X\(//\)$' \| \
78647 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78648 $as_echo X/include/gstdint.h |
78649 sed '/^.*\/\([^/][^/]*\)\/*$/{
78650 s//\1/
78651 q
78652 }
78653 /^X\/\(\/\/\)$/{
78654 s//\1/
78655 q
78656 }
78657 /^X\/\(\/\).*/{
78658 s//\1/
78659 q
78660 }
78661 s/.*/./; q'` in
78662 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78663 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78664 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78665 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78666 *) ;;
78667 esac
78668
78669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78670 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78671
78672 # ----------------- done included file, check C basic types --------
78673
78674 # Lacking an uintptr_t? Test size of void *
78675 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78676 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78679 # This bug is HP SR number 8606223364.
78680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78681 $as_echo_n "checking size of void *... " >&6; }
78682 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78683 $as_echo_n "(cached) " >&6
78684 else
78685 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78686
78687 else
78688 if test "$ac_cv_type_void_p" = yes; then
78689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78691 { as_fn_set_status 77
78692 as_fn_error "cannot compute sizeof (void *)
78693 See \`config.log' for more details." "$LINENO" 5; }; }
78694 else
78695 ac_cv_sizeof_void_p=0
78696 fi
78697 fi
78698
78699 fi
78700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78701 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78702
78703
78704
78705 cat >>confdefs.h <<_ACEOF
78706 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78707 _ACEOF
78708
78709 ;;
78710 esac
78711
78712 # Lacking an uint64_t? Test size of long
78713 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78714 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78717 # This bug is HP SR number 8606223364.
78718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78719 $as_echo_n "checking size of long... " >&6; }
78720 if test "${ac_cv_sizeof_long+set}" = set; then :
78721 $as_echo_n "(cached) " >&6
78722 else
78723 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78724
78725 else
78726 if test "$ac_cv_type_long" = yes; then
78727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78729 { as_fn_set_status 77
78730 as_fn_error "cannot compute sizeof (long)
78731 See \`config.log' for more details." "$LINENO" 5; }; }
78732 else
78733 ac_cv_sizeof_long=0
78734 fi
78735 fi
78736
78737 fi
78738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78739 $as_echo "$ac_cv_sizeof_long" >&6; }
78740
78741
78742
78743 cat >>confdefs.h <<_ACEOF
78744 #define SIZEOF_LONG $ac_cv_sizeof_long
78745 _ACEOF
78746
78747 ;;
78748 esac
78749
78750 if test $acx_cv_header_stdint = stddef.h; then
78751 # Lacking a good header? Test size of everything and deduce all types.
78752 # The cast to long int works around a bug in the HP C Compiler
78753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78755 # This bug is HP SR number 8606223364.
78756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78757 $as_echo_n "checking size of int... " >&6; }
78758 if test "${ac_cv_sizeof_int+set}" = set; then :
78759 $as_echo_n "(cached) " >&6
78760 else
78761 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78762
78763 else
78764 if test "$ac_cv_type_int" = yes; then
78765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78767 { as_fn_set_status 77
78768 as_fn_error "cannot compute sizeof (int)
78769 See \`config.log' for more details." "$LINENO" 5; }; }
78770 else
78771 ac_cv_sizeof_int=0
78772 fi
78773 fi
78774
78775 fi
78776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78777 $as_echo "$ac_cv_sizeof_int" >&6; }
78778
78779
78780
78781 cat >>confdefs.h <<_ACEOF
78782 #define SIZEOF_INT $ac_cv_sizeof_int
78783 _ACEOF
78784
78785
78786 # The cast to long int works around a bug in the HP C Compiler
78787 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78788 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78789 # This bug is HP SR number 8606223364.
78790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78791 $as_echo_n "checking size of short... " >&6; }
78792 if test "${ac_cv_sizeof_short+set}" = set; then :
78793 $as_echo_n "(cached) " >&6
78794 else
78795 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78796
78797 else
78798 if test "$ac_cv_type_short" = yes; then
78799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78801 { as_fn_set_status 77
78802 as_fn_error "cannot compute sizeof (short)
78803 See \`config.log' for more details." "$LINENO" 5; }; }
78804 else
78805 ac_cv_sizeof_short=0
78806 fi
78807 fi
78808
78809 fi
78810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78811 $as_echo "$ac_cv_sizeof_short" >&6; }
78812
78813
78814
78815 cat >>confdefs.h <<_ACEOF
78816 #define SIZEOF_SHORT $ac_cv_sizeof_short
78817 _ACEOF
78818
78819
78820 # The cast to long int works around a bug in the HP C Compiler
78821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78823 # This bug is HP SR number 8606223364.
78824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78825 $as_echo_n "checking size of char... " >&6; }
78826 if test "${ac_cv_sizeof_char+set}" = set; then :
78827 $as_echo_n "(cached) " >&6
78828 else
78829 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78830
78831 else
78832 if test "$ac_cv_type_char" = yes; then
78833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78835 { as_fn_set_status 77
78836 as_fn_error "cannot compute sizeof (char)
78837 See \`config.log' for more details." "$LINENO" 5; }; }
78838 else
78839 ac_cv_sizeof_char=0
78840 fi
78841 fi
78842
78843 fi
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78845 $as_echo "$ac_cv_sizeof_char" >&6; }
78846
78847
78848
78849 cat >>confdefs.h <<_ACEOF
78850 #define SIZEOF_CHAR $ac_cv_sizeof_char
78851 _ACEOF
78852
78853
78854
78855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78856 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78857 case "$ac_cv_sizeof_char" in
78858 1) acx_cv_type_int8_t=char ;;
78859 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78860 esac
78861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78862 $as_echo "$acx_cv_type_int8_t" >&6; }
78863
78864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78865 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78866 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78867 2:*) acx_cv_type_int16_t=int ;;
78868 *:2) acx_cv_type_int16_t=short ;;
78869 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78870 esac
78871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78872 $as_echo "$acx_cv_type_int16_t" >&6; }
78873
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78875 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78876 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78877 4:*) acx_cv_type_int32_t=int ;;
78878 *:4) acx_cv_type_int32_t=long ;;
78879 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78880 esac
78881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78882 $as_echo "$acx_cv_type_int32_t" >&6; }
78883 fi
78884
78885 # These tests are here to make the output prettier
78886
78887 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78888 case "$ac_cv_sizeof_long" in
78889 8) acx_cv_type_int64_t=long ;;
78890 esac
78891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78892 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78894 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78895 fi
78896
78897 # Now we can use the above types
78898
78899 if test "$ac_cv_type_uintptr_t" != yes; then
78900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78901 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78902 case $ac_cv_sizeof_void_p in
78903 2) acx_cv_type_intptr_t=int16_t ;;
78904 4) acx_cv_type_intptr_t=int32_t ;;
78905 8) acx_cv_type_intptr_t=int64_t ;;
78906 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78907 esac
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78909 $as_echo "$acx_cv_type_intptr_t" >&6; }
78910 fi
78911
78912 # ----------------- done all checks, emit header -------------
78913 ac_config_commands="$ac_config_commands include/gstdint.h"
78914
78915
78916
78917
78918
78919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78920 $as_echo_n "checking for GNU c++filt... " >&6; }
78921 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78922 $as_echo_n "(cached) " >&6
78923 else
78924 if test -z "$CXXFILT"; then
78925 ac_path_CXXFILT_found=false
78926 # Loop through the user's path and test for each of PROGNAME-LIST
78927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78928 for as_dir in $PATH
78929 do
78930 IFS=$as_save_IFS
78931 test -z "$as_dir" && as_dir=.
78932 for ac_prog in c++filt gc++filt; do
78933 for ac_exec_ext in '' $ac_executable_extensions; do
78934 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78935 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78936 # Check for GNU $ac_path_CXXFILT
78937 case `"$ac_path_CXXFILT" --version 2>&1` in
78938 *GNU*)
78939 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78940 esac
78941
78942 $ac_path_CXXFILT_found && break 3
78943 done
78944 done
78945 done
78946 IFS=$as_save_IFS
78947 if test -z "$ac_cv_path_CXXFILT"; then
78948 :
78949 fi
78950 else
78951 ac_cv_path_CXXFILT=$CXXFILT
78952 fi
78953
78954 fi
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78956 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78957 CXXFILT=$ac_cv_path_CXXFILT
78958
78959
78960
78961 # Check whether --enable-symvers was given.
78962 if test "${enable_symvers+set}" = set; then :
78963 enableval=$enable_symvers;
78964 case "$enableval" in
78965 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78966 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78967 esac
78968
78969 else
78970 enable_symvers=yes
78971 fi
78972
78973
78974
78975 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78976 # don't know enough about $LD to do tricks...
78977
78978 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78979 # with extern "C++" in version scripts.
78980
78981
78982 # Turn a 'yes' into a suitable default.
78983 if test x$enable_symvers = xyes ; then
78984 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78985 enable_symvers=no
78986 else
78987 if test $with_gnu_ld = yes ; then
78988 case ${target_os} in
78989 hpux*)
78990 enable_symvers=no ;;
78991 *)
78992 enable_symvers=gnu ;;
78993 esac
78994 else
78995 case ${target_os} in
78996 darwin*)
78997 enable_symvers=darwin ;;
78998 # Sun symbol versioning exists since Solaris 2.5.
78999 solaris2.[5-9]* | solaris2.1[0-9]*)
79000 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79001 # version scripts, so disable symbol versioning if none can be
79002 # found.
79003 if test -z "$ac_cv_path_CXXFILT"; then
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79005 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79007 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79009 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79010 enable_symvers=no
79011 else
79012 enable_symvers=sun
79013 fi
79014 ;;
79015 *)
79016 enable_symvers=no ;;
79017 esac
79018 fi
79019 fi
79020 fi
79021
79022 # Check to see if 'darwin' or 'darwin-export' can win.
79023 if test x$enable_symvers = xdarwin-export ; then
79024 enable_symvers=darwin
79025 fi
79026
79027 # Check if 'sun' was requested on non-Solaris 2 platforms.
79028 if test x$enable_symvers = xsun ; then
79029 case ${target_os} in
79030 solaris2*)
79031 # All fine.
79032 ;;
79033 *)
79034 # Unlikely to work.
79035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79036 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79038 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79040 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79041 enable_symvers=no
79042 ;;
79043 esac
79044 fi
79045
79046 # Check to see if 'gnu' can win.
79047 if test $enable_symvers = gnu ||
79048 test $enable_symvers = gnu-versioned-namespace ||
79049 test $enable_symvers = sun; then
79050 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79052 $as_echo_n "checking for shared libgcc... " >&6; }
79053 ac_save_CFLAGS="$CFLAGS"
79054 CFLAGS=' -lgcc_s'
79055 if test x$gcc_no_link = xyes; then
79056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79057 fi
79058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79059 /* end confdefs.h. */
79060
79061 int
79062 main ()
79063 {
79064 return 0;
79065 ;
79066 return 0;
79067 }
79068 _ACEOF
79069 if ac_fn_c_try_link "$LINENO"; then :
79070 glibcxx_shared_libgcc=yes
79071 else
79072 glibcxx_shared_libgcc=no
79073 fi
79074 rm -f core conftest.err conftest.$ac_objext \
79075 conftest$ac_exeext conftest.$ac_ext
79076 CFLAGS="$ac_save_CFLAGS"
79077 if test $glibcxx_shared_libgcc = no; then
79078 cat > conftest.c <<EOF
79079 int main (void) { return 0; }
79080 EOF
79081 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79082 -shared -shared-libgcc -o conftest.so \
79083 conftest.c -v 2>&1 >/dev/null \
79084 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79085 rm -f conftest.c conftest.so
79086 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79087 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79088 if test x$gcc_no_link = xyes; then
79089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79090 fi
79091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79092 /* end confdefs.h. */
79093
79094 int
79095 main ()
79096 {
79097 return 0;
79098 ;
79099 return 0;
79100 }
79101 _ACEOF
79102 if ac_fn_c_try_link "$LINENO"; then :
79103 glibcxx_shared_libgcc=yes
79104 fi
79105 rm -f core conftest.err conftest.$ac_objext \
79106 conftest$ac_exeext conftest.$ac_ext
79107 CFLAGS="$ac_save_CFLAGS"
79108 fi
79109 fi
79110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79111 $as_echo "$glibcxx_shared_libgcc" >&6; }
79112
79113 # For GNU ld, we need at least this version. The format is described in
79114 # GLIBCXX_CHECK_LINKER_FEATURES above.
79115 glibcxx_min_gnu_ld_version=21400
79116
79117 # If no shared libgcc, can't win.
79118 if test $glibcxx_shared_libgcc != yes; then
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79120 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79122 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79125 enable_symvers=no
79126 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79127 : All interesting versions of Sun ld support sun style symbol versioning.
79128 elif test $with_gnu_ld != yes ; then
79129 # just fail for now
79130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79131 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79133 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79135 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79136 enable_symvers=no
79137 elif test $glibcxx_ld_is_gold = yes ; then
79138 : All versions of gold support symbol versioning.
79139 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79140 # The right tools, the right setup, but too old. Fallbacks?
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79142 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79144 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79146 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79148 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79150 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79151 enable_symvers=no
79152 fi
79153 fi
79154
79155 # For libtool versioning info, format is CURRENT:REVISION:AGE
79156 libtool_VERSION=6:26:0
79157
79158 # Everything parsed; figure out what files and settings to use.
79159 case $enable_symvers in
79160 no)
79161 SYMVER_FILE=config/abi/pre/none.ver
79162 ;;
79163 gnu)
79164 SYMVER_FILE=config/abi/pre/gnu.ver
79165
79166 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79167
79168 ;;
79169 gnu-versioned-namespace)
79170 libtool_VERSION=8:0:0
79171 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79172
79173 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79174
79175 ;;
79176 darwin)
79177 SYMVER_FILE=config/abi/pre/gnu.ver
79178
79179 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79180
79181 ;;
79182 sun)
79183 SYMVER_FILE=config/abi/pre/gnu.ver
79184
79185 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79186
79187 ;;
79188 esac
79189
79190 if test x$enable_symvers != xno ; then
79191
79192 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79193
79194 fi
79195
79196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79197 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79198 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79199 $as_echo_n "(cached) " >&6
79200 else
79201
79202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79203 /* end confdefs.h. */
79204 void foo (void); __asm (".symver foo, bar@SYMVER");
79205 int
79206 main ()
79207 {
79208
79209 ;
79210 return 0;
79211 }
79212 _ACEOF
79213 if ac_fn_c_try_compile "$LINENO"; then :
79214 glibcxx_cv_have_as_symver_directive=yes
79215 else
79216 glibcxx_cv_have_as_symver_directive=no
79217 fi
79218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79219 fi
79220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79221 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79222 if test $glibcxx_cv_have_as_symver_directive = yes; then
79223
79224 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79225
79226 fi
79227
79228
79229
79230
79231
79232
79233
79234
79235 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79236 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79237
79238 if test $enable_symvers != no ; then
79239 case ${target_os} in
79240 # The Solaris 2 runtime linker doesn't support the GNU extension of
79241 # binding the same symbol to different versions
79242 solaris2*)
79243 ;;
79244 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79245 *)
79246
79247 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79248
79249 ;;
79250 esac
79251 fi
79252
79253 # Now, set up compatibility support, if any.
79254 # In addition, need this to deal with std::size_t mangling in
79255 # src/compatibility.cc. In a perfect world, could use
79256 # typeid(std::size_t).name()[0] to do direct substitution.
79257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79258 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79259 ac_save_CFLAGS="$CFLAGS"
79260 CFLAGS="-Werror"
79261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79262 /* end confdefs.h. */
79263
79264 int
79265 main ()
79266 {
79267 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79268 ;
79269 return 0;
79270 }
79271 _ACEOF
79272 if ac_fn_c_try_compile "$LINENO"; then :
79273 glibcxx_size_t_is_i=yes
79274 else
79275 glibcxx_size_t_is_i=no
79276 fi
79277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79278 CFLAGS=$ac_save_CFLAGS
79279 if test "$glibcxx_size_t_is_i" = yes; then
79280
79281 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79282
79283 fi
79284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79285 $as_echo "$glibcxx_size_t_is_i" >&6; }
79286
79287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79288 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79289 ac_save_CFLAGS="$CFLAGS"
79290 CFLAGS="-Werror"
79291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79292 /* end confdefs.h. */
79293
79294 int
79295 main ()
79296 {
79297 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79298 ;
79299 return 0;
79300 }
79301 _ACEOF
79302 if ac_fn_c_try_compile "$LINENO"; then :
79303 glibcxx_ptrdiff_t_is_i=yes
79304 else
79305 glibcxx_ptrdiff_t_is_i=no
79306 fi
79307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79308 CFLAGS=$ac_save_CFLAGS
79309 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79310
79311 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79312
79313 fi
79314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79315 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79316
79317
79318
79319
79320 # Check whether --enable-libstdcxx-visibility was given.
79321 if test "${enable_libstdcxx_visibility+set}" = set; then :
79322 enableval=$enable_libstdcxx_visibility;
79323 case "$enableval" in
79324 yes|no) ;;
79325 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79326 esac
79327
79328 else
79329 enable_libstdcxx_visibility=yes
79330 fi
79331
79332
79333
79334 if test x$enable_libstdcxx_visibility = xyes ; then
79335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79336 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79337 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79338 $as_echo_n "(cached) " >&6
79339 else
79340
79341 save_CFLAGS="$CFLAGS"
79342 CFLAGS="$CFLAGS -Werror"
79343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79344 /* end confdefs.h. */
79345 void __attribute__((visibility("hidden"))) foo(void) { }
79346 int
79347 main ()
79348 {
79349
79350 ;
79351 return 0;
79352 }
79353 _ACEOF
79354 if ac_fn_c_try_compile "$LINENO"; then :
79355 glibcxx_cv_have_attribute_visibility=yes
79356 else
79357 glibcxx_cv_have_attribute_visibility=no
79358 fi
79359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79360 CFLAGS="$save_CFLAGS"
79361 fi
79362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79363 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79364 if test $glibcxx_cv_have_attribute_visibility = no; then
79365 enable_libstdcxx_visibility=no
79366 fi
79367 fi
79368
79369
79370 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79371 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79372
79373
79374
79375 # Check whether --enable-libstdcxx-dual-abi was given.
79376 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79377 enableval=$enable_libstdcxx_dual_abi;
79378 case "$enableval" in
79379 yes|no) ;;
79380 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79381 esac
79382
79383 else
79384 enable_libstdcxx_dual_abi=yes
79385 fi
79386
79387
79388 if test x$enable_symvers = xgnu-versioned-namespace; then
79389 # gnu-versioned-namespace is incompatible with the dual ABI.
79390 enable_libstdcxx_dual_abi="no"
79391 fi
79392 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79393 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79394 $as_echo "$as_me: dual ABI is disabled" >&6;}
79395 default_libstdcxx_abi="gcc4-compatible"
79396 fi
79397
79398
79399
79400 if test x$enable_libstdcxx_dual_abi = xyes; then
79401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79402 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79403
79404 # Check whether --with-default-libstdcxx-abi was given.
79405 if test "${with_default_libstdcxx_abi+set}" = set; then :
79406 withval=$with_default_libstdcxx_abi; case "$withval" in
79407 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79408 new|cxx11) default_libstdcxx_abi="new" ;;
79409 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79410 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79411 esac
79412
79413 else
79414 default_libstdcxx_abi="new"
79415 fi
79416
79417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79418 $as_echo "${default_libstdcxx_abi}" >&6; }
79419 fi
79420 if test $default_libstdcxx_abi = "new"; then
79421 glibcxx_cxx11_abi=1
79422 glibcxx_cxx98_abi=0
79423 else
79424 glibcxx_cxx11_abi=0
79425 glibcxx_cxx98_abi=1
79426 fi
79427
79428
79429
79430
79431 ac_ldbl_compat=no
79432 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79433 case "$target" in
79434 powerpc*-*-linux* | \
79435 sparc*-*-linux* | \
79436 s390*-*-linux* | \
79437 alpha*-*-linux*)
79438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79439 /* end confdefs.h. */
79440
79441 int
79442 main ()
79443 {
79444
79445 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79446 #error no need for long double compatibility
79447 #endif
79448
79449 ;
79450 return 0;
79451 }
79452 _ACEOF
79453 if ac_fn_c_try_compile "$LINENO"; then :
79454 ac_ldbl_compat=yes
79455 else
79456 ac_ldbl_compat=no
79457 fi
79458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79459 if test "$ac_ldbl_compat" = yes; then
79460
79461 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79462
79463 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79464 case "$target" in
79465 powerpc*-*-linux*)
79466 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79467 esac
79468 fi
79469 esac
79470
79471
79472
79473 # Check if assembler supports disabling hardware capability support.
79474
79475 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79476
79477 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79478 # with a different meaning.
79479 case ${target_os} in
79480 solaris2*)
79481 ac_save_CFLAGS="$CFLAGS"
79482 CFLAGS="$CFLAGS -Wa,-nH"
79483
79484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79485 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79487 /* end confdefs.h. */
79488
79489 int
79490 main ()
79491 {
79492 return 0;
79493 ;
79494 return 0;
79495 }
79496 _ACEOF
79497 if ac_fn_c_try_compile "$LINENO"; then :
79498 ac_hwcap_flags=yes
79499 else
79500 ac_hwcap_flags=no
79501 fi
79502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79503 if test "$ac_hwcap_flags" = "yes"; then
79504 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79505 fi
79506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79507 $as_echo "$ac_hwcap_flags" >&6; }
79508
79509 CFLAGS="$ac_save_CFLAGS"
79510 ;;
79511 esac
79512
79513
79514
79515
79516 # Check if assembler supports rdrand opcode.
79517
79518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79519 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79520 if test "${ac_cv_x86_rdrand+set}" = set; then :
79521 $as_echo_n "(cached) " >&6
79522 else
79523
79524 ac_cv_x86_rdrand=no
79525 case "$target" in
79526 i?86-*-* | \
79527 x86_64-*-*)
79528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79529 /* end confdefs.h. */
79530
79531 int
79532 main ()
79533 {
79534 asm("rdrand %eax");
79535 ;
79536 return 0;
79537 }
79538 _ACEOF
79539 if ac_fn_c_try_compile "$LINENO"; then :
79540 ac_cv_x86_rdrand=yes
79541 else
79542 ac_cv_x86_rdrand=no
79543 fi
79544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79545 esac
79546
79547 fi
79548
79549 if test $ac_cv_x86_rdrand = yes; then
79550
79551 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79552
79553 fi
79554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79555 $as_echo "$ac_cv_x86_rdrand" >&6; }
79556
79557
79558 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79559
79560 # Do checks for resource limit functions.
79561
79562 setrlimit_have_headers=yes
79563 for ac_header in unistd.h sys/time.h sys/resource.h
79564 do :
79565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79566 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79567 eval as_val=\$$as_ac_Header
79568 if test "x$as_val" = x""yes; then :
79569 cat >>confdefs.h <<_ACEOF
79570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79571 _ACEOF
79572
79573 else
79574 setrlimit_have_headers=no
79575 fi
79576
79577 done
79578
79579 # If don't have the headers, then we can't run the tests now, and we
79580 # won't be seeing any of these during testsuite compilation.
79581 if test $setrlimit_have_headers = yes; then
79582 # Can't do these in a loop, else the resulting syntax is wrong.
79583
79584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79585 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79587 /* end confdefs.h. */
79588 #include <unistd.h>
79589 #include <sys/time.h>
79590 #include <sys/resource.h>
79591
79592 int
79593 main ()
79594 {
79595 int f = RLIMIT_DATA ;
79596 ;
79597 return 0;
79598 }
79599 _ACEOF
79600 if ac_fn_c_try_compile "$LINENO"; then :
79601 glibcxx_mresult=1
79602 else
79603 glibcxx_mresult=0
79604 fi
79605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79606
79607 cat >>confdefs.h <<_ACEOF
79608 #define HAVE_LIMIT_DATA $glibcxx_mresult
79609 _ACEOF
79610
79611 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79613 $as_echo "$res" >&6; }
79614
79615
79616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79617 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79619 /* end confdefs.h. */
79620 #include <unistd.h>
79621 #include <sys/time.h>
79622 #include <sys/resource.h>
79623
79624 int
79625 main ()
79626 {
79627 int f = RLIMIT_RSS ;
79628 ;
79629 return 0;
79630 }
79631 _ACEOF
79632 if ac_fn_c_try_compile "$LINENO"; then :
79633 glibcxx_mresult=1
79634 else
79635 glibcxx_mresult=0
79636 fi
79637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79638
79639 cat >>confdefs.h <<_ACEOF
79640 #define HAVE_LIMIT_RSS $glibcxx_mresult
79641 _ACEOF
79642
79643 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79645 $as_echo "$res" >&6; }
79646
79647
79648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79649 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79651 /* end confdefs.h. */
79652 #include <unistd.h>
79653 #include <sys/time.h>
79654 #include <sys/resource.h>
79655
79656 int
79657 main ()
79658 {
79659 int f = RLIMIT_VMEM ;
79660 ;
79661 return 0;
79662 }
79663 _ACEOF
79664 if ac_fn_c_try_compile "$LINENO"; then :
79665 glibcxx_mresult=1
79666 else
79667 glibcxx_mresult=0
79668 fi
79669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79670
79671 cat >>confdefs.h <<_ACEOF
79672 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79673 _ACEOF
79674
79675 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79677 $as_echo "$res" >&6; }
79678
79679
79680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79681 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79683 /* end confdefs.h. */
79684 #include <unistd.h>
79685 #include <sys/time.h>
79686 #include <sys/resource.h>
79687
79688 int
79689 main ()
79690 {
79691 int f = RLIMIT_AS ;
79692 ;
79693 return 0;
79694 }
79695 _ACEOF
79696 if ac_fn_c_try_compile "$LINENO"; then :
79697 glibcxx_mresult=1
79698 else
79699 glibcxx_mresult=0
79700 fi
79701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79702
79703 cat >>confdefs.h <<_ACEOF
79704 #define HAVE_LIMIT_AS $glibcxx_mresult
79705 _ACEOF
79706
79707 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79709 $as_echo "$res" >&6; }
79710
79711
79712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79713 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79715 /* end confdefs.h. */
79716 #include <unistd.h>
79717 #include <sys/time.h>
79718 #include <sys/resource.h>
79719
79720 int
79721 main ()
79722 {
79723 int f = RLIMIT_FSIZE ;
79724 ;
79725 return 0;
79726 }
79727 _ACEOF
79728 if ac_fn_c_try_compile "$LINENO"; then :
79729 glibcxx_mresult=1
79730 else
79731 glibcxx_mresult=0
79732 fi
79733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79734
79735 cat >>confdefs.h <<_ACEOF
79736 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79737 _ACEOF
79738
79739 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79741 $as_echo "$res" >&6; }
79742
79743
79744 # Check for rlimit, setrlimit.
79745 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79746 $as_echo_n "(cached) " >&6
79747 else
79748
79749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79750 /* end confdefs.h. */
79751 #include <unistd.h>
79752 #include <sys/time.h>
79753 #include <sys/resource.h>
79754
79755 int
79756 main ()
79757 {
79758 struct rlimit r;
79759 setrlimit(0, &r);
79760 ;
79761 return 0;
79762 }
79763 _ACEOF
79764 if ac_fn_c_try_compile "$LINENO"; then :
79765 glibcxx_cv_setrlimit=yes
79766 else
79767 glibcxx_cv_setrlimit=no
79768 fi
79769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79770
79771 fi
79772
79773 fi
79774
79775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79776 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79777 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79778 ac_res_limits=yes
79779
79780 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79781
79782 else
79783 ac_res_limits=no
79784 fi
79785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79786 $as_echo "$ac_res_limits" >&6; }
79787
79788
79789 if $GLIBCXX_IS_NATIVE ; then
79790 # Look for setenv, so that extended locale tests can be performed.
79791
79792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79793 $as_echo_n "checking for setenv declaration... " >&6; }
79794 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79795 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79796 $as_echo_n "(cached) " >&6
79797 else
79798
79799
79800 ac_ext=cpp
79801 ac_cpp='$CXXCPP $CPPFLAGS'
79802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79805
79806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79807 /* end confdefs.h. */
79808 #include <stdlib.h>
79809 int
79810 main ()
79811 {
79812 setenv(0, 0, 0);
79813 ;
79814 return 0;
79815 }
79816 _ACEOF
79817 if ac_fn_cxx_try_compile "$LINENO"; then :
79818 glibcxx_cv_func_setenv_use=yes
79819 else
79820 glibcxx_cv_func_setenv_use=no
79821 fi
79822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79823 ac_ext=c
79824 ac_cpp='$CPP $CPPFLAGS'
79825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79828
79829
79830 fi
79831
79832 fi
79833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79834 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79835 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79836 for ac_func in setenv
79837 do :
79838 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79839 if test "x$ac_cv_func_setenv" = x""yes; then :
79840 cat >>confdefs.h <<_ACEOF
79841 #define HAVE_SETENV 1
79842 _ACEOF
79843
79844 fi
79845 done
79846
79847 fi
79848
79849 fi
79850
79851 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79852 test $enable_symvers != no; then
79853 case "$host" in
79854 *-*-cygwin*)
79855 enable_abi_check=no ;;
79856 *)
79857 enable_abi_check=yes ;;
79858 esac
79859 else
79860 # Only build this as native, since automake does not understand
79861 # CXX_FOR_BUILD.
79862 enable_abi_check=no
79863 fi
79864
79865 # Export file names for ABI checking.
79866 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79867
79868 baseline_subdir_switch="$abi_baseline_subdir_switch"
79869
79870
79871
79872 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79873
79874 # Check whether --enable-libstdcxx-threads was given.
79875 if test "${enable_libstdcxx_threads+set}" = set; then :
79876 enableval=$enable_libstdcxx_threads;
79877 case "$enableval" in
79878 yes|no) ;;
79879 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79880 esac
79881
79882 else
79883 enable_libstdcxx_threads=auto
79884 fi
79885
79886
79887
79888 if test x$enable_libstdcxx_threads = xauto ||
79889 test x$enable_libstdcxx_threads = xyes; then
79890
79891
79892 ac_ext=cpp
79893 ac_cpp='$CXXCPP $CPPFLAGS'
79894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79897
79898
79899 ac_save_CXXFLAGS="$CXXFLAGS"
79900 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79901 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79902
79903 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79904 case $target_thread_file in
79905 posix)
79906 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79907 esac
79908
79909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79910 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79911
79912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79913 /* end confdefs.h. */
79914 #include <unistd.h>
79915 int
79916 main ()
79917 {
79918
79919 // In case of POSIX threads check _POSIX_TIMEOUTS.
79920 #if (defined(_PTHREADS) \
79921 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79922 #error
79923 #endif
79924
79925 ;
79926 return 0;
79927 }
79928 _ACEOF
79929 if ac_fn_cxx_try_compile "$LINENO"; then :
79930 ac_gthread_use_mutex_timedlock=1
79931 else
79932 ac_gthread_use_mutex_timedlock=0
79933 fi
79934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79935
79936
79937 cat >>confdefs.h <<_ACEOF
79938 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79939 _ACEOF
79940
79941
79942 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79943 else res_mutex_timedlock=no ; fi
79944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79945 $as_echo "$res_mutex_timedlock" >&6; }
79946
79947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79948 $as_echo_n "checking for gthreads library... " >&6; }
79949
79950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79951 /* end confdefs.h. */
79952 #include "gthr.h"
79953 int
79954 main ()
79955 {
79956
79957 #ifndef __GTHREADS_CXX0X
79958 #error
79959 #endif
79960
79961 ;
79962 return 0;
79963 }
79964 _ACEOF
79965 if ac_fn_cxx_try_compile "$LINENO"; then :
79966 ac_has_gthreads=yes
79967 else
79968 ac_has_gthreads=no
79969 fi
79970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79971 else
79972 ac_has_gthreads=no
79973 fi
79974
79975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79976 $as_echo "$ac_has_gthreads" >&6; }
79977
79978 if test x"$ac_has_gthreads" = x"yes"; then
79979
79980 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79981
79982
79983 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79984 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79985 "
79986 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79987
79988 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79989
79990 fi
79991
79992 fi
79993
79994 CXXFLAGS="$ac_save_CXXFLAGS"
79995 ac_ext=c
79996 ac_cpp='$CPP $CPPFLAGS'
79997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80000
80001
80002
80003 # For Filesystem TS.
80004 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80005 do :
80006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80007 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80008 eval as_val=\$$as_ac_Header
80009 if test "x$as_val" = x""yes; then :
80010 cat >>confdefs.h <<_ACEOF
80011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80012 _ACEOF
80013
80014 fi
80015
80016 done
80017
80018
80019 # Check whether --enable-libstdcxx-filesystem-ts was given.
80020 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80021 enableval=$enable_libstdcxx_filesystem_ts;
80022 case "$enableval" in
80023 yes|no|auto) ;;
80024 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80025 esac
80026
80027 else
80028 enable_libstdcxx_filesystem_ts=auto
80029 fi
80030
80031
80032
80033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80034 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80035 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80036 enable_libstdcxx_filesystem_ts=no
80037 fi
80038 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80039 case "${target_os}" in
80040 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80041 enable_libstdcxx_filesystem_ts=yes
80042 ;;
80043 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80044 enable_libstdcxx_filesystem_ts=yes
80045 ;;
80046 rtems*)
80047 enable_libstdcxx_filesystem_ts=yes
80048 ;;
80049 solaris*)
80050 enable_libstdcxx_filesystem_ts=yes
80051 ;;
80052 *)
80053 enable_libstdcxx_filesystem_ts=no
80054 ;;
80055 esac
80056 fi
80057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80058 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80059
80060
80061 if test $enable_libstdcxx_filesystem_ts = yes; then
80062
80063 ac_ext=cpp
80064 ac_cpp='$CXXCPP $CPPFLAGS'
80065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80068
80069 ac_save_CXXFLAGS="$CXXFLAGS"
80070 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80072 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80073 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80074 $as_echo_n "(cached) " >&6
80075 else
80076 if test x$gcc_no_link = xyes; then
80077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80078 /* end confdefs.h. */
80079 #include <dirent.h>
80080 int
80081 main ()
80082 {
80083
80084 struct dirent d;
80085 if (sizeof d.d_type) return 0;
80086
80087 ;
80088 return 0;
80089 }
80090 _ACEOF
80091 if ac_fn_cxx_try_compile "$LINENO"; then :
80092 glibcxx_cv_dirent_d_type=yes
80093 else
80094 glibcxx_cv_dirent_d_type=no
80095 fi
80096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80097 else
80098 if test x$gcc_no_link = xyes; then
80099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80100 fi
80101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80102 /* end confdefs.h. */
80103 #include <dirent.h>
80104 int
80105 main ()
80106 {
80107
80108 struct dirent d;
80109 if (sizeof d.d_type) return 0;
80110
80111 ;
80112 return 0;
80113 }
80114 _ACEOF
80115 if ac_fn_cxx_try_link "$LINENO"; then :
80116 glibcxx_cv_dirent_d_type=yes
80117 else
80118 glibcxx_cv_dirent_d_type=no
80119 fi
80120 rm -f core conftest.err conftest.$ac_objext \
80121 conftest$ac_exeext conftest.$ac_ext
80122 fi
80123
80124 fi
80125
80126 if test $glibcxx_cv_dirent_d_type = yes; then
80127
80128 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80129
80130 fi
80131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80132 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80134 $as_echo_n "checking for realpath... " >&6; }
80135 if test "${glibcxx_cv_realpath+set}" = set; then :
80136 $as_echo_n "(cached) " >&6
80137 else
80138 if test x$gcc_no_link = xyes; then
80139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80140 /* end confdefs.h. */
80141
80142 #include <limits.h>
80143 #include <stdlib.h>
80144 #include <unistd.h>
80145
80146 int
80147 main ()
80148 {
80149
80150 #if _XOPEN_VERSION < 500
80151 #error
80152 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80153 char *tmp = realpath((const char*)NULL, (char*)NULL);
80154 #else
80155 #error
80156 #endif
80157
80158 ;
80159 return 0;
80160 }
80161 _ACEOF
80162 if ac_fn_cxx_try_compile "$LINENO"; then :
80163 glibcxx_cv_realpath=yes
80164 else
80165 glibcxx_cv_realpath=no
80166 fi
80167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80168 else
80169 if test x$gcc_no_link = xyes; then
80170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80171 fi
80172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80173 /* end confdefs.h. */
80174
80175 #include <limits.h>
80176 #include <stdlib.h>
80177 #include <unistd.h>
80178
80179 int
80180 main ()
80181 {
80182
80183 #if _XOPEN_VERSION < 500
80184 #error
80185 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80186 char *tmp = realpath((const char*)NULL, (char*)NULL);
80187 #else
80188 #error
80189 #endif
80190
80191 ;
80192 return 0;
80193 }
80194 _ACEOF
80195 if ac_fn_cxx_try_link "$LINENO"; then :
80196 glibcxx_cv_realpath=yes
80197 else
80198 glibcxx_cv_realpath=no
80199 fi
80200 rm -f core conftest.err conftest.$ac_objext \
80201 conftest$ac_exeext conftest.$ac_ext
80202 fi
80203
80204 fi
80205
80206 if test $glibcxx_cv_realpath = yes; then
80207
80208 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80209
80210 fi
80211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80212 $as_echo "$glibcxx_cv_realpath" >&6; }
80213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80214 $as_echo_n "checking for utimensat... " >&6; }
80215 if test "${glibcxx_cv_utimensat+set}" = set; then :
80216 $as_echo_n "(cached) " >&6
80217 else
80218 if test x$gcc_no_link = xyes; then
80219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80220 /* end confdefs.h. */
80221
80222 #include <fcntl.h>
80223 #include <sys/stat.h>
80224
80225 int
80226 main ()
80227 {
80228
80229 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80230 int i = utimensat(AT_FDCWD, "path", ts, 0);
80231
80232 ;
80233 return 0;
80234 }
80235 _ACEOF
80236 if ac_fn_cxx_try_compile "$LINENO"; then :
80237 glibcxx_cv_utimensat=yes
80238 else
80239 glibcxx_cv_utimensat=no
80240 fi
80241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80242 else
80243 if test x$gcc_no_link = xyes; then
80244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80245 fi
80246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80247 /* end confdefs.h. */
80248
80249 #include <fcntl.h>
80250 #include <sys/stat.h>
80251
80252 int
80253 main ()
80254 {
80255
80256 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80257 int i = utimensat(AT_FDCWD, "path", ts, 0);
80258
80259 ;
80260 return 0;
80261 }
80262 _ACEOF
80263 if ac_fn_cxx_try_link "$LINENO"; then :
80264 glibcxx_cv_utimensat=yes
80265 else
80266 glibcxx_cv_utimensat=no
80267 fi
80268 rm -f core conftest.err conftest.$ac_objext \
80269 conftest$ac_exeext conftest.$ac_ext
80270 fi
80271
80272 fi
80273
80274 if test $glibcxx_cv_utimensat = yes; then
80275
80276 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80277
80278 fi
80279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80280 $as_echo "$glibcxx_cv_utimensat" >&6; }
80281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80282 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80283 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80284 $as_echo_n "(cached) " >&6
80285 else
80286 if test x$gcc_no_link = xyes; then
80287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80288 /* end confdefs.h. */
80289 #include <sys/stat.h>
80290 int
80291 main ()
80292 {
80293
80294 struct stat st;
80295 return st.st_mtim.tv_nsec;
80296
80297 ;
80298 return 0;
80299 }
80300 _ACEOF
80301 if ac_fn_cxx_try_compile "$LINENO"; then :
80302 glibcxx_cv_st_mtim=yes
80303 else
80304 glibcxx_cv_st_mtim=no
80305 fi
80306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80307 else
80308 if test x$gcc_no_link = xyes; then
80309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80310 fi
80311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80312 /* end confdefs.h. */
80313 #include <sys/stat.h>
80314 int
80315 main ()
80316 {
80317
80318 struct stat st;
80319 return st.st_mtim.tv_nsec;
80320
80321 ;
80322 return 0;
80323 }
80324 _ACEOF
80325 if ac_fn_cxx_try_link "$LINENO"; then :
80326 glibcxx_cv_st_mtim=yes
80327 else
80328 glibcxx_cv_st_mtim=no
80329 fi
80330 rm -f core conftest.err conftest.$ac_objext \
80331 conftest$ac_exeext conftest.$ac_ext
80332 fi
80333
80334 fi
80335
80336 if test $glibcxx_cv_st_mtim = yes; then
80337
80338 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80339
80340 fi
80341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80342 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80344 $as_echo_n "checking for fchmod... " >&6; }
80345 if test "${glibcxx_cv_fchmod+set}" = set; then :
80346 $as_echo_n "(cached) " >&6
80347 else
80348 if test x$gcc_no_link = xyes; then
80349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80350 /* end confdefs.h. */
80351 #include <sys/stat.h>
80352 int
80353 main ()
80354 {
80355 fchmod(1, S_IWUSR);
80356 ;
80357 return 0;
80358 }
80359 _ACEOF
80360 if ac_fn_cxx_try_compile "$LINENO"; then :
80361 glibcxx_cv_fchmod=yes
80362 else
80363 glibcxx_cv_fchmod=no
80364 fi
80365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80366 else
80367 if test x$gcc_no_link = xyes; then
80368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80369 fi
80370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80371 /* end confdefs.h. */
80372 #include <sys/stat.h>
80373 int
80374 main ()
80375 {
80376 fchmod(1, S_IWUSR);
80377 ;
80378 return 0;
80379 }
80380 _ACEOF
80381 if ac_fn_cxx_try_link "$LINENO"; then :
80382 glibcxx_cv_fchmod=yes
80383 else
80384 glibcxx_cv_fchmod=no
80385 fi
80386 rm -f core conftest.err conftest.$ac_objext \
80387 conftest$ac_exeext conftest.$ac_ext
80388 fi
80389
80390 fi
80391
80392 if test $glibcxx_cv_fchmod = yes; then
80393
80394 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80395
80396 fi
80397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80398 $as_echo "$glibcxx_cv_fchmod" >&6; }
80399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80400 $as_echo_n "checking for fchmodat... " >&6; }
80401 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80402 $as_echo_n "(cached) " >&6
80403 else
80404 if test x$gcc_no_link = xyes; then
80405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80406 /* end confdefs.h. */
80407
80408 #include <fcntl.h>
80409 #include <sys/stat.h>
80410
80411 int
80412 main ()
80413 {
80414 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80415 ;
80416 return 0;
80417 }
80418 _ACEOF
80419 if ac_fn_cxx_try_compile "$LINENO"; then :
80420 glibcxx_cv_fchmodat=yes
80421 else
80422 glibcxx_cv_fchmodat=no
80423 fi
80424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80425 else
80426 if test x$gcc_no_link = xyes; then
80427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80428 fi
80429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80430 /* end confdefs.h. */
80431
80432 #include <fcntl.h>
80433 #include <sys/stat.h>
80434
80435 int
80436 main ()
80437 {
80438 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80439 ;
80440 return 0;
80441 }
80442 _ACEOF
80443 if ac_fn_cxx_try_link "$LINENO"; then :
80444 glibcxx_cv_fchmodat=yes
80445 else
80446 glibcxx_cv_fchmodat=no
80447 fi
80448 rm -f core conftest.err conftest.$ac_objext \
80449 conftest$ac_exeext conftest.$ac_ext
80450 fi
80451
80452 fi
80453
80454 if test $glibcxx_cv_fchmodat = yes; then
80455
80456 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80457
80458 fi
80459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80460 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80462 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80463 if test "${glibcxx_cv_sendfile+set}" = set; then :
80464 $as_echo_n "(cached) " >&6
80465 else
80466 case "${target_os}" in
80467 gnu* | linux* | solaris*)
80468 if test x$gcc_no_link = xyes; then
80469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80470 /* end confdefs.h. */
80471 #include <sys/sendfile.h>
80472 int
80473 main ()
80474 {
80475 sendfile(1, 2, (off_t*)0, sizeof 1);
80476 ;
80477 return 0;
80478 }
80479 _ACEOF
80480 if ac_fn_cxx_try_compile "$LINENO"; then :
80481 glibcxx_cv_sendfile=yes
80482 else
80483 glibcxx_cv_sendfile=no
80484 fi
80485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80486 else
80487 if test x$gcc_no_link = xyes; then
80488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80489 fi
80490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80491 /* end confdefs.h. */
80492 #include <sys/sendfile.h>
80493 int
80494 main ()
80495 {
80496 sendfile(1, 2, (off_t*)0, sizeof 1);
80497 ;
80498 return 0;
80499 }
80500 _ACEOF
80501 if ac_fn_cxx_try_link "$LINENO"; then :
80502 glibcxx_cv_sendfile=yes
80503 else
80504 glibcxx_cv_sendfile=no
80505 fi
80506 rm -f core conftest.err conftest.$ac_objext \
80507 conftest$ac_exeext conftest.$ac_ext
80508 fi
80509 ;;
80510 *)
80511 glibcxx_cv_sendfile=no
80512 ;;
80513 esac
80514
80515 fi
80516
80517 if test $glibcxx_cv_sendfile = yes; then
80518
80519 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80520
80521 fi
80522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80523 $as_echo "$glibcxx_cv_sendfile" >&6; }
80524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80525 $as_echo_n "checking for link... " >&6; }
80526 if test "${glibcxx_cv_link+set}" = set; then :
80527 $as_echo_n "(cached) " >&6
80528 else
80529 if test x$gcc_no_link = xyes; then
80530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80531 /* end confdefs.h. */
80532 #include <unistd.h>
80533 int
80534 main ()
80535 {
80536 link("", "");
80537 ;
80538 return 0;
80539 }
80540 _ACEOF
80541 if ac_fn_cxx_try_compile "$LINENO"; then :
80542 glibcxx_cv_link=yes
80543 else
80544 glibcxx_cv_link=no
80545 fi
80546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80547 else
80548 if test x$gcc_no_link = xyes; then
80549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80550 fi
80551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80552 /* end confdefs.h. */
80553 #include <unistd.h>
80554 int
80555 main ()
80556 {
80557 link("", "");
80558 ;
80559 return 0;
80560 }
80561 _ACEOF
80562 if ac_fn_cxx_try_link "$LINENO"; then :
80563 glibcxx_cv_link=yes
80564 else
80565 glibcxx_cv_link=no
80566 fi
80567 rm -f core conftest.err conftest.$ac_objext \
80568 conftest$ac_exeext conftest.$ac_ext
80569 fi
80570
80571 fi
80572
80573 if test $glibcxx_cv_link = yes; then
80574
80575 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80576
80577 fi
80578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80579 $as_echo "$glibcxx_cv_link" >&6; }
80580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80581 $as_echo_n "checking for readlink... " >&6; }
80582 if test "${glibcxx_cv_readlink+set}" = set; then :
80583 $as_echo_n "(cached) " >&6
80584 else
80585 if test x$gcc_no_link = xyes; then
80586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80587 /* end confdefs.h. */
80588 #include <unistd.h>
80589 int
80590 main ()
80591 {
80592 char buf[32]; readlink("", buf, sizeof(buf));
80593 ;
80594 return 0;
80595 }
80596 _ACEOF
80597 if ac_fn_cxx_try_compile "$LINENO"; then :
80598 glibcxx_cv_readlink=yes
80599 else
80600 glibcxx_cv_readlink=no
80601 fi
80602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80603 else
80604 if test x$gcc_no_link = xyes; then
80605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80606 fi
80607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80608 /* end confdefs.h. */
80609 #include <unistd.h>
80610 int
80611 main ()
80612 {
80613 char buf[32]; readlink("", buf, sizeof(buf));
80614 ;
80615 return 0;
80616 }
80617 _ACEOF
80618 if ac_fn_cxx_try_link "$LINENO"; then :
80619 glibcxx_cv_readlink=yes
80620 else
80621 glibcxx_cv_readlink=no
80622 fi
80623 rm -f core conftest.err conftest.$ac_objext \
80624 conftest$ac_exeext conftest.$ac_ext
80625 fi
80626
80627 fi
80628
80629 if test $glibcxx_cv_readlink = yes; then
80630
80631 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
80632
80633 fi
80634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
80635 $as_echo "$glibcxx_cv_readlink" >&6; }
80636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
80637 $as_echo_n "checking for symlink... " >&6; }
80638 if test "${glibcxx_cv_symlink+set}" = set; then :
80639 $as_echo_n "(cached) " >&6
80640 else
80641 if test x$gcc_no_link = xyes; then
80642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80643 /* end confdefs.h. */
80644 #include <unistd.h>
80645 int
80646 main ()
80647 {
80648 symlink("", "");
80649 ;
80650 return 0;
80651 }
80652 _ACEOF
80653 if ac_fn_cxx_try_compile "$LINENO"; then :
80654 glibcxx_cv_symlink=yes
80655 else
80656 glibcxx_cv_symlink=no
80657 fi
80658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80659 else
80660 if test x$gcc_no_link = xyes; then
80661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80662 fi
80663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80664 /* end confdefs.h. */
80665 #include <unistd.h>
80666 int
80667 main ()
80668 {
80669 symlink("", "");
80670 ;
80671 return 0;
80672 }
80673 _ACEOF
80674 if ac_fn_cxx_try_link "$LINENO"; then :
80675 glibcxx_cv_symlink=yes
80676 else
80677 glibcxx_cv_symlink=no
80678 fi
80679 rm -f core conftest.err conftest.$ac_objext \
80680 conftest$ac_exeext conftest.$ac_ext
80681 fi
80682
80683 fi
80684
80685 if test $glibcxx_cv_symlink = yes; then
80686
80687 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
80688
80689 fi
80690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
80691 $as_echo "$glibcxx_cv_symlink" >&6; }
80692 CXXFLAGS="$ac_save_CXXFLAGS"
80693 ac_ext=c
80694 ac_cpp='$CPP $CPPFLAGS'
80695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80698
80699 fi
80700
80701
80702 # For Networking TS.
80703 for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
80704 do :
80705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80706 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80707 eval as_val=\$$as_ac_Header
80708 if test "x$as_val" = x""yes; then :
80709 cat >>confdefs.h <<_ACEOF
80710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80711 _ACEOF
80712
80713 fi
80714
80715 done
80716
80717
80718 # For Transactional Memory TS
80719
80720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80721 $as_echo_n "checking how size_t is mangled... " >&6; }
80722 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80723 $as_echo_n "(cached) " >&6
80724 else
80725
80726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80727 /* end confdefs.h. */
80728
80729 int
80730 main ()
80731 {
80732 extern __SIZE_TYPE__ x; extern unsigned long x;
80733 ;
80734 return 0;
80735 }
80736 _ACEOF
80737 if ac_fn_c_try_compile "$LINENO"; then :
80738 glibcxx_cv_size_t_mangling=m
80739 else
80740
80741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80742 /* end confdefs.h. */
80743
80744 int
80745 main ()
80746 {
80747 extern __SIZE_TYPE__ x; extern unsigned int x;
80748 ;
80749 return 0;
80750 }
80751 _ACEOF
80752 if ac_fn_c_try_compile "$LINENO"; then :
80753 glibcxx_cv_size_t_mangling=j
80754 else
80755
80756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80757 /* end confdefs.h. */
80758
80759 int
80760 main ()
80761 {
80762 extern __SIZE_TYPE__ x; extern unsigned long long x;
80763 ;
80764 return 0;
80765 }
80766 _ACEOF
80767 if ac_fn_c_try_compile "$LINENO"; then :
80768 glibcxx_cv_size_t_mangling=y
80769 else
80770
80771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80772 /* end confdefs.h. */
80773
80774 int
80775 main ()
80776 {
80777 extern __SIZE_TYPE__ x; extern unsigned short x;
80778 ;
80779 return 0;
80780 }
80781 _ACEOF
80782 if ac_fn_c_try_compile "$LINENO"; then :
80783 glibcxx_cv_size_t_mangling=t
80784 else
80785
80786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80787 /* end confdefs.h. */
80788
80789 int
80790 main ()
80791 {
80792 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80793 ;
80794 return 0;
80795 }
80796 _ACEOF
80797 if ac_fn_c_try_compile "$LINENO"; then :
80798 glibcxx_cv_size_t_mangling=u6uint20
80799 else
80800 glibcxx_cv_size_t_mangling=x
80801 fi
80802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80803
80804 fi
80805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80806
80807 fi
80808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80809
80810 fi
80811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80812
80813 fi
80814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80815
80816 fi
80817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80818 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80819 if test $glibcxx_cv_size_t_mangling = x; then
80820 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80821 fi
80822
80823 cat >>confdefs.h <<_ACEOF
80824 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80825 _ACEOF
80826
80827
80828
80829 # Check which release added std::exception_ptr for the target
80830
80831 if test $enable_symvers != no; then
80832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80833 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80834 case ${target} in
80835 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80836 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80837 ac_exception_ptr_since_gcc46=yes
80838 ;;
80839 *)
80840 # If the value of this macro changes then we will need to hardcode
80841 # yes/no here for additional targets based on the original value.
80842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80843 /* end confdefs.h. */
80844
80845 int
80846 main ()
80847 {
80848
80849 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80850 # error atomic int not always lock free
80851 #endif
80852
80853 ;
80854 return 0;
80855 }
80856 _ACEOF
80857 if ac_fn_c_try_compile "$LINENO"; then :
80858 ac_exception_ptr_since_gcc46=yes
80859 else
80860 ac_exception_ptr_since_gcc46=no
80861 fi
80862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80863 ;;
80864 esac
80865 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80866
80867 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80868
80869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80870 $as_echo "4.6.0" >&6; }
80871 else
80872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80873 $as_echo "7.1.0" >&6; }
80874 fi
80875 fi
80876
80877
80878 # Define documentation rules conditionally.
80879
80880 # See if makeinfo has been installed and is modern enough
80881 # that we can use it.
80882
80883 # Extract the first word of "makeinfo", so it can be a program name with args.
80884 set dummy makeinfo; ac_word=$2
80885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80886 $as_echo_n "checking for $ac_word... " >&6; }
80887 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80888 $as_echo_n "(cached) " >&6
80889 else
80890 if test -n "$MAKEINFO"; then
80891 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80892 else
80893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80894 for as_dir in $PATH
80895 do
80896 IFS=$as_save_IFS
80897 test -z "$as_dir" && as_dir=.
80898 for ac_exec_ext in '' $ac_executable_extensions; do
80899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80900 ac_cv_prog_MAKEINFO="makeinfo"
80901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80902 break 2
80903 fi
80904 done
80905 done
80906 IFS=$as_save_IFS
80907
80908 fi
80909 fi
80910 MAKEINFO=$ac_cv_prog_MAKEINFO
80911 if test -n "$MAKEINFO"; then
80912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80913 $as_echo "$MAKEINFO" >&6; }
80914 else
80915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80916 $as_echo "no" >&6; }
80917 fi
80918
80919
80920 if test -n "$MAKEINFO"; then
80921 # Found it, now check the version.
80922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80923 $as_echo_n "checking for modern makeinfo... " >&6; }
80924 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80925 $as_echo_n "(cached) " >&6
80926 else
80927 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80928 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80929
80930 case $ac_prog_version in
80931 '') gcc_cv_prog_makeinfo_modern=no;;
80932 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80933 *) gcc_cv_prog_makeinfo_modern=no;;
80934 esac
80935
80936 fi
80937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80938 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80939 else
80940 gcc_cv_prog_makeinfo_modern=no
80941 fi
80942 if test $gcc_cv_prog_makeinfo_modern = no; then
80943 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80944 fi
80945
80946 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80947 BUILD_INFO_TRUE=
80948 BUILD_INFO_FALSE='#'
80949 else
80950 BUILD_INFO_TRUE='#'
80951 BUILD_INFO_FALSE=
80952 fi
80953
80954
80955 # Check for doxygen
80956 # Extract the first word of "doxygen", so it can be a program name with args.
80957 set dummy doxygen; ac_word=$2
80958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80959 $as_echo_n "checking for $ac_word... " >&6; }
80960 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80961 $as_echo_n "(cached) " >&6
80962 else
80963 if test -n "$DOXYGEN"; then
80964 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80965 else
80966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80967 for as_dir in $PATH
80968 do
80969 IFS=$as_save_IFS
80970 test -z "$as_dir" && as_dir=.
80971 for ac_exec_ext in '' $ac_executable_extensions; do
80972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80973 ac_cv_prog_DOXYGEN="yes"
80974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80975 break 2
80976 fi
80977 done
80978 done
80979 IFS=$as_save_IFS
80980
80981 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80982 fi
80983 fi
80984 DOXYGEN=$ac_cv_prog_DOXYGEN
80985 if test -n "$DOXYGEN"; then
80986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80987 $as_echo "$DOXYGEN" >&6; }
80988 else
80989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80990 $as_echo "no" >&6; }
80991 fi
80992
80993
80994 # Extract the first word of "dot", so it can be a program name with args.
80995 set dummy dot; ac_word=$2
80996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80997 $as_echo_n "checking for $ac_word... " >&6; }
80998 if test "${ac_cv_prog_DOT+set}" = set; then :
80999 $as_echo_n "(cached) " >&6
81000 else
81001 if test -n "$DOT"; then
81002 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81003 else
81004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81005 for as_dir in $PATH
81006 do
81007 IFS=$as_save_IFS
81008 test -z "$as_dir" && as_dir=.
81009 for ac_exec_ext in '' $ac_executable_extensions; do
81010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81011 ac_cv_prog_DOT="yes"
81012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81013 break 2
81014 fi
81015 done
81016 done
81017 IFS=$as_save_IFS
81018
81019 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81020 fi
81021 fi
81022 DOT=$ac_cv_prog_DOT
81023 if test -n "$DOT"; then
81024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81025 $as_echo "$DOT" >&6; }
81026 else
81027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81028 $as_echo "no" >&6; }
81029 fi
81030
81031
81032
81033 # Check for docbook
81034 # Extract the first word of "xsltproc", so it can be a program name with args.
81035 set dummy xsltproc; ac_word=$2
81036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81037 $as_echo_n "checking for $ac_word... " >&6; }
81038 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
81039 $as_echo_n "(cached) " >&6
81040 else
81041 if test -n "$XSLTPROC"; then
81042 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81043 else
81044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81045 for as_dir in $PATH
81046 do
81047 IFS=$as_save_IFS
81048 test -z "$as_dir" && as_dir=.
81049 for ac_exec_ext in '' $ac_executable_extensions; do
81050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81051 ac_cv_prog_XSLTPROC="yes"
81052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81053 break 2
81054 fi
81055 done
81056 done
81057 IFS=$as_save_IFS
81058
81059 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81060 fi
81061 fi
81062 XSLTPROC=$ac_cv_prog_XSLTPROC
81063 if test -n "$XSLTPROC"; then
81064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81065 $as_echo "$XSLTPROC" >&6; }
81066 else
81067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81068 $as_echo "no" >&6; }
81069 fi
81070
81071
81072 # Extract the first word of "xmllint", so it can be a program name with args.
81073 set dummy xmllint; ac_word=$2
81074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81075 $as_echo_n "checking for $ac_word... " >&6; }
81076 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
81077 $as_echo_n "(cached) " >&6
81078 else
81079 if test -n "$XMLLINT"; then
81080 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81081 else
81082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81083 for as_dir in $PATH
81084 do
81085 IFS=$as_save_IFS
81086 test -z "$as_dir" && as_dir=.
81087 for ac_exec_ext in '' $ac_executable_extensions; do
81088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81089 ac_cv_prog_XMLLINT="yes"
81090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81091 break 2
81092 fi
81093 done
81094 done
81095 IFS=$as_save_IFS
81096
81097 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81098 fi
81099 fi
81100 XMLLINT=$ac_cv_prog_XMLLINT
81101 if test -n "$XMLLINT"; then
81102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81103 $as_echo "$XMLLINT" >&6; }
81104 else
81105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81106 $as_echo "no" >&6; }
81107 fi
81108
81109
81110
81111
81112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81113 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81114 glibcxx_stylesheets=no
81115 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
81116 glibcxx_stylesheets=yes
81117 fi
81118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81119 $as_echo "$glibcxx_stylesheets" >&6; }
81120
81121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81122 $as_echo_n "checking for local stylesheet directory... " >&6; }
81123 glibcxx_local_stylesheets=no
81124 if test x"$glibcxx_stylesheets" = x"yes"; then
81125 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81126 glibcxx_local_stylesheets=yes
81127 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81128 fi
81129 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81130 glibcxx_local_stylesheets=yes
81131 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81132 fi
81133 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81134 glibcxx_local_stylesheets=yes
81135 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81136 fi
81137 fi
81138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81139 $as_echo "$glibcxx_local_stylesheets" >&6; }
81140
81141 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81142
81143 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81144 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81145 else
81146 glibcxx_stylesheets=no
81147 fi
81148
81149 # Check for epub3 dependencies.
81150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81151 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81152 glibcxx_epub_stylesheets=no
81153 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81154 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81155 glibcxx_epub_stylesheets=yes
81156 fi
81157 fi
81158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81159 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81160 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81161 BUILD_EPUB_TRUE=
81162 BUILD_EPUB_FALSE='#'
81163 else
81164 BUILD_EPUB_TRUE='#'
81165 BUILD_EPUB_FALSE=
81166 fi
81167
81168
81169
81170
81171 # Check for xml/html dependencies.
81172 if test $ac_cv_prog_DOXYGEN = "yes" &&
81173 test $ac_cv_prog_DOT = "yes" &&
81174 test $ac_cv_prog_XSLTPROC = "yes" &&
81175 test $ac_cv_prog_XMLLINT = "yes" &&
81176 test $glibcxx_stylesheets = "yes"; then
81177 BUILD_XML_TRUE=
81178 BUILD_XML_FALSE='#'
81179 else
81180 BUILD_XML_TRUE='#'
81181 BUILD_XML_FALSE=
81182 fi
81183
81184
81185 if test $ac_cv_prog_DOXYGEN = "yes" &&
81186 test $ac_cv_prog_DOT = "yes" &&
81187 test $ac_cv_prog_XSLTPROC = "yes" &&
81188 test $ac_cv_prog_XMLLINT = "yes" &&
81189 test $glibcxx_stylesheets = "yes"; then
81190 BUILD_HTML_TRUE=
81191 BUILD_HTML_FALSE='#'
81192 else
81193 BUILD_HTML_TRUE='#'
81194 BUILD_HTML_FALSE=
81195 fi
81196
81197
81198 # Check for man dependencies.
81199 if test $ac_cv_prog_DOXYGEN = "yes" &&
81200 test $ac_cv_prog_DOT = "yes"; then
81201 BUILD_MAN_TRUE=
81202 BUILD_MAN_FALSE='#'
81203 else
81204 BUILD_MAN_TRUE='#'
81205 BUILD_MAN_FALSE=
81206 fi
81207
81208
81209 # Check for pdf dependencies.
81210 # Extract the first word of "dblatex", so it can be a program name with args.
81211 set dummy dblatex; ac_word=$2
81212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81213 $as_echo_n "checking for $ac_word... " >&6; }
81214 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81215 $as_echo_n "(cached) " >&6
81216 else
81217 if test -n "$DBLATEX"; then
81218 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81219 else
81220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81221 for as_dir in $PATH
81222 do
81223 IFS=$as_save_IFS
81224 test -z "$as_dir" && as_dir=.
81225 for ac_exec_ext in '' $ac_executable_extensions; do
81226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81227 ac_cv_prog_DBLATEX="yes"
81228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81229 break 2
81230 fi
81231 done
81232 done
81233 IFS=$as_save_IFS
81234
81235 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81236 fi
81237 fi
81238 DBLATEX=$ac_cv_prog_DBLATEX
81239 if test -n "$DBLATEX"; then
81240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81241 $as_echo "$DBLATEX" >&6; }
81242 else
81243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81244 $as_echo "no" >&6; }
81245 fi
81246
81247
81248 # Extract the first word of "pdflatex", so it can be a program name with args.
81249 set dummy pdflatex; ac_word=$2
81250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81251 $as_echo_n "checking for $ac_word... " >&6; }
81252 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81253 $as_echo_n "(cached) " >&6
81254 else
81255 if test -n "$PDFLATEX"; then
81256 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81257 else
81258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81259 for as_dir in $PATH
81260 do
81261 IFS=$as_save_IFS
81262 test -z "$as_dir" && as_dir=.
81263 for ac_exec_ext in '' $ac_executable_extensions; do
81264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81265 ac_cv_prog_PDFLATEX="yes"
81266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81267 break 2
81268 fi
81269 done
81270 done
81271 IFS=$as_save_IFS
81272
81273 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81274 fi
81275 fi
81276 PDFLATEX=$ac_cv_prog_PDFLATEX
81277 if test -n "$PDFLATEX"; then
81278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81279 $as_echo "$PDFLATEX" >&6; }
81280 else
81281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81282 $as_echo "no" >&6; }
81283 fi
81284
81285
81286 if test $ac_cv_prog_DBLATEX = "yes" &&
81287 test $ac_cv_prog_PDFLATEX = "yes"; then
81288 BUILD_PDF_TRUE=
81289 BUILD_PDF_FALSE='#'
81290 else
81291 BUILD_PDF_TRUE='#'
81292 BUILD_PDF_FALSE=
81293 fi
81294
81295
81296 case "$build" in
81297 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81298 * ) glibcxx_include_dir_notparallel=no ;;
81299 esac
81300 if test $glibcxx_include_dir_notparallel = "yes"; then
81301 INCLUDE_DIR_NOTPARALLEL_TRUE=
81302 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81303 else
81304 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81305 INCLUDE_DIR_NOTPARALLEL_FALSE=
81306 fi
81307
81308
81309 # Propagate the target-specific source directories through the build chain.
81310 ATOMICITY_SRCDIR=config/${atomicity_dir}
81311 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81312 ATOMIC_FLAGS=${atomic_flags}
81313 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81314 OS_INC_SRCDIR=config/${os_include_dir}
81315 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81316 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81317 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81318 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81319
81320
81321
81322
81323
81324
81325
81326
81327
81328
81329
81330 # Add CET specific flags if Intel CET is enabled.
81331 # Check whether --enable-cet was given.
81332 if test "${enable_cet+set}" = set; then :
81333 enableval=$enable_cet;
81334 case "$enableval" in
81335 yes|no|auto) ;;
81336 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81337 esac
81338
81339 else
81340 enable_cet=no
81341 fi
81342
81343
81344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81345 $as_echo_n "checking for CET support... " >&6; }
81346
81347 case "$host" in
81348 i[34567]86-*-linux* | x86_64-*-linux*)
81349 case "$enable_cet" in
81350 auto)
81351 # Check if target supports multi-byte NOPs
81352 # and if assembler supports CET insn.
81353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81354 /* end confdefs.h. */
81355
81356 int
81357 main ()
81358 {
81359
81360 #if !defined(__SSE2__)
81361 #error target does not support multi-byte NOPs
81362 #else
81363 asm ("setssbsy");
81364 #endif
81365
81366 ;
81367 return 0;
81368 }
81369 _ACEOF
81370 if ac_fn_c_try_compile "$LINENO"; then :
81371 enable_cet=yes
81372 else
81373 enable_cet=no
81374 fi
81375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81376 ;;
81377 yes)
81378 # Check if assembler supports CET.
81379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81380 /* end confdefs.h. */
81381
81382 int
81383 main ()
81384 {
81385 asm ("setssbsy");
81386 ;
81387 return 0;
81388 }
81389 _ACEOF
81390 if ac_fn_c_try_compile "$LINENO"; then :
81391
81392 else
81393 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81394 fi
81395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81396 ;;
81397 esac
81398 ;;
81399 *)
81400 enable_cet=no
81401 ;;
81402 esac
81403 if test x$enable_cet = xyes; then
81404 CET_FLAGS="-fcf-protection -mshstk"
81405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81406 $as_echo "yes" >&6; }
81407 else
81408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81409 $as_echo "no" >&6; }
81410 fi
81411
81412 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81413 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81414
81415
81416
81417 # Determine cross-compile flags and AM_CONDITIONALs.
81418 #AC_SUBST(GLIBCXX_IS_NATIVE)
81419 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81420 if test $is_hosted = yes; then
81421 GLIBCXX_HOSTED_TRUE=
81422 GLIBCXX_HOSTED_FALSE='#'
81423 else
81424 GLIBCXX_HOSTED_TRUE='#'
81425 GLIBCXX_HOSTED_FALSE=
81426 fi
81427
81428
81429 if test $enable_libstdcxx_pch = yes; then
81430 GLIBCXX_BUILD_PCH_TRUE=
81431 GLIBCXX_BUILD_PCH_FALSE='#'
81432 else
81433 GLIBCXX_BUILD_PCH_TRUE='#'
81434 GLIBCXX_BUILD_PCH_FALSE=
81435 fi
81436
81437
81438 if test $enable_float128 = yes; then
81439 ENABLE_FLOAT128_TRUE=
81440 ENABLE_FLOAT128_FALSE='#'
81441 else
81442 ENABLE_FLOAT128_TRUE='#'
81443 ENABLE_FLOAT128_FALSE=
81444 fi
81445
81446
81447 if test $enable_libstdcxx_allocator_flag = new; then
81448 ENABLE_ALLOCATOR_NEW_TRUE=
81449 ENABLE_ALLOCATOR_NEW_FALSE='#'
81450 else
81451 ENABLE_ALLOCATOR_NEW_TRUE='#'
81452 ENABLE_ALLOCATOR_NEW_FALSE=
81453 fi
81454
81455
81456 if test $enable_cheaders = c; then
81457 GLIBCXX_C_HEADERS_C_TRUE=
81458 GLIBCXX_C_HEADERS_C_FALSE='#'
81459 else
81460 GLIBCXX_C_HEADERS_C_TRUE='#'
81461 GLIBCXX_C_HEADERS_C_FALSE=
81462 fi
81463
81464
81465 if test $enable_cheaders = c_std; then
81466 GLIBCXX_C_HEADERS_C_STD_TRUE=
81467 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81468 else
81469 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81470 GLIBCXX_C_HEADERS_C_STD_FALSE=
81471 fi
81472
81473
81474 if test $enable_cheaders = c_global; then
81475 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81476 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81477 else
81478 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81479 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81480 fi
81481
81482
81483 if test $c_compatibility = yes; then
81484 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81485 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81486 else
81487 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81488 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81489 fi
81490
81491
81492 if test $enable_libstdcxx_debug = yes; then
81493 GLIBCXX_BUILD_DEBUG_TRUE=
81494 GLIBCXX_BUILD_DEBUG_FALSE='#'
81495 else
81496 GLIBCXX_BUILD_DEBUG_TRUE='#'
81497 GLIBCXX_BUILD_DEBUG_FALSE=
81498 fi
81499
81500
81501 if test $enable_extern_template = yes; then
81502 ENABLE_EXTERN_TEMPLATE_TRUE=
81503 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81504 else
81505 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81506 ENABLE_EXTERN_TEMPLATE_FALSE=
81507 fi
81508
81509
81510 if test $python_mod_dir != no; then
81511 ENABLE_PYTHONDIR_TRUE=
81512 ENABLE_PYTHONDIR_FALSE='#'
81513 else
81514 ENABLE_PYTHONDIR_TRUE='#'
81515 ENABLE_PYTHONDIR_FALSE=
81516 fi
81517
81518
81519 if test $enable_werror = yes; then
81520 ENABLE_WERROR_TRUE=
81521 ENABLE_WERROR_FALSE='#'
81522 else
81523 ENABLE_WERROR_TRUE='#'
81524 ENABLE_WERROR_FALSE=
81525 fi
81526
81527
81528 if test $enable_vtable_verify = yes; then
81529 ENABLE_VTABLE_VERIFY_TRUE=
81530 ENABLE_VTABLE_VERIFY_FALSE='#'
81531 else
81532 ENABLE_VTABLE_VERIFY_TRUE='#'
81533 ENABLE_VTABLE_VERIFY_FALSE=
81534 fi
81535
81536
81537 if test $enable_symvers != no; then
81538 ENABLE_SYMVERS_TRUE=
81539 ENABLE_SYMVERS_FALSE='#'
81540 else
81541 ENABLE_SYMVERS_TRUE='#'
81542 ENABLE_SYMVERS_FALSE=
81543 fi
81544
81545
81546 if test $enable_symvers = gnu; then
81547 ENABLE_SYMVERS_GNU_TRUE=
81548 ENABLE_SYMVERS_GNU_FALSE='#'
81549 else
81550 ENABLE_SYMVERS_GNU_TRUE='#'
81551 ENABLE_SYMVERS_GNU_FALSE=
81552 fi
81553
81554
81555 if test $enable_symvers = gnu-versioned-namespace; then
81556 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81557 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81558 else
81559 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81560 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81561 fi
81562
81563
81564 if test $enable_symvers = darwin; then
81565 ENABLE_SYMVERS_DARWIN_TRUE=
81566 ENABLE_SYMVERS_DARWIN_FALSE='#'
81567 else
81568 ENABLE_SYMVERS_DARWIN_TRUE='#'
81569 ENABLE_SYMVERS_DARWIN_FALSE=
81570 fi
81571
81572
81573 if test $enable_symvers = sun; then
81574 ENABLE_SYMVERS_SUN_TRUE=
81575 ENABLE_SYMVERS_SUN_FALSE='#'
81576 else
81577 ENABLE_SYMVERS_SUN_TRUE='#'
81578 ENABLE_SYMVERS_SUN_FALSE=
81579 fi
81580
81581
81582 if test $enable_libstdcxx_visibility = yes; then
81583 ENABLE_VISIBILITY_TRUE=
81584 ENABLE_VISIBILITY_FALSE='#'
81585 else
81586 ENABLE_VISIBILITY_TRUE='#'
81587 ENABLE_VISIBILITY_FALSE=
81588 fi
81589
81590
81591 if test $enable_libstdcxx_dual_abi = yes; then
81592 ENABLE_DUAL_ABI_TRUE=
81593 ENABLE_DUAL_ABI_FALSE='#'
81594 else
81595 ENABLE_DUAL_ABI_TRUE='#'
81596 ENABLE_DUAL_ABI_FALSE=
81597 fi
81598
81599
81600 if test $glibcxx_cxx11_abi = 1; then
81601 ENABLE_CXX11_ABI_TRUE=
81602 ENABLE_CXX11_ABI_FALSE='#'
81603 else
81604 ENABLE_CXX11_ABI_TRUE='#'
81605 ENABLE_CXX11_ABI_FALSE=
81606 fi
81607
81608
81609 if test $ac_ldbl_compat = yes; then
81610 GLIBCXX_LDBL_COMPAT_TRUE=
81611 GLIBCXX_LDBL_COMPAT_FALSE='#'
81612 else
81613 GLIBCXX_LDBL_COMPAT_TRUE='#'
81614 GLIBCXX_LDBL_COMPAT_FALSE=
81615 fi
81616
81617
81618 if test $enable_libstdcxx_filesystem_ts = yes; then
81619 ENABLE_FILESYSTEM_TS_TRUE=
81620 ENABLE_FILESYSTEM_TS_FALSE='#'
81621 else
81622 ENABLE_FILESYSTEM_TS_TRUE='#'
81623 ENABLE_FILESYSTEM_TS_FALSE=
81624 fi
81625
81626
81627
81628
81629 cat >confcache <<\_ACEOF
81630 # This file is a shell script that caches the results of configure
81631 # tests run on this system so they can be shared between configure
81632 # scripts and configure runs, see configure's option --config-cache.
81633 # It is not useful on other systems. If it contains results you don't
81634 # want to keep, you may remove or edit it.
81635 #
81636 # config.status only pays attention to the cache file if you give it
81637 # the --recheck option to rerun configure.
81638 #
81639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81641 # following values.
81642
81643 _ACEOF
81644
81645 # The following way of writing the cache mishandles newlines in values,
81646 # but we know of no workaround that is simple, portable, and efficient.
81647 # So, we kill variables containing newlines.
81648 # Ultrix sh set writes to stderr and can't be redirected directly,
81649 # and sets the high bit in the cache file unless we assign to the vars.
81650 (
81651 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81652 eval ac_val=\$$ac_var
81653 case $ac_val in #(
81654 *${as_nl}*)
81655 case $ac_var in #(
81656 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81657 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81658 esac
81659 case $ac_var in #(
81660 _ | IFS | as_nl) ;; #(
81661 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81662 *) { eval $ac_var=; unset $ac_var;} ;;
81663 esac ;;
81664 esac
81665 done
81666
81667 (set) 2>&1 |
81668 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81669 *${as_nl}ac_space=\ *)
81670 # `set' does not quote correctly, so add quotes: double-quote
81671 # substitution turns \\\\ into \\, and sed turns \\ into \.
81672 sed -n \
81673 "s/'/'\\\\''/g;
81674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81675 ;; #(
81676 *)
81677 # `set' quotes correctly as required by POSIX, so do not add quotes.
81678 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81679 ;;
81680 esac |
81681 sort
81682 ) |
81683 sed '
81684 /^ac_cv_env_/b end
81685 t clear
81686 :clear
81687 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81688 t end
81689 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81690 :end' >>confcache
81691 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81692 if test -w "$cache_file"; then
81693 test "x$cache_file" != "x/dev/null" &&
81694 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81695 $as_echo "$as_me: updating cache $cache_file" >&6;}
81696 cat confcache >$cache_file
81697 else
81698 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81700 fi
81701 fi
81702 rm -f confcache
81703
81704 if test ${multilib} = yes; then
81705 multilib_arg="--enable-multilib"
81706 else
81707 multilib_arg=
81708 fi
81709
81710 # Export all the install information.
81711
81712 glibcxx_toolexecdir=no
81713 glibcxx_toolexeclibdir=no
81714 glibcxx_prefixdir=$prefix
81715
81716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81717 $as_echo_n "checking for gxx-include-dir... " >&6; }
81718
81719 # Check whether --with-gxx-include-dir was given.
81720 if test "${with_gxx_include_dir+set}" = set; then :
81721 withval=$with_gxx_include_dir; case "$withval" in
81722 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81723 no) gxx_include_dir=no ;;
81724 *) gxx_include_dir=$withval ;;
81725 esac
81726 else
81727 gxx_include_dir=no
81728 fi
81729
81730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81731 $as_echo "$gxx_include_dir" >&6; }
81732
81733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81734 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81735 # Check whether --enable-version-specific-runtime-libs was given.
81736 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81737 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81738 yes) version_specific_libs=yes ;;
81739 no) version_specific_libs=no ;;
81740 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81741 esac
81742 else
81743 version_specific_libs=no
81744 fi
81745
81746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81747 $as_echo "$version_specific_libs" >&6; }
81748
81749 # Default case for install directory for include files.
81750 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81751 gxx_include_dir='include/c++/${gcc_version}'
81752 if test -n "$with_cross_host" &&
81753 test x"$with_cross_host" != x"no"; then
81754 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81755 else
81756 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81757 fi
81758 fi
81759
81760 # Version-specific runtime libs processing.
81761 if test $version_specific_libs = yes; then
81762 # Need the gcc compiler version to know where to install libraries
81763 # and header files if --enable-version-specific-runtime-libs option
81764 # is selected. FIXME: these variables are misnamed, there are
81765 # no executables installed in _toolexecdir or _toolexeclibdir.
81766 if test x"$gxx_include_dir" = x"no"; then
81767 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81768 fi
81769 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81770 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81771 fi
81772
81773 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81774 # Install a library built with a cross compiler in tooldir, not libdir.
81775 if test x"$glibcxx_toolexecdir" = x"no"; then
81776 if test -n "$with_cross_host" &&
81777 test x"$with_cross_host" != x"no"; then
81778 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81779 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81780 else
81781 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81782 glibcxx_toolexeclibdir='${libdir}'
81783 fi
81784 multi_os_directory=`$CXX -print-multi-os-directory`
81785 case $multi_os_directory in
81786 .) ;; # Avoid trailing /.
81787 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81788 esac
81789 fi
81790
81791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81792 $as_echo_n "checking for install location... " >&6; }
81793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81794 $as_echo "$gxx_include_dir" >&6; }
81795
81796
81797
81798
81799
81800
81801
81802 # Export all the include and flag information to Makefiles.
81803
81804 # Used for every C++ compile we perform.
81805 GLIBCXX_INCLUDES="\
81806 -I$glibcxx_builddir/include/$host_alias \
81807 -I$glibcxx_builddir/include \
81808 -I$glibcxx_srcdir/libsupc++"
81809
81810 # For Canadian crosses, pick this up too.
81811 if test $CANADIAN = yes; then
81812 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81813 fi
81814
81815 # Stuff in the actual top level. Currently only used by libsupc++ to
81816 # get unwind* headers from the libgcc dir.
81817 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81818 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81819
81820 # Now, export this to all the little Makefiles....
81821
81822
81823
81824
81825 # Optimization flags that are probably a good idea for thrill-seekers. Just
81826 # uncomment the lines below and make, everything else is ready to go...
81827 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81828 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81829
81830
81831 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
81832
81833
81834
81835 # Determine what GCC version number to use in filesystem paths.
81836
81837 get_gcc_base_ver="cat"
81838
81839 # Check whether --with-gcc-major-version-only was given.
81840 if test "${with_gcc_major_version_only+set}" = set; then :
81841 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81842 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81843 fi
81844
81845 fi
81846
81847
81848
81849
81850 ac_config_files="$ac_config_files Makefile"
81851
81852 ac_config_files="$ac_config_files scripts/testsuite_flags"
81853
81854 ac_config_files="$ac_config_files scripts/extract_symvers"
81855
81856 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81857
81858
81859 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81860 # that multilib installs will end up installed in the correct place.
81861 # The testsuite needs it for multilib-aware ABI baseline files.
81862 # To work around this not being passed down from config-ml.in ->
81863 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81864 # append it here. Only modify Makefiles that have just been created.
81865 #
81866 # Also, get rid of this simulated-VPATH thing that automake does.
81867 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81868
81869
81870 ac_config_commands="$ac_config_commands generate-headers"
81871
81872
81873 cat >confcache <<\_ACEOF
81874 # This file is a shell script that caches the results of configure
81875 # tests run on this system so they can be shared between configure
81876 # scripts and configure runs, see configure's option --config-cache.
81877 # It is not useful on other systems. If it contains results you don't
81878 # want to keep, you may remove or edit it.
81879 #
81880 # config.status only pays attention to the cache file if you give it
81881 # the --recheck option to rerun configure.
81882 #
81883 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81884 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81885 # following values.
81886
81887 _ACEOF
81888
81889 # The following way of writing the cache mishandles newlines in values,
81890 # but we know of no workaround that is simple, portable, and efficient.
81891 # So, we kill variables containing newlines.
81892 # Ultrix sh set writes to stderr and can't be redirected directly,
81893 # and sets the high bit in the cache file unless we assign to the vars.
81894 (
81895 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81896 eval ac_val=\$$ac_var
81897 case $ac_val in #(
81898 *${as_nl}*)
81899 case $ac_var in #(
81900 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81902 esac
81903 case $ac_var in #(
81904 _ | IFS | as_nl) ;; #(
81905 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81906 *) { eval $ac_var=; unset $ac_var;} ;;
81907 esac ;;
81908 esac
81909 done
81910
81911 (set) 2>&1 |
81912 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81913 *${as_nl}ac_space=\ *)
81914 # `set' does not quote correctly, so add quotes: double-quote
81915 # substitution turns \\\\ into \\, and sed turns \\ into \.
81916 sed -n \
81917 "s/'/'\\\\''/g;
81918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81919 ;; #(
81920 *)
81921 # `set' quotes correctly as required by POSIX, so do not add quotes.
81922 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81923 ;;
81924 esac |
81925 sort
81926 ) |
81927 sed '
81928 /^ac_cv_env_/b end
81929 t clear
81930 :clear
81931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81932 t end
81933 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81934 :end' >>confcache
81935 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81936 if test -w "$cache_file"; then
81937 test "x$cache_file" != "x/dev/null" &&
81938 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81939 $as_echo "$as_me: updating cache $cache_file" >&6;}
81940 cat confcache >$cache_file
81941 else
81942 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81943 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81944 fi
81945 fi
81946 rm -f confcache
81947
81948 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81949 # Let make expand exec_prefix.
81950 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81951
81952 DEFS=-DHAVE_CONFIG_H
81953
81954 ac_libobjs=
81955 ac_ltlibobjs=
81956 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81957 # 1. Remove the extension, and $U if already installed.
81958 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81959 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81960 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81961 # will be set to the directory where LIBOBJS objects are built.
81962 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81963 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81964 done
81965 LIBOBJS=$ac_libobjs
81966
81967 LTLIBOBJS=$ac_ltlibobjs
81968
81969
81970 if test -n "$EXEEXT"; then
81971 am__EXEEXT_TRUE=
81972 am__EXEEXT_FALSE='#'
81973 else
81974 am__EXEEXT_TRUE='#'
81975 am__EXEEXT_FALSE=
81976 fi
81977
81978 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81979 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81981 fi
81982 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81983 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81985 fi
81986 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81987 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81989 fi
81990 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
81991 as_fn_error "conditional \"ENABLE_FLOAT128\" was never defined.
81992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81993 fi
81994 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81995 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81997 fi
81998 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81999 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82001 fi
82002 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82003 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82005 fi
82006 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82007 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82009 fi
82010 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82011 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82013 fi
82014 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82015 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82017 fi
82018 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82019 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82021 fi
82022 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82023 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
82024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82025 fi
82026 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82027 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
82028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82029 fi
82030 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82031 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
82032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82033 fi
82034 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82035 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82037 fi
82038 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82039 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
82040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82041 fi
82042 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82043 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82045 fi
82046 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82047 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82049 fi
82050 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82051 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82053 fi
82054 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82055 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82057 fi
82058 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82059 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
82060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82061 fi
82062 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82063 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
82064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82065 fi
82066 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82067 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
82068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82069 fi
82070 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82071 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82073 fi
82074 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82075 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82077 fi
82078 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82079 as_fn_error "conditional \"BUILD_INFO\" was never defined.
82080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82081 fi
82082 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82083 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
82084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82085 fi
82086 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82087 as_fn_error "conditional \"BUILD_XML\" was never defined.
82088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82089 fi
82090 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82091 as_fn_error "conditional \"BUILD_HTML\" was never defined.
82092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82093 fi
82094 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82095 as_fn_error "conditional \"BUILD_MAN\" was never defined.
82096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82097 fi
82098 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82099 as_fn_error "conditional \"BUILD_PDF\" was never defined.
82100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82101 fi
82102 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82103 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82105 fi
82106
82107 : ${CONFIG_STATUS=./config.status}
82108 ac_write_fail=0
82109 ac_clean_files_save=$ac_clean_files
82110 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82112 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82113 as_write_fail=0
82114 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82115 #! $SHELL
82116 # Generated by $as_me.
82117 # Run this file to recreate the current configuration.
82118 # Compiler output produced by configure, useful for debugging
82119 # configure, is in config.log if it exists.
82120
82121 debug=false
82122 ac_cs_recheck=false
82123 ac_cs_silent=false
82124
82125 SHELL=\${CONFIG_SHELL-$SHELL}
82126 export SHELL
82127 _ASEOF
82128 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82129 ## -------------------- ##
82130 ## M4sh Initialization. ##
82131 ## -------------------- ##
82132
82133 # Be more Bourne compatible
82134 DUALCASE=1; export DUALCASE # for MKS sh
82135 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82136 emulate sh
82137 NULLCMD=:
82138 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82139 # is contrary to our usage. Disable this feature.
82140 alias -g '${1+"$@"}'='"$@"'
82141 setopt NO_GLOB_SUBST
82142 else
82143 case `(set -o) 2>/dev/null` in #(
82144 *posix*) :
82145 set -o posix ;; #(
82146 *) :
82147 ;;
82148 esac
82149 fi
82150
82151
82152 as_nl='
82153 '
82154 export as_nl
82155 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82156 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82158 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82159 # Prefer a ksh shell builtin over an external printf program on Solaris,
82160 # but without wasting forks for bash or zsh.
82161 if test -z "$BASH_VERSION$ZSH_VERSION" \
82162 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82163 as_echo='print -r --'
82164 as_echo_n='print -rn --'
82165 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82166 as_echo='printf %s\n'
82167 as_echo_n='printf %s'
82168 else
82169 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82170 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82171 as_echo_n='/usr/ucb/echo -n'
82172 else
82173 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82174 as_echo_n_body='eval
82175 arg=$1;
82176 case $arg in #(
82177 *"$as_nl"*)
82178 expr "X$arg" : "X\\(.*\\)$as_nl";
82179 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82180 esac;
82181 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82182 '
82183 export as_echo_n_body
82184 as_echo_n='sh -c $as_echo_n_body as_echo'
82185 fi
82186 export as_echo_body
82187 as_echo='sh -c $as_echo_body as_echo'
82188 fi
82189
82190 # The user is always right.
82191 if test "${PATH_SEPARATOR+set}" != set; then
82192 PATH_SEPARATOR=:
82193 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82194 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82195 PATH_SEPARATOR=';'
82196 }
82197 fi
82198
82199
82200 # IFS
82201 # We need space, tab and new line, in precisely that order. Quoting is
82202 # there to prevent editors from complaining about space-tab.
82203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82204 # splitting by setting IFS to empty value.)
82205 IFS=" "" $as_nl"
82206
82207 # Find who we are. Look in the path if we contain no directory separator.
82208 case $0 in #((
82209 *[\\/]* ) as_myself=$0 ;;
82210 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82211 for as_dir in $PATH
82212 do
82213 IFS=$as_save_IFS
82214 test -z "$as_dir" && as_dir=.
82215 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82216 done
82217 IFS=$as_save_IFS
82218
82219 ;;
82220 esac
82221 # We did not find ourselves, most probably we were run as `sh COMMAND'
82222 # in which case we are not to be found in the path.
82223 if test "x$as_myself" = x; then
82224 as_myself=$0
82225 fi
82226 if test ! -f "$as_myself"; then
82227 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82228 exit 1
82229 fi
82230
82231 # Unset variables that we do not need and which cause bugs (e.g. in
82232 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82233 # suppresses any "Segmentation fault" message there. '((' could
82234 # trigger a bug in pdksh 5.2.14.
82235 for as_var in BASH_ENV ENV MAIL MAILPATH
82236 do eval test x\${$as_var+set} = xset \
82237 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82238 done
82239 PS1='$ '
82240 PS2='> '
82241 PS4='+ '
82242
82243 # NLS nuisances.
82244 LC_ALL=C
82245 export LC_ALL
82246 LANGUAGE=C
82247 export LANGUAGE
82248
82249 # CDPATH.
82250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82251
82252
82253 # as_fn_error ERROR [LINENO LOG_FD]
82254 # ---------------------------------
82255 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82256 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82257 # script with status $?, using 1 if that was 0.
82258 as_fn_error ()
82259 {
82260 as_status=$?; test $as_status -eq 0 && as_status=1
82261 if test "$3"; then
82262 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82263 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82264 fi
82265 $as_echo "$as_me: error: $1" >&2
82266 as_fn_exit $as_status
82267 } # as_fn_error
82268
82269
82270 # as_fn_set_status STATUS
82271 # -----------------------
82272 # Set $? to STATUS, without forking.
82273 as_fn_set_status ()
82274 {
82275 return $1
82276 } # as_fn_set_status
82277
82278 # as_fn_exit STATUS
82279 # -----------------
82280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82281 as_fn_exit ()
82282 {
82283 set +e
82284 as_fn_set_status $1
82285 exit $1
82286 } # as_fn_exit
82287
82288 # as_fn_unset VAR
82289 # ---------------
82290 # Portably unset VAR.
82291 as_fn_unset ()
82292 {
82293 { eval $1=; unset $1;}
82294 }
82295 as_unset=as_fn_unset
82296 # as_fn_append VAR VALUE
82297 # ----------------------
82298 # Append the text in VALUE to the end of the definition contained in VAR. Take
82299 # advantage of any shell optimizations that allow amortized linear growth over
82300 # repeated appends, instead of the typical quadratic growth present in naive
82301 # implementations.
82302 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82303 eval 'as_fn_append ()
82304 {
82305 eval $1+=\$2
82306 }'
82307 else
82308 as_fn_append ()
82309 {
82310 eval $1=\$$1\$2
82311 }
82312 fi # as_fn_append
82313
82314 # as_fn_arith ARG...
82315 # ------------------
82316 # Perform arithmetic evaluation on the ARGs, and store the result in the
82317 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82318 # must be portable across $(()) and expr.
82319 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82320 eval 'as_fn_arith ()
82321 {
82322 as_val=$(( $* ))
82323 }'
82324 else
82325 as_fn_arith ()
82326 {
82327 as_val=`expr "$@" || test $? -eq 1`
82328 }
82329 fi # as_fn_arith
82330
82331
82332 if expr a : '\(a\)' >/dev/null 2>&1 &&
82333 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82334 as_expr=expr
82335 else
82336 as_expr=false
82337 fi
82338
82339 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82340 as_basename=basename
82341 else
82342 as_basename=false
82343 fi
82344
82345 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82346 as_dirname=dirname
82347 else
82348 as_dirname=false
82349 fi
82350
82351 as_me=`$as_basename -- "$0" ||
82352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82353 X"$0" : 'X\(//\)$' \| \
82354 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82355 $as_echo X/"$0" |
82356 sed '/^.*\/\([^/][^/]*\)\/*$/{
82357 s//\1/
82358 q
82359 }
82360 /^X\/\(\/\/\)$/{
82361 s//\1/
82362 q
82363 }
82364 /^X\/\(\/\).*/{
82365 s//\1/
82366 q
82367 }
82368 s/.*/./; q'`
82369
82370 # Avoid depending upon Character Ranges.
82371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82374 as_cr_digits='0123456789'
82375 as_cr_alnum=$as_cr_Letters$as_cr_digits
82376
82377 ECHO_C= ECHO_N= ECHO_T=
82378 case `echo -n x` in #(((((
82379 -n*)
82380 case `echo 'xy\c'` in
82381 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82382 xy) ECHO_C='\c';;
82383 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82384 ECHO_T=' ';;
82385 esac;;
82386 *)
82387 ECHO_N='-n';;
82388 esac
82389
82390 rm -f conf$$ conf$$.exe conf$$.file
82391 if test -d conf$$.dir; then
82392 rm -f conf$$.dir/conf$$.file
82393 else
82394 rm -f conf$$.dir
82395 mkdir conf$$.dir 2>/dev/null
82396 fi
82397 if (echo >conf$$.file) 2>/dev/null; then
82398 if ln -s conf$$.file conf$$ 2>/dev/null; then
82399 as_ln_s='ln -s'
82400 # ... but there are two gotchas:
82401 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82402 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82403 # In both cases, we have to default to `cp -p'.
82404 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82405 as_ln_s='cp -p'
82406 elif ln conf$$.file conf$$ 2>/dev/null; then
82407 as_ln_s=ln
82408 else
82409 as_ln_s='cp -p'
82410 fi
82411 else
82412 as_ln_s='cp -p'
82413 fi
82414 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82415 rmdir conf$$.dir 2>/dev/null
82416
82417
82418 # as_fn_mkdir_p
82419 # -------------
82420 # Create "$as_dir" as a directory, including parents if necessary.
82421 as_fn_mkdir_p ()
82422 {
82423
82424 case $as_dir in #(
82425 -*) as_dir=./$as_dir;;
82426 esac
82427 test -d "$as_dir" || eval $as_mkdir_p || {
82428 as_dirs=
82429 while :; do
82430 case $as_dir in #(
82431 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82432 *) as_qdir=$as_dir;;
82433 esac
82434 as_dirs="'$as_qdir' $as_dirs"
82435 as_dir=`$as_dirname -- "$as_dir" ||
82436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82437 X"$as_dir" : 'X\(//\)[^/]' \| \
82438 X"$as_dir" : 'X\(//\)$' \| \
82439 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82440 $as_echo X"$as_dir" |
82441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82442 s//\1/
82443 q
82444 }
82445 /^X\(\/\/\)[^/].*/{
82446 s//\1/
82447 q
82448 }
82449 /^X\(\/\/\)$/{
82450 s//\1/
82451 q
82452 }
82453 /^X\(\/\).*/{
82454 s//\1/
82455 q
82456 }
82457 s/.*/./; q'`
82458 test -d "$as_dir" && break
82459 done
82460 test -z "$as_dirs" || eval "mkdir $as_dirs"
82461 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82462
82463
82464 } # as_fn_mkdir_p
82465 if mkdir -p . 2>/dev/null; then
82466 as_mkdir_p='mkdir -p "$as_dir"'
82467 else
82468 test -d ./-p && rmdir ./-p
82469 as_mkdir_p=false
82470 fi
82471
82472 if test -x / >/dev/null 2>&1; then
82473 as_test_x='test -x'
82474 else
82475 if ls -dL / >/dev/null 2>&1; then
82476 as_ls_L_option=L
82477 else
82478 as_ls_L_option=
82479 fi
82480 as_test_x='
82481 eval sh -c '\''
82482 if test -d "$1"; then
82483 test -d "$1/.";
82484 else
82485 case $1 in #(
82486 -*)set "./$1";;
82487 esac;
82488 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82489 ???[sx]*):;;*)false;;esac;fi
82490 '\'' sh
82491 '
82492 fi
82493 as_executable_p=$as_test_x
82494
82495 # Sed expression to map a string onto a valid CPP name.
82496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82497
82498 # Sed expression to map a string onto a valid variable name.
82499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82500
82501
82502 exec 6>&1
82503 ## ----------------------------------- ##
82504 ## Main body of $CONFIG_STATUS script. ##
82505 ## ----------------------------------- ##
82506 _ASEOF
82507 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82508
82509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82510 # Save the log message, to keep $0 and so on meaningful, and to
82511 # report actual input values of CONFIG_FILES etc. instead of their
82512 # values after options handling.
82513 ac_log="
82514 This file was extended by package-unused $as_me version-unused, which was
82515 generated by GNU Autoconf 2.64. Invocation command line was
82516
82517 CONFIG_FILES = $CONFIG_FILES
82518 CONFIG_HEADERS = $CONFIG_HEADERS
82519 CONFIG_LINKS = $CONFIG_LINKS
82520 CONFIG_COMMANDS = $CONFIG_COMMANDS
82521 $ $0 $@
82522
82523 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82524 "
82525
82526 _ACEOF
82527
82528 case $ac_config_files in *"
82529 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82530 esac
82531
82532 case $ac_config_headers in *"
82533 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82534 esac
82535
82536
82537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82538 # Files that config.status was made for.
82539 config_files="$ac_config_files"
82540 config_headers="$ac_config_headers"
82541 config_commands="$ac_config_commands"
82542
82543 _ACEOF
82544
82545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82546 ac_cs_usage="\
82547 \`$as_me' instantiates files and other configuration actions
82548 from templates according to the current configuration. Unless the files
82549 and actions are specified as TAGs, all are instantiated by default.
82550
82551 Usage: $0 [OPTION]... [TAG]...
82552
82553 -h, --help print this help, then exit
82554 -V, --version print version number and configuration settings, then exit
82555 -q, --quiet, --silent
82556 do not print progress messages
82557 -d, --debug don't remove temporary files
82558 --recheck update $as_me by reconfiguring in the same conditions
82559 --file=FILE[:TEMPLATE]
82560 instantiate the configuration file FILE
82561 --header=FILE[:TEMPLATE]
82562 instantiate the configuration header FILE
82563
82564 Configuration files:
82565 $config_files
82566
82567 Configuration headers:
82568 $config_headers
82569
82570 Configuration commands:
82571 $config_commands
82572
82573 Report bugs to the package provider."
82574
82575 _ACEOF
82576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82577 ac_cs_version="\\
82578 package-unused config.status version-unused
82579 configured by $0, generated by GNU Autoconf 2.64,
82580 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82581
82582 Copyright (C) 2009 Free Software Foundation, Inc.
82583 This config.status script is free software; the Free Software Foundation
82584 gives unlimited permission to copy, distribute and modify it."
82585
82586 ac_pwd='$ac_pwd'
82587 srcdir='$srcdir'
82588 INSTALL='$INSTALL'
82589 MKDIR_P='$MKDIR_P'
82590 AWK='$AWK'
82591 test -n "\$AWK" || AWK=awk
82592 _ACEOF
82593
82594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82595 # The default lists apply if the user does not specify any file.
82596 ac_need_defaults=:
82597 while test $# != 0
82598 do
82599 case $1 in
82600 --*=*)
82601 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82602 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82603 ac_shift=:
82604 ;;
82605 *)
82606 ac_option=$1
82607 ac_optarg=$2
82608 ac_shift=shift
82609 ;;
82610 esac
82611
82612 case $ac_option in
82613 # Handling of the options.
82614 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82615 ac_cs_recheck=: ;;
82616 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82617 $as_echo "$ac_cs_version"; exit ;;
82618 --debug | --debu | --deb | --de | --d | -d )
82619 debug=: ;;
82620 --file | --fil | --fi | --f )
82621 $ac_shift
82622 case $ac_optarg in
82623 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82624 esac
82625 as_fn_append CONFIG_FILES " '$ac_optarg'"
82626 ac_need_defaults=false;;
82627 --header | --heade | --head | --hea )
82628 $ac_shift
82629 case $ac_optarg in
82630 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82631 esac
82632 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82633 ac_need_defaults=false;;
82634 --he | --h)
82635 # Conflict between --help and --header
82636 as_fn_error "ambiguous option: \`$1'
82637 Try \`$0 --help' for more information.";;
82638 --help | --hel | -h )
82639 $as_echo "$ac_cs_usage"; exit ;;
82640 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82641 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82642 ac_cs_silent=: ;;
82643
82644 # This is an error.
82645 -*) as_fn_error "unrecognized option: \`$1'
82646 Try \`$0 --help' for more information." ;;
82647
82648 *) as_fn_append ac_config_targets " $1"
82649 ac_need_defaults=false ;;
82650
82651 esac
82652 shift
82653 done
82654
82655 ac_configure_extra_args=
82656
82657 if $ac_cs_silent; then
82658 exec 6>/dev/null
82659 ac_configure_extra_args="$ac_configure_extra_args --silent"
82660 fi
82661
82662 _ACEOF
82663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82664 if \$ac_cs_recheck; then
82665 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82666 shift
82667 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82668 CONFIG_SHELL='$SHELL'
82669 export CONFIG_SHELL
82670 exec "\$@"
82671 fi
82672
82673 _ACEOF
82674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82675 exec 5>>config.log
82676 {
82677 echo
82678 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82679 ## Running $as_me. ##
82680 _ASBOX
82681 $as_echo "$ac_log"
82682 } >&5
82683
82684 _ACEOF
82685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82686 #
82687 # INIT-COMMANDS
82688 #
82689
82690 srcdir="$srcdir"
82691 host="$host"
82692 target="$target"
82693 with_multisubdir="$with_multisubdir"
82694 with_multisrctop="$with_multisrctop"
82695 with_target_subdir="$with_target_subdir"
82696 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82697 multi_basedir="$multi_basedir"
82698 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82699 CC="$CC"
82700 CXX="$CXX"
82701 GFORTRAN="$GFORTRAN"
82702
82703
82704 # The HP-UX ksh and POSIX shell print the target directory to stdout
82705 # if CDPATH is set.
82706 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82707
82708 sed_quote_subst='$sed_quote_subst'
82709 double_quote_subst='$double_quote_subst'
82710 delay_variable_subst='$delay_variable_subst'
82711 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82712 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82713 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82714 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82715 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82716 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82717 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82718 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82719 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82720 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82721 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82722 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82723 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82724 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82725 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82726 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82727 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82728 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82729 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82730 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82731 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82732 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82733 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82734 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82735 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82736 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82737 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82738 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82739 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82740 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82741 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82742 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82743 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82744 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82745 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82746 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82747 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82748 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82749 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82750 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82751 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82752 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82753 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82754 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82755 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82756 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82757 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82758 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82759 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"`'
82760 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82761 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82762 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82763 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82764 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82765 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82766 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82767 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82768 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82769 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82770 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82771 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82772 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82773 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82774 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82775 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82776 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82777 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82778 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82779 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82780 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82781 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82782 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82783 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82784 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82785 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82786 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82787 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82788 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82789 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82790 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82791 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82792 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82793 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82794 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82795 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82796 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82797 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82798 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82799 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82800 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82801 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82802 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82803 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82804 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82805 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82806 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82807 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82808 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82809 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82810 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82811 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82812 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82813 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82814 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82815 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82816 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82817 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82818 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82819 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82820 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82821 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82822 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82823 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82824 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82825 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82826 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82827 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82828 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82829 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82830 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82831 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82832 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82833 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82834 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82835 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82836 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82837 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82838 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82839 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82840 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82841 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82842 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82843 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82844 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82845 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82846 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82847 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82848 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82849 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82850 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82851 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82852 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82853 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82854 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82855 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82856 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82857 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82858 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82859 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82860 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82861 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82862 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82863 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82864 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82865 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82866 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82867 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82868 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82869 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82870 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82871 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82872 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82873 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82874 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82875 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82876 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82877 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82878 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82879 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82880 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82881 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82882 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82883 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82884 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82885 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82886
82887 LTCC='$LTCC'
82888 LTCFLAGS='$LTCFLAGS'
82889 compiler='$compiler_DEFAULT'
82890
82891 # A function that is used when there is no print builtin or printf.
82892 func_fallback_echo ()
82893 {
82894 eval 'cat <<_LTECHO_EOF
82895 \$1
82896 _LTECHO_EOF'
82897 }
82898
82899 # Quote evaled strings.
82900 for var in SHELL \
82901 ECHO \
82902 SED \
82903 GREP \
82904 EGREP \
82905 FGREP \
82906 LD \
82907 NM \
82908 LN_S \
82909 lt_SP2NL \
82910 lt_NL2SP \
82911 reload_flag \
82912 OBJDUMP \
82913 deplibs_check_method \
82914 file_magic_cmd \
82915 AR \
82916 AR_FLAGS \
82917 STRIP \
82918 RANLIB \
82919 CC \
82920 CFLAGS \
82921 compiler \
82922 lt_cv_sys_global_symbol_pipe \
82923 lt_cv_sys_global_symbol_to_cdecl \
82924 lt_cv_sys_global_symbol_to_c_name_address \
82925 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82926 lt_prog_compiler_no_builtin_flag \
82927 lt_prog_compiler_wl \
82928 lt_prog_compiler_pic \
82929 lt_prog_compiler_static \
82930 lt_cv_prog_compiler_c_o \
82931 need_locks \
82932 DSYMUTIL \
82933 NMEDIT \
82934 LIPO \
82935 OTOOL \
82936 OTOOL64 \
82937 shrext_cmds \
82938 export_dynamic_flag_spec \
82939 whole_archive_flag_spec \
82940 compiler_needs_object \
82941 with_gnu_ld \
82942 allow_undefined_flag \
82943 no_undefined_flag \
82944 hardcode_libdir_flag_spec \
82945 hardcode_libdir_flag_spec_ld \
82946 hardcode_libdir_separator \
82947 fix_srcfile_path \
82948 exclude_expsyms \
82949 include_expsyms \
82950 file_list_spec \
82951 variables_saved_for_relink \
82952 libname_spec \
82953 library_names_spec \
82954 soname_spec \
82955 install_override_mode \
82956 finish_eval \
82957 old_striplib \
82958 striplib \
82959 compiler_lib_search_dirs \
82960 predep_objects \
82961 postdep_objects \
82962 predeps \
82963 postdeps \
82964 compiler_lib_search_path \
82965 LD_CXX \
82966 reload_flag_CXX \
82967 compiler_CXX \
82968 lt_prog_compiler_no_builtin_flag_CXX \
82969 lt_prog_compiler_wl_CXX \
82970 lt_prog_compiler_pic_CXX \
82971 lt_prog_compiler_static_CXX \
82972 lt_cv_prog_compiler_c_o_CXX \
82973 export_dynamic_flag_spec_CXX \
82974 whole_archive_flag_spec_CXX \
82975 compiler_needs_object_CXX \
82976 with_gnu_ld_CXX \
82977 allow_undefined_flag_CXX \
82978 no_undefined_flag_CXX \
82979 hardcode_libdir_flag_spec_CXX \
82980 hardcode_libdir_flag_spec_ld_CXX \
82981 hardcode_libdir_separator_CXX \
82982 fix_srcfile_path_CXX \
82983 exclude_expsyms_CXX \
82984 include_expsyms_CXX \
82985 file_list_spec_CXX \
82986 compiler_lib_search_dirs_CXX \
82987 predep_objects_CXX \
82988 postdep_objects_CXX \
82989 predeps_CXX \
82990 postdeps_CXX \
82991 compiler_lib_search_path_CXX; do
82992 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82993 *[\\\\\\\`\\"\\\$]*)
82994 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82995 ;;
82996 *)
82997 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82998 ;;
82999 esac
83000 done
83001
83002 # Double-quote double-evaled strings.
83003 for var in reload_cmds \
83004 old_postinstall_cmds \
83005 old_postuninstall_cmds \
83006 old_archive_cmds \
83007 extract_expsyms_cmds \
83008 old_archive_from_new_cmds \
83009 old_archive_from_expsyms_cmds \
83010 archive_cmds \
83011 archive_expsym_cmds \
83012 module_cmds \
83013 module_expsym_cmds \
83014 export_symbols_cmds \
83015 prelink_cmds \
83016 postinstall_cmds \
83017 postuninstall_cmds \
83018 finish_cmds \
83019 sys_lib_search_path_spec \
83020 sys_lib_dlsearch_path_spec \
83021 reload_cmds_CXX \
83022 old_archive_cmds_CXX \
83023 old_archive_from_new_cmds_CXX \
83024 old_archive_from_expsyms_cmds_CXX \
83025 archive_cmds_CXX \
83026 archive_expsym_cmds_CXX \
83027 module_cmds_CXX \
83028 module_expsym_cmds_CXX \
83029 export_symbols_cmds_CXX \
83030 prelink_cmds_CXX; do
83031 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83032 *[\\\\\\\`\\"\\\$]*)
83033 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83034 ;;
83035 *)
83036 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83037 ;;
83038 esac
83039 done
83040
83041 ac_aux_dir='$ac_aux_dir'
83042 xsi_shell='$xsi_shell'
83043 lt_shell_append='$lt_shell_append'
83044
83045 # See if we are running on zsh, and set the options which allow our
83046 # commands through without removal of \ escapes INIT.
83047 if test -n "\${ZSH_VERSION+set}" ; then
83048 setopt NO_GLOB_SUBST
83049 fi
83050
83051
83052 PACKAGE='$PACKAGE'
83053 VERSION='$VERSION'
83054 TIMESTAMP='$TIMESTAMP'
83055 RM='$RM'
83056 ofile='$ofile'
83057
83058
83059
83060
83061
83062
83063 GCC="$GCC"
83064 CC="$CC"
83065 acx_cv_header_stdint="$acx_cv_header_stdint"
83066 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83067 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83068 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83069 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83070 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83071 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83072 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83073 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83074 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83075 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83076 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83077 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83078 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83079
83080
83081 _ACEOF
83082
83083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83084
83085 # Handling of arguments.
83086 for ac_config_target in $ac_config_targets
83087 do
83088 case $ac_config_target in
83089 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83090 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83091 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83092 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83093 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83094 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83095 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83096 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83097 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83098 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83099 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83100 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83101 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83102 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83103 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83104 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83105 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83106 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83107 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83108 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83109
83110 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83111 esac
83112 done
83113
83114
83115 # If the user did not use the arguments to specify the items to instantiate,
83116 # then the envvar interface is used. Set only those that are not.
83117 # We use the long form for the default assignment because of an extremely
83118 # bizarre bug on SunOS 4.1.3.
83119 if $ac_need_defaults; then
83120 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83121 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83122 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83123 fi
83124
83125 # Have a temporary directory for convenience. Make it in the build tree
83126 # simply because there is no reason against having it here, and in addition,
83127 # creating and moving files from /tmp can sometimes cause problems.
83128 # Hook for its removal unless debugging.
83129 # Note that there is a small window in which the directory will not be cleaned:
83130 # after its creation but before its name has been assigned to `$tmp'.
83131 $debug ||
83132 {
83133 tmp=
83134 trap 'exit_status=$?
83135 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
83136 ' 0
83137 trap 'as_fn_exit 1' 1 2 13 15
83138 }
83139 # Create a (secure) tmp directory for tmp files.
83140
83141 {
83142 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83143 test -n "$tmp" && test -d "$tmp"
83144 } ||
83145 {
83146 tmp=./conf$$-$RANDOM
83147 (umask 077 && mkdir "$tmp")
83148 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
83149
83150 # Set up the scripts for CONFIG_FILES section.
83151 # No need to generate them if there are no CONFIG_FILES.
83152 # This happens for instance with `./config.status config.h'.
83153 if test -n "$CONFIG_FILES"; then
83154
83155
83156 ac_cr=`echo X | tr X '\015'`
83157 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83158 # But we know of no other shell where ac_cr would be empty at this
83159 # point, so we can use a bashism as a fallback.
83160 if test "x$ac_cr" = x; then
83161 eval ac_cr=\$\'\\r\'
83162 fi
83163 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83164 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83165 ac_cs_awk_cr='\r'
83166 else
83167 ac_cs_awk_cr=$ac_cr
83168 fi
83169
83170 echo 'BEGIN {' >"$tmp/subs1.awk" &&
83171 _ACEOF
83172
83173
83174 {
83175 echo "cat >conf$$subs.awk <<_ACEOF" &&
83176 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83177 echo "_ACEOF"
83178 } >conf$$subs.sh ||
83179 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83180 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
83181 ac_delim='%!_!# '
83182 for ac_last_try in false false false false false :; do
83183 . ./conf$$subs.sh ||
83184 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83185
83186 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83187 if test $ac_delim_n = $ac_delim_num; then
83188 break
83189 elif $ac_last_try; then
83190 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83191 else
83192 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83193 fi
83194 done
83195 rm -f conf$$subs.sh
83196
83197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83198 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83199 _ACEOF
83200 sed -n '
83201 h
83202 s/^/S["/; s/!.*/"]=/
83203 p
83204 g
83205 s/^[^!]*!//
83206 :repl
83207 t repl
83208 s/'"$ac_delim"'$//
83209 t delim
83210 :nl
83211 h
83212 s/\(.\{148\}\).*/\1/
83213 t more1
83214 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83215 p
83216 n
83217 b repl
83218 :more1
83219 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83220 p
83221 g
83222 s/.\{148\}//
83223 t nl
83224 :delim
83225 h
83226 s/\(.\{148\}\).*/\1/
83227 t more2
83228 s/["\\]/\\&/g; s/^/"/; s/$/"/
83229 p
83230 b
83231 :more2
83232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83233 p
83234 g
83235 s/.\{148\}//
83236 t delim
83237 ' <conf$$subs.awk | sed '
83238 /^[^""]/{
83239 N
83240 s/\n//
83241 }
83242 ' >>$CONFIG_STATUS || ac_write_fail=1
83243 rm -f conf$$subs.awk
83244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83245 _ACAWK
83246 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83247 for (key in S) S_is_set[key] = 1
83248 FS = "\a"
83249
83250 }
83251 {
83252 line = $ 0
83253 nfields = split(line, field, "@")
83254 substed = 0
83255 len = length(field[1])
83256 for (i = 2; i < nfields; i++) {
83257 key = field[i]
83258 keylen = length(key)
83259 if (S_is_set[key]) {
83260 value = S[key]
83261 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83262 len += length(value) + length(field[++i])
83263 substed = 1
83264 } else
83265 len += 1 + keylen
83266 }
83267
83268 print line
83269 }
83270
83271 _ACAWK
83272 _ACEOF
83273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83274 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83275 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83276 else
83277 cat
83278 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83279 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83280 _ACEOF
83281
83282 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83283 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83284 # trailing colons and then remove the whole line if VPATH becomes empty
83285 # (actually we leave an empty line to preserve line numbers).
83286 if test "x$srcdir" = x.; then
83287 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83288 s/:*\$(srcdir):*/:/
83289 s/:*\${srcdir}:*/:/
83290 s/:*@srcdir@:*/:/
83291 s/^\([^=]*=[ ]*\):*/\1/
83292 s/:*$//
83293 s/^[^=]*=[ ]*$//
83294 }'
83295 fi
83296
83297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83298 fi # test -n "$CONFIG_FILES"
83299
83300 # Set up the scripts for CONFIG_HEADERS section.
83301 # No need to generate them if there are no CONFIG_HEADERS.
83302 # This happens for instance with `./config.status Makefile'.
83303 if test -n "$CONFIG_HEADERS"; then
83304 cat >"$tmp/defines.awk" <<\_ACAWK ||
83305 BEGIN {
83306 _ACEOF
83307
83308 # Transform confdefs.h into an awk script `defines.awk', embedded as
83309 # here-document in config.status, that substitutes the proper values into
83310 # config.h.in to produce config.h.
83311
83312 # Create a delimiter string that does not exist in confdefs.h, to ease
83313 # handling of long lines.
83314 ac_delim='%!_!# '
83315 for ac_last_try in false false :; do
83316 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83317 if test -z "$ac_t"; then
83318 break
83319 elif $ac_last_try; then
83320 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83321 else
83322 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83323 fi
83324 done
83325
83326 # For the awk script, D is an array of macro values keyed by name,
83327 # likewise P contains macro parameters if any. Preserve backslash
83328 # newline sequences.
83329
83330 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83331 sed -n '
83332 s/.\{148\}/&'"$ac_delim"'/g
83333 t rset
83334 :rset
83335 s/^[ ]*#[ ]*define[ ][ ]*/ /
83336 t def
83337 d
83338 :def
83339 s/\\$//
83340 t bsnl
83341 s/["\\]/\\&/g
83342 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83343 D["\1"]=" \3"/p
83344 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83345 d
83346 :bsnl
83347 s/["\\]/\\&/g
83348 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83349 D["\1"]=" \3\\\\\\n"\\/p
83350 t cont
83351 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83352 t cont
83353 d
83354 :cont
83355 n
83356 s/.\{148\}/&'"$ac_delim"'/g
83357 t clear
83358 :clear
83359 s/\\$//
83360 t bsnlc
83361 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83362 d
83363 :bsnlc
83364 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83365 b cont
83366 ' <confdefs.h | sed '
83367 s/'"$ac_delim"'/"\\\
83368 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83369
83370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83371 for (key in D) D_is_set[key] = 1
83372 FS = "\a"
83373 }
83374 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83375 line = \$ 0
83376 split(line, arg, " ")
83377 if (arg[1] == "#") {
83378 defundef = arg[2]
83379 mac1 = arg[3]
83380 } else {
83381 defundef = substr(arg[1], 2)
83382 mac1 = arg[2]
83383 }
83384 split(mac1, mac2, "(") #)
83385 macro = mac2[1]
83386 prefix = substr(line, 1, index(line, defundef) - 1)
83387 if (D_is_set[macro]) {
83388 # Preserve the white space surrounding the "#".
83389 print prefix "define", macro P[macro] D[macro]
83390 next
83391 } else {
83392 # Replace #undef with comments. This is necessary, for example,
83393 # in the case of _POSIX_SOURCE, which is predefined and required
83394 # on some systems where configure will not decide to define it.
83395 if (defundef == "undef") {
83396 print "/*", prefix defundef, macro, "*/"
83397 next
83398 }
83399 }
83400 }
83401 { print }
83402 _ACAWK
83403 _ACEOF
83404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83405 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83406 fi # test -n "$CONFIG_HEADERS"
83407
83408
83409 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83410 shift
83411 for ac_tag
83412 do
83413 case $ac_tag in
83414 :[FHLC]) ac_mode=$ac_tag; continue;;
83415 esac
83416 case $ac_mode$ac_tag in
83417 :[FHL]*:*);;
83418 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83419 :[FH]-) ac_tag=-:-;;
83420 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83421 esac
83422 ac_save_IFS=$IFS
83423 IFS=:
83424 set x $ac_tag
83425 IFS=$ac_save_IFS
83426 shift
83427 ac_file=$1
83428 shift
83429
83430 case $ac_mode in
83431 :L) ac_source=$1;;
83432 :[FH])
83433 ac_file_inputs=
83434 for ac_f
83435 do
83436 case $ac_f in
83437 -) ac_f="$tmp/stdin";;
83438 *) # Look for the file first in the build tree, then in the source tree
83439 # (if the path is not absolute). The absolute path cannot be DOS-style,
83440 # because $ac_f cannot contain `:'.
83441 test -f "$ac_f" ||
83442 case $ac_f in
83443 [\\/$]*) false;;
83444 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83445 esac ||
83446 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83447 esac
83448 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83449 as_fn_append ac_file_inputs " '$ac_f'"
83450 done
83451
83452 # Let's still pretend it is `configure' which instantiates (i.e., don't
83453 # use $as_me), people would be surprised to read:
83454 # /* config.h. Generated by config.status. */
83455 configure_input='Generated from '`
83456 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83457 `' by configure.'
83458 if test x"$ac_file" != x-; then
83459 configure_input="$ac_file. $configure_input"
83460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83461 $as_echo "$as_me: creating $ac_file" >&6;}
83462 fi
83463 # Neutralize special characters interpreted by sed in replacement strings.
83464 case $configure_input in #(
83465 *\&* | *\|* | *\\* )
83466 ac_sed_conf_input=`$as_echo "$configure_input" |
83467 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83468 *) ac_sed_conf_input=$configure_input;;
83469 esac
83470
83471 case $ac_tag in
83472 *:-:* | *:-) cat >"$tmp/stdin" \
83473 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83474 esac
83475 ;;
83476 esac
83477
83478 ac_dir=`$as_dirname -- "$ac_file" ||
83479 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83480 X"$ac_file" : 'X\(//\)[^/]' \| \
83481 X"$ac_file" : 'X\(//\)$' \| \
83482 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83483 $as_echo X"$ac_file" |
83484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83485 s//\1/
83486 q
83487 }
83488 /^X\(\/\/\)[^/].*/{
83489 s//\1/
83490 q
83491 }
83492 /^X\(\/\/\)$/{
83493 s//\1/
83494 q
83495 }
83496 /^X\(\/\).*/{
83497 s//\1/
83498 q
83499 }
83500 s/.*/./; q'`
83501 as_dir="$ac_dir"; as_fn_mkdir_p
83502 ac_builddir=.
83503
83504 case "$ac_dir" in
83505 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83506 *)
83507 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83508 # A ".." for each directory in $ac_dir_suffix.
83509 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83510 case $ac_top_builddir_sub in
83511 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83512 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83513 esac ;;
83514 esac
83515 ac_abs_top_builddir=$ac_pwd
83516 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83517 # for backward compatibility:
83518 ac_top_builddir=$ac_top_build_prefix
83519
83520 case $srcdir in
83521 .) # We are building in place.
83522 ac_srcdir=.
83523 ac_top_srcdir=$ac_top_builddir_sub
83524 ac_abs_top_srcdir=$ac_pwd ;;
83525 [\\/]* | ?:[\\/]* ) # Absolute name.
83526 ac_srcdir=$srcdir$ac_dir_suffix;
83527 ac_top_srcdir=$srcdir
83528 ac_abs_top_srcdir=$srcdir ;;
83529 *) # Relative name.
83530 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83531 ac_top_srcdir=$ac_top_build_prefix$srcdir
83532 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83533 esac
83534 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83535
83536
83537 case $ac_mode in
83538 :F)
83539 #
83540 # CONFIG_FILE
83541 #
83542
83543 case $INSTALL in
83544 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83545 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83546 esac
83547 ac_MKDIR_P=$MKDIR_P
83548 case $MKDIR_P in
83549 [\\/$]* | ?:[\\/]* ) ;;
83550 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83551 esac
83552 _ACEOF
83553
83554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83555 # If the template does not know about datarootdir, expand it.
83556 # FIXME: This hack should be removed a few years after 2.60.
83557 ac_datarootdir_hack=; ac_datarootdir_seen=
83558 ac_sed_dataroot='
83559 /datarootdir/ {
83560 p
83561 q
83562 }
83563 /@datadir@/p
83564 /@docdir@/p
83565 /@infodir@/p
83566 /@localedir@/p
83567 /@mandir@/p'
83568 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83569 *datarootdir*) ac_datarootdir_seen=yes;;
83570 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83572 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83573 _ACEOF
83574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83575 ac_datarootdir_hack='
83576 s&@datadir@&$datadir&g
83577 s&@docdir@&$docdir&g
83578 s&@infodir@&$infodir&g
83579 s&@localedir@&$localedir&g
83580 s&@mandir@&$mandir&g
83581 s&\\\${datarootdir}&$datarootdir&g' ;;
83582 esac
83583 _ACEOF
83584
83585 # Neutralize VPATH when `$srcdir' = `.'.
83586 # Shell code in configure.ac might set extrasub.
83587 # FIXME: do we really want to maintain this feature?
83588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83589 ac_sed_extra="$ac_vpsub
83590 $extrasub
83591 _ACEOF
83592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83593 :t
83594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83595 s|@configure_input@|$ac_sed_conf_input|;t t
83596 s&@top_builddir@&$ac_top_builddir_sub&;t t
83597 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83598 s&@srcdir@&$ac_srcdir&;t t
83599 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83600 s&@top_srcdir@&$ac_top_srcdir&;t t
83601 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83602 s&@builddir@&$ac_builddir&;t t
83603 s&@abs_builddir@&$ac_abs_builddir&;t t
83604 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83605 s&@INSTALL@&$ac_INSTALL&;t t
83606 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83607 $ac_datarootdir_hack
83608 "
83609 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83610 || as_fn_error "could not create $ac_file" "$LINENO" 5
83611
83612 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83613 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83614 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83616 which seems to be undefined. Please make sure it is defined." >&5
83617 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83618 which seems to be undefined. Please make sure it is defined." >&2;}
83619
83620 rm -f "$tmp/stdin"
83621 case $ac_file in
83622 -) cat "$tmp/out" && rm -f "$tmp/out";;
83623 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83624 esac \
83625 || as_fn_error "could not create $ac_file" "$LINENO" 5
83626 ;;
83627 :H)
83628 #
83629 # CONFIG_HEADER
83630 #
83631 if test x"$ac_file" != x-; then
83632 {
83633 $as_echo "/* $configure_input */" \
83634 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83635 } >"$tmp/config.h" \
83636 || as_fn_error "could not create $ac_file" "$LINENO" 5
83637 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83638 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83639 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83640 else
83641 rm -f "$ac_file"
83642 mv "$tmp/config.h" "$ac_file" \
83643 || as_fn_error "could not create $ac_file" "$LINENO" 5
83644 fi
83645 else
83646 $as_echo "/* $configure_input */" \
83647 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83648 || as_fn_error "could not create -" "$LINENO" 5
83649 fi
83650 # Compute "$ac_file"'s index in $config_headers.
83651 _am_arg="$ac_file"
83652 _am_stamp_count=1
83653 for _am_header in $config_headers :; do
83654 case $_am_header in
83655 $_am_arg | $_am_arg:* )
83656 break ;;
83657 * )
83658 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83659 esac
83660 done
83661 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83662 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83663 X"$_am_arg" : 'X\(//\)[^/]' \| \
83664 X"$_am_arg" : 'X\(//\)$' \| \
83665 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83666 $as_echo X"$_am_arg" |
83667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83668 s//\1/
83669 q
83670 }
83671 /^X\(\/\/\)[^/].*/{
83672 s//\1/
83673 q
83674 }
83675 /^X\(\/\/\)$/{
83676 s//\1/
83677 q
83678 }
83679 /^X\(\/\).*/{
83680 s//\1/
83681 q
83682 }
83683 s/.*/./; q'`/stamp-h$_am_stamp_count
83684 ;;
83685
83686 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83687 $as_echo "$as_me: executing $ac_file commands" >&6;}
83688 ;;
83689 esac
83690
83691
83692 case $ac_file$ac_mode in
83693 "default-1":C)
83694 # Only add multilib support code if we just rebuilt the top-level
83695 # Makefile.
83696 case " $CONFIG_FILES " in
83697 *" Makefile "*)
83698 ac_file=Makefile . ${multi_basedir}/config-ml.in
83699 ;;
83700 esac ;;
83701 "libtool":C)
83702
83703 # See if we are running on zsh, and set the options which allow our
83704 # commands through without removal of \ escapes.
83705 if test -n "${ZSH_VERSION+set}" ; then
83706 setopt NO_GLOB_SUBST
83707 fi
83708
83709 cfgfile="${ofile}T"
83710 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83711 $RM "$cfgfile"
83712
83713 cat <<_LT_EOF >> "$cfgfile"
83714 #! $SHELL
83715
83716 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83717 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83718 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83719 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83720 #
83721 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83722 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83723 # Written by Gordon Matzigkeit, 1996
83724 #
83725 # This file is part of GNU Libtool.
83726 #
83727 # GNU Libtool is free software; you can redistribute it and/or
83728 # modify it under the terms of the GNU General Public License as
83729 # published by the Free Software Foundation; either version 2 of
83730 # the License, or (at your option) any later version.
83731 #
83732 # As a special exception to the GNU General Public License,
83733 # if you distribute this file as part of a program or library that
83734 # is built using GNU Libtool, you may include this file under the
83735 # same distribution terms that you use for the rest of that program.
83736 #
83737 # GNU Libtool is distributed in the hope that it will be useful,
83738 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83739 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83740 # GNU General Public License for more details.
83741 #
83742 # You should have received a copy of the GNU General Public License
83743 # along with GNU Libtool; see the file COPYING. If not, a copy
83744 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83745 # obtained by writing to the Free Software Foundation, Inc.,
83746 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83747
83748
83749 # The names of the tagged configurations supported by this script.
83750 available_tags="CXX "
83751
83752 # ### BEGIN LIBTOOL CONFIG
83753
83754 # Which release of libtool.m4 was used?
83755 macro_version=$macro_version
83756 macro_revision=$macro_revision
83757
83758 # Whether or not to build shared libraries.
83759 build_libtool_libs=$enable_shared
83760
83761 # Whether or not to build static libraries.
83762 build_old_libs=$enable_static
83763
83764 # What type of objects to build.
83765 pic_mode=$pic_mode
83766
83767 # Whether or not to optimize for fast installation.
83768 fast_install=$enable_fast_install
83769
83770 # Shell to use when invoking shell scripts.
83771 SHELL=$lt_SHELL
83772
83773 # An echo program that protects backslashes.
83774 ECHO=$lt_ECHO
83775
83776 # The host system.
83777 host_alias=$host_alias
83778 host=$host
83779 host_os=$host_os
83780
83781 # The build system.
83782 build_alias=$build_alias
83783 build=$build
83784 build_os=$build_os
83785
83786 # A sed program that does not truncate output.
83787 SED=$lt_SED
83788
83789 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83790 Xsed="\$SED -e 1s/^X//"
83791
83792 # A grep program that handles long lines.
83793 GREP=$lt_GREP
83794
83795 # An ERE matcher.
83796 EGREP=$lt_EGREP
83797
83798 # A literal string matcher.
83799 FGREP=$lt_FGREP
83800
83801 # A BSD- or MS-compatible name lister.
83802 NM=$lt_NM
83803
83804 # Whether we need soft or hard links.
83805 LN_S=$lt_LN_S
83806
83807 # What is the maximum length of a command?
83808 max_cmd_len=$max_cmd_len
83809
83810 # Object file suffix (normally "o").
83811 objext=$ac_objext
83812
83813 # Executable file suffix (normally "").
83814 exeext=$exeext
83815
83816 # whether the shell understands "unset".
83817 lt_unset=$lt_unset
83818
83819 # turn spaces into newlines.
83820 SP2NL=$lt_lt_SP2NL
83821
83822 # turn newlines into spaces.
83823 NL2SP=$lt_lt_NL2SP
83824
83825 # An object symbol dumper.
83826 OBJDUMP=$lt_OBJDUMP
83827
83828 # Method to check whether dependent libraries are shared objects.
83829 deplibs_check_method=$lt_deplibs_check_method
83830
83831 # Command to use when deplibs_check_method == "file_magic".
83832 file_magic_cmd=$lt_file_magic_cmd
83833
83834 # The archiver.
83835 AR=$lt_AR
83836 AR_FLAGS=$lt_AR_FLAGS
83837
83838 # A symbol stripping program.
83839 STRIP=$lt_STRIP
83840
83841 # Commands used to install an old-style archive.
83842 RANLIB=$lt_RANLIB
83843 old_postinstall_cmds=$lt_old_postinstall_cmds
83844 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83845
83846 # Whether to use a lock for old archive extraction.
83847 lock_old_archive_extraction=$lock_old_archive_extraction
83848
83849 # A C compiler.
83850 LTCC=$lt_CC
83851
83852 # LTCC compiler flags.
83853 LTCFLAGS=$lt_CFLAGS
83854
83855 # Take the output of nm and produce a listing of raw symbols and C names.
83856 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83857
83858 # Transform the output of nm in a proper C declaration.
83859 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83860
83861 # Transform the output of nm in a C name address pair.
83862 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83863
83864 # Transform the output of nm in a C name address pair when lib prefix is needed.
83865 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83866
83867 # The name of the directory that contains temporary libtool files.
83868 objdir=$objdir
83869
83870 # Used to examine libraries when file_magic_cmd begins with "file".
83871 MAGIC_CMD=$MAGIC_CMD
83872
83873 # Must we lock files when doing compilation?
83874 need_locks=$lt_need_locks
83875
83876 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83877 DSYMUTIL=$lt_DSYMUTIL
83878
83879 # Tool to change global to local symbols on Mac OS X.
83880 NMEDIT=$lt_NMEDIT
83881
83882 # Tool to manipulate fat objects and archives on Mac OS X.
83883 LIPO=$lt_LIPO
83884
83885 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83886 OTOOL=$lt_OTOOL
83887
83888 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83889 OTOOL64=$lt_OTOOL64
83890
83891 # Old archive suffix (normally "a").
83892 libext=$libext
83893
83894 # Shared library suffix (normally ".so").
83895 shrext_cmds=$lt_shrext_cmds
83896
83897 # The commands to extract the exported symbol list from a shared archive.
83898 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83899
83900 # Variables whose values should be saved in libtool wrapper scripts and
83901 # restored at link time.
83902 variables_saved_for_relink=$lt_variables_saved_for_relink
83903
83904 # Do we need the "lib" prefix for modules?
83905 need_lib_prefix=$need_lib_prefix
83906
83907 # Do we need a version for libraries?
83908 need_version=$need_version
83909
83910 # Library versioning type.
83911 version_type=$version_type
83912
83913 # Shared library runtime path variable.
83914 runpath_var=$runpath_var
83915
83916 # Shared library path variable.
83917 shlibpath_var=$shlibpath_var
83918
83919 # Is shlibpath searched before the hard-coded library search path?
83920 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83921
83922 # Format of library name prefix.
83923 libname_spec=$lt_libname_spec
83924
83925 # List of archive names. First name is the real one, the rest are links.
83926 # The last name is the one that the linker finds with -lNAME
83927 library_names_spec=$lt_library_names_spec
83928
83929 # The coded name of the library, if different from the real name.
83930 soname_spec=$lt_soname_spec
83931
83932 # Permission mode override for installation of shared libraries.
83933 install_override_mode=$lt_install_override_mode
83934
83935 # Command to use after installation of a shared archive.
83936 postinstall_cmds=$lt_postinstall_cmds
83937
83938 # Command to use after uninstallation of a shared archive.
83939 postuninstall_cmds=$lt_postuninstall_cmds
83940
83941 # Commands used to finish a libtool library installation in a directory.
83942 finish_cmds=$lt_finish_cmds
83943
83944 # As "finish_cmds", except a single script fragment to be evaled but
83945 # not shown.
83946 finish_eval=$lt_finish_eval
83947
83948 # Whether we should hardcode library paths into libraries.
83949 hardcode_into_libs=$hardcode_into_libs
83950
83951 # Compile-time system search path for libraries.
83952 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83953
83954 # Run-time system search path for libraries.
83955 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83956
83957 # Whether dlopen is supported.
83958 dlopen_support=$enable_dlopen
83959
83960 # Whether dlopen of programs is supported.
83961 dlopen_self=$enable_dlopen_self
83962
83963 # Whether dlopen of statically linked programs is supported.
83964 dlopen_self_static=$enable_dlopen_self_static
83965
83966 # Commands to strip libraries.
83967 old_striplib=$lt_old_striplib
83968 striplib=$lt_striplib
83969
83970
83971 # The linker used to build libraries.
83972 LD=$lt_LD
83973
83974 # How to create reloadable object files.
83975 reload_flag=$lt_reload_flag
83976 reload_cmds=$lt_reload_cmds
83977
83978 # Commands used to build an old-style archive.
83979 old_archive_cmds=$lt_old_archive_cmds
83980
83981 # A language specific compiler.
83982 CC=$lt_compiler
83983
83984 # Is the compiler the GNU compiler?
83985 with_gcc=$GCC
83986
83987 # Compiler flag to turn off builtin functions.
83988 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83989
83990 # How to pass a linker flag through the compiler.
83991 wl=$lt_lt_prog_compiler_wl
83992
83993 # Additional compiler flags for building library objects.
83994 pic_flag=$lt_lt_prog_compiler_pic
83995
83996 # Compiler flag to prevent dynamic linking.
83997 link_static_flag=$lt_lt_prog_compiler_static
83998
83999 # Does compiler simultaneously support -c and -o options?
84000 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84001
84002 # Whether or not to add -lc for building shared libraries.
84003 build_libtool_need_lc=$archive_cmds_need_lc
84004
84005 # Whether or not to disallow shared libs when runtime libs are static.
84006 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84007
84008 # Compiler flag to allow reflexive dlopens.
84009 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84010
84011 # Compiler flag to generate shared objects directly from archives.
84012 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84013
84014 # Whether the compiler copes with passing no objects directly.
84015 compiler_needs_object=$lt_compiler_needs_object
84016
84017 # Create an old-style archive from a shared archive.
84018 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84019
84020 # Create a temporary old-style archive to link instead of a shared archive.
84021 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84022
84023 # Commands used to build a shared archive.
84024 archive_cmds=$lt_archive_cmds
84025 archive_expsym_cmds=$lt_archive_expsym_cmds
84026
84027 # Commands used to build a loadable module if different from building
84028 # a shared archive.
84029 module_cmds=$lt_module_cmds
84030 module_expsym_cmds=$lt_module_expsym_cmds
84031
84032 # Whether we are building with GNU ld or not.
84033 with_gnu_ld=$lt_with_gnu_ld
84034
84035 # Flag that allows shared libraries with undefined symbols to be built.
84036 allow_undefined_flag=$lt_allow_undefined_flag
84037
84038 # Flag that enforces no undefined symbols.
84039 no_undefined_flag=$lt_no_undefined_flag
84040
84041 # Flag to hardcode \$libdir into a binary during linking.
84042 # This must work even if \$libdir does not exist
84043 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84044
84045 # If ld is used when linking, flag to hardcode \$libdir into a binary
84046 # during linking. This must work even if \$libdir does not exist.
84047 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84048
84049 # Whether we need a single "-rpath" flag with a separated argument.
84050 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84051
84052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84053 # DIR into the resulting binary.
84054 hardcode_direct=$hardcode_direct
84055
84056 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84057 # DIR into the resulting binary and the resulting library dependency is
84058 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84059 # library is relocated.
84060 hardcode_direct_absolute=$hardcode_direct_absolute
84061
84062 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84063 # into the resulting binary.
84064 hardcode_minus_L=$hardcode_minus_L
84065
84066 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84067 # into the resulting binary.
84068 hardcode_shlibpath_var=$hardcode_shlibpath_var
84069
84070 # Set to "yes" if building a shared library automatically hardcodes DIR
84071 # into the library and all subsequent libraries and executables linked
84072 # against it.
84073 hardcode_automatic=$hardcode_automatic
84074
84075 # Set to yes if linker adds runtime paths of dependent libraries
84076 # to runtime path list.
84077 inherit_rpath=$inherit_rpath
84078
84079 # Whether libtool must link a program against all its dependency libraries.
84080 link_all_deplibs=$link_all_deplibs
84081
84082 # Fix the shell variable \$srcfile for the compiler.
84083 fix_srcfile_path=$lt_fix_srcfile_path
84084
84085 # Set to "yes" if exported symbols are required.
84086 always_export_symbols=$always_export_symbols
84087
84088 # The commands to list exported symbols.
84089 export_symbols_cmds=$lt_export_symbols_cmds
84090
84091 # Symbols that should not be listed in the preloaded symbols.
84092 exclude_expsyms=$lt_exclude_expsyms
84093
84094 # Symbols that must always be exported.
84095 include_expsyms=$lt_include_expsyms
84096
84097 # Commands necessary for linking programs (against libraries) with templates.
84098 prelink_cmds=$lt_prelink_cmds
84099
84100 # Specify filename containing input files.
84101 file_list_spec=$lt_file_list_spec
84102
84103 # How to hardcode a shared library path into an executable.
84104 hardcode_action=$hardcode_action
84105
84106 # The directories searched by this compiler when creating a shared library.
84107 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84108
84109 # Dependencies to place before and after the objects being linked to
84110 # create a shared library.
84111 predep_objects=$lt_predep_objects
84112 postdep_objects=$lt_postdep_objects
84113 predeps=$lt_predeps
84114 postdeps=$lt_postdeps
84115
84116 # The library search path used internally by the compiler when linking
84117 # a shared library.
84118 compiler_lib_search_path=$lt_compiler_lib_search_path
84119
84120 # ### END LIBTOOL CONFIG
84121
84122 _LT_EOF
84123
84124 case $host_os in
84125 aix3*)
84126 cat <<\_LT_EOF >> "$cfgfile"
84127 # AIX sometimes has problems with the GCC collect2 program. For some
84128 # reason, if we set the COLLECT_NAMES environment variable, the problems
84129 # vanish in a puff of smoke.
84130 if test "X${COLLECT_NAMES+set}" != Xset; then
84131 COLLECT_NAMES=
84132 export COLLECT_NAMES
84133 fi
84134 _LT_EOF
84135 ;;
84136 esac
84137
84138
84139 ltmain="$ac_aux_dir/ltmain.sh"
84140
84141
84142 # We use sed instead of cat because bash on DJGPP gets confused if
84143 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84144 # text mode, it properly converts lines to CR/LF. This bash problem
84145 # is reportedly fixed, but why not run on old versions too?
84146 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84147 || (rm -f "$cfgfile"; exit 1)
84148
84149 case $xsi_shell in
84150 yes)
84151 cat << \_LT_EOF >> "$cfgfile"
84152
84153 # func_dirname file append nondir_replacement
84154 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84155 # otherwise set result to NONDIR_REPLACEMENT.
84156 func_dirname ()
84157 {
84158 case ${1} in
84159 */*) func_dirname_result="${1%/*}${2}" ;;
84160 * ) func_dirname_result="${3}" ;;
84161 esac
84162 }
84163
84164 # func_basename file
84165 func_basename ()
84166 {
84167 func_basename_result="${1##*/}"
84168 }
84169
84170 # func_dirname_and_basename file append nondir_replacement
84171 # perform func_basename and func_dirname in a single function
84172 # call:
84173 # dirname: Compute the dirname of FILE. If nonempty,
84174 # add APPEND to the result, otherwise set result
84175 # to NONDIR_REPLACEMENT.
84176 # value returned in "$func_dirname_result"
84177 # basename: Compute filename of FILE.
84178 # value retuned in "$func_basename_result"
84179 # Implementation must be kept synchronized with func_dirname
84180 # and func_basename. For efficiency, we do not delegate to
84181 # those functions but instead duplicate the functionality here.
84182 func_dirname_and_basename ()
84183 {
84184 case ${1} in
84185 */*) func_dirname_result="${1%/*}${2}" ;;
84186 * ) func_dirname_result="${3}" ;;
84187 esac
84188 func_basename_result="${1##*/}"
84189 }
84190
84191 # func_stripname prefix suffix name
84192 # strip PREFIX and SUFFIX off of NAME.
84193 # PREFIX and SUFFIX must not contain globbing or regex special
84194 # characters, hashes, percent signs, but SUFFIX may contain a leading
84195 # dot (in which case that matches only a dot).
84196 func_stripname ()
84197 {
84198 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84199 # positional parameters, so assign one to ordinary parameter first.
84200 func_stripname_result=${3}
84201 func_stripname_result=${func_stripname_result#"${1}"}
84202 func_stripname_result=${func_stripname_result%"${2}"}
84203 }
84204
84205 # func_opt_split
84206 func_opt_split ()
84207 {
84208 func_opt_split_opt=${1%%=*}
84209 func_opt_split_arg=${1#*=}
84210 }
84211
84212 # func_lo2o object
84213 func_lo2o ()
84214 {
84215 case ${1} in
84216 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84217 *) func_lo2o_result=${1} ;;
84218 esac
84219 }
84220
84221 # func_xform libobj-or-source
84222 func_xform ()
84223 {
84224 func_xform_result=${1%.*}.lo
84225 }
84226
84227 # func_arith arithmetic-term...
84228 func_arith ()
84229 {
84230 func_arith_result=$(( $* ))
84231 }
84232
84233 # func_len string
84234 # STRING may not start with a hyphen.
84235 func_len ()
84236 {
84237 func_len_result=${#1}
84238 }
84239
84240 _LT_EOF
84241 ;;
84242 *) # Bourne compatible functions.
84243 cat << \_LT_EOF >> "$cfgfile"
84244
84245 # func_dirname file append nondir_replacement
84246 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84247 # otherwise set result to NONDIR_REPLACEMENT.
84248 func_dirname ()
84249 {
84250 # Extract subdirectory from the argument.
84251 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84252 if test "X$func_dirname_result" = "X${1}"; then
84253 func_dirname_result="${3}"
84254 else
84255 func_dirname_result="$func_dirname_result${2}"
84256 fi
84257 }
84258
84259 # func_basename file
84260 func_basename ()
84261 {
84262 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84263 }
84264
84265
84266 # func_stripname prefix suffix name
84267 # strip PREFIX and SUFFIX off of NAME.
84268 # PREFIX and SUFFIX must not contain globbing or regex special
84269 # characters, hashes, percent signs, but SUFFIX may contain a leading
84270 # dot (in which case that matches only a dot).
84271 # func_strip_suffix prefix name
84272 func_stripname ()
84273 {
84274 case ${2} in
84275 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84276 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84277 esac
84278 }
84279
84280 # sed scripts:
84281 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84282 my_sed_long_arg='1s/^-[^=]*=//'
84283
84284 # func_opt_split
84285 func_opt_split ()
84286 {
84287 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84288 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84289 }
84290
84291 # func_lo2o object
84292 func_lo2o ()
84293 {
84294 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84295 }
84296
84297 # func_xform libobj-or-source
84298 func_xform ()
84299 {
84300 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84301 }
84302
84303 # func_arith arithmetic-term...
84304 func_arith ()
84305 {
84306 func_arith_result=`expr "$@"`
84307 }
84308
84309 # func_len string
84310 # STRING may not start with a hyphen.
84311 func_len ()
84312 {
84313 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84314 }
84315
84316 _LT_EOF
84317 esac
84318
84319 case $lt_shell_append in
84320 yes)
84321 cat << \_LT_EOF >> "$cfgfile"
84322
84323 # func_append var value
84324 # Append VALUE to the end of shell variable VAR.
84325 func_append ()
84326 {
84327 eval "$1+=\$2"
84328 }
84329 _LT_EOF
84330 ;;
84331 *)
84332 cat << \_LT_EOF >> "$cfgfile"
84333
84334 # func_append var value
84335 # Append VALUE to the end of shell variable VAR.
84336 func_append ()
84337 {
84338 eval "$1=\$$1\$2"
84339 }
84340
84341 _LT_EOF
84342 ;;
84343 esac
84344
84345
84346 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84347 || (rm -f "$cfgfile"; exit 1)
84348
84349 mv -f "$cfgfile" "$ofile" ||
84350 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84351 chmod +x "$ofile"
84352
84353
84354 cat <<_LT_EOF >> "$ofile"
84355
84356 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84357
84358 # The linker used to build libraries.
84359 LD=$lt_LD_CXX
84360
84361 # How to create reloadable object files.
84362 reload_flag=$lt_reload_flag_CXX
84363 reload_cmds=$lt_reload_cmds_CXX
84364
84365 # Commands used to build an old-style archive.
84366 old_archive_cmds=$lt_old_archive_cmds_CXX
84367
84368 # A language specific compiler.
84369 CC=$lt_compiler_CXX
84370
84371 # Is the compiler the GNU compiler?
84372 with_gcc=$GCC_CXX
84373
84374 # Compiler flag to turn off builtin functions.
84375 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84376
84377 # How to pass a linker flag through the compiler.
84378 wl=$lt_lt_prog_compiler_wl_CXX
84379
84380 # Additional compiler flags for building library objects.
84381 pic_flag=$lt_lt_prog_compiler_pic_CXX
84382
84383 # Compiler flag to prevent dynamic linking.
84384 link_static_flag=$lt_lt_prog_compiler_static_CXX
84385
84386 # Does compiler simultaneously support -c and -o options?
84387 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84388
84389 # Whether or not to add -lc for building shared libraries.
84390 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84391
84392 # Whether or not to disallow shared libs when runtime libs are static.
84393 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84394
84395 # Compiler flag to allow reflexive dlopens.
84396 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84397
84398 # Compiler flag to generate shared objects directly from archives.
84399 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84400
84401 # Whether the compiler copes with passing no objects directly.
84402 compiler_needs_object=$lt_compiler_needs_object_CXX
84403
84404 # Create an old-style archive from a shared archive.
84405 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84406
84407 # Create a temporary old-style archive to link instead of a shared archive.
84408 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84409
84410 # Commands used to build a shared archive.
84411 archive_cmds=$lt_archive_cmds_CXX
84412 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84413
84414 # Commands used to build a loadable module if different from building
84415 # a shared archive.
84416 module_cmds=$lt_module_cmds_CXX
84417 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84418
84419 # Whether we are building with GNU ld or not.
84420 with_gnu_ld=$lt_with_gnu_ld_CXX
84421
84422 # Flag that allows shared libraries with undefined symbols to be built.
84423 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84424
84425 # Flag that enforces no undefined symbols.
84426 no_undefined_flag=$lt_no_undefined_flag_CXX
84427
84428 # Flag to hardcode \$libdir into a binary during linking.
84429 # This must work even if \$libdir does not exist
84430 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84431
84432 # If ld is used when linking, flag to hardcode \$libdir into a binary
84433 # during linking. This must work even if \$libdir does not exist.
84434 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84435
84436 # Whether we need a single "-rpath" flag with a separated argument.
84437 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84438
84439 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84440 # DIR into the resulting binary.
84441 hardcode_direct=$hardcode_direct_CXX
84442
84443 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84444 # DIR into the resulting binary and the resulting library dependency is
84445 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84446 # library is relocated.
84447 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84448
84449 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84450 # into the resulting binary.
84451 hardcode_minus_L=$hardcode_minus_L_CXX
84452
84453 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84454 # into the resulting binary.
84455 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84456
84457 # Set to "yes" if building a shared library automatically hardcodes DIR
84458 # into the library and all subsequent libraries and executables linked
84459 # against it.
84460 hardcode_automatic=$hardcode_automatic_CXX
84461
84462 # Set to yes if linker adds runtime paths of dependent libraries
84463 # to runtime path list.
84464 inherit_rpath=$inherit_rpath_CXX
84465
84466 # Whether libtool must link a program against all its dependency libraries.
84467 link_all_deplibs=$link_all_deplibs_CXX
84468
84469 # Fix the shell variable \$srcfile for the compiler.
84470 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84471
84472 # Set to "yes" if exported symbols are required.
84473 always_export_symbols=$always_export_symbols_CXX
84474
84475 # The commands to list exported symbols.
84476 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84477
84478 # Symbols that should not be listed in the preloaded symbols.
84479 exclude_expsyms=$lt_exclude_expsyms_CXX
84480
84481 # Symbols that must always be exported.
84482 include_expsyms=$lt_include_expsyms_CXX
84483
84484 # Commands necessary for linking programs (against libraries) with templates.
84485 prelink_cmds=$lt_prelink_cmds_CXX
84486
84487 # Specify filename containing input files.
84488 file_list_spec=$lt_file_list_spec_CXX
84489
84490 # How to hardcode a shared library path into an executable.
84491 hardcode_action=$hardcode_action_CXX
84492
84493 # The directories searched by this compiler when creating a shared library.
84494 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84495
84496 # Dependencies to place before and after the objects being linked to
84497 # create a shared library.
84498 predep_objects=$lt_predep_objects_CXX
84499 postdep_objects=$lt_postdep_objects_CXX
84500 predeps=$lt_predeps_CXX
84501 postdeps=$lt_postdeps_CXX
84502
84503 # The library search path used internally by the compiler when linking
84504 # a shared library.
84505 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84506
84507 # ### END LIBTOOL TAG CONFIG: CXX
84508 _LT_EOF
84509
84510 ;;
84511 "include/gstdint.h":C)
84512 if test "$GCC" = yes; then
84513 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84514 else
84515 echo "/* generated for $CC */" > tmp-stdint.h
84516 fi
84517
84518 sed 's/^ *//' >> tmp-stdint.h <<EOF
84519
84520 #ifndef GCC_GENERATED_STDINT_H
84521 #define GCC_GENERATED_STDINT_H 1
84522
84523 #include <sys/types.h>
84524 EOF
84525
84526 if test "$acx_cv_header_stdint" != stdint.h; then
84527 echo "#include <stddef.h>" >> tmp-stdint.h
84528 fi
84529 if test "$acx_cv_header_stdint" != stddef.h; then
84530 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84531 fi
84532
84533 sed 's/^ *//' >> tmp-stdint.h <<EOF
84534 /* glibc uses these symbols as guards to prevent redefinitions. */
84535 #ifdef __int8_t_defined
84536 #define _INT8_T
84537 #define _INT16_T
84538 #define _INT32_T
84539 #endif
84540 #ifdef __uint32_t_defined
84541 #define _UINT32_T
84542 #endif
84543
84544 EOF
84545
84546 # ----------------- done header, emit basic int types -------------
84547 if test "$acx_cv_header_stdint" = stddef.h; then
84548 sed 's/^ *//' >> tmp-stdint.h <<EOF
84549
84550 #ifndef _UINT8_T
84551 #define _UINT8_T
84552 #ifndef __uint8_t_defined
84553 #define __uint8_t_defined
84554 #ifndef uint8_t
84555 typedef unsigned $acx_cv_type_int8_t uint8_t;
84556 #endif
84557 #endif
84558 #endif
84559
84560 #ifndef _UINT16_T
84561 #define _UINT16_T
84562 #ifndef __uint16_t_defined
84563 #define __uint16_t_defined
84564 #ifndef uint16_t
84565 typedef unsigned $acx_cv_type_int16_t uint16_t;
84566 #endif
84567 #endif
84568 #endif
84569
84570 #ifndef _UINT32_T
84571 #define _UINT32_T
84572 #ifndef __uint32_t_defined
84573 #define __uint32_t_defined
84574 #ifndef uint32_t
84575 typedef unsigned $acx_cv_type_int32_t uint32_t;
84576 #endif
84577 #endif
84578 #endif
84579
84580 #ifndef _INT8_T
84581 #define _INT8_T
84582 #ifndef __int8_t_defined
84583 #define __int8_t_defined
84584 #ifndef int8_t
84585 typedef $acx_cv_type_int8_t int8_t;
84586 #endif
84587 #endif
84588 #endif
84589
84590 #ifndef _INT16_T
84591 #define _INT16_T
84592 #ifndef __int16_t_defined
84593 #define __int16_t_defined
84594 #ifndef int16_t
84595 typedef $acx_cv_type_int16_t int16_t;
84596 #endif
84597 #endif
84598 #endif
84599
84600 #ifndef _INT32_T
84601 #define _INT32_T
84602 #ifndef __int32_t_defined
84603 #define __int32_t_defined
84604 #ifndef int32_t
84605 typedef $acx_cv_type_int32_t int32_t;
84606 #endif
84607 #endif
84608 #endif
84609 EOF
84610 elif test "$ac_cv_type_u_int32_t" = yes; then
84611 sed 's/^ *//' >> tmp-stdint.h <<EOF
84612
84613 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84614 #ifndef _INT8_T
84615 #define _INT8_T
84616 #endif
84617 #ifndef _INT16_T
84618 #define _INT16_T
84619 #endif
84620 #ifndef _INT32_T
84621 #define _INT32_T
84622 #endif
84623
84624 #ifndef _UINT8_T
84625 #define _UINT8_T
84626 #ifndef __uint8_t_defined
84627 #define __uint8_t_defined
84628 #ifndef uint8_t
84629 typedef u_int8_t uint8_t;
84630 #endif
84631 #endif
84632 #endif
84633
84634 #ifndef _UINT16_T
84635 #define _UINT16_T
84636 #ifndef __uint16_t_defined
84637 #define __uint16_t_defined
84638 #ifndef uint16_t
84639 typedef u_int16_t uint16_t;
84640 #endif
84641 #endif
84642 #endif
84643
84644 #ifndef _UINT32_T
84645 #define _UINT32_T
84646 #ifndef __uint32_t_defined
84647 #define __uint32_t_defined
84648 #ifndef uint32_t
84649 typedef u_int32_t uint32_t;
84650 #endif
84651 #endif
84652 #endif
84653 EOF
84654 else
84655 sed 's/^ *//' >> tmp-stdint.h <<EOF
84656
84657 /* Some systems have guard macros to prevent redefinitions, define them. */
84658 #ifndef _INT8_T
84659 #define _INT8_T
84660 #endif
84661 #ifndef _INT16_T
84662 #define _INT16_T
84663 #endif
84664 #ifndef _INT32_T
84665 #define _INT32_T
84666 #endif
84667 #ifndef _UINT8_T
84668 #define _UINT8_T
84669 #endif
84670 #ifndef _UINT16_T
84671 #define _UINT16_T
84672 #endif
84673 #ifndef _UINT32_T
84674 #define _UINT32_T
84675 #endif
84676 EOF
84677 fi
84678
84679 # ------------- done basic int types, emit int64_t types ------------
84680 if test "$ac_cv_type_uint64_t" = yes; then
84681 sed 's/^ *//' >> tmp-stdint.h <<EOF
84682
84683 /* system headers have good uint64_t and int64_t */
84684 #ifndef _INT64_T
84685 #define _INT64_T
84686 #endif
84687 #ifndef _UINT64_T
84688 #define _UINT64_T
84689 #endif
84690 EOF
84691 elif test "$ac_cv_type_u_int64_t" = yes; then
84692 sed 's/^ *//' >> tmp-stdint.h <<EOF
84693
84694 /* system headers have an u_int64_t (and int64_t) */
84695 #ifndef _INT64_T
84696 #define _INT64_T
84697 #endif
84698 #ifndef _UINT64_T
84699 #define _UINT64_T
84700 #ifndef __uint64_t_defined
84701 #define __uint64_t_defined
84702 #ifndef uint64_t
84703 typedef u_int64_t uint64_t;
84704 #endif
84705 #endif
84706 #endif
84707 EOF
84708 elif test -n "$acx_cv_type_int64_t"; then
84709 sed 's/^ *//' >> tmp-stdint.h <<EOF
84710
84711 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84712 #ifndef _INT64_T
84713 #define _INT64_T
84714 #ifndef int64_t
84715 typedef $acx_cv_type_int64_t int64_t;
84716 #endif
84717 #endif
84718 #ifndef _UINT64_T
84719 #define _UINT64_T
84720 #ifndef __uint64_t_defined
84721 #define __uint64_t_defined
84722 #ifndef uint64_t
84723 typedef unsigned $acx_cv_type_int64_t uint64_t;
84724 #endif
84725 #endif
84726 #endif
84727 EOF
84728 else
84729 sed 's/^ *//' >> tmp-stdint.h <<EOF
84730
84731 /* some common heuristics for int64_t, using compiler-specific tests */
84732 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84733 #ifndef _INT64_T
84734 #define _INT64_T
84735 #ifndef __int64_t_defined
84736 #ifndef int64_t
84737 typedef long long int64_t;
84738 #endif
84739 #endif
84740 #endif
84741 #ifndef _UINT64_T
84742 #define _UINT64_T
84743 #ifndef uint64_t
84744 typedef unsigned long long uint64_t;
84745 #endif
84746 #endif
84747
84748 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84749 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84750 does not implement __extension__. But that compiler doesn't define
84751 __GNUC_MINOR__. */
84752 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84753 # define __extension__
84754 # endif
84755
84756 # ifndef _INT64_T
84757 # define _INT64_T
84758 # ifndef int64_t
84759 __extension__ typedef long long int64_t;
84760 # endif
84761 # endif
84762 # ifndef _UINT64_T
84763 # define _UINT64_T
84764 # ifndef uint64_t
84765 __extension__ typedef unsigned long long uint64_t;
84766 # endif
84767 # endif
84768
84769 #elif !defined __STRICT_ANSI__
84770 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84771
84772 # ifndef _INT64_T
84773 # define _INT64_T
84774 # ifndef int64_t
84775 typedef __int64 int64_t;
84776 # endif
84777 # endif
84778 # ifndef _UINT64_T
84779 # define _UINT64_T
84780 # ifndef uint64_t
84781 typedef unsigned __int64 uint64_t;
84782 # endif
84783 # endif
84784 # endif /* compiler */
84785
84786 #endif /* ANSI version */
84787 EOF
84788 fi
84789
84790 # ------------- done int64_t types, emit intptr types ------------
84791 if test "$ac_cv_type_uintptr_t" != yes; then
84792 sed 's/^ *//' >> tmp-stdint.h <<EOF
84793
84794 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84795 #ifndef __uintptr_t_defined
84796 #ifndef uintptr_t
84797 typedef u$acx_cv_type_intptr_t uintptr_t;
84798 #endif
84799 #endif
84800 #ifndef __intptr_t_defined
84801 #ifndef intptr_t
84802 typedef $acx_cv_type_intptr_t intptr_t;
84803 #endif
84804 #endif
84805 EOF
84806 fi
84807
84808 # ------------- done intptr types, emit int_least types ------------
84809 if test "$ac_cv_type_int_least32_t" != yes; then
84810 sed 's/^ *//' >> tmp-stdint.h <<EOF
84811
84812 /* Define int_least types */
84813 typedef int8_t int_least8_t;
84814 typedef int16_t int_least16_t;
84815 typedef int32_t int_least32_t;
84816 #ifdef _INT64_T
84817 typedef int64_t int_least64_t;
84818 #endif
84819
84820 typedef uint8_t uint_least8_t;
84821 typedef uint16_t uint_least16_t;
84822 typedef uint32_t uint_least32_t;
84823 #ifdef _UINT64_T
84824 typedef uint64_t uint_least64_t;
84825 #endif
84826 EOF
84827 fi
84828
84829 # ------------- done intptr types, emit int_fast types ------------
84830 if test "$ac_cv_type_int_fast32_t" != yes; then
84831 sed 's/^ *//' >> tmp-stdint.h <<EOF
84832
84833 /* Define int_fast types. short is often slow */
84834 typedef int8_t int_fast8_t;
84835 typedef int int_fast16_t;
84836 typedef int32_t int_fast32_t;
84837 #ifdef _INT64_T
84838 typedef int64_t int_fast64_t;
84839 #endif
84840
84841 typedef uint8_t uint_fast8_t;
84842 typedef unsigned int uint_fast16_t;
84843 typedef uint32_t uint_fast32_t;
84844 #ifdef _UINT64_T
84845 typedef uint64_t uint_fast64_t;
84846 #endif
84847 EOF
84848 fi
84849
84850 if test "$ac_cv_type_uintmax_t" != yes; then
84851 sed 's/^ *//' >> tmp-stdint.h <<EOF
84852
84853 /* Define intmax based on what we found */
84854 #ifndef intmax_t
84855 #ifdef _INT64_T
84856 typedef int64_t intmax_t;
84857 #else
84858 typedef long intmax_t;
84859 #endif
84860 #endif
84861 #ifndef uintmax_t
84862 #ifdef _UINT64_T
84863 typedef uint64_t uintmax_t;
84864 #else
84865 typedef unsigned long uintmax_t;
84866 #endif
84867 #endif
84868 EOF
84869 fi
84870
84871 sed 's/^ *//' >> tmp-stdint.h <<EOF
84872
84873 #endif /* GCC_GENERATED_STDINT_H */
84874 EOF
84875
84876 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84877 rm -f tmp-stdint.h
84878 else
84879 mv -f tmp-stdint.h include/gstdint.h
84880 fi
84881
84882 ;;
84883 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84884 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84885 "include/Makefile":F) cat > vpsed$$ << \_EOF
84886 s!`test -f '$<' || echo '$(srcdir)/'`!!
84887 _EOF
84888 sed -f vpsed$$ $ac_file > tmp$$
84889 mv tmp$$ $ac_file
84890 rm vpsed$$
84891 echo 'MULTISUBDIR =' >> $ac_file
84892 ml_norecursion=yes
84893 . ${multi_basedir}/config-ml.in
84894 { ml_norecursion=; unset ml_norecursion;}
84895 ;;
84896 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84897 s!`test -f '$<' || echo '$(srcdir)/'`!!
84898 _EOF
84899 sed -f vpsed$$ $ac_file > tmp$$
84900 mv tmp$$ $ac_file
84901 rm vpsed$$
84902 echo 'MULTISUBDIR =' >> $ac_file
84903 ml_norecursion=yes
84904 . ${multi_basedir}/config-ml.in
84905 { ml_norecursion=; unset ml_norecursion;}
84906 ;;
84907 "src/Makefile":F) cat > vpsed$$ << \_EOF
84908 s!`test -f '$<' || echo '$(srcdir)/'`!!
84909 _EOF
84910 sed -f vpsed$$ $ac_file > tmp$$
84911 mv tmp$$ $ac_file
84912 rm vpsed$$
84913 echo 'MULTISUBDIR =' >> $ac_file
84914 ml_norecursion=yes
84915 . ${multi_basedir}/config-ml.in
84916 { ml_norecursion=; unset ml_norecursion;}
84917 ;;
84918 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84919 s!`test -f '$<' || echo '$(srcdir)/'`!!
84920 _EOF
84921 sed -f vpsed$$ $ac_file > tmp$$
84922 mv tmp$$ $ac_file
84923 rm vpsed$$
84924 echo 'MULTISUBDIR =' >> $ac_file
84925 ml_norecursion=yes
84926 . ${multi_basedir}/config-ml.in
84927 { ml_norecursion=; unset ml_norecursion;}
84928 ;;
84929 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84930 s!`test -f '$<' || echo '$(srcdir)/'`!!
84931 _EOF
84932 sed -f vpsed$$ $ac_file > tmp$$
84933 mv tmp$$ $ac_file
84934 rm vpsed$$
84935 echo 'MULTISUBDIR =' >> $ac_file
84936 ml_norecursion=yes
84937 . ${multi_basedir}/config-ml.in
84938 { ml_norecursion=; unset ml_norecursion;}
84939 ;;
84940 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
84941 s!`test -f '$<' || echo '$(srcdir)/'`!!
84942 _EOF
84943 sed -f vpsed$$ $ac_file > tmp$$
84944 mv tmp$$ $ac_file
84945 rm vpsed$$
84946 echo 'MULTISUBDIR =' >> $ac_file
84947 ml_norecursion=yes
84948 . ${multi_basedir}/config-ml.in
84949 { ml_norecursion=; unset ml_norecursion;}
84950 ;;
84951 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84952 s!`test -f '$<' || echo '$(srcdir)/'`!!
84953 _EOF
84954 sed -f vpsed$$ $ac_file > tmp$$
84955 mv tmp$$ $ac_file
84956 rm vpsed$$
84957 echo 'MULTISUBDIR =' >> $ac_file
84958 ml_norecursion=yes
84959 . ${multi_basedir}/config-ml.in
84960 { ml_norecursion=; unset ml_norecursion;}
84961 ;;
84962 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84963 s!`test -f '$<' || echo '$(srcdir)/'`!!
84964 _EOF
84965 sed -f vpsed$$ $ac_file > tmp$$
84966 mv tmp$$ $ac_file
84967 rm vpsed$$
84968 echo 'MULTISUBDIR =' >> $ac_file
84969 ml_norecursion=yes
84970 . ${multi_basedir}/config-ml.in
84971 { ml_norecursion=; unset ml_norecursion;}
84972 ;;
84973 "po/Makefile":F) cat > vpsed$$ << \_EOF
84974 s!`test -f '$<' || echo '$(srcdir)/'`!!
84975 _EOF
84976 sed -f vpsed$$ $ac_file > tmp$$
84977 mv tmp$$ $ac_file
84978 rm vpsed$$
84979 echo 'MULTISUBDIR =' >> $ac_file
84980 ml_norecursion=yes
84981 . ${multi_basedir}/config-ml.in
84982 { ml_norecursion=; unset ml_norecursion;}
84983 ;;
84984 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84985 s!`test -f '$<' || echo '$(srcdir)/'`!!
84986 _EOF
84987 sed -f vpsed$$ $ac_file > tmp$$
84988 mv tmp$$ $ac_file
84989 rm vpsed$$
84990 echo 'MULTISUBDIR =' >> $ac_file
84991 ml_norecursion=yes
84992 . ${multi_basedir}/config-ml.in
84993 { ml_norecursion=; unset ml_norecursion;}
84994 ;;
84995 "python/Makefile":F) cat > vpsed$$ << \_EOF
84996 s!`test -f '$<' || echo '$(srcdir)/'`!!
84997 _EOF
84998 sed -f vpsed$$ $ac_file > tmp$$
84999 mv tmp$$ $ac_file
85000 rm vpsed$$
85001 echo 'MULTISUBDIR =' >> $ac_file
85002 ml_norecursion=yes
85003 . ${multi_basedir}/config-ml.in
85004 { ml_norecursion=; unset ml_norecursion;}
85005 ;;
85006 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85007
85008 esac
85009 done # for ac_tag
85010
85011
85012 as_fn_exit 0
85013 _ACEOF
85014 ac_clean_files=$ac_clean_files_save
85015
85016 test $ac_write_fail = 0 ||
85017 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
85018
85019
85020 # configure is writing to config.log, and then calls config.status.
85021 # config.status does its own redirection, appending to config.log.
85022 # Unfortunately, on DOS this fails, as config.log is still kept open
85023 # by configure, so config.status won't be able to write to it; its
85024 # output is simply discarded. So we exec the FD to /dev/null,
85025 # effectively closing config.log, so it can be properly (re)opened and
85026 # appended to by config.status. When coming back to configure, we
85027 # need to make the FD available again.
85028 if test "$no_create" != yes; then
85029 ac_cs_success=:
85030 ac_config_status_args=
85031 test "$silent" = yes &&
85032 ac_config_status_args="$ac_config_status_args --quiet"
85033 exec 5>/dev/null
85034 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85035 exec 5>>config.log
85036 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85037 # would make configure fail if this is the last instruction.
85038 $ac_cs_success || as_fn_exit $?
85039 fi
85040 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85042 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
85043 fi
85044